[SOLVED] Duplicate PC/DOSBOX Entries in Emulationstation
-
Hello Retro Community...
I just wanted to post this issue/solution here in case anyone else ends-up running into this issue.
I was having the issue where when I would select my PC / MS-DOS / DOS-BOX system from within emulationstation, I would end-up with a "duplicate" entry for every game in my gamelist.xml. The only difference was the entry in my gamelist had the fullname, whereas the "duplicate" was a shortened name (it resembled the directory/bat name.)
I deduced that what was happening was that the .bat files in the directory were getting pulled as part of the entries, and then each game that was in the gamelist.xml was of course also part of the entries... thus the "duplicate".
Since I was launching games via the .bat I was providing in the gamelist.xml file, I didn't need to see the .bat files (or .exe or .com, etc).
The solution was to open /etc/emulationstation/es_systems.cfg (via sudo vi), then find the PC system section, then remove all the extensions in the extension section, except for .sh and .SH.
Hopefully this helps someone else who runs into this issue, as I spent about 2 hours trying to figure it out.
- HappyDad
-
Alternatively you can move all of your game files from the "pc" folder and put them in a "pc2" or "pcgamefiles" folder and only use "pc" for your launching scripts. As a side note I would recommend using .conf files for launching your dos games instead of .sh because it allows you full control of all dosbox settings on a per game basis.
-
Those are two good ideas. The .sh is just for the script that starts dos box, but yeah, using .conf would provide for more configurability for each game... I'll have to do that when I have time to do that for 230+ games, lol.
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.