Jump to content

Warhammer 40000 Sanctus Reach archive.REZ


dibe91

Recommended Posts

  • Engineer
##################################################
#    Warhammer 40000 Sanctus - *.REZ Unpacker    #
##################################################
get BaseFileName basename
get FileSize asize

get Files ushort
get Dummy ushort

for i = 0 < Files
	get Dummy uint32
	savepos StrOffset
	get FileName[i] string
	goto StrOffset
	getdstring Dummy 0x104
	get Size[i] uint32
	get ZSize[i] uint32
next i

get DecompressedDataSize uint32
getdstring Dummy 0x380

for i = 0 < Files
	savepos Offset[i]
	getdstring DummyCSize ZSize[i]
next i

for i = 0 < Files
	goto Offset[i]
	math Offset[i] + 4
	math ZSize[i] - 4
	string Name p "%s/%s" BaseFileName FileName[i]
	clog Name Offset[i] ZSize[i] Size[i]
next i



 

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