Re: Street Fighter IV .EMB .EMZ
Posted: Fri Jul 31, 2009 3:27 am
Oh? So these are the movesets they swap in the videos on YT?
Code: Select all
#Street Fighter 4 Infuser-compatible EMB Extractor.
idstring "#EMB"
get UNK1 long
get UNK2 long
get FILES long
set FILENAME long FILES
math FILENAME *= 8
math FILENAME += 0x20
goto 0x20
get OFFSET long
math OFFSET += 0x20
get SIZE long
savepos NEXTFILE
set NEXTOFF long SIZE
math NEXTOFF += OFFSET
goto NEXTOFF
Do
get CHK byte
math NEXTOFF += 0x1
While CHK == 0x00
math NEXTOFF -= 0x1
set SYM string $#
string SYM -= $
goto OFFSET
getdstring EXT 0x3
If EXT != DDS
goto OFFSET
getdstring EXT 0x1
getdstring EXT 0x3
endif
set DECOFF 0
math DECOFF += OFFSET
set NAME string 1
string NAME += SYM
string NAME += infuser
string NAME += SYM
string NAME += DECOFF
string NAME += .
string NAME += EXT
log NAME OFFSET SIZE
math FILES -= 0x01
for i = 1 to FILES
goto NEXTFILE
set OFFSET long NEXTOFF
get UNK long
get SIZE long
savepos NEXTFILE
If i != FILES
set NEXTOFF long SIZE
math NEXTOFF += OFFSET
goto NEXTOFF
Do
get CHK byte
math NEXTOFF += 0x1
While CHK == 0x00
math NEXTOFF -= 0x01
endif
goto OFFSET
getdstring EXT 0x3
If EXT != DDS
goto OFFSET
getdstring EXT 0x1
getdstring EXT 0x3
endif
set DECOFF 0
math DECOFF += OFFSET
set NUM 0
math NUM += i
math NUM += 1
set NAME string NUM
string NAME += SYM
string NAME += infuser
string NAME += SYM
string NAME += DECOFF
string NAME += .
string NAME += EXT
log NAME OFFSET SIZE
next iWow! It really does work and quite simple, I'm using Assets Explorer along with DDS Converter.LouNGeR wrote:When you unpack an EMZ file with OffZip, the output DAT file is likely to be an EMB file.
So, you can open the EMB with Dragon Unpacker, Assets Explorer or some Hex Editor if you want to Hex edit something.
Just forget OffZip all together, it's confusing for newbies.
Grab Assets Explorer by Piecemontee, it can also unpack EMZ to EMB.