klensy / wt-tools

War Thunder resource extraction tools
131 stars 38 forks source link

Wprl_unpacker.exe doesnt work anymore 1.99 #56

Closed mogley25 closed 4 years ago

mogley25 commented 4 years ago

so im trying to unpack a replay but the cmd just opens and closes. It worked before but gaijin must have changed something.

mike10d commented 4 years ago

I have looked into it a little bit and there appear to be two issues with replay unpacking right now.

  1. the version number for the replay has changed so it will fail when it tries to match the replay file's version number to the wrpl_version enum.

from the replay.wdb (found in the WT replays folder) we can see the new replay version number is 101033 or 0xA98A01

image

  1. the offset of the m_set blk has changed to 0x444 in 1.99 replays.

image

I would also note that currently the wrpl_parser.py file currently reads the wrpl_version as Int16, but the replays.wdb file's version number is at least Int24 long, and could be Int32 long.

mogley25 commented 4 years ago

Can I ask what program you used to see the binary of the replay file and what extractor did you use to see the replay.wbdx file?

klensy commented 4 years ago

Yeah, this thing broken some time ago, will fix.

klensy commented 4 years ago

Fixed.