Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Saboteur .Luap Script Archive

Featured Replies

  • Author
  • Localization

Dan McCarthy, posted Sun Oct 05, 2014 3:59 pm (763)


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
  • Author
  • Localization

aluigi, posted Sun Oct 05, 2014 5:27 pm (767)


That's it :)
Code:
get FILES long
for i = 0     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*
  • Author
  • Localization

Dan McCarthy, posted Sun Oct 05, 2014 5:44 pm (769)


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!
  • Author
  • Localization

aluigi, posted Sun Oct 05, 2014 6:13 pm (770)


Sure.
I have updated the script, let me know if it's ok now.
  • Author
  • Localization

Dan McCarthy, posted Sun Oct 05, 2014 6:35 pm (774)


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
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.