Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use? #1

Open
azer95 opened this issue Oct 25, 2016 · 3 comments
Open

How to use? #1

azer95 opened this issue Oct 25, 2016 · 3 comments

Comments

@azer95
Copy link

azer95 commented Oct 25, 2016

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
Copy link
Owner

Swyter commented Oct 25, 2016

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
Copy link
Owner

Swyter commented Oct 25, 2016

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

  • Remove the /tmp/ prefix from the .py and .sh, making it use the current folder instead.
  • Change the ./x:/ in the .py file to the extracted game assets folder. Probably ./x;/, if you used my extractor tool. Just ensure that the folder is located in the same place than the script.
  • Rename the .sh file to .cmd to make it executable under Windows.

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
Copy link
Author

azer95 commented Oct 26, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants