The resulting OPK is rather large because the music files are big. The original games use vorbis OGG files, but the game crashes with "Illegal instruction". I suppose the problem is in the libvorbis library. Some issue with cross compilation to MIPS. Also SDL MP3 files are not supported on the GCW0 so I had to use WAV files.
Hi, I ran 'ogginfo' command on the original OGG files and on some of them, it said the following error multiple times:
'Negative or zero granulepos (-1) on Vorbis stream outside of headers. This file was created by a buggy encoder'
So, I issued the following UNIX command to rewrite the OGG files' metadata, but preserving the original quality by not re-compressing the audio:for i in *.ogg; do ffmpeg -i $i -c:a copy fixed_oggs/$i ; done
'ogginfo' utility no longer reports any errors. Note that to run this fix youtself on a UNIX system, you must install the 'ffmpeg' package. But you don't have to, as I have included a .7z containing the new OGGs if you want to try them out, I'm curious if they fix the problem. I didn't include the .WAV files, so don't forget to copy those over too. Fixed oggs