re-packing error, asura file

Doubts, help and support about QuickBMS and other game research tools
SchnelleMeyer
Posts: 5
Joined: Fri Mar 10, 2017 10:01 pm

re-packing error, asura file

Post by SchnelleMeyer »

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?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: re-packing error, asura file

Post by aluigi »

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.
SchnelleMeyer
Posts: 5
Joined: Fri Mar 10, 2017 10:01 pm

Re: re-packing error, asura file

Post by SchnelleMeyer »

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!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: re-packing error, asura file

Post by aluigi »

Very good :D
rkthelegend
Posts: 56
Joined: Wed Jun 20, 2018 7:57 pm

Re: re-packing error, asura file

Post by rkthelegend »

aluigi wrote: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.


I did the same but doesn't work for me .
I have written the argument in shortcut properties in target. Like. :-0-t but not working.
Im using quick bms v 0.9.0
The file I'm trying to modify is sniper elite 3 gamesnd.asr
rkthelegend
Posts: 56
Joined: Wed Jun 20, 2018 7:57 pm

Re: re-packing error, asura file

Post by rkthelegend »

How to decompress .asr file of Sniper elite 3 or at least is there any smart to tell us how to modify compressed .asr file
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: re-packing error, asura file

Post by aluigi »

rkthelegend wrote:I have written the argument in shortcut properties in target. Like. :-0-t but not working.

If you added the arguments in that way I'm not surprised it doesn't work.
If I write -0 -T you must insert -0 -T and not -0-t
rkthelegend
Posts: 56
Joined: Wed Jun 20, 2018 7:57 pm

Re: re-packing error, asura file

Post by rkthelegend »

aluigi wrote:
rkthelegend wrote:I have written the argument in shortcut properties in target. Like. :-0-t but not working.

If you added the arguments in that way I'm not surprised it doesn't work.
If I write -0 -T you must insert -0 -T and not -0-t


Wooooow i did it thanks aluigi you are genius.