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

    update retropiemenu package delete my customized gamelist.xml

    Scheduled Pinned Locked Moved Help and Support
    retropiemenugamelist.xml
    15 Posts 4 Posters 4.2k 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.
    • meleuM
      meleu
      last edited by meleu

      After an "Install/Update all core packages from source" my customized gamelist.xmlfor retropiemenu was deleted/overwritten.

      Is there any workaround for keeping my gamelist entries, besides the obvious "backup your files before updating"? I'm asking because the backed up file won't get the changes from the upstream, if they exist.

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      obsidianspiderO 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        I have made a change so it won't overwrite it if it has changed, but I have now introduced another problem, as if we add new items it wont overwrite it. I think I will revert my change - and the best bet is to put your custom gameslist in ~/RetroPie/retropiemenu instead

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        meleuM 1 Reply Last reply Reply Quote 1
        • meleuM
          meleu @BuZz
          last edited by

          @BuZz said in update retropiemenu package delete my customized gamelist.xml:

          the best bet is to put your custom gameslist in ~/RetroPie/retropiemenu instead

          I didn't know this trick. I've just tested here and realized that the ~/RetroPie/retropiemenu/gamelist.xml takes precedence over the $configdir/all/emulationstation/gamelists/retropie/gamelist.xml. Am I right?

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          1 Reply Last reply Reply Quote 2
          • BuZzB
            BuZz administrators
            last edited by

            Yes. https://github.com/Aloshi/EmulationStation/blob/master/GAMELISTS.md

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            meleuM 2 Replies Last reply Reply Quote 1
            • meleuM
              meleu @BuZz
              last edited by meleu

              @BuZz
              It would be really nice if the user could maintain customized entries in a separate file (let's say, custom-gamelist.xml) and the "official" gamelist include this file.

              I googled about it and tried both ways I've found. None of them worked. Maybe the ES XML guys ( @Arcuza ) can take a look into it in the future.

              source:
              http://xml.silmaril.ie/includes.html
              https://www.w3.org/TR/xinclude/

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              1 Reply Last reply Reply Quote 0
              • BuZzB
                BuZz administrators
                last edited by

                What is wrong with putting it in the location mentioned ?

                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by BuZz

                  oh one including another. That is not worth the effort for this single use case.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • obsidianspiderO
                    obsidianspider @meleu
                    last edited by

                    @meleu said in update retropiemenu package delete my customized gamelist.xml:

                    After an "Install/Update all core packages from source" my customized gamelist.xmlfor retropiemenu was deleted/overwritten.

                    Is there any workaround for keeping my gamelist entries, besides the obvious "backup your files before updating"? I'm asking because the backed up file won't get the changes from the upstream, if they exist.

                    Wasn't there some discussion a while back about moving to a database-driven set of game info?

                    Semi-related: I've noticed that es_systems.cfg gets overwritten each time you update. I've reordered them and every time I do an update I have to redo the ordering. Most of the time I just copy over my backup file, but it would be cool to have a way to select the order of the systems outside of the way they're listed in the cfg.

                    F BuZzB 2 Replies Last reply Reply Quote 0
                    • F
                      Flynn's @obsidianspider
                      last edited by

                      @obsidianspider

                      By changing the ordering you mean changing the name? I thought the ordering is done alphabetically?

                      obsidianspiderO 2 Replies Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @obsidianspider
                        last edited by BuZz

                        @obsidianspider said in update retropiemenu package delete my customized gamelist.xml:

                        Semi-related: I've noticed that es_systems.cfg gets overwritten each time you update. I've reordered them and every time I do an update I have to redo the ordering. Most of the time I just copy over my backup file, but it would be cool to have a way to select the order of the systems outside of the way they're listed in the cfg.

                        if you want to manage your own es_systems.cfg you can copy it to /opt/retropie/configs/all/emulationstation - but you will need to keep it updated manually.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        obsidianspiderO 1 Reply Last reply Reply Quote 0
                        • obsidianspiderO
                          obsidianspider @Flynn's
                          last edited by obsidianspider

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • obsidianspiderO
                            obsidianspider @BuZz
                            last edited by

                            @BuZz said in update retropiemenu package delete my customized gamelist.xml:

                            @obsidianspider said in update retropiemenu package delete my customized gamelist.xml:

                            Semi-related: I've noticed that es_systems.cfg gets overwritten each time you update. I've reordered them and every time I do an update I have to redo the ordering. Most of the time I just copy over my backup file, but it would be cool to have a way to select the order of the systems outside of the way they're listed in the cfg.

                            if you want to manage your own es_systems.cfg you can copy it to /opt/retropie/configs/all/emulationstation - but you will need to keep it updated manually.

                            That's what I've found. It's not terrible, just a part of my update checklist.

                            1 Reply Last reply Reply Quote 0
                            • obsidianspiderO
                              obsidianspider @Flynn's
                              last edited by obsidianspider

                              @Flynn's said in update retropiemenu package delete my customized gamelist.xml:

                              @obsidianspider

                              By changing the ordering you mean changing the name? I thought the ordering is done alphabetically?

                              By default they are alphabetical, so what I've done to get the systems in the order I want is to edit the XML in the file. (Snippet below)

                              <?xml version="1.0"?>
                              <systemList>
                                <system>
                                  <name>snes</name>
                                  <fullname>Super Nintendo</fullname>
                                  <path>/home/pi/RetroPie/roms/snes</path>
                                  <extension>.bin .smc .sfc .fig .swc .mgd .zip .BIN .SMC .SFC .FIG .SWC .MGD .ZIP</extension>
                                  <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ snes %ROM%</command>
                                  <platform>snes</platform>
                                  <theme>snes</theme>
                                  <directlaunch/>
                                </system>
                                <system>
                                  <name>nes</name>
                                  <fullname>Nintendo Entertainment System</fullname>
                                  <path>/home/pi/RetroPie/roms/nes</path>
                                  <extension>.nes .zip .NES .ZIP</extension>
                                  <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ nes %ROM%</command>
                                  <platform>nes</platform>
                                  <theme>nes</theme>
                                </system>
                                <system>
                                  <name>fds</name>
                                  <fullname>Famicom Disk System</fullname>
                                  <path>/home/pi/RetroPie/roms/fds</path>
                                  <extension>.nes .fds .zip .NES .FDS .ZIP</extension>
                                  <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ fds %ROM%</command>
                                  <platform>fds</platform>
                                  <theme>fds</theme>
                                  <directlaunch/>
                                </system>
                              
                              1 Reply Last reply Reply Quote 0
                              • meleuM
                                meleu @BuZz
                                last edited by

                                @BuZz said in update retropiemenu package delete my customized gamelist.xml:

                                Yes. https://github.com/Aloshi/EmulationStation/blob/master/GAMELISTS.md

                                In that page we have the following info:


                                ES will check three places for a gamelist.xml in the following order, using the first one it finds:

                                • [SYSTEM_PATH]/gamelist.xml
                                • ~/.emulationstation/gamelists/[SYSTEM_NAME]/gamelist.xml
                                • /etc/emulationstation/gamelists/[SYSTEM_NAME]/gamelist.xml

                                Is the [SYSTEM_PATH] the system ROMs directory? (eg: /home/pi/RetroPie/roms/snes/ for SNES)

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators
                                  last edited by BuZz

                                  Thought I had made that clear already :-) Yes.

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  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.