Swyter / sphinxtools

Unpackers and modding tools for the GameCube version of the «Sphinx and the Cursed Mummy» game.
MIT License
9 stars 1 forks source link

How to use? #1

Open azer95 opened 7 years ago

azer95 commented 7 years ago

I really do apologise in advance. I have never used python or any coding languages in my life so I have no idea how to run these scripts. I've already managed to extract all the files and Im trying to convert the ".sfx" files in the music folder but Im stuck. I can sort of import them into Audacity with big endian and VOX ADPCM but its still garbled. Any advice would be great. Thanks.

Running on Windows 10 btw.

Swyter commented 7 years ago

This thread may interest you, log in and scroll down:

http://tutankhammunity.proboards.com/thread/140/sphinx-cursed-mummy-soundtracks

As I wrote in the Readme file, it's using a different ADPCM encoding called IMA, VOX won't cut it. Also, the Python script is a demuxer, you will need it to split both channels (right and left), which are interlaced, Audacity interprets the stereo tracks as mono, which adds to the garbled sound.

To run the scripts you either need a Linux install (in a virtual machine under something like VirtualBox, for example) with the SoX and FFmpeg packages installed, or convert the Python paths and Bash script to Windows, which shouldn't be that hard.

There's Windows versions of SoX and FFmpeg around that you can use:

https://sourceforge.net/projects/sox/files/sox/14.4.2/ https://ffmpeg.zeranoe.com/builds/

Python is here, you can get the portable version, if you want:

https://www.python.org/downloads/windows/

Swyter commented 7 years ago

The tweaks you have to do to run the text files under Windows are as follows:

Maybe create a blank GCN-soundtrack folder, that's where FFmpeg drops the final .MP4 files.

Run the .cmd file, if Python is in the path, and ffmpeg.exe and sox.exe are in the same folder everything should work out. May take a little while to transcode all the tracks.

azer95 commented 7 years ago

Excellent, didn't even think about using Linux I do have Ubuntu on an old laptop I'll try that. Thanks mate. Can't believe how difficult Eurocom made to access the files. Thanks again