ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Sep 22, 2021 11:17 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: uncompressed data error
PostPosted: Mon Sep 13, 2021 7:13 am 

Joined: Mon Sep 13, 2021 7:06 am
Posts: 2
(I'm not sure if this is where I should ask this, if its not please tell me!)

I'm trying to extract game assets from a new game and I keep getting this error every time I try to run it through quickbms

The files are .npk and I'm using the .nxpk script so I'm not sure what I'm doing wrong

Code:
Info:  algorithm   249
       offset      00000000
       input size  0x0003797a 227706
       output size 0x00037606 226822
       result      0xfffffffc -4

Error: uncompressed data (-4) bigger than allocated buffer (227578)
       It usually means that data is not compressed or uses another algorithm

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

- OFFSET       0x00000000
- ZSIZE        0x0003797a
- SIZE         0x00037606
  coverage file 0     0%   227758     895053788  . offset 3555a918
  coverage file -1  100%   227706     227706     . offset 0003797a


Top
   
PostPosted: Mon Sep 13, 2021 8:44 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12500
nxpk uses 4 different compression algorithms.
Please provide that npk file and also the name of the game.
If the file is very big (let's say over 500Mb) we have to find another solution.


Top
   
PostPosted: Mon Sep 13, 2021 9:43 am 

Joined: Mon Sep 13, 2021 7:06 am
Posts: 2
aluigi wrote:
nxpk uses 4 different compression algorithms.
Please provide that npk file and also the name of the game.
If the file is very big (let's say over 500Mb) we have to find another solution.


the game is "Harry Potter: Magic Awakens"

one of the two files i tried to extract is too big so ill send the smaller one (they both produced the same error code so)
edit: i tried to include the file and it said it doesnt support npk, and a .rar was too big? (26.6 MB)

https://www.dropbox.com/s/4k43u1xpdvvvdeo/ui.npk?dl=0


Top
   
PostPosted: Mon Sep 13, 2021 12:29 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12500
It's related to the key used for obfuscating the first 128 bytes.

Open the script with a text editor and replace the "2" at line 117 with "250":
Code:
    xmath TMP "x - 250"


:D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited