Join also our Discord channel! Click here.

Street Fighter IV .EMB .EMZ

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Street Fighter IV .EMB .EMZ

Post by Itze » Sat Feb 21, 2009 12:59 pm

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 :D

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

Crypton
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

Post by Crypton » Fri Mar 06, 2009 11:23 am

Always remember to upload 2 files for every format you want to extract, from one file its hard to find a format structure... :D

cTWOpLaY
ultra-n00b
Posts: 2
Joined: Thu Mar 05, 2009 10:13 pm

Re: Street Fighter IV .EMB .EMZ

Post by cTWOpLaY » Fri Mar 06, 2009 8:38 pm

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 :P

Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Street Fighter IV .EMB .EMZ

Post by Itze » Sun Jul 05, 2009 5:00 am

i recently got the pc version of sf iv and now we got some files to compare :D

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:
Image

here's the main menu background which i've successfully extracted:
Image

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

Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Street Fighter IV .EMB .EMZ

Post by Itze » Sun Jul 05, 2009 5:16 am

OH MY GOD!!!
I'm so good! :D

i played around a bit with Luigis offzip and with the following commandline i was able to extract this mofo :D

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: aluigi@autistici.org
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
Image
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 :D

gotta play some more now... the first step is done :D

EDIT:
Image

YAY seems to work with all EMZ's so far :owned:

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 :D

User avatar
chrrox
Moderator
Posts: 2565
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1312 times

Re: Street Fighter IV .EMB .EMZ

Post by chrrox » Sun Jul 05, 2009 5:44 am

here is a quickbms script
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

Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Street Fighter IV .EMB .EMZ

Post by Itze » Sun Jul 05, 2009 5:59 am

nice!

is it possible to recompress with quickbms so i can try inserting modified files again(first only textures)?

User avatar
chrrox
Moderator
Posts: 2565
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1312 times

Re: Street Fighter IV .EMB .EMZ

Post by chrrox » Sun Jul 05, 2009 6:08 am

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
It is not possible with quickbms but it is just using the inflate compression so another program should do that no problem
have you tried just removing the .emz and see if it loads the emb?

Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Street Fighter IV .EMB .EMZ

Post by Itze » Sun Jul 05, 2009 6:48 am

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!

Image

No need to recompress the files... just rename the extracted .emb to .emz and the game will load them :D

You can make texture mods with my infusion program:
viewtopic.php?f=13&t=3363

Itze
veteran
Posts: 82
Joined: Sat Mar 15, 2008 4:43 pm
Has thanked: 3 times
Been thanked: 6 times

Re: Street Fighter IV .EMB .EMZ

Post by Itze » Sun Jul 05, 2009 3:16 pm

I'm working on the models now...

Image

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 :lol:

User avatar
plodtrew
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Jul 18, 2007 7:14 am
Has thanked: 13 times
Been thanked: 5 times
Contact:

Re: Street Fighter IV .EMB .EMZ

Post by plodtrew » Wed Jul 08, 2009 10:24 am

Is there a viewer for the model files?

NGboo
ultra-n00b
Posts: 1
Joined: Wed Jul 08, 2009 1:59 pm

Re: Street Fighter IV .EMB .EMZ

Post by NGboo » Wed Jul 08, 2009 2:46 pm

Itze wrote: No need to recompress the files... just rename the extracted .emb to .emz and the game will load them :D
I tried that, but the game crashes. :(

User avatar
Savage
VIP member
VIP member
Posts: 560
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 17 times

Re: Street Fighter IV .EMB .EMZ

Post by Savage » Wed Jul 08, 2009 7:55 pm

Nice one! 8D the compression used it's gzip, lol
Image

User avatar
plodtrew
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Jul 18, 2007 7:14 am
Has thanked: 13 times
Been thanked: 5 times
Contact:

Re: Street Fighter IV .EMB .EMZ

Post by plodtrew » Fri Jul 10, 2009 2:40 pm

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:

Image

User avatar
Mr.Mouse
Site Admin
Posts: 4049
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 418 times
Been thanked: 567 times
Contact:

Re: Street Fighter IV .EMB .EMZ

Post by Mr.Mouse » Sat Jul 11, 2009 3:14 pm

Excellent work done here! :up: :drunken:

Post Reply