In order to reconstruct the ROMs from Code Mystics SNK releases, you'll need to largely follow the steps outlined here:
https://github.com/lioneltrs/goncommand . Below is a more guided approach to getting this done:
1) You'll need a Linux (shell scripting) environment of some sort (either a native installation, a live disk, a VM or WSL2, I'll leave that to you)
2) Download the contents of the GitHub page above to a folder of your choice. You can do that by selecting the
Code drop-down (green button) ->
Download Zip. Extract the zip file once downloaded. We'll refer to the directory in which you've extracted the files as
<SCRIPT_PATH> from now on. It will be the path in which all following commands will need to be run.
3) Compile
ss_unswizzle.c by running:
gcc -o ss_unswizzle ss_unswizzle.c Altertnatively, if you don't want to bother with gcc and compilation, grab
this file and copy it into
<SCRIPT_PATH>, then run:
chmod +x ss_unswizzle Note that the provided binary is for Linux x86-64. If you're on a different architecture, you'll still have to compile it yourself.
4) Edit the
romExtractionTools.sh file and modify the following lines:
# this will be the path where you've installed the Code Mystics releases
AMAZONGAMEFOLDER="/home/myuser/GOG Games" # this will be the output path for the ROMs (note that it must be an existing path)
ROMOUTPUTFOLDER="/home/myuser/roms" 5) Ensure the right permissions are set on
romExtractionTools.sh by running:
chmod +x romExtractionTools.sh 6) Now you are ready to run your script of choice, to extract any of the ROMs, but before you can do that we need to verify that the paths are fully correct. The following steps will use the
goAoF3 script as an example, but the same steps from here onward apply to all the other scripts. Edit
goAoF3 and make sure that the following line:
MY_RAW_ROMS_DIR="$AMAZONGAMEFOLDER"/"Art of Fighting 3 - The Path of The/Data/rom" is correct. In the case of GOG installations, this path will need some adjustment, as GOG installs the game to "ART OF FIGHTING 3". Thus, that line should read:
MY_RAW_ROMS_DIR="$AMAZONGAMEFOLDER"/"ART OF FIGHTING 3/Data/rom" Save the file when done.
7) Set the right permissions on the script file:
chmod +x goAoF3 8) Run the script:
./goAoF3 9) You should find the extracted ROM folder in the output directory that you've specified during step
(4). A zip file will also be created for you in
<SCRIPT_PATH>.
Rinse and repeat from step
(6) for the other ROM extraction scripts.