Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

Hi! I'm looking for a script to extract the packfile.dat archive for Scooby-Doo! And The Spooky Swamp [Wii]. The script written in the other thread for PS2 doesn't work.
Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by aluigi »

Script 0.1.1 supporting the different endianess:
http://aluigi.org/bms/scooby_doo_swamp.bms
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

I get an error (see attached screenshot).
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by aluigi »

I forgot an instruction :) Script 0.1.2
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

Thank you!
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

By the way, the game uses Nintendo Gamecube DSP 4-bit ADPCM as audio codec for music.
Here is one file: https://mega.nz/#!j4EWGS7Y!QzQAXypr1Yth ... 7_FSfzsfsw

Could you help me finding the coefficient offsets please ? For right and left channel ? So I can make a working GENH header and convert them with vgmstream ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by aluigi »

I don't think there is any coeff in that file you provided.
Not my field but I remember that it should be 46 bytes for each channel, the data at the beginning is probably the adpcm data and at the end there are only zeroes.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

Ah. I tried to investigate though, so here are all the infos I have about the given file (in order to create GENH header)

Codec: Nintendo GameCube 4-bit ADPCM
Header skip: 0x0 (it's indeed headerless Nintendo DSP ADPCM)
Frequency: 16000 Hz
Channels: 2
Interleave: 0x9000
Coef Offset: Right Channel: 0x93C790
Coef Offset: Left Channel: 0x93C790
Coef Type: Normal (Big Endian)

I know the coefficients AREN'T these (they also have to be different), but I can hear the music very well! Just too much noises, but it's close... So the problem is the coefficients. I looked at all the files in the game, and I can't find the coefficients...
What I see is that everytime I put the filename in coeff offsets, it almost work! I don't know why since they are not the right coeffs. It's weird.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by Warthog1336 »

..Bump?
scoob23
Posts: 5
Joined: Thu Jun 03, 2021 8:35 pm

Re: Scooby-Doo! And The Spooky Swamp [Wii] packfile.dat extractor?

Post by scoob23 »

Bump