sm64-port icon indicating copy to clipboard operation
sm64-port copied to clipboard

Error when building with custom sounds.

Open Spider-bomb opened this issue 3 years ago • 2 comments

I'm attempting to build a romhack of this game that others have been able to build successfully, but I'm getting the following error when attempting to implement custom sounds. Replacing the sounds with their original counterparts seems to solve the issue, but as this hack replaces several characters, this is less than ideal.

tools/aiff_extract_codebook sound/samples/sfx_mario/00.aiff >build/us_3ds/sound/samples/sfx_mario/00.table
Assertion failed: !canSeek() || (tell() == m_track->fpos_next_frame), file audiofile.cpp, line 6170
tools/vadpcm_enc -c build/us_3ds/sound/samples/sfx_mario/00.table sound/samples/sfx_mario/00.aiff build/us_3ds/sound/samples/sfx_mario/00.aifc
You should specify a coefficient codebook with the [-c] option
make: *** [Makefile:738: build/us_3ds/sound/samples/sfx_mario/00.aifc] Error 1

Additional information: I've followed the guide to the best of my ability, and have successfully compiled a non modified version of the game. Besides following the installation guide for MSYS itself and successfully compiling the PC build with sm64pcbuilder2, this is otherwise a completely fresh install of MSYS. I can provide any additional information on request. I have tried with both an original mario 64 rom and a patched version of the rom, and both throw some variation on the above error eventually when getting to custom sounds. The hack I'm trying to build can be found here, if that's worth anything: https://romhacking.com/hack/super-cream-64

Spider-bomb avatar Sep 08 '21 01:09 Spider-bomb

Did u ever figure this out

NaomiReadbeforeint avatar Dec 22 '22 07:12 NaomiReadbeforeint

Unfortunately, no, I did not.

Spider-bomb avatar Dec 22 '22 15:12 Spider-bomb