Modifying original source
-
Right I'm just trying to figure out if it's actually just modified source it loads up with the elements missing or if it's special code that's ran inside the original source.
-
@masteryoer my understanding is that the source was modified to selectively disable certain things when a UI mode is activated.
-
@masteryoer look at this line:
https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/emulationstation-kids.sh#L22as you can see, it points to a different repo (a fork of emulationstation).
-
Hey, I made the Kid-modes fork, AMA!
-
@Zigurana When will it be updated/included in the offical ES build?
-
@dankcushions Right, I saw that. My question was related to how the emulationstation-kids fork actually works. Is it just another full emulationstation source with the selective things removed out of it, or is it an addition/module for the emulationstation source?
-
@masteryoer said in Modifying original source:
@dankcushions Right, I saw that. My question was related to how the emulationstation-kids fork actually works. Is it just another full emulationstation source with the selective things removed out of it, or is it an addition/module for the emulationstation source?
it's a full source. i mean it has to be if it's a fork and is the only source when building.
-
That was what I was after :) Since the 'kid' version is the most lightweight, and more what I am looking for, it's what I will base mine off of. I'll just reverse the changes to only show 'kid friendly' games in the game lists, so that all games show up instead, as well as doing some more custom work, like changing the UI elements to match my theme (black and lime green ftw).
In looking at the source code, I noticed there's an option for a horizontal or 'vertical' carousel on the main systems view. I don't recall ever seeing a config option anywhere for changing this. Is this a WIP option?
-
@masteryoer that's a pending PR for a vertical carousel. It's still being tested
-
Hmm, so I guess I don't understand how the modules work after all. I created a new script called emulationstation-xcade.sh and changed the stuff around, and it shows up in the retropie experimental builds list, but once I try building from source I get a unable to build, cannot locate /tmp/build/emulationstation-xcade/emulationstation). I copied the .sh script from emulationstation-kids and changed all the stuff referencing -kids over to xcade, so I am not sure why that one builds but mine doesn't.
-
@masteryoer Can't advise without any information - Post the module and build log.
-
Nevermind, I am a dummy. The log was misinformative. It ended up being my source repository didnt have my latest changes, in which I was using an undefined definition.
I updated the repository and it's fixed now.
-
@masteryoer said in Modifying original source:
That was what I was after :) Since the 'kid' version is the most lightweight, and more what I am looking for, it's what I will base mine off of.
Well it's not really any more lightweight than the stock ES, as it includes three separate modi operandi: the default / full mode, and two reduced modi (kiosk and kid). It also has the game filtering in place.
I think the kiosk mode is more what you are after.
Did you see the wiki? -
@Zigurana
By lightweight, I meant from the user interface experience. The stock full allows for scraping games, changing UI settings, etc. My custom console I am making won't have any of that, and since it's already pretty stripped down in kid mode, I can just branch off of that and do my modifications, instead of redoing what has already been done.Now I just can't figure out how to get my changed PNG files for the default UI elements to be applied. Just changing them doesn't update them in source, and I think res2h needs to be used to convert them after they are created. I tried doing it on frame.png, which I changed, and now I can't compile so I am trying to resolve that issue. Just changing the .png and saving over the old one doesn't work.
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.