One Piece Burning Blood (PC) .scz files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Liddius
Posts: 10
Joined: Tue Aug 14, 2018 10:36 pm

One Piece Burning Blood (PC) .scz files

Post by Liddius »

Hi,

I would like to open ".scz" files from One Piece Burning Blood on pc, I tried to look for models in the ram from a dump file but the file is too big (4gb) it's nearly impossible to navigate in this file, plus I don't know how to find a specific model, so I wanted to open .scz and then look inside npki file with hex editor but found nothing on .scz file, I think quickbms has a .scz comtype but I'm not sure if it's related, can you help me open this file please ?

(or maybe someone could find me the adress of the player's animation in the game version 1.06 so maybe I could T-pose the model and ninja ripper it, can't do myself, my pc is too weak, I don't play the game, I just want the models in fact)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: One Piece Burning Blood (PC) .scz files

Post by aluigi »

For decompressing the scz files ("$CMP" magic) use a script like the following:

Code: Select all

endian big
idstring "$CMP"
get ZSIZE long
getdstring ZERO 8
get SIZE long
get ZSIZE long
math ZSIZE + 0x10
comtype DRV3_SRD
get NAME basename
clog NAME 0 ZSIZE SIZE
Liddius
Posts: 10
Joined: Tue Aug 14, 2018 10:36 pm

Re: One Piece Burning Blood (PC) .scz files

Post by Liddius »

Yes, it works, thank you, but seems that the npki and npkv are crypted or something, they don't want us to use their models lol.
akderebur
Posts: 68
Joined: Wed Nov 15, 2017 1:54 pm

Re: One Piece Burning Blood (PC) .scz files

Post by akderebur »

Liddius wrote:Yes, it works, thank you, but seems that the npki and npkv are crypted or something, they don't want us to use their models lol.

It is not encrypted, the file is full of raw model data. Here is the first mesh with hex2obj. Looks like a hat.

Image

It is just that I haven't seen the vertex/index counts inside the file, so you have to find the data start/finish yourself. The counts (and maybe offsets) might be inside another file.
Liddius
Posts: 10
Joined: Tue Aug 14, 2018 10:36 pm

Re: One Piece Burning Blood (PC) .scz files

Post by Liddius »

Ah, I thought it was encrypted because there were full same bit at the end of each line, anyway thank you :)