Sniper Elite asura reimporting "Error: unsupported compression -1 in reimport mode"

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Skajdrovski
Posts: 2
Joined: Fri Mar 26, 2021 10:24 pm

Sniper Elite asura reimporting "Error: unsupported compression -1 in reimport mode"

Post by Skajdrovski »

Hello,

I've made my account here to post this issue

I've been looking for how to reimport asura files.. and I had trouble with
"error in src\file.c line 533: fdnum_open()
Error: No such file or directory

Last script line before the error or that produced the error:
213 open "." TEMPORARY_FILE"

By researching more, I've found that the issue was related to compressed archives, so i've tried the method with hex editing that TEMPORARY_FILE.. and now I recieve this error:

"Error: unsupported compression -1 in reimport mode

Last script line before the error or that produced the error:
211 clog TEMPORARY_FILE OFFSET ZSIZE SIZE"

I've tried the reimport.bat and reimport2.bat, none of them works

Asura script: 0.2.9
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sniper Elite asura reimporting "Error: unsupported compression -1 in reimport mode"

Post by aluigi »

Eh no, asura.bms is not valid for reimporting.
There were some old topics trying some work-arounds but I don't remember if people had any success.
Skajdrovski
Posts: 2
Joined: Fri Mar 26, 2021 10:24 pm

Re: Sniper Elite asura reimporting "Error: unsupported compression -1 in reimport mode"

Post by Skajdrovski »

aluigi wrote:Eh no, asura.bms is not valid for reimporting.
There were some old topics trying some work-arounds but I don't remember if people had any success.



The thing is.. file "Frontend.pc" that is responsible for main menu is actually re-exporting sucessfully without TEMPORARY_FILE being hex edited, but then the game crashes with modifed frontend.pc :(

My actual goal is to replace every texture in the game with the A.I upscaled ones and I guess you're the only hope to find method to mess with game files. The old asura extractor doesn't even have download link working anymore.