lioneltrs / goNCommand

Bash script to convert 23 games (Ninja Commando, Ghost Pilots, Art of Fighting 3, Ninja Master's, Magician Lord, Crossed Swords, Sengoku, Super Sidekicks, The Last Blade 2, etc.) to romsets for Final Burn Neo
GNU General Public License v3.0
13 stars 2 forks source link

goNCommand

goNCommand is a set of Bash scripts to convert 23 games to romsets for Final Burn Alpha, MAME or FBNeo.

ROM ROM_NAME GAME_NAME
005 maglord Magician Lord
007 alpham2 Alpha Mission II
011 superspy The Super Spy
014 mutnat Mutation Nation
017 sengoku Sengoku
020 gpilots Ghost Pilots
024 lresort Last Resort
031 socbrawl Soccer Brawl
032 roboarmy Robo Army
037 crsword Crossed Swords
039 kotm2 King of the Monsters 2
040 sengoku2 Sengoku 2
043 3countb 3 Count Bout
046 tophuntr Top Hunter
050 ncommand Ninja Commando
052 ssideki Super Sidekicks
096 aof3 Art of Fighting 3
212 overtop Over Top
216 kizuna Kizuna Encounter
217 ninjamas Ninja Master's
222 samsho4 Samurai Shodown IV
232 kof97 King of Fighters '97
243 lastbld2 Last Blade 2

Installation

Put these files in a directory of your choice:

go*
ss_unswizzle.c

Then compile ss_unswizzle.c:

gcc -o ss_unswizzle ss_unswizzle.c

Usage

  1. Set the path MY_RAW_ROMS_DIR to point to the directory where Ninja Commando (or another supported game) is installed. In this directory, you will see files such as c1.bin and m1.bin. Example :

    MY_RAW_ROMS_DIR=/home/lionel2/provi/amazon/ninja_commando/rom

  2. Set the path MY_OUT_ROM_DIR_1 to a temporary directory of your choice.

  3. Run one of the eight scripts:

./goNCommand

or

./goGPilots

or ./goAoF3 or ./goML or ./goNM or ./goCS or ./goSengoku or ./goSuperS or ./goLB2 or ./goRA or ./goSS4_a or /goLR.

You should get a ncommand.zip file (or gpilots.zip, or aof3.zip, or maglord.zip, or ninjamas.zip, or crsword.zip, or sengoku.zip, or ssideki.zip, or lastbld2.zip, or roboarmy.zip, or samsho4.zip, or lresort.zip) in the directory where the script is.

Background and information

The C code ss_unswizzle.c was written by ark (the script goNCommand links to the original post where I found it).

The script goNCommand creates all but one file that match FBNeo CRC32. The file 050-p1.p1 does not match the CRC32 given by FBNeo, and I do not know how to fix this, as it is a simple copy of the original file. The game seems to run fine: feel free to investigate.

Update: a friend noticed that 050-p1.p1 differs from the "known" file only at one address. I updated all the scripts when needed.

Thank you to contributors Lx32, RedundantCich for theirs scripts.

Other useful scripts to extract and convert games are available from:

Contributing

Feel free to fork this code (and solve the Metal Slug 4 or the King of Fighters 2003 problems).

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.