Created
June 15, 2016 17:14
-
-
Save ccawley2011/b5b4eda5e0168c7bb1d81bc79774b3a4 to your computer and use it in GitHub Desktop.
QuickBMS script to unpack gsp_run.dat in various games published by GSP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gsp_run.dat unpacker | |
# By Cameron Cawley | |
get ARCHIVE_SIZE asize | |
math ARCHIVE_SIZE += 1 | |
math OFFSET = 0 | |
do | |
goto OFFSET | |
get NAME_LENGTH long | |
getdstring NAME NAME_LENGTH | |
get SIZE long | |
math OFFSET += 8 | |
math OFFSET += NAME_LENGTH | |
log NAME OFFSET SIZE | |
math OFFSET += SIZE | |
while OFFSET < ARCHIVE_SIZE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment