Jump to content
LaunchBox Community Forums

dino9848

Members
  • Posts

    3
  • Joined

  • Last visited

dino9848's Achievements

1-Bit Wonder

1-Bit Wonder (1/7)

0

Reputation

  1. Actually, chatGPT was helpful in fixing my region preference and CD .bin .cue .chd issues. This is a universal script now. This single script supports fuzzy title matching, (same as above — case-insensitive, ignores punctuation, regions, etc.), any file type: .zip .md, .bin, .smd .cue + .bin multi-BIN CDs Disc 1 / Disc 2 / CD1 / CD2 .chd (MAME, PS1, Sega CD, etc.) Correct CD behavior: If a CD-based match is found it copies all associated disc files OR copies single .chd if present (preferred). CHD awareness (MAME-safe): If a .chd exists for a matched title only the .chd is copied and BIN/CUE files are ignored. Region preference is automatic: Priority order is USA > World > Europe > Japan > Anything else. Dry-run mode will let you see exactly what would be copied but copies nothing. Summary report at the end shows the titles requested, titles matched, files copied misses and dry-run status. It is reusable for any system: Genesis, NES, SNES, Sega CD, PS1, MAME, etc. Just change the destination folder and the ROM list. For CD systems & MAME .chd always wins, if no .chd, it will fall back to .cue + .bin > multi-disc sets. For cartridge systems it will do single-file copy as script above which should avoids broken sets and emulator issues. I have only tested this on a couple systems, again, no warranty. Always read a script and make sure you understand what it it trying to do before you run it! Use at your own risk. Be sure to populate the area commented out with a list of game names before running it: # ---------- ROM LIST (EDIT THIS) ---------- ROMS=( # Example: # "Aladdin" # "Sonic the Hedgehog" ) # ----------------------------------- Change the above to: # ---------- ROM LIST (EDIT THIS) ---------- ROMS=( "Aladdin" "Sonic the Hedgehog" "any other game name you want to copy for your system" ) # ----------------------------------- etc. _Universal_ROM_Curator.sh
  2. LINUX Script file For any of us that use a Linux PC as a primary driver, I have a script file that works on my Mint installation pretty flawlessly for multiple systems so far. It uses fuzzy logic to match out my "best of system" lists from large folders of ROMS to make a curated set. Best thing is that is it universal. I have so many examples of ROM titles that have "(USA)" or "(JAP)" or they have different articles or even minor misspellings and that completely throws off the copy function. I found this script works better in those use cases. Also, you can make this script your own! You can use it in MAME, NES, Playstation 1, etc folders of ROMS. Essentially any game system as long as you have a list of the games you want copied from a folder into a new folder it creates with the best matches. I had some issues with the fuzzy match and got chat GPT to help with the code. Actually, using chat GPT can help quickly create the simple lists of best games or any other game types you want to create curated lists for (shooting, fighting, vertical etc.) Be sure you run in a folder of ROMS from a single system. Sorry Windows users. This only works on Linux. If you change the comment in the script for the dry-run option to "True," it will only show you what files it would actually copy into a new folder. This script is non-destructive meaning it only COPIES the games you want in the list to a new folder it creates and does not move them or delete them. I offer no troubleshooting for this. It works great for me. I'm sure someone can turn this into a .bat file for Windows users. For my use, I just change the name of the DEST(ination) folder and replace the lists of games in quotes (as seen in the script). This works best with ROMS that are a single file such as "altbeast.zip" or "Balloon Fight (USA).nes" The actual lists you overwrite in the script for MAME need to be the file names such as, "altbeast". But for other console games, you can just add "Balloon Fight" to the list in the script and it will find it even if it has (USA).nes at the end. The script is attached and the instructions I copied below are commented out within the actual script for reference: #How to make this script executable: In terminal type: chmod +x [name_of_this_script}.sh #(This name changes based on what you change it to.) Be sure to change the destination #folder name listed below (DEST=" name_of_folder". Place this script file in a folder containing a large #uncurated list of ROMS for whatever specific gaming system you want. This list is currently set to get the #best Sega Genesis games. If you want to modify the script for a different system, change all the #ROM titles to your favorites and be sure they are in quotes as below. This script is universal as it lets #you create a custom curated ROMS set of best titles or whatever list of games you desire. It also automatically #will give you the option of a dry-run and a print a summary at the end. You DO NOT need Python installed to run it. #DO NOT CHANGE ANYTHING ELSE in the script... Just title names and destination folder and name of script if you want. #After you make the changes above, save the script and make it executable as above and then type: #./[name_of_this_script}.sh - so that is a dot and a slash just before the name of the script with a .sh at the end. #This will take a few minutes. This was created with the help of ChatGPT to clean up some bugs in fuzzy logic. _NoFiller_Universal_FuzzyMatch_Sega_Genesis.sh
  3. I am trying to setup a retro arcade for my kids using NVIDIA Shield TV pro (2019) (Stock. NOT rooted). I am using retroarch to launch all games. Even MAME games using 32-bit retroarch per recommendations in the app. All of this works fine under the owner account but I don't want kids accessing file managers and other apps unsupervised. So I created a restricted profile. I went through the exact same setup process on the restricted profile and I can get MAME games to work only if I use MAME4DROID as the app to play MAME. This is less than desirable. If I try to use 32-bit retroarch for MAME or if I try using Play Store version of retroach with nestopia core for my NES games, Launchbox will not launch under the restricted profile. I get a black screen forever unless I hit some buttons on controller and after 15 seconds or so it will return to Launchbox. app. I have enabled all applications in the restricted profile in attempts to see if one of the apps is preventing Launchbox from launching the games using retroarch but this has not helped. Again, there seems to be some issue with Launchbox getting Retroach to launch a game because under the restricted profile, using retroach by itself, it launches all the games without a problem. It would be great to be able to get Launchbox to launch the games through retroarch on a restricted profile. Best regards and thank you for any troubleshooting/feature consideration. This issue should be very easy to duplicate. If not, let me know and perhaps you can help me get you some logs or something to help troubleshoot if you cannot reproduce the issue. In the meantime, I just logged out of google account, and Netflix and removed all file managers to make it kid friendly, albeit inconvenient.
×
×
  • Create New...