Wolfenstein Youngblood .resources

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Wolfenstein Youngblood .resources

Post by masagrator »

It looks like Wolfenstein 2 script is not compatible with Youngblood. It reads filenames correctly, but shortly after starting unpacking it crashes

Code: Select all

  0102200c 1138994    renderParm/textures/system/lens_dirt.tga
Info:  algorithm   650
       offset      0102200c
       input size  0x0008f00a 585738
       output size 0x00116132 1138994
       result      0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (1138994)

Last script line before the error or that produced the error:
  131 clog NAME OFFSET ZSIZE SIZE


This is 32MB chunk from Switch edition

https://drive.google.com/file/d/164-ywi ... sp=sharing

according to wolfenstein2.bms this is next version of IDCL (0xd instead of 0xc)
LokiReborn
Posts: 190
Joined: Fri Aug 26, 2016 3:11 pm

Re: Wolfenstein Youngblood .resources

Post by LokiReborn »

masagrator wrote:It looks like Wolfenstein 2 script is not compatible with Youngblood. It reads filenames correctly, but shortly after starting unpacking it crashes

Code: Select all

  0102200c 1138994    renderParm/textures/system/lens_dirt.tga
Info:  algorithm   650
       offset      0102200c
       input size  0x0008f00a 585738
       output size 0x00116132 1138994
       result      0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (1138994)

Last script line before the error or that produced the error:
  131 clog NAME OFFSET ZSIZE SIZE


This is 32MB chunk from Switch edition

https://drive.google.com/file/d/164-ywi ... sp=sharing

according to wolfenstein2.bms this is next version of IDCL (0xd instead of 0xc)


Can you upload the full file somewhere, the header removed bytes and since all of the sections that would break aren't included in a small snip no real way to test fixing the script.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Wolfenstein Youngblood .resources

Post by masagrator »

PMd.
d4gnihillus
Posts: 6
Joined: Tue Jun 11, 2019 12:09 pm

Re: Wolfenstein Youngblood .resources

Post by d4gnihillus »

Hey!
Any news regarding a possible fix?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Wolfenstein Youngblood .resources

Post by aluigi »

Script 0.3.1.
For some unknown reasons the compressed files here don't need to skip the 12 bytes at their beginning.
Not sure if the fix may have any impact on the other archives, in such case just let me know.
d4gnihillus
Posts: 6
Joined: Tue Jun 11, 2019 12:09 pm

Re: Wolfenstein Youngblood .resources

Post by d4gnihillus »

Thanks!
Shinteo
Posts: 4
Joined: Mon Dec 31, 2018 8:44 am

Re: Wolfenstein Youngblood .resources

Post by Shinteo »

Is that script the wolfenstein script hosted on your website?

I used that script with the latest BMS but ran into an error.

s1.PNG


And if I keep pressing enter, it just increases the count. I stopped after keeping it pressed for about 30 sec, as my entire page is filled with 0s.