Page 1 of 1

Raiders Sphere - Compress/Decompress *.dpd Files

Posted: Thu Mar 11, 2021 4:53 am
by phobosavenger
I'm trying to get inside a file to create mods of the game Raiders Sphere but unfortunately I can't, the file type is * .dpd could someone help me with a script that decompresses the file?
Image

Re: Compress/Decompress and *.dpd Files [Raiders Sphere]

Posted: Thu Mar 11, 2021 10:00 am
by ikskoks
Can you upload some samples?

Re: Compress/Decompress and *.dpd Files [Raiders Sphere]

Posted: Fri Mar 12, 2021 3:38 am
by phobosavenger
ikskoks wrote: Thu Mar 11, 2021 10:00 am Can you upload some samples?
Yeah!

SpeSystem.pac
https://drive.google.com/file/d/1NXfCrf ... pGCuV/view

RSE3.dpd
https://drive.google.com/file/d/1opbizq ... yyDfs/view

I forgot to quote the * .pac file but I already sent it too

Re: Compress/Decompress and *.dpd Files [Raiders Sphere]

Posted: Sat Mar 13, 2021 11:59 am
by ikskoks
As for PAC file, it was easy to figure out.
Here is documentation http://wiki.xentax.com/index.php/Raiders_Sphere_PAC

And here is tool to extract data https://github.com/bartlomiejduda/Tools ... AC_Tool.py


As for DPD file, it seems to be more complicated. Offset array looks encrypted and most of the files are compressed, so no easy way to extract until someone will figure out the encryption.

Re: Compress/Decompress and *.dpd Files [Raiders Sphere]

Posted: Sat Mar 13, 2021 1:23 pm
by phobosavenger
ikskoks wrote: Sat Mar 13, 2021 11:59 am As for PAC file, it was easy to figure out.
Here is documentation http://wiki.xentax.com/index.php/Raiders_Sphere_PAC

And here is tool to extract data https://github.com/bartlomiejduda/Tools ... AC_Tool.py


As for DPD file, it seems to be more complicated. Offset array looks encrypted and most of the files are compressed, so no easy way to extract until someone will figure out the encryption.
This has already helped me a lot :)
Anyway I thank you for the help

There is another pack file with more resources inside it only extracts half, so I just didn’t send you because there wasn’t time to upload
https://drive.google.com/file/d/1qGFwXw ... sp=sharing

Error:
Image

Re: Compress/Decompress and *.dpd Files [Raiders Sphere]

Posted: Sat Mar 13, 2021 4:19 pm
by phobosavenger
phobosavenger wrote: Sat Mar 13, 2021 1:23 pm
ikskoks wrote: Sat Mar 13, 2021 11:59 am As for PAC file, it was easy to figure out.
Here is documentation http://wiki.xentax.com/index.php/Raiders_Sphere_PAC

And here is tool to extract data https://github.com/bartlomiejduda/Tools ... AC_Tool.py


As for DPD file, it seems to be more complicated. Offset array looks encrypted and most of the files are compressed, so no easy way to extract until someone will figure out the encryption.
This has already helped me a lot :)
Anyway I thank you for the help

There is another pack file with more resources inside it only extracts half, so I just didn’t send you because there wasn’t time to upload
https://drive.google.com/file/d/1qGFwXw ... sp=sharing

Error:
Image
I managed to correct it, changing the decoding method from "utf-8" to "shift-jis"

Is the repack process very difficult?

Re: Raiders Sphere - Compress/Decompress *.dpd Files

Posted: Sat Mar 13, 2021 5:25 pm
by ikskoks
I managed to correct it, changing the decoding method from "utf-8" to "shift-jis"
Yes, I did the same on my github. ;) One of the file paths had japaneese characters in it and that's why this error occured.
Is the repack process very difficult?
No, it's not difficult, because file format for PAC archive is simple.
You can try to write repacker with some programming language like Python or use QuickBMS scripting for that.
Here are some tutorials explaining this viewtopic.php?f=29&t=22266