Shockwave .DCR

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Shockwave .DCR

Post by lemurboy12 »

http://puu.sh/cflFZ.zip

I've been after these old games by 3D Groove for a long time. Offzip gets the models and a few select textures, but a lot of the textures are missing. Here's several samples to work with.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

For Adobe Shockwave files you should use the following script:
http://aluigi.org/papers/bms/shockwave.bms

In this case it's a compressed files and so you must use offzip.
If you try to open this file with the script it will give you the command-line to use with offzip.
h3x1c
Posts: 3
Joined: Mon Jul 13, 2015 5:23 am

Re: Shockwave .DCR

Post by h3x1c »

aluigi wrote:For Adobe Shockwave files you should use the following script:
http://aluigi.org/papers/bms/shockwave.bms

In this case it's a compressed files and so you must use offzip.
If you try to open this file with the script it will give you the command-line to use with offzip.


Hey, Aluigi. I know this is an old thread, but I have a question about this. I have a bunch of .dcr files (all with XFIR headers) from one big presentation, all of which I dumped with offzip (as recommended by shockwave.bms when I first tried it and it didn't work).

The problem is the directories I dump the files to, respectively, are noticeably smaller than the .dcr files themselves. I end up with a bunch of .dat files in each directory, all of which I can read plain-text data from within via a hex editor; however, I know there are at least .png resources in each of these that aren't being extracted (unless they're all in a hundred parts between all the small .dat files).

Is there something else I can do to properly extract the image resources from these .dcr files since the script doesn't seem to work for them compressed? Thanks for any advice you can offer!

EDIT: I can send you one of the .dcr files if that would help, but I'll need to do so via PM or email if possible.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

I guess the problem is that the script just skips the chunks that it doesn't know.
Feel free to send me a couple of these files and I will update the script.
Xiron
Posts: 104
Joined: Sat Sep 12, 2015 7:09 am

Re: Shockwave .DCR

Post by Xiron »

So when the script tells you to use offzip, are the files that come out when using offzip still compressed or the actual files? All I get from offzip are a lot of .dat files and a few .3de and .fff files. The .dcr shockwave files I'm looking at also have XFIR header like h3x1c above.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

decompressed
Xiron
Posts: 104
Joined: Sat Sep 12, 2015 7:09 am

Re: Shockwave .DCR

Post by Xiron »

I was kinda of wishing it was possible to get resources instead of just .dat files, but oh well. :S

Did you ever get those .pngs out of h3x1c's .dcr file?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

I checked nickwtm0.dcr from the first post and it's full of jpeg images.
Are you referring to that dcr file?
Xiron
Posts: 104
Joined: Sat Sep 12, 2015 7:09 am

Re: Shockwave .DCR

Post by Xiron »

I'm actually using a few others.
I compared one of the .jpeg from one of the successful ones above and I can see similar data in some other .dcr[s] I'm trying where I don't get such resource files.

I've gone and attached them below.

Game.dcr was likely made back in 2003, and the other (start.dcr), also around a decade or so old. I tried pulling out some more games from the same author created at different years, but thankfully I was able to get sounds and .jpg out of those. =P
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

The positive thing of zlib is that the data you extract is exactly the expected data because it has a crc at the end to avoid false positives.
So what you get from offzip -a is what's there.
I guess some of them are raw images but that's not my field.
Musicforce
Posts: 3
Joined: Sat Dec 16, 2017 9:34 pm

Re: Shockwave .DCR

Post by Musicforce »

Help me please. What am I doing wrong?

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

Everything is already written in the screenshot.
Musicforce
Posts: 3
Joined: Sat Dec 16, 2017 9:34 pm

Re: Shockwave .DCR

Post by Musicforce »

aluigi wrote:Everything is already written in the screenshot.

C:\Folder\offzip\offzip.exe -a C:\Folder\menu.dcr C:\Folder\output

0 files found in 0 seconds :(

Or do I need to run only offzip.exe? Then what do I need to write to the command line if I need to use offzip.exe along with the shockwave.bms script?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

You did it correctly but unfortunately it looks like there are no compressed data in that file.
I have no other solutions, sorry.
Musicforce
Posts: 3
Joined: Sat Dec 16, 2017 9:34 pm

Re: Shockwave .DCR

Post by Musicforce »

:(
Harch
Posts: 1
Joined: Mon Jul 06, 2020 9:25 pm

Re: Shockwave .DCR

Post by Harch »

Hellol!

I have two DCR-files, but this files not run (I think because this files try request to dead hosts). What Can I do?

P. S. File from topicstarter not avaliable.

P. P. S. .dcr files is attached.

Thank you!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Shockwave .DCR

Post by aluigi »

DCR is Macromedia Director/Shockwave ("XFIR" magic).