Jump to content

Star Wars Bounty Hunter PC archive - BUNY extraction script


enderdrag64

Recommended Posts

Hi, I created this extraction script for the archives of the Aspyr PC port of Star Wars Bounty Hunter earlier today, hopefully it's useful to somebody.

 

endian little
idstring "BunyArchTheForge"
get UNKNOWN longlong
get UNKNOWNTWO longlong
get UNKNOWNTHREE longlong
get HEADERSIZE longlong
get FILENAMETABLEADDR longlong
get FILENAMETABLESIZE longlong
get UNKNOWNADDR longlong
get UNKNOWNSIZE longlong
for i = 0 < HEADERSIZE / 40
	get UNKNOWNFOUR longlong
	get UNKNOWNFIVE longlong
	get FILENAMEADDR long
	get FILENAMESIZE long
	get ADDRESS longlong
	get SIZE longlong
	savepos HEADERLOC
	xmath JUMPPTR "FILENAMETABLEADDR + FILENAMEADDR"
	goto JUMPPTR
	get FILENAME string
	goto HEADERLOC
	log FILENAME ADDRESS SIZE
next i


I would've attached it as a file but it seems .bms isn't an approved attachment format. This is my first post on this forum, please let me know if there's a better way to submit these, thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...