I tried editing the files of the xbox360 version, but since the pc version is coming out next month this should be a nice headstart
The .emb files are simple container files which are mostly used for the unlockable gallery images and menu backgrounds etc.
They contain standart .dds files that can be extracted using the usual tools...
And then there the .EMZ files which are the interesting ones
They are used for the character models, textures and all other interesting files... they are either just compressed or encoded, i couldn't make much sense from the hex :/
I have uploaded one emb and one emz file so you guys can check it out and maybe tell me how i can extract stuff from the emz file
http://www.yourfilelink.com/get.php?fid=487148
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Street Fighter IV .EMB .EMZ
-
- advanced
- Posts: 60
- Joined: Sat Aug 09, 2008 11:19 am
- Has thanked: 2 times
- Been thanked: 21 times
Re: Street Fighter IV .EMB .EMZ
Always remember to upload 2 files for every format you want to extract, from one file its hard to find a format structure...
Re: Street Fighter IV .EMB .EMZ
so how did you extract the .emb's? and the .dds's? not to sure what the usual tools are as i've never seen these file formats before and they aren't typical archives..
sry for being so full of questions
sry for being so full of questions
Re: Street Fighter IV .EMB .EMZ
i recently got the pc version of sf iv and now we got some files to compare
i've uploaded an archive with various files from the pc and xbox360 version:
http://www.yourfilelink.com/get.php?fid=500636
i found some UNCOMPRESSED files in the 360 version that are compressed in the pc version
And as i thought .EMB files are just simple containers:
here's the main menu background which i've successfully extracted:
.EMB's can also contain other EMB's and EMZ's
the .EMZ files are definately compressed... maybe Z for zlib or zipped? :X
Please help me figuring out the EMZ format, i really want to edit this game
i've uploaded an archive with various files from the pc and xbox360 version:
http://www.yourfilelink.com/get.php?fid=500636
i found some UNCOMPRESSED files in the 360 version that are compressed in the pc version
And as i thought .EMB files are just simple containers:
here's the main menu background which i've successfully extracted:
.EMB's can also contain other EMB's and EMZ's
the .EMZ files are definately compressed... maybe Z for zlib or zipped? :X
Please help me figuring out the EMZ format, i really want to edit this game
Re: Street Fighter IV .EMB .EMZ
OH MY GOD!!!
I'm so good!
i played around a bit with Luigis offzip and with the following commandline i was able to extract this mofo
offzip.exe -m 16 -a -z -15 bg_main.emz blah 0
the byte order seems to be swapped between the xbox and pc version but apart from that my extracted pc "emb" is exactly the same as the one that came with the xbox360 version
gotta play some more now... the first step is done
EDIT:
YAY seems to work with all EMZ's so far
from ryu's common file:
RYU.skl.emo
RYU.skl.emm
RYU.obj.ema
RYU.fce.ema
RYU.cam.ema
RYU.bac
RYU.bcm
Model extraction might be possible
I'm so good!
i played around a bit with Luigis offzip and with the following commandline i was able to extract this mofo
offzip.exe -m 16 -a -z -15 bg_main.emz blah 0
Code: Select all
C:\Programme\CAPCOM\STREETFIGHTERIV\up\Xbox360 vs PC\zip>offzip.exe -m 16 -a
-z -15 bg_main.emz blah 0
Offset file unzipper 0.3.3
by Luigi Auriemma
e-mail: [email protected]
web: aluigi.org
- open input file: bg_main.emz
- enter in directory: blah
- zip data to check: 16 bytes
- zip windowBits: -15
- seek offset: 0x00000000 (0)
+------------+-------------+-------------------------+
| hex_offset | blocks_dots | zip_size --> unzip_size |
+------------+-------------+-------------------------+
0x00000010 ...................................................................
................................................................. 268466 --> 460
992
- 1 valid zip blocks found
the byte order seems to be swapped between the xbox and pc version but apart from that my extracted pc "emb" is exactly the same as the one that came with the xbox360 version
gotta play some more now... the first step is done
EDIT:
YAY seems to work with all EMZ's so far
from ryu's common file:
RYU.skl.emo
RYU.skl.emm
RYU.obj.ema
RYU.fce.ema
RYU.cam.ema
RYU.bac
RYU.bcm
Model extraction might be possible
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: Street Fighter IV .EMB .EMZ
here is a quickbms script
Ill update the file name soon.
Ill update the file name soon.
Code: Select all
idstring "#EMZ"
get unkown long
get SIZE long
set NAME fname.emb
get ZSIZE asize
math ZSIZE -= 0x10
goto 0x10
savepos OFFSET
comtype inflate
clog NAME OFFSET ZSIZE SIZE
-
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1422 times
Re: Street Fighter IV .EMB .EMZ
Code: Select all
#Street Fighter 4 Extractor.
idstring "#EMZ"
get unkown long
get SIZE long
get NAME filename
set EXT string .emb
string NAME -= .emz
string NAME += EXT
get ZSIZE asize
math ZSIZE -= 0x10
goto 0x10
savepos OFFSET
comtype inflate
clog NAME OFFSET ZSIZE SIZE
have you tried just removing the .emz and see if it loads the emb?
Re: Street Fighter IV .EMB .EMZ
Yeah, it just gets stuck on "Now Loading" forever :/
What program could i use to recompress the emb so it looks exactly like the extracted one before decompression?
EDIT:
OWNED!
No need to recompress the files... just rename the extracted .emb to .emz and the game will load them
You can make texture mods with my infusion program:
viewtopic.php?f=13&t=3363
What program could i use to recompress the emb so it looks exactly like the extracted one before decompression?
EDIT:
OWNED!
No need to recompress the files... just rename the extracted .emb to .emz and the game will load them
You can make texture mods with my infusion program:
viewtopic.php?f=13&t=3363
Re: Street Fighter IV .EMB .EMZ
I'm working on the models now...
Model editing gone wrong... looks like ryu's fireball melted half her face off :uglyeye:
I also broke her skeleton somehow... as you can see by the hanging arms
Model editing gone wrong... looks like ryu's fireball melted half her face off :uglyeye:
I also broke her skeleton somehow... as you can see by the hanging arms
- plodtrew
- mega-veteran
- Posts: 177
- Joined: Wed Jul 18, 2007 7:14 am
- Has thanked: 13 times
- Been thanked: 6 times
- Contact:
Re: Street Fighter IV .EMB .EMZ
I tried that, but the game crashes.Itze wrote: No need to recompress the files... just rename the extracted .emb to .emz and the game will load them
- plodtrew
- mega-veteran
- Posts: 177
- Joined: Wed Jul 18, 2007 7:14 am
- Has thanked: 13 times
- Been thanked: 6 times
- Contact:
Re: Street Fighter IV .EMB .EMZ
Texture editing does work quite well, thanks to the programs posted here. A model viewer would really help in doing texture mods so that the game doesnt have to be started to view texture changes. This is my basic Zangief mod: