I've been tweaking for some months a few simple shell scripts to re-org dirs & items based on my own prefs
- Rename some console cores to similar name lengths & hide console cores I don't use
- Rename some of the "Other" cores, with shorter names of similar lengths
- Rename InputTest utility to InpTest to make name same length as the other two
- Move Palettes to their own dir so they don't show up in my game dirs when loading games
- Change altname for NeoGeo games I play to use "normal" numbering and shorter lengths
Any re-org needs to be undone before running an updater (downloader.sh or update.sh), otherwise the updater will re-download missing items over and over. So I'm using a "reorg_off.sh" script to undo any changes before the updater runs, and a "reorg_on.sh" script to do the reorg after the updater runs. I trigger everything using a short "all_updates.sh" script which undoes changes, runs updates, then re-does changes. And bc it's called all_updates it's the first script in the Scripts dir and easy to run using a controller from the MiSTer menu.
After the re-org is done, the dirs will look similar to:
_Arcade/
- cores/
- disabled/
- _alternatives/
- _default/
- disabled/
- GameBoy 1_20211121.rbf
- GameBoy Adv_20211201.rbf
- Genesis 1_20220105.rbf
- Genesis CD_20211214.rbf
- Master Sys_20210930.rbf
- Neo Geo Mvs_20220105.rbf
- NES Famicom_20211214.rbf
- PlayStation_20211219.rb
- Super NES_20220105.rbf
- TurboGrafx_20220105.rb
- Arduboy_20210113.rbf
- Chess_20200827.rbf
- Chip8_20200208.rbf
- Flappy_20200402.rbf
- Galaxy_20200818.rbf
- Life_20200430.rbf
- Scramble_20200724.rbf
- GAMEBOY
- GAMEBOY2P
- NES
- AdcTest_20201231.rbf
- InpTest_20211127.rbf
- MemTest_20210130.rbf
In addition to the reorg scripts, I also manually organized my game dirs similar to the below, since I like short titles and like having only the games that I play showing up, not thousands of unused entries and hacks.
_Arcade
- _Action
- Altered Beast.mra
- Frogger.mra
- Pac-Man 1.mra
- _Adventure
- ...etc...
- _Beatemup
- cores
- disabled
- _Driving
- _Fighting
- _Platform
- _Puzzle
- _Rungun
- _Shooter
- _Sports
NES
- Action
- Balloon Fight.nes
- Guardian Legend.nes
- Joust.nes
- Adventure
- ...etc...
- boot0.rom
- Fighting
- Platform
- Puzzles
- Racing
- README.md
- Roleplay
- Rungun
- Shooter
- Sports