ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Fri Dec 15, 2017 11:59 am

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Mar 19, 2017 2:38 pm 

Joined: Fri Mar 10, 2017 10:01 pm
Posts: 5
I have succesfully re-imported textures to .asr files before. - Then the textures were located in sub-folders.

When Im trying to re-pack some 3D model files that is located in the root folder of the unpacked .asr archive I get an error like in the picture.
Is there anything I can try to do to re-pack this?


Attachments:
File comment: Error msg
Help re-importing.PNG [14.63 KiB]
Not downloaded yet
Top
   
PostPosted: Sun Mar 19, 2017 3:32 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7249
The script is not valid for reimporting if the input archive is compressed.
The reason is simple, the procedure is "files -> archive" while in this case you have "files -> archive -> compressed_archive" which is not possible in quickbms.

It's necessary some manual work, try this:
  • be sure to have quickbms 0.8.0
  • create a shortcut to quickbms.exe and add the following arguments in the "Target" of properties of the shortcut (the alternative is creating a .bat file): -0 -T
  • launch the shortcut you created, now quickbms will maintain the TEMPORARY_FILE in the output folder (-T option) and will not extract the files (-0 option)
  • open TEMPORARY_FILE with a hex editor and delete the first 20 bytes and save it with the same name of the original file (backup the original one and overwrite it)
  • now you can run reimport.bat selecting the same files and folders you selected the first time you extracted the files
  • it's not guarantee that the game will use the new archive because I don't know if the compressed archive is mandatory or not, so maybe try it first without doing any reimporting and if it works then do it
Don't worry, it's more easy than how it looks once you do the first time and exist other ways to do the same.


Top
   
PostPosted: Sun Mar 19, 2017 4:28 pm 

Joined: Fri Mar 10, 2017 10:01 pm
Posts: 5
Thanks a lot again Aluigi! That worked great! - I am lucky and the game eats uncompressed archives as well:)
Very clear instructions - Just a little trial and error on where to write the arguments in the "target" area. When I figured it out it was easy and quick.

Great tool!


Top
   
PostPosted: Sun Mar 19, 2017 5:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7249
Very good :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