klensy / wt-tools

War Thunder resource extraction tools
128 stars 39 forks source link

Encoding problem? #38

Closed s972301 closed 6 years ago

s972301 commented 6 years ago

I encounter some encoding problem when running vromfs_unpacker.exe. The output blk files are garbled. Does it have something to do with my computer enviroment?

example: camera.zip

Trying to figure out the cause, I've downloaded and ran source code. I try decoding bytes, but the output is still garbled. print(parsed.body.file_data_table.file_data_list[i].data.decode("utf_8", errors='replace'))

klensy commented 6 years ago

Hi.

No, after unpacking vromfs, u should unpack blk too with blk_unpack.

s972301 commented 6 years ago

Thanks for your help.