Jump to content

Star Wars Movie Magic .CHK .SAN and .NUT


Puterboy1
Go to solution Solved by h3x3r,

Recommended Posts

  • Engineer
  • Solution
#########################################
#  Star Wars Movie Magic - *.SAN *.NUT  #
#########################################
get BaseFileName basename
get FileSize asize
endian big

getdstring Sign 0x4
get DataSize uint32

for
	savepos Offset
	getdstring Sign 0x4
	get Size uint32
	getdstring Data Size
	math Size + 8
	string Name p= "%s/0x%04x.dat" BaseFileName Offset
	savepos NextOffset
	log Name Offset Size
	goto NextOffset
	if NextOffset == FileSize
		cleanexit
	endif
next

 

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...