Hey everybody!
I have an extractor for this format that someone made for me a while back, but I was hoping someone might be able to use the information I can provide, including the source of the extractor, to make a QuickBMS script for it so that I can take advantage of QuickBMS's repacking ability.
The Luap archive seems to be a fairly basic archive that contains 300+ compiled Lua scripts. It seems there were complications with writing a repacker for this format, so I was hoping that QuickBMS might be a reasonable alternative if someone was able to make an equivalent.
This is the archive itself:
https://dl.dropboxusercontent.com/u/362 ... ripts.luap
And here is the extractor (The source is inside):
https://dl.dropboxusercontent.com/u/362 ... ractor.rar
A big thanks to everyone who has helped me already, I really appreciate the assistance.
Thanks again, guys
Dan
Saboteur .Luap Script Archive
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Saboteur .Luap Script Archive
That's it
*script updated*
Code: Select all
get FILES long
for i = 0 < FILES
getdstring HASH 8
get OFFSET long
get SIZE long
get XSIZE long
get DUMMY byte
savepos TMP
goto OFFSET
getdstring DUMMY 12
get NAMESZ long
getdstring NAME NAMESZ
string NAME | ":"
goto TMP
log NAME OFFSET SIZE
next i
*script updated*
-
- Posts: 9
- Joined: Sat Sep 13, 2014 11:12 pm
Re: Saboteur .Luap Script Archive
Hey man! Thanks a whole bunch for the help!
I had a question about this. The original extractor extracted the names of the files as well as the directories they were contained in. This extracts the files as I need them with the correct extension which is great, but might the lack of names/directories become problematic when attempting to repack the files?
Again, thanks for all the help already!
I had a question about this. The original extractor extracted the names of the files as well as the directories they were contained in. This extracts the files as I need them with the correct extension which is great, but might the lack of names/directories become problematic when attempting to repack the files?
Again, thanks for all the help already!
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Saboteur .Luap Script Archive
Sure.
I have updated the script, let me know if it's ok now.
I have updated the script, let me know if it's ok now.
-
- Posts: 9
- Joined: Sat Sep 13, 2014 11:12 pm
Re: Saboteur .Luap Script Archive
Aluigi, I just tested it and it works flawlessly! Thank you so much for your time! This is going to help me out tremendously! Thank you!
Many thanks!
Dan
Many thanks!
Dan