ZenHAX
http://zenhax.com/

re-packing error, asura file
http://zenhax.com/viewtopic.php?f=13&t=3986
Page 1 of 1

Author:  SchnelleMeyer [ Sun Mar 19, 2017 2:38 pm ]
Post subject:  re-packing error, asura file

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

Author:  aluigi [ Sun Mar 19, 2017 3:32 pm ]
Post subject:  Re: re-packing error, asura file

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.

Author:  SchnelleMeyer [ Sun Mar 19, 2017 4:28 pm ]
Post subject:  Re: re-packing error, asura file

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!

Author:  aluigi [ Sun Mar 19, 2017 5:03 pm ]
Post subject:  Re: re-packing error, asura file

Very good :D

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/