RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [SOLVED] Duplicate PC/DOSBOX Entries in Emulationstation

    Scheduled Pinned Locked Moved Help and Support
    duplicatedos-boxpcgamesms-dosextension
    3 Posts 2 Posters 650 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HappyDad
      last edited by HappyDad

      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
      1 Reply Last reply Reply Quote 0
      • quicksilverQ
        quicksilver
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H
          HappyDad
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.