RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Share your collections

    Scheduled Pinned Locked Moved General Discussion and Gaming
    collectionsharethread
    50 Posts 12 Posters 19.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.
    • lilbudL
      lilbud @cyperghost
      last edited by

      @cyperghost it's technically not a custom collection, it's a whole different rom folder named 'SnesMini' with all of the games listed above.

      Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

      Backlog: http://backloggery.com/lilbud

      cyperghostC 1 Reply Last reply Reply Quote 0
      • cyperghostC
        cyperghost
        last edited by

        @lilbud You're totally right ... if you use the dumped ones...
        But I don't know if there is any difference in the "new" ones for the SNES mini and the "old" Cartridges. Except Starfox II all games were already brought to the SNES console. But you're right if we want a "true" SNES mini version, there the SNES mini dump should be used. But I see no sense in doing this ;)

        So I thought about a SNES-like-mini-collection ;)

        1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost @lilbud
          last edited by cyperghost

          @lilbud Okay I made a SNES-mini like collection (21 Games)
          Please exchange/change filenames as you like ;)

          /opt/retropie/configs/all/emulationstation/collections/custom-SNES-mini like collection (21 Games).cfg

          /home/pi/RetroPie/roms/snes/Contra III - The Alien Wars (U) [!].smc
          /home/pi/RetroPie/roms/snes/Donkey Kong Country (U) (V1.2) [!].smc
          /home/pi/RetroPie/roms/snes/Earthbound (U) [!].smc
          /home/pi/RetroPie/roms/snes/Final Fantasy III (U) (V1.1) [!].smc
          /home/pi/RetroPie/roms/snes/F-ZERO (U) [!].smc
          /home/pi/RetroPie/roms/snes/Kirby's Dream Course (U) [!].smc
          /home/pi/RetroPie/roms/snes/Kirby Super Star (U) [!].smc
          /home/pi/RetroPie/roms/snes/Legend of Zelda, The - A Link to the Past (E) [!].smc
          /home/pi/RetroPie/roms/snes/Mega Man X (U) (V1.1) [!].smc
          /home/pi/RetroPie/roms/snes/Secret of Mana (E) (V1.1) [!].smc
          /home/pi/RetroPie/roms/snes/Star Fox (U) (V1.2) [!].smc
          /home/pi/RetroPie/roms/snes/StarFox 2 [Final SNES Mini Ver].sfc
          /home/pi/RetroPie/roms/snes/Street Fighter II Turbo - Hyper Fighting (U) [!].smc
          /home/pi/RetroPie/roms/snes/Super Castlevania IV (E) [!].smc
          /home/pi/RetroPie/roms/snes/Super Ghouls 'N Ghosts (U) [!].smc
          /home/pi/RetroPie/roms/snes/Super Mario Kart (E) [!].smc
          /home/pi/RetroPie/roms/snes/Super Mario RPG - Legend of the Seven Stars (U) [!].smc
          /home/pi/RetroPie/roms/snes/Super Mario World (E) (V1.1) [!].smc
          /home/pi/RetroPie/roms/snes/Super Metroid (E) [!].smc
          /home/pi/RetroPie/roms/snes/Super Punch-Out!! (E) [!].smc
          /home/pi/RetroPie/roms/snes/Super Mario World 2 - Yoshi's Island (E) (M3) (V1.0) [!].smc
          

          The games are:
          1. Contra III
          2. Donkey Kong Country
          3. EarthBound
          4. Final Fantasy III
          5. F-Zero
          6. Kirby Super Star
          7. Kirby's Dream Course
          8. The Legend of Zelda: A Link to the Past
          9. Mega Man X
          10. Secret of Mana
          11. Star Fox
          12. Star Fox 2 (never released!!!)
          13. Street Fighter II Turbo: Hyper Fighting
          14. Super Castlevania IV
          15. Super Ghouls 'n Ghosts
          16. Super Mario Kart
          17. Super Mario RPG
          18. Super Mario World
          19. Super Metroid
          20. Super Punch-Out
          21. Yoshi's Island

          lilbudL 1 Reply Last reply Reply Quote 0
          • lilbudL
            lilbud @cyperghost
            last edited by lilbud

            @cyperghost most of my files are zip files and I removed the extra symbols from the file name, ( [!], (U), etc.)

            I also added the SNES classic edition logo, might add it to the minimal theme repository when I get home.

            Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

            Backlog: http://backloggery.com/lilbud

            1 Reply Last reply Reply Quote 1
            • cyperghostC
              cyperghost
              last edited by cyperghost

              @lilbud I know... I was young, too ;) I see the SNES collection as test how people change filenames ;)
              Thanks your feedback

              lilbudL 1 Reply Last reply Reply Quote 0
              • lilbudL
                lilbud @cyperghost
                last edited by

                @cyperghost I do that cause I really don't feel like scraping and having a crapload of images taking up my sd card, but I still want the game names.

                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                Backlog: http://backloggery.com/lilbud

                1 Reply Last reply Reply Quote 0
                • I
                  IceLancer
                  last edited by IceLancer

                  There is a very easy way to make collections by name.
                  Total Commander search entire rom folder super mario*.zip
                  once listed click "feed to listbox"
                  then: tab "mark" - copy names with path to clipboard
                  save it in new txt file with extension .cfg ,name the file to match ur theme.
                  done

                  P.S
                  the only thing i noticed is that ES is HEAVY case sensitive
                  if ur list has lower casing it will fail
                  example fail:
                  d:/
                  working :
                  D:/
                  same is for other folders
                  dont know why is that

                  1 Reply Last reply Reply Quote 1
                  • strangerukS
                    strangeruk
                    last edited by

                    I thought I would share with you all a bunch of collections I have made. I am not protesting that these are definitive, but they are certainly a good starting point! I hope that someone may find them useful:

                    • Batman Custom Collection
                    • Disney Custom Collection
                    • Donkey Kong Custom Collection
                    • Looney Tunes Custom Collection
                    • Mario Custom Collection
                    • Marvel Custom Collection
                    • Mortal Kombat Custom Collection
                    • Nes Classic Custom Collection
                    • Simpsons Custom Collection
                    • SNES Classic Custom Collection
                    • Sonic Custom Collection
                    • Street Fighter Custom Collection
                    • Zelda Custom Collection
                    1 Reply Last reply Reply Quote 2
                    • PittStoneP
                      PittStone
                      last edited by PittStone

                      I made a new Collection "gungames" for Remote Guns.
                      I used "Emulation Station for Windows"

                      Gun Games Custom Collection

                      I Handpicked the Best Gun Games of All Time. (without PS3 or XBox)

                      1 Reply Last reply Reply Quote 0
                      • thelostsoulT
                        thelostsoul
                        last edited by

                        I have a lot of collections. Can't post them now, as I am not at home. Every collection can have up to 13 games at max and are something to represent for what they are. Most of them are genres like racing or rpgs. I also have some of my favorite hidden gems or mods.
                        And there are those collections added through theme, which appear on main site between the consoles. These can have any number of games and currently I have Arcade, which contains games from Mame, FBA and Neo Geo. And the NES mini and Snes Mini collections and Shmup only too.

                        Not sure how posting these lists will help, as you may not have the same roms as I do. I have a mix of European, US and Japanese games for many consoles.

                        πŸ“œ RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                        cyperghostC PittStoneP 2 Replies Last reply Reply Quote 0
                        • cyperghostC
                          cyperghost @thelostsoul
                          last edited by cyperghost

                          @thelostsoul Well... It's rather how far the game names hit the ROM Images. The description is something a bit weird.

                          What works 100% are CPS, MAME and NEOGEO games.
                          Other systems are try and error. The best way in sharing collections would be a script that automatically looks for rom names that looks very equal like

                          /home/pi/RetroPie/roms/gb/Tetris (JUE).gb
                          /home/pi/RetroPie/roms/gb/Tetris.zip
                          /home/pi/RetroPie/roms/gb/Tetris (Europa).gb
                          /home/pi/RetroPie/roms/gb/Tetris (Japan).gb
                          

                          So you have 4 entries and that will give a regular hits for a rom collection. In the best way... Just 1

                          The rest of the collections entries are ignored... so we can easily share all collections ;)

                          thelostsoulT 1 Reply Last reply Reply Quote 1
                          • thelostsoulT
                            thelostsoul @cyperghost
                            last edited by

                            @cyperghost There are ton of pissibilities how files are named. Some have exclamation marks for good dumps, some US or EU or for German versions and even more. Also different type of collection sets do naming conventions differently. All these have to be multiplied with .zip and all supported filetypes for alle emulators a system is using. Translations, Homebrew and Mods of games, other manually added games are another thing with custom names. CD games also have often different filenames and aren't much standardized.

                            Which brings me to a point where a script for collection creation comes to my mind. I have no time for it now, but maybe I will create one.

                            πŸ“œ RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                            cyperghostC 1 Reply Last reply Reply Quote 0
                            • cyperghostC
                              cyperghost @thelostsoul
                              last edited by cyperghost

                              @thelostsoul I made several attempts with bash. To strip braces I used this one
                              ${name%% (*}
                              To get extension you can use this
                              ${name##*.}

                              Usually the ROM is named like this shema

                              PATH TO ROM FILE/That is the ROM NAME (Region) [Dump state] !%$.EXTENSION
                                         |               |                                        |
                                We strip this to/    Extract to (                        Save extension
                                 to get system
                              

                              Then use find /path to your files for system/ROMNAME without(*.extensionfunction and then we are happy about.
                              If nothing found then find again but now without extension ;) We have to ignore *.srm and *.state* files for that case :(

                              1 Reply Last reply Reply Quote 1
                              • cyperghostC
                                cyperghost
                                last edited by cyperghost

                                @thelostsoul

                                Here is a bare script! It's bare because it will only operate if there is exactly one match. I don't strip path to roms, so there is no chance to find roms that are located in arcade folder can also be found in mame or fba folders.... So this is a very primitive workaround. Moreover, if you make several runs your gamelist will grow and grow and grow because I don't make crosschecks if file entries that can be modified are already in the lists....

                                But the idea is clear. Every user can make a run on his game collection and the collection file will increase and increase. With much luck we have a fileset that says. This collection has 21 games in but there are all in all 155 file entries. But this is because someone used zip files, other one got a bad dump.... And if all is good the user got exactly 21 entries in his collection on ES ;)

                                #!/bin/bash
                                
                                # >> Create Custom Collection <<
                                #
                                # Remember you need ES 2.6.0 at least to use that features
                                # cyperghost
                                
                                
                                # Bare script! Please improve!
                                # Check if custom collections exists
                                # We can strip-down custom- string later
                                
                                
                                # INIT
                                [[ -z $1 ]] && echo "Enter name of custom collection!" && exit
                                col_file="/opt/retropie/configs/all/emulationstation/collections/$1"
                                ! [[ -f $col_file ]] && echo "File not found!" && exit
                                
                                # FUNCTION
                                function find_file () {
                                    local level="$1"
                                    local line="$2"
                                    local strip="$3"
                                    local match
                                
                                    case "$level" in
                                        "-level1")
                                                match=$(find "$line" -type f 2>/dev/null | wc -l)
                                                echo $match
                                        ;;
                                
                                        "-level2")
                                                    if [[ $strip == "1" ]]; then
                                                        match=$(find "${line%% (*}"*."${line##*.}" -type f 2>/dev/null)
                                                        echo $match
                                                    else
                                                        match=$(find "${line%% (*}"*."${line##*.}" -type f 2>/dev/null | wc -l)
                                                        echo $match
                                                    fi
                                
                                         ;;
                                
                                         "-level3")
                                                    if [[ $strip == "1" ]]; then
                                                        match=$(find "${line%% (*}"* -type f 2>/dev/null)
                                                        echo $match
                                                    else
                                                        match=$(find "${line%% (*}"* -type f 2>/dev/null | wc -l)
                                                        echo $match
                                                    fi
                                         ;;               
                                         
                                    esac
                                }
                                
                                # MAIN
                                while read line; do
                                
                                    match_l1="$(find_file "-level1" "$line")"
                                
                                    if [[ $match_l1 == "1" ]]; then
                                        echo "File 1 found: $(basename "$line")"
                                    else 
                                        match_l2="$(find_file -level2 "$line")"
                                    fi
                                        
                                    if [[ $match_l2 == "1" && $match_l1 == "0" ]]; then 
                                        line="$(find_file "-level2" "$line" "1")"
                                        echo "File 2 found: $(basename "$line")"
                                        echo "$line" >> "$col_file"
                                    else 
                                        match_l3="$(find_file "-level3" "$line")"
                                    fi    
                                
                                    if [[ $match_l3 == "1" && $match_l2 == "0" && $match_l1 == "0" ]]; then
                                        line="$(find_file "-level3" "$line" "1")"
                                        echo "File 3 found: $(basename "$line")"
                                        echo "$line" >> "$col_file"
                                    fi
                                      
                                done < <(tr -d '\r' < "$col_file")
                                

                                My first test with the BATMAN Collection ended in 9 "new" added entries ;)

                                /home/pi/RetroPie/roms/gb/Batman - Return of the Joker (U) [!].gb
                                /home/pi/RetroPie/roms/gb/Batman - The Animated Series (U).gb
                                /home/pi/RetroPie/roms/gb/Batman Forever (U) [!].gb
                                /home/pi/RetroPie/roms/megadrive/Batman - Revenge of the Joker (U) [!].bin
                                /home/pi/RetroPie/roms/megadrive/Batman Forever (F) [!].bin
                                /home/pi/RetroPie/roms/megadrive/Batman Returns (U) [!].bin
                                /home/pi/RetroPie/roms/megadrive/Justice League Task Force (F) [!].bin
                                /home/pi/RetroPie/roms/snes/Batman Forever (E) [!].smc
                                /home/pi/RetroPie/roms/snes/Batman Returns (U) [!].smc
                                

                                Script ouput was:

                                File 1 found: batman.zip
                                File 2 found: Batman - Return of the Joker (U) [!].gb
                                File 2 found: Batman - The Animated Series (U).gb
                                File 2 found: Batman Forever (U) [!].gb
                                File 1 found: Batman Beyond - Return of the Joker (USA).zip
                                File 1 found: New Batman Adventures, The - Chaos in Gotham (USA).zip
                                File 3 found: Batman - Revenge of the Joker (U) [!].bin
                                File 3 found: Batman Forever (F) [!].bin
                                File 3 found: Batman Returns (U) [!].bin
                                File 3 found: Justice League Task Force (F) [!].bin
                                File 3 found: Batman Forever (E) [!].smc
                                File 3 found: Batman Returns (U) [!].smc
                                

                                Means:
                                File 1 - 3 ROMs from collection were also located in my ROM folders --> 0 added
                                File 2 - stripped away all brackets and used same extension - 3 were added to collection
                                File 3 - stripped away brackets and extension - 6 were added to collection

                                1 Reply Last reply Reply Quote 1
                                • PittStoneP
                                  PittStone @thelostsoul
                                  last edited by

                                  @thelostsoul Can you post your Collections Lists?

                                  cyperghostC 1 Reply Last reply Reply Quote 0
                                  • C
                                    cloudlink
                                    last edited by

                                    Here are some of my collections. My rom filenames don’t really adhere to any specific naming convention though.

                                    custom-Warner Bros
                                    custom-TMNT
                                    custom-The Simpsons
                                    custom-Super Mario
                                    custom-Street Fighter II
                                    custom-Star Wars
                                    custom-Sonic
                                    custom-Pokemon
                                    custom-PBS
                                    custom-Pac Man
                                    custom-Nickelodeon
                                    custom-Mortal Kombat
                                    custom-Mega Man
                                    custom-Marvel
                                    custom-Hanna Barbera
                                    custom-Ghost Busters
                                    custom-Final Fantasy
                                    custom-Disney
                                    custom-DC
                                    custom-Castlevania
                                    custom-Cartoon Network

                                    1 Reply Last reply Reply Quote 1
                                    • cyperghostC
                                      cyperghost @PittStone
                                      last edited by cyperghost

                                      @pittstone

                                      @thelostsoul said in Share your collections:

                                      I have a lot of collections. Can't post them now, as I am not at home.

                                      @cloudlink
                                      Thanks for this huge collection ;)
                                      That's amazing!

                                      Just for an example your Warner Bros Collection was translated by my script to this. So even you naming convention isn't "correct" I was able to get half of your settings on first run. I think that's okay....

                                      But we have to dig deeper into somehow... Maybe checksums ;) But now we could merge your collection and mine in one file ;) The script needs a bit improvment.

                                      It need a first loop with a check if files can in the whole collection are available and put it in an array with array+=("$romfile" "$available") so if file is available the $available will be setted to 1, else to 0 ;)

                                      /home/pi/RetroPie/roms/gb/Tiny Toon Adventures - Wacky Sports (U) [!].gb
                                      /home/pi/RetroPie/roms/gb/Taz-Mania 2 (U) [!].gb
                                      /home/pi/RetroPie/roms/nes/Bugs Bunny Birthday Blowout, The (E) [!].nes
                                      /home/pi/RetroPie/roms/gbc/Tiny Toon Adventures - Dizzy's Candy Quest (Europe) (En,Fr,De,Es,It,Nl).zip
                                      /home/pi/RetroPie/roms/atari2600/Bugs Bunny (Atari) (Prototype) [!].a26
                                      /home/pi/RetroPie/roms/snes/Speedy Gonzales - Los Gatos Bandidos (U) (V1.1) [!].smc
                                      /home/pi/RetroPie/roms/gbc/Looney Tunes - Twouble! (USA) (En,Fr,Es) (GB Compatible).zip
                                      /home/pi/RetroPie/roms/gbc/Looney Tunes - Carrot Crazy (USA) (En,Fr,Es) (GB Compatible).zip
                                      /home/pi/RetroPie/roms/gbc/Speedy Gonzales - Aztec Adventure (USA, Europe) (GB Compatible).zip
                                      /home/pi/RetroPie/roms/snes/Porky Pig's Haunted Holiday (U) [!].smc
                                      /home/pi/RetroPie/roms/megadrive/Taz-Mania (U) [!].bin
                                      /home/pi/RetroPie/roms/snes/Tiny Toon Adventures - Buster Busts Loose! (E) [!].smc
                                      /home/pi/RetroPie/roms/snes/Daffy Duck - The Marvin Missions (U) [!].smc
                                      /home/pi/RetroPie/roms/snes/Animaniacs (U) [!].smc
                                      /home/pi/RetroPie/roms/gbc/Marvin Strikes Back! (USA) (En,Fr,Es).zip
                                      /home/pi/RetroPie/roms/megadrive/Animaniacs (E).bin
                                      /home/pi/RetroPie/roms/megadrive/Sylvester and Tweety in Cagey Capers (UEJ) [!].bin
                                      /home/pi/RetroPie/roms/snes/ACME Animation Factory (E) [!].smc
                                      /home/pi/RetroPie/roms/gb/Looney Tunes (U) [!].gb
                                      /home/pi/RetroPie/roms/gbc/Daffy Duck - Fowl Play (USA, Europe) (GB Compatible).zip
                                      /home/pi/RetroPie/roms/gb/Animaniacs (U) [S][!].gb
                                      /home/pi/RetroPie/roms/snes/Road Runner's Death Valley Rally (U) [!].smc
                                      /home/pi/RetroPie/roms/snes/Bugs Bunny - Rabbit Rampage (U) [!].smc
                                      /home/pi/RetroPie/roms/megadrive/Tiny Toon Adventures - Buster's Hidden Treasure (E) [!].bin
                                      /home/pi/RetroPie/roms/gb/Daffy Duck - The Marvin Missions (UE) [!].gb
                                      /home/pi/RetroPie/roms/megadrive/Daffy Duck in Hollywood (JUE) [!].bin
                                      /home/pi/RetroPie/roms/snes/Taz-Mania (U) [!].smc
                                      /home/pi/RetroPie/roms/megadrive/Bugs Bunny in Double Trouble (4) [!].bin
                                      /home/pi/RetroPie/roms/gbc/Looney Tunes Collector - Alert! (USA) (En,Fr,Es).zip
                                      /home/pi/RetroPie/roms/gb/Tiny Toon Adventures - Babs' Big Break (E) [!].gb
                                      /home/pi/RetroPie/roms/gb/Speedy Gonzales (U) [!].gb
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • thelostsoulT
                                        thelostsoul
                                        last edited by thelostsoul

                                        @cyperghost This is great!
                                        I didn't test it out yet, but now we are talking. :D First, I want thank you for doing/starting this. I was thinking about this "problem" a while back and didn't know how to do it properly. I was more thinking of a Python script, but Bash is fine too. ;-) Currently I am doing other stuff. I'll test this later and will have a look into the script. From a different script I have, I use this to strip down the clutter from filename:

                                        sed -i s/"(.*$"//g "$file"
                                        

                                        which deletes everything after (including) the first brace. I use this to get a clean name of the filename for a quick list. But thats not gonna help for your script, as you use those different parts. What do you think about doing it like this: Strip down on both sides (custom collection and files) everything after brace and compare. Found identical entry, use original filename from drive and add to new collection. So, you don't deal with the clutter. Not sure about this approach, if it would work better. It just sounds more simple. What do you think about it?

                                        Custom Collections with max. of 13 elements per collection:
                                        The entries are like showcases for a specific genre or what they are for. I try to get different type of games for different systems. The systems in use are following: atari2600, mame2003, fba, neogeo, gamegear, gb, gba, gbc, megadrive, sega32x, mastersystem, nes, snes, pcengine, psx, n64. The SNES have two extensions, sfc and smc. PC Engine have two extensions, pce and cue.

                                        Genre:

                                        • Action
                                        • Action Adventure
                                        • Action Platformer
                                        • Fighting
                                        • Jump and Run
                                        • Match Blocks
                                        • Pinball and Paddle
                                        • Puzzle Logic
                                        • Racing
                                        • RPG
                                        • Scrolling Brawl
                                        • SHMUPS
                                        • Sport
                                        • Strategy

                                        Other:

                                        • Movie and Comic
                                        • Mods and Homebrew
                                        • Multiplayer
                                        • Highscores (Games I played on MAME ROW)

                                        Insider Tips:

                                        • Arcade Insider Tips
                                        • Mega Drive Insider Tips
                                        • SNES Insider Tips

                                        Custom Collections From Theme, for main front page without a limit in elements per collection:

                                        • Arcade
                                        • shmups
                                        • NES Classic
                                        • SNES Classic

                                        Just a note here. I did a pre selection of games. That means, I often have only one or two best versions of games, with some exception. In example:

                                        • I have Earthworm Jim for SNES, because I grew up with it. Found out, the Mega Drive/Genesis version is better, but excluded it for not having duplicates, even if there are differences. Finally added the Mega CD/Sega CD version of the game, as definitive version.
                                        • I have Street Fighter 2 versions (Super, Turbo) for SNES and Arcade. Because I play Console versions with gamepad and Arcade versions with arcade stick. And there are duplicates for some personal reason.
                                        • I often have only one version of a game, in example the Arcade versions. In example of Bubble Bobble, later I added the NES version to be able to build the correct NES Mini collection.

                                        πŸ“œ RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                                        cyperghostC 1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost @thelostsoul
                                          last edited by

                                          @thelostsoul said in Share your collections:

                                          which deletes everything after (including) the first brace. I use this to get a clean name of the filename for a quick list. But thats not gonna help for your script, as you use those different parts. What do you think about doing it like this: Strip down on both sides (custom collection and files) everything after brace and compare. Found identical entry, use original filename from drive and add to new collection. So, you don't deal with the clutter. Not sure about this approach, if it would work better. It just sounds more simple. What do you think about it?

                                          The collection needs to fit exactly with file pathes. So the way how to strip down bash internal, sed, python isn't important. Important is, how the files can be retrieved. The bash script here works in 3 levels:

                                          1. Just compare file name, is 1 is returned everything is fine if 0 (=no file found) then go to level 2
                                          2. Compare filename with stripped brackets and original file extension. If one file os found (returns 1) then add the file to collection. If no file is found(0 returned) go to level 3
                                          3. Compare filename with stripped bracktes and ignore file extension. If one file is found then add to collection, if 0 is returned then make nothing else.

                                          You see fail by design. If 2 entries are found then the script also fails ;) As I said: I can live with that becasue I have no savegames or SRM-states in my ROM folder.

                                          Annother (maybe better) approach would be following.

                                          We use a tool like md5tree and all roms will be scanned for md5 checksum. So we have filename and it's checksum stored in one huge file. We call it md5_romcollection.dat

                                          But this won't save us if someone uses zipped files. But let us be independent of file pathes. I must think about it a bit. I can work with the script I coded ... it covers 75% of my usecase but it's not coded in a good manner and uses unnecessary uses cases and selections.

                                          I would be glad if someone else would step in...

                                          thelostsoulT 1 Reply Last reply Reply Quote 0
                                          • thelostsoulT
                                            thelostsoul @cyperghost
                                            last edited by thelostsoul

                                            @cyperghost My idea was using wildcards to get full filename. So strip the clutter path and find file with wildcard. In example "find Bik*" gives me "Biker Mice From Mars (U) [!].smc". Ok, the save files have to be filtered out. Maybe this can be used? This could be used as fallback, if exact filename of different variations aren't found. The md5checksum approach would be good too, but custom collections don't have a md5checksum. And what do you think about stripping down the "-" between Batman and its subtitle and all spaces, plus making everything lower case while comparing?

                                            πŸ“œ RE/SET: 100 SNES Games for your RetroPie, 🎁 Share your hidden gems and insider tips

                                            cyperghostC 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.