klensy / wt-tools

War Thunder resource extraction tools
131 stars 38 forks source link

BLK FILES NOT EXTRACTING IN CORRECT FORMAT #44

Closed a1121119629 closed 5 years ago

a1121119629 commented 5 years ago

Hello, I noticed that someone mentioned this question before. You answered this question, but I still don't know how to operate it. Can you tell me a course? I read your answer through translation software. I can't get the correct result through your short answer. The language barrier makes it very difficult for us to communicate. Please tell me the operation steps as detailed as possible. Thank you very much.

klensy commented 5 years ago

Hi, what exactly you want?

a1121119629 commented 5 years ago

QQ图片20190313162822

a1121119629 commented 5 years ago

QQ截图20190313163319 Excuse me, how does this function work?

klensy commented 5 years ago
  1. Download windows build from https://github.com/klensy/wt-tools/releases (get latest version, dev).
  2. Unpack wt-tools.zip to some folder.
  3. Copy files you want to unpack to this folder.
  4. Drag and drop *.vromfs files on vromfs_unpacker: this will unpack vromfs (or you can run vromfs_unpacker.exe somefile.vromfs.bin from console)
  5. Unpack blk: run blk_unpack.exe --format=strict_blk somefile.vromfs.bin_u where somefile.vromfs.bin_u - unpacked vromfs folder
klensy commented 5 years ago

If you run blk_unpack.exe -h then will be printed little help.

klensy commented 5 years ago

If you don't know how to open console in folder, see there

klensy commented 5 years ago

So, left version you can get with blk_unpack.exe --format=json somefile.vromfs.bin_u, right version with blk_unpack.exe --format=strict_blk somefile.vromfs.bin_u (from your first screenshot). somefile.vromfs.bin_u can be folder with blk's or one blk file for unpacking.

a1121119629 commented 5 years ago

I want to create a custom task. I need a BLK file that can be read by the game. Using blk_unpack.exe directly to get the BLKX file, as in the left side of the picture I just posted, I need to know how to get the format on the right side.

Thank you so much for your help. It took me a week to solve this problem.

a1121119629 commented 5 years ago

I'm sorry, because of the difference between the language and the system. (Seems to be WINXP for your see there? I'm using WIN10, but it's still hard for me to understand. The meaning expressed in steps 4-5. I know very well how to get the file on the left (from my first screenshot) and just drag the specified file to (blk_unpac k.exe) to get a BLKX file (this file is useless). I want to get the file on the right (from my first screenshot). This is the format that can be read by the game. I think I'm probably a little more dumb than the other questioners. Because I'm not a code developer If you teach me how to get the right file, I'll be very grateful to you and willing to pay (if there is a convenient and f ast way to pay) QQ图片20190313172113

a1121119629 commented 5 years ago

I can't speak English, the translation of translation software is not accurate, and I'm very confused about communicating with your text. I'm trying to understand and look up information. Maybe I need guidance from a graphic or video tutorial. You can go on answering my questions. Or stop answering. Never mind, you told me a lot of valuable information, but I am too stupid to understand, I will continue to learn, thank you!

klensy commented 5 years ago

As noted here:

  1. holding shift, right click on empty space in folder, then select open command window here (or powershell, doesn't' matter)
  2. In opened window insert commandblk_unpack.exe --format=strict_blk aces.vromfs.bin_u
klensy commented 5 years ago

Download this file to your folder and run.

a1121119629 commented 5 years ago

QQ图片20190313181852 QQ图片20190313181944 The "blk_unpack.exe" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check the spelling of the name if it includes Path, please make sure the path is correct, and try again. Location line: 1 character: 1

a1121119629 commented 5 years ago

Successful. Thank you so much.

![Uploading QQ图片20190313182630.png…]()