RetroPie 3.7 + Child friendly EmulationStation wont start
-
@Zigurana These are great news! Please indicate in this thread when you are finished, and also tell me how can i fetch the latest code to recompile. Thanks again,
-
Ok, so life happened, mostly in the form of sunshine and beers, so it will be a bit longer before I reimplement the file filtering for Kid/Kiosk modes.
Just to be sure: in the ES interface, do you expect the sub-directory itself to show up as well? So as per your example, do you actually select 'platformers' in your c64 system before you can select giana? -
@Zigurana As i'd like my system up and running again, but i just cannot argue with sunshine and beers. :D
Yes, you should be able to navigate in and out of subdirs. If you have some time, try a stock ES just to experience its behavior. I do not expect to differ ES-kids more than it should. (Later on, you could implement a flat mode you can toggle, but maybe we should wait until a feature request arises. :) )
Cheers,
-
I too have run across the folder bug with this version of ES but first let me say that organizing the games via genre folders is an excellent idea, thanks @BuXY .
So in my situation I was running stock ES. Dreamcast has a couple games that have multiple files such as Rez. The different games contain files with the same name such as Track01.xx, Track02.xx etc so if you have multiple games they should be in folders. I did have them in folders under the stock ES. @Zigurana So in the list of games you will see a folder titled Rez, when you click on that it enters that directory and game is listed there from the rom file.
After installing Child Friendly ES those folders were no longer shown. The files were still there, the gamelist.xml still had the <folder> list that was generated previously but the games did not show. So there was no way to launch those games. I was going to write this up as a bug but wasn't sure what "normal" behavior was supposed to be. My solution was to add all the files under the main directory and change the file names while editing the games gdi file to reflect those name changes.
-
@opensourcefan Be my guest using this structure. :-) It dates back when i had my DOS games sorted like this on my 486.
I did not play dreamcast stuff ever, and i did not have the time yet to sort all the games in all platforms on the Pi. So i didn't notice the whole folder bug until my fully sorted c64 section just disappeared and es has crashed. Hopefully, when the beer runs out, we will have the fix. :-)
-
@Zigurana @BuXY
I added the folder bug to the Git page so it's easier to manage. If there's anything else you can add that may help find a solution please add it there.
https://github.com/zigurana/EmulationStation/issues/20 -
So I've updated the repository.
Tried to re-implement the whole file filtering because its currently ugly as hell, could not get the D@#$ thing to work, so finally opted for another quick hack. There should be no more out-of-range errors, but please, please go ahead and test!Also, the subfolder thing should work as well now.
-
@Zigurana Thank you very much. I have compiled the latest version, and so far so good! My directories show up like they should, and there were no crashes. Had no time for thorough testing yet, though. Thumbs up for not-so-ugly hacks! :D
-
Dear @Zigurana
now that i finally had cca. two hours of free time to tweak my system, i got the following things to mention:
- First of all, there were no freezes or crashes. :)
- The kid mode worked in a lot of occasions as expected.
- The biggest issue: if there is a subdirectory that has 0 kid games, then the whole directory, including all non-kid games are listed in kid mode! (The platform menu shows the correct amount of kid-games though.) This is also true for the root directory (when it has only non-kid games).
- In kid mode: If a subdirectory has only hidden=true games, then one of them will show. If it is the root directory, then all hidden games will show.
- If there are no details for any game on the platform, then the x-y buttons do not seem to work.
- The subdirectories got also the heart, teddy and eyes icons displayed on startup. The visibilities of these icons are not updated until the cursor has been moved to a valid game. After then, the subdirectory items will show the same fav/kid/hidden settings as the last game had. Please update the icons when a subdirectory is highlighted, like hide all three icons.
Carbon theme v4:
- There are many platform folders missing in the current implementation, for example i had only a white background and no svg for the "arcade" platform. I have created the missing ones from the official v3 and made them kids-compatible. I would be more than happy to share the results and upload the expanded set. :)
- If the gamelist is in basic mode, there is no clue for x-y buttons in the bottom status bar. Detailed mode works fine.
- In basic display mode, there is no indication of favorites, kid, and hidden. Can you find an acceptable place for the icons?
Suggestions:
- Is it possible to map a hotkey for hiding games too?
Cheers,
-
This post is deleted! -
Hey @BuXY !
This is just a quick sign of life post, letting you know I did not forget about this post, and it is still on my todo list.
Basically, I am still trying to get my workflow up and running in a VS environment, and I am slowly working my way out of dependency hell.
Once all is set, this (and the issue with assigning new hotkeys for easy toggling) are on the top of my list.so hang in there!
-
Hi @Zigurana,
thanks for dropping in! :) I understand that, and i'll be patiently waiting for the solution. :)Just one addendum to the things before that i noticed today: in kid mode i can see rom files those names are starting with a period. (But no other files are in the same dir, only subdirs.)
Keep up the good work!
-
This post is deleted! -
Ok, so I've just pushed a new version of the kid friendly ES branch.
This took a while, mainly because I tried to do it right this time, and that meant somewhat of a redesign of the file filtering that has to take place when you want to show only favorites/kid-whitelisted/non-hidden games.@BuXY, @opensourcefan , @Tarran (and anyone else feeling like a beta-tester); if you could reinstall from the experimental packages, and give this a spin, I would be most appreciative of your feedback!
In this new version, both files (when they have valid extensions) and folder have metadata. That means that you can hide items in two ways: 1) you set the containing folder to hidden = true, or 2) you hide the specific item.
I am in the process of testing the carbon theme for use with this updated version, will report back on that later. If no icons are visible, please use the select>edit this game's metadata route to check if the tags are correctly set. Alternatively, you can access the gamelist.xml (in ~/pi/.emulationstation/gamelists/[system]/gamelist.xml directly using SCP. That will also allow you to easily manage many games in one go, by pasting in 'true' or 'false' where-ever needed.
-
Ok I've found a bug already, when toggling FAVORITES ONLY, ES crashes.
Investigating now. -
Hi Zigurana,
First I'd like to say thank you so much for this Kiosk mode.
I am running into a few problems with it....First off, it doesn't seem to work at all with RetroPie 4.1. More info on that here:
https://retropie.org.uk/forum/topic/6609/kid-kiosk-edition-crashes-on-start-with-4-1So I've gone back down to 4.0 and it worked fine until I moved to running roms from usb using the fstab method here:
https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive
I also tried using symlink with the same results.
When I go back to the normal location it works fine.
The error is:terminate called after throwing an instance of 'std::out_of_range'
what(): map::at
AbortedCan you tell if there is some work around or some code change needed for this? This is the last step for the perfect setup.Turns out the issue is because I was using a subfolder in my roms/nes folder and it doesn't like that
Removed and it is fine now. Looks like subfolders still aren't supportedThanks! And please let me know where I can donate for your time!
-
@dsstrainer :
Hey, good to hear you are having less issues. For my testcases, could you please list some examples of directories and their content which definitely fail for you?
Something like :- /system 1/game 1 (favorite, kid game)
- /system 1/subdir/game2 (non-fav, non-kid)
- /system 1/subdir/game3 (fav, non-kid)
- etc...
I am having some difficulty to fully recreate the situation where this fails so badly.
Regarding donations, I appreciate the gesture, but please donate to the Retropie project instead. Without their ceaseless efforts, none of us would be here now.
Thanks for giving kid-friendly EmulationStation a try.
-
First off thank you for your hard work. I love the idea of a kiosk/child mode so that I can let my Niece use my arcade without watching her every move.
I didn't realize it at the time and already restored a back up image from before installing the kid-friendly package but it looks like I ran into the same issues as @dsstrainer.
I have Retropie 4.1 installed and after I installed the kid-friendly package emulationstation would not start. I just got sent back to the command prompt and my keyboard would no longer respond.
I do have a subfolder under my arcade system. It is only 1 level deep and the name of the folder is "-Fighters". I don't have any roms marked as favorite or kid yet.
Arcade/-Fighters/all games are non-fav, non-kid)
Maybe folder names starting with special characters are bad? I use the hyphen to keep the subfolder at the top of the game list.
-
Yes, in /home/pi/RetroPie/roms/nes
I had a folder for each letter of the alphabet. A, B, C, D, etc
But then I tried testing with just a single folder for "A" and it also caused it
So pretty much having a folder within the nes rom directory caused it... or perhaps a folder with rom files in it. Can't recall the exact situation but one of those. I will try to reproduce. -
Added a folder named "MegamanX" to the psx folder, same thing happened.
I am using Kiosk mode tho it happens with full mode as well.
I have favorites disabled
Removed the folder and left just the game files and it works fine.So I assume it should be easy to reproduce just by adding any folder with a game file in it to any emulator.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.