Ratatouille (PC) *.DPC

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Ratatouille (PC) *.DPC

Post by Mygoshi »

Hello, I'm trying to rip the .dpc files from Ratatouille (PC) game. The .dpc files are sound effects and textures.
I can extract the textures with Dragon UnPACKer. For the sound effects, I can open the DPCs with MFAudio with a sample rate of 22050 and as 2 channels (but it'll play every files one after the other)

Is there a way please to write a script to support them?

Here's the file: http://www.4shared.com/file/Mg7weABuba/SW_online.html?

Thanks.
Last edited by Mygoshi on Wed May 06, 2020 6:30 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

*edit* my fault, I posted another script :)
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

Sorry, don't think I understand?
Last edited by Mygoshi on Wed May 06, 2020 6:31 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

http://aluigi.org/papers/bms/others/ratatouille_dpc.bms

I don't know if it will work also with other DPC archives.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

Edit: Thanks, it works!!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

I have checked it just now with the sw.dpc file of 10,333,957 bytes, and it works.
I have checked also the script online and it's the same I have locally.

Are you using quickbms 0.6?
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

It works,it works. Just, I hear some sfx but there are some white noises between... Is it normal? Do you have the offset of these files? And Thanks!
Last edited by Mygoshi on Wed May 06, 2020 6:33 pm, edited 1 time in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

I think this is 22050 for frequency, channel: Mono and Offset: 7050 bytes (it works).
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

Seems to be other files in the extracted files. I think the extracted files are still archives.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

I have updated the script but the data is stored as resource and not directly as files.
It means that some files have an extra header but there are no information about how big is this header, the only reference is a 32bit field that tells you what type of resource it is.
Additionally some files are even compressed.

So the script acts just as dumper of resources.
Sorry but I can't spend more time on this.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

Wow, there are a lot of files since the first script. Do you happen to know what are .con and .cl5?
Last edited by Mygoshi on Wed May 06, 2020 6:34 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

They are guessed extensions so they don't mean much.

Remember that some files are compressed, probably I had to put them in separate folder to avoid confusion.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

I downloaded your script.. it works perfectly with SW.DPC.
Can I give you the MB.DPC, CT.DPC, MK.DPC, KD.DPC and KN.DPC from the same folder, please? Because it seems the script only works for SW.DPC.

And thanks Aluigi :)
Last edited by Mygoshi on Wed May 06, 2020 6:35 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

Ok, let's try it.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ratatouille (PC) *.DPC

Post by aluigi »

Ok, script updated.

I still don't know what is that compression, it's very simple but I have problems to understand from what offset it starts and if the uncompressed size is correct or it has some bytes more/less.
Anyway I guess you will appreciate the new output and the automatic DDS handling that will allow you to have most (not all) the available images.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (PC) *.DPC

Post by Mygoshi »

Aluigi, thanks