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

    Duplicated games for various systems

    Scheduled Pinned Locked Moved Help and Support
    duplicated gamehard drive ejec
    18 Posts 4 Posters 6.5k 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.
    • quicksilverQ
      quicksilver @jul**17001
      last edited by

      @jul-17001 Check your gameslist.xml and see if there are duplicate entries

      1 Reply Last reply Reply Quote 0
      • J
        jul**17001
        last edited by

        so, here is an example of what i got for the game Awesome Golf for lynx system :
        (This one appears twice in emulationstation)

        looks like it is listed 5 times with the following extensions : 7z, LNX, ZIP, lnx, zip

        <game id="" source="">
        		<path>./Awesome Golf (USA, Europe).7z</path>
        		<name>Awesome Golf</name>
        		<desc>You are on the 18th tee, one stroke behind the defending champion. Do you take your caddy’s advice and play it safe, or do you risk the water? Awesome Golf provides great realism and a challenge for one to four players.</desc>
        		<publisher>Atari</publisher>
        		<developer>HandMade Software</developer>
        		<image>./boxart/Awesome Golf (USA, Europe).png</image>
        		<marquee>./wheel/Awesome Golf (USA, Europe).png</marquee>
        		<video>./snap/Awesome Golf (USA, Europe).mp4</video>
        		<releasedate>19910314T000000</releasedate>
        		<genre>Sports</genre>
        		<players>4+</players>
        	</game>
        	<game id="" source="">
        		<path>./Awesome Golf (USA, Europe).LNX</path>
        		<name>Awesome Golf</name>
        		<desc>You are on the 18th tee, one stroke behind the defending champion. Do you take your caddy’s advice and play it safe, or do you risk the water? Awesome Golf provides great realism and a challenge for one to four players.</desc>
        		<publisher>Atari</publisher>
        		<developer>HandMade Software</developer>
        		<image>./boxart/Awesome Golf (USA, Europe).png</image>
        		<marquee>./wheel/Awesome Golf (USA, Europe).png</marquee>
        		<video>./snap/Awesome Golf (USA, Europe).mp4</video>
        		<releasedate>19910314T000000</releasedate>
        		<genre>Sports</genre>
        		<players>4+</players>
        	</game>
        	<game id="" source="">
        		<path>./Awesome Golf (USA, Europe).ZIP</path>
        		<name>Awesome Golf</name>
        		<desc>You are on the 18th tee, one stroke behind the defending champion. Do you take your caddy’s advice and play it safe, or do you risk the water? Awesome Golf provides great realism and a challenge for one to four players.</desc>
        		<publisher>Atari</publisher>
        		<developer>HandMade Software</developer>
        		<image>./boxart/Awesome Golf (USA, Europe).png</image>
        		<marquee>./wheel/Awesome Golf (USA, Europe).png</marquee>
        		<video>./snap/Awesome Golf (USA, Europe).mp4</video>
        		<releasedate>19910314T000000</releasedate>
        		<genre>Sports</genre>
        		<players>4+</players>
        	</game>
        	<game id="" source="">
        		<path>./Awesome Golf (USA, Europe).lnx</path>
        		<name>Awesome Golf</name>
        		<desc>You are on the 18th tee, one stroke behind the defending champion. Do you take your caddy’s advice and play it safe, or do you risk the water? Awesome Golf provides great realism and a challenge for one to four players.</desc>
        		<publisher>Atari</publisher>
        		<developer>HandMade Software</developer>
        		<image>./boxart/Awesome Golf (USA, Europe).png</image>
        		<marquee>./wheel/Awesome Golf (USA, Europe).png</marquee>
        		<video>./snap/Awesome Golf (USA, Europe).mp4</video>
        		<releasedate>19910314T000000</releasedate>
        		<genre>Sports</genre>
        		<players>4+</players>
        	</game>
        	<game id="" source="">
        		<path>./Awesome Golf (USA, Europe).zip</path>
        		<name>Awesome Golf</name>
        		<desc>You are on the 18th tee, one stroke behind the defending champion. Do you take your caddy’s advice and play it safe, or do you risk the water? Awesome Golf provides great realism and a challenge for one to four players.</desc>
        		<publisher>Atari</publisher>
        		<developer>HandMade Software</developer>
        		<image>./boxart/Awesome Golf (USA, Europe).png</image>
        		<marquee>./wheel/Awesome Golf (USA, Europe).png</marquee>
        		<video>./snap/Awesome Golf (USA, Europe).mp4</video>
        		<releasedate>19910314T000000</releasedate>
        		<genre>Sports</genre>
        		<players>4+</players>
        	</game>
        
        1 Reply Last reply Reply Quote 0
        • quicksilverQ
          quicksilver
          last edited by quicksilver

          What format are your lynx roms in? what scraper are you using?

          J 1 Reply Last reply Reply Quote 0
          • J
            jul**17001 @quicksilver
            last edited by

            @quicksilver

            for the lynx i keep that in the zip files.
            For the gameboy for example, who presents the same issue with duplicated games, it is unzipped, i am using the .gb

            For the scrap, i tried many things and nothing was working as i wanted. So I just downloaded ROMS packages with artwork included to bypass the issue (they are all in files named snap, wheel, etc... within the system rom file itself).
            i tried the 2 scrapers ThegamesDb and Screenscraper and nothing worked. Then i tried the Steven Selph's Scraper, was better but i wanted videos. So using now local artwork files at the source, in the rom files..

            quicksilverQ 1 Reply Last reply Reply Quote 0
            • quicksilverQ
              quicksilver @jul**17001
              last edited by quicksilver

              @jul-17001 so you downloaded pre-populated gameslist.xml files? The duplicate .zip entries are probably whats causing the issue. To test, first back up your gameslist.xml (so you can undo any changes). Then edit the gameslist.xml thats on your pi by removing one of the entries for .zip or .ZIP. Restart emulation station and see if the game is no longer duplicated. If that works then you know what you need to do to fix the other duplicate entries.

              J 1 Reply Last reply Reply Quote 1
              • J
                jul**17001 @quicksilver
                last edited by

                @quicksilver tks for the answer ! i will try that tonight and will let you know what happens. tks a lot for your help. kinda new with that so i am still learning a lot..

                quicksilverQ ClydeC 2 Replies Last reply Reply Quote 0
                • quicksilverQ
                  quicksilver @jul**17001
                  last edited by quicksilver

                  @jul-17001 This may be helpful as well https://retropie.org.uk/forum/topic/11074/a-gamelist-xml-cleaner-tool

                  1 Reply Last reply Reply Quote 0
                  • IceChes1I
                    IceChes1
                    last edited by

                    Pull out your SD card and simply delete the duplicates on your laptop/PC.

                    HOME CONSOLE
                    Pi 4
                    SanDisk 64 GB
                    Master branch install
                    3.5 amp CanaKit PSU
                    Logitech F310, Dell keyboard, Dell mouse, JetFlash Transcend 16 GB USB stick
                    HANDHELD
                    Pi 0 W
                    SanDisk 32 GB
                    Random image I found. Had a driver I needed.
                    IPEGA PG-9157 USB Receiver

                    quicksilverQ 1 Reply Last reply Reply Quote 0
                    • quicksilverQ
                      quicksilver @IceChes1
                      last edited by

                      @IceChes1 delete what? Why does he need to take out his SD card?

                      1 Reply Last reply Reply Quote 0
                      • ClydeC
                        Clyde @jul**17001
                        last edited by

                        @jul-17001 When cleaning up your roms, mind that Linux differentiates upper and lower case in filenames. Thus, the Awesome Golf (USA, Europe).lnx and Awesome Golf (USA, Europe).LNX in your gamelist.xml are two different files for Linux. In Windows, it would be one file which the other would've been overwritten by.

                        So, keep one of them and be sure to delete the xml entry maching the case of the actual file, or the remaining (wrong) entry may not be able to start the game anymore.

                        J 1 Reply Last reply Reply Quote 1
                        • J
                          jul**17001 @Clyde
                          last edited by

                          @IceChes1

                          That's good information. thank you. Just curious, do you have any ideas why my gamelist files are like that ? i will definitely clean up all that stuff but i would like to understand what happened in order to avoid that in the future.

                          ClydeC quicksilverQ 2 Replies Last reply Reply Quote 0
                          • ClydeC
                            Clyde @jul**17001
                            last edited by

                            @jul-17001 Well, it looks like you have duplicate romfiles in different formats (7z, zip, lnx) in your rom folder, and whatever generated your gamelist.xml included all of them in it.

                            1 Reply Last reply Reply Quote 1
                            • quicksilverQ
                              quicksilver @jul**17001
                              last edited by

                              @jul-17001 you downloaded your gameslist.xml right? You didn't generate them yourself?

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jul**17001 @quicksilver
                                last edited by

                                @quicksilver right. All my gamlists files were included with the rom / workart package. i will edit a gamelist file today as a test and will let you know if that solves the problem.

                                1 Reply Last reply Reply Quote 1
                                • J
                                  jul**17001
                                  last edited by

                                  *Problem solved !

                                  so I just tried to edit the gamelist.xml for the Lynx system (just used the regular notepad from windows). i deleted all the sections that i didnt want for 1 specific game (got rid of .7z, .lnx, LNX, ZIP) and just kept the .zip section that matches the extension type i decided to use for that specific system. It worked perfect ! now this game appeared only once in my collection. Thanks a lot for all your advises, i learnt a bit more with the gamelist files thanks to this issue.
                                  Happy gaming

                                  1 Reply Last reply Reply Quote 1
                                  • 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.