klensy / wt-tools

War Thunder resource extraction tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong flight models, ships, tanks blk files in vromfs?

FlxDrv opened this issue · comments

commented

The title is kinda missleading but for example, I have the correct, known working, unit file like for the "us_asvhille_class.blk" ship.

The first 5 lines of the blk file look like this:

hasQualityModels:b=yes
model:t="sample_ashville_class"
subclass:t="warShip"
dustFx:t="water_units_dust"
useBotForAi:b=yes

Then why in the unpacked file you share here, the "us_ashville_class.blkx" file looks like this:

"hasQualityModels": true,
"model": "ashville_class",
"subclass": "warShip",
"dustFx": "water_units_dust",
"useBotForAi": true,

Is there a way to convert those blkx files into a working blk file? Because as far as i can tell, all the correct data is there, just in a incorrect format right?

I tried to unpack the data myself using WT-Tools but i can't get it working for some reason. Even tho i did manage doing it in the past, a few years ago

Thanks in advance :)

It appears you called the unpacker using the Json format, try the option --format=strict_blk.
Point of reference: https://github.com/klensy/wt-tools#blk_unpack

commented

First of all thanks for you your quick answer.

I'm really a noob at coding i'll be honest.

So as far as i understand, i open python 3.7. and type that line? where do i type it? do i need to tell python where the files is? do i drag and drop the .blkx file onto the "blk_unpack.exe" executable? cause if that so it just open a black console and disapear instantly. i must be donig a bunch of things wrong

First of all thanks for you your quick answer.

I'm really a noob at coding i'll be honest.

So as far as i understand, i open python 3.7. and type that line? where do i type it? do i need to tell python where the files is? do i drag and drop the .blkx file onto the "blk_unpack.exe" executable? cause if that so it just open a black console and disapear instantly. i must be donig a bunch of things wrong

You may want to learn how Command-Line-Programs work https://www.w3schools.com/whatis/whatis_cli.asp

Do note that the fork of this project maintains newer formats for now https://github.com/kotiq/wt-tools