Activate "Ports"-section in emulation station.

Post tips/tricks or get help with configuring RetroPie
Post Reply
User avatar
moooarcuuuus
Posts: 232
Joined: Tue Jul 04, 2017 1:28 am
Has thanked: 2 times
Been thanked: 94 times

Activate "Ports"-section in emulation station.

Post by moooarcuuuus » Mon Dec 18, 2017 12:59 am

If I install "KODI" or another Port in a new Retropie over the ncurses retropie config the "ports"-section starts to exists. If I put a simple script in "/home/pi/Retropie/roms/ports" with the filename "coolscript.sh" and the following content:

Code: Select all

#!bin/bash

programm -- arg1 
The entry "coolsript" will pop up after a ES restart in the "Ports"-section. I can select and execute the script like any other game. Very good.

It don't work without installing a Port first. So I think there is something to activate first. What is it?
Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep... Game Over

User avatar
YaYa
Posts: 1719
Joined: Mon Jun 26, 2017 12:42 pm
Location: brittany - France
Has thanked: 871 times
Been thanked: 689 times
Contact:

Re: Activate "Ports"-section in emulation station.

Post by YaYa » Mon Dec 18, 2017 1:18 am

I don’t know exactly what is doing Emulation station but this is the same behavior with standard emulators and roms.
If a folder (eg SNES) has no roms in it, then Emulation station won’t shiw the Emulator.

Even worse, if you have activated the “show only scraped games” option, then nothing will show up until you scrap the systems.

So i think Emulation Station’s binary is looking the folder system at boot.
Follow me on instagram Image

User avatar
moooarcuuuus
Posts: 232
Joined: Tue Jul 04, 2017 1:28 am
Has thanked: 2 times
Been thanked: 94 times

Re: Activate "Ports"-section in emulation station.

Post by moooarcuuuus » Mon Dec 18, 2017 4:18 am

Hmm I have to think over the internals..

"addPort()": https://retropie.org.uk/api/helpers_8sh ... b4efcc30c0
Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep, Eat, Sleep... Game Over

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest