Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:40

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: lzo1x
PostPosted: 24 Dec 2010 04:54 

Joined: 27 Feb 2009 04:03
Posts: 11
I am confused on whats happening here.
Here are 2 samples one works the other does not but if i dump the where it crashes and manually convert it using the quickbms bat file it extracts it correctly and the size is right.
Quote:
#Xbox360 NIER
#quickbms script
#By chrrox
endian big
get name FILENAME
string name + ".dec"
get lzo long
get version long
get subversion long
get files long
get TotalUncompSize long
get unk long
goto 0x20
comtype LZO1X
for i = 1 to files
get memoffset long
get size long
get zsize long
savepos offset
append
clog MEMORY_FILE offset zsize size
append
math offset + zsize
goto offset
Padding 0x10000
next i
log NAME 0 TotalUncompSize MEMORY_FILE

This seems a lot like what happens with the virtual fighter 5 files.
http://www.sendspace.com/file/mv0fap


Top
 Profile  
 
 
 Post subject: Re: lzo1x
PostPosted: 24 Dec 2010 13:51 

Joined: 27 Feb 2009 04:03
Posts: 11
Edit never mind i found the problem sorry for the trouble.

Code:
endian big
get name FILENAME
string name + ".dec"
get lzo long
get version long
get subversion long
get files long
get TotalUncompSize long
get unk long
goto 0x20
comtype LZO1X
for i = 1 to files
get memoffset long
get size long
get zsize long
savepos offset
append
if size == zsize
log MEMORY_FILE offset zsize
else
clog MEMORY_FILE offset zsize size
endif
append
math offset + zsize
goto offset
Padding 0x10000
next i
log NAME 0 TotalUncompSize MEMORY_FILE


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: