Last active
June 12, 2023 09:51
-
-
Save squidrpi/de1cd7b176564f2cb695a22182da2189 to your computer and use it in GitHub Desktop.
Neogeo rename 32MB & 64MB roms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ROMLIST=$"2020bb_2020 Super Baseball | |
2020bba_2020 Super Baseball (set 2) | |
2020bbh_2020 Super Baseball (set 3) | |
3countb_3 Count Bout | |
alpham2_Alpha Mission II | |
alpham2p_Alpha Mission II (prototype) | |
androdun_Andro Dunos | |
aodk_Aggressors of Dark Kombat | |
aof_Art of Fighting | |
aof2_Art of Fighting 2 | |
aof2a_Art of Fighting 2 (NGH-056) | |
aof3_Art of Fighting 3 The Path of the Warrior | |
aof3k_Art of Fighting 3 The Path of the Warrior (Korean release) | |
b2b_Bang Bang Busters | |
bakatono_Bakatonosama Mahjong Manyuuki | |
bangbead_Bang Bead | |
bjourney_Blue's Journey | |
breakers_Breakers | |
breakrev_Breakers Revenge | |
bstars_Baseball Stars Professional | |
bstarsh_Baseball Stars Professional (NGH-002) | |
bstars2_Baseball Stars 2 | |
burningf_Burning Fight | |
burningfh_Burning Fight (NGH-018, US) | |
burningfpa_Burning Fight (prototype, near final, ver 23.3, 910326) | |
burningfp_Burning Fight (prototype, older) | |
columnsn_Columns | |
crswd2bl_Crossed Swords 2 (CD conversion) | |
crsword_Crossed Swords | |
ctomaday_Captain Tomaday | |
cyberlip_Cyber-Lip | |
diggerma_Digger Man | |
doubledr_Double Dragon | |
eightman_Eight Man | |
fatfursp_Fatal Fury Special | |
fatfurspa_Fatal Fury Special (NGM-058 ~ NGH-058, set 2) | |
fatfury1_Fatal Fury King of Fighters | |
fatfury2_Fatal Fury 2 | |
fatfury3_Fatal Fury 3 Road to the Final Victory | |
fbfrenzy_Football Frenzy | |
fightfev_Fight Fever | |
fightfeva_Fight Fever (set 2) | |
flipshot_Battle Flip Shot | |
frogfest_Frog Feast | |
froman2b_Idol Mahjong Final Romance 2 (CD conversion) | |
fswords_Fighters Swords (Korean release of Samurai Shodown III) | |
galaxyfg_Galaxy Fight Universal Warriors | |
ganryu_Ganryu | |
ghostlop_Ghostlop | |
goalx3_Goal! Goal! Goal! | |
gowcaizr_Voltage Fighter Gowcaizer | |
gpilots_Ghost Pilots | |
gpilotsh_Ghost Pilots (NGH-020, US) | |
gururin_Gururin | |
hyprnoid_Hypernoid | |
ironclad_Ironclad | |
ironclado_Ironclad (prototype, bootleg) | |
irrmaze_Irritating Maze, The | |
janshin_Janshin Densetsu Quest of Jongmaster | |
joyjoy_Puzzled | |
kabukikl_Far East of Eden Kabuki Klash | |
karnovr_Karnov's Revenge | |
kizuna_Kizuna Encounter Super Tag Battle | |
kof94_King of Fighters '94, The | |
kof95_King of Fighters '95, The | |
kof95a_King of Fighters '95, The (NGM-084, alt board) | |
kof95h_King of Fighters '95, The (NGH-084) | |
kotm_King of the Monsters | |
kotmh_King of the Monsters (set 2) | |
kotm2_King of the Monsters 2 The Next Thing | |
kotm2p_King of the Monsters 2 The Next Thing (prototype) | |
lans2004_Lansquenet | |
lbowling_League Bowling | |
legendos_Legend of Success Joe | |
lresort_Last Resort | |
lresortp_Last Resort (prototype) | |
magdrop2_Magical Drop II | |
magdrop3_Magical Drop III | |
maglord_Magician Lord | |
maglordh_Magician Lord (NGH-005) | |
mahretsu_Mahjong Kyo Retsuden | |
marukodq_Chibi Marukochan Deluxe Quiz | |
miexchng_Money Puzzle Exchanger | |
minasan_Minasan no Okagesamadesu! Dai Sugoroku Taikai | |
montest_Monitor Test ROM | |
moshougi_Shougi no Tatsujin Master of Syougi | |
mslug_Metal Slug Super Vehicle-001 | |
mutnat_Mutation Nation | |
nam1975_NAM-1975 | |
ncombat_Ninja Combat | |
ncombath_Ninja Combat (NGH-009) | |
ncommand_Ninja Commando | |
neobombe_Neo Bomberman | |
neocup98_Neo-Geo Cup 98 The Road to the Victory | |
neodrift_Neo Drift Out New Technology | |
neofight_Neo Fight | |
neomrdo_Neo Mr. Do! | |
neothund_Neo Thunder | |
nitd_Nightmare in the Dark | |
nitdbl_Nightmare in the Dark (bootleg) | |
overtop_OverTop | |
panicbom_Panic Bomber | |
pbobbl2n_Puzzle Bobble 2 | |
pbobblen_Puzzle Bobble | |
pbobblenb_Puzzle Bobble (bootleg) | |
pgoal_Pleasure Goal | |
pnyaa_Pochi and Nyaa | |
popbounc_Pop 'n Bounce | |
pspikes2_Power Spikes II | |
puzzldpr_Puzzle De Pon! R! | |
puzzledp_Puzzle De Pon! | |
quizdai2_Quiz Meitantei Neo & Geo Quiz Daisousa Sen part 2 | |
quizdais_Quiz Daisousa Sen The Last Count Down | |
quizdask_Quiz Salibtamjeong The Last Count Down (Korean localized Quiz Daisousa Sen) | |
quizkof_Quiz King of Fighters | |
quizkofk_Quiz King of Fighters (Korean release) | |
rbff1_Real Bout Fatal Fury | |
rbff1a_Real Bout Fatal Fury (bug fix revision) | |
ridhero_Riding Hero | |
ridheroh_Riding Hero (set 2) | |
roboarmy_Robo Army | |
roboarma_Robo Army | |
roboarmya_Robo Army (NGM-032 ~ NGH-032) | |
samsho_Samurai Shodown | |
samshoh_Samurai Shodown (NGH-045) | |
samsho2_Samurai Shodown II | |
samsho2k_Saulabi Spirits (Korean release of Samurai Shodown II) | |
samsho2ka_Saulabi Spirits (Korean release of Samurai Shodown II, set 2) | |
samsho3_Samurai Shodown III | |
samsho3h_Samurai Shodown III (NGH-087) | |
savagere_Savage Reign | |
sbp_Super Bubble Pop | |
sdodgeb_Super Dodge Ball | |
sengoku_Sengoku | |
sengokuh_Sengoku (NGH-017, US) | |
sengoku2_Sengoku 2 | |
socbrawl_Soccer Brawl | |
socbrawlh_Soccer Brawl (NGH-031) | |
sonicwi2_Aero Fighters 2 | |
sonicwi3_Aero Fighters 3 | |
spinmast_Spinmaster | |
ssideki_Super Sidekicks | |
ssideki2_Super Sidekicks 2 The World Championship | |
ssideki3_Super Sidekicks 3 The Next Glory | |
ssideki4_Ultimate 11, The The SNK Football Championship | |
stakwin_Stakes Winner | |
stakwin2_Stakes Winner 2 | |
strhoop_Street Hoop | |
superspy_Super Spy, The | |
tetrismn_Tetris | |
tophuntr_Top Hunter Roddy & Cathy | |
tophuntrh_Top Hunter Roddy & Cathy (NGH-046) | |
totc_Treasure of the Caribbean | |
tpgolf_Top Player's Golf | |
trally_Thrash Rally | |
turfmast_Neo Turf Masters | |
twinspri_Twinkle Star Sprites | |
tws96_Tecmo World Soccer '96 | |
viewpoin_Viewpoint | |
wakuwak7_Waku Waku 7 | |
wh1_World Heroes | |
wh1h_World Heroes (ALH-005) | |
wh1ha_World Heroes (set 3) | |
wh2_World Heroes 2 | |
wh2j_World Heroes 2 Jet | |
whp_World Heroes Perfect | |
wjammers_Windjammers | |
wjammss_Windjammers Supersonic | |
zedblade_Zed Blade | |
zintrckb_ZinTricK | |
zintrkcd_ZinTricK (CD conversion) | |
zupapa_Zupapa! | |
abyssal_Abyssal Infants | |
cabalng_Cabal | |
lasthope_Last Hope | |
looptris_LoopTris | |
teot_Eye of Typhoon, The Tsunami Edition | |
blazstar_Blazing Star | |
kof96_King of Fighters '96, The | |
kof96h_King of Fighters '96, The (NGH-214) | |
kof97_King of Fighters '97, The | |
kof97h_King of Fighters '97, The (NGH-2320) | |
kof97k_King of Fighters '97, The (Korean release) | |
kof97oro_King of Fighters '97 Chongchu Jianghu Plus 2003, The (bootleg) | |
kof97pls_King of Fighters '97 Plus, The (bootleg) | |
kog_King of Gladiators (The King of Fighters '97 bootleg) | |
lastblad_Last Blade, The | |
lastbladh_Last Blade, The (NGH-2340) | |
lstbladh_Last Blade, The (NGH-2340) | |
lastbld2_Last Blade 2, The | |
lastsold_Last Soldier, The | |
mslug2_Metal Slug 2 Super Vehicle-001 II | |
mslug2t_Metal Slug 2 Turbo (hack) | |
mslug4_Metal Slug 4 | |
mslug4h_Metal Slug 4 (NGH-2630) | |
ms4plus_Metal Slug 4 Plus (bootleg) | |
mslugx_Metal Slug X Super Vehicle 001 | |
neotris_NeoTRIS (free beta version) | |
ninjamas_Ninja Master's | |
preisle2_Prehistoric Isle 2 | |
pulstar_Pulstar | |
ragnagrd_Ragnagard | |
rbff2_Real Bout Fatal Fury 2 The Newcomers | |
rbff2h_Real Bout Fatal Fury 2 The Newcomers (NGH-2400) | |
rbff2k_Real Bout Fatal Fury 2 The Newcomers (Korean release) | |
rbffspec_Real Bout Fatal Fury Special | |
rbffspeck_Real Bout Fatal Fury Special (Korean release) | |
rbffspck_Real Bout Fatal Fury Special (Korean release) | |
samsho4_Samurai Shodown IV Amakusa's Revenge | |
samsho4k_Pae Wang Jeon Seol Legend of a Warrior | |
sengoku3_Sengoku 3 | |
shocktr2_Shock Troopers 2nd Squad | |
shocktro_Shock Troopers | |
shocktroa_Shock Troopers (set 2) | |
shcktroa_Shock Troopers (set 2)" | |
find *.neo -print0 | while read -d $'\0' FILE | |
do | |
[[ "$FILE" != "${FILE%[[:space:]]*}" ]] && continue | |
NAME=$(basename $FILE .neo) | |
LINE=$(grep ${NAME}_ <<<$ROMLIST) | |
ROM=${LINE%_*} | |
TITLE=${LINE##*_} | |
if [ ! -z $ROM ]; then | |
mv $FILE "$TITLE.neo" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated to include 64MB titles. Now can be re-run on already renamed roms without problems.