Join also our Discord channel! Click here.

PS2 Eureka Seven .mb file

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
User avatar
youngmark
veteran
Posts: 144
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 5 times

PS2 Eureka Seven .mb file

Post by youngmark » Wed Dec 22, 2010 3:37 pm

Hi,
I need help decompressing the PS2 Eureka Seven .mb file.

Code: Select all

MB13CDVDy...e?...@..ARCCeureka_us_cpy.ico...................bc.
Heres an sample file :
If you want more samples i can upload more.

Merry Christmas in advance.
Last edited by youngmark on Fri Apr 13, 2012 7:38 pm, edited 1 time in total.

XeroNazoBlaze
ultra-n00b
Posts: 6
Joined: Sat Dec 05, 2009 8:34 pm
Location: Argentina
Has thanked: 2 times
Been thanked: 4 times

Re: PS2 Eureka Seven .mb file

Post by XeroNazoBlaze » Fri Dec 31, 2010 8:21 pm

Hello there, youngmark!

Actually, these files are file containers without any compression. Here's the script:

Code: Select all

# Eureka 7 Vol. 1 New Wave / Eureka 7 Vol. 2 New Vision
# MB format unpacker script for Quickbms
# Made by XeroNazoBlaze

ImpType Standard ;
Idstring "MB13CDVD" ;
Get NOF long ;
Get NULL long ;
Get FFO long ;
Get NULL long ;
For I = 0 < NOF ;
Getdstring NAME 0x20 ;
Get FOFFSET long ;
Get FSIZE long ;
Get NULL long ;
Get NULL long ;
Math FOFFSET *= 2048 ;
Math FOFFSET += FFO ;
Log NAME FOFFSET FSIZE ;
Next I 
Once you've unpacked the MB files, there will be a bunch of FPKs files (these are file containers too). Here's the script:

Code: Select all

# Eureka 7 Vol. 1 New Wave / Eureka 7 Vol. 2 New Vision
# FPK format unpacker script for Quickbms
# Made by XeroNazoBlaze

ImpType Standard ;
Idstring "FPK" ;
Get NULL byte ;
Get NOF long ;
Get NULL long ;
Get FFO long ;
For I = 0 < NOF ;
Getdstring NAME 0x40 ;
Get FOFFSET long ;
Get NULL long ;
Get FSIZE long ;
Get NULL long ;
Math FOFFSET += FFO ;
Log NAME FOFFSET FSIZE ;
Next I
Hope this helps. If there's any problem, please let me know :D.
Last edited by XeroNazoBlaze on Sat Sep 29, 2012 11:06 am, edited 3 times in total.

User avatar
youngmark
veteran
Posts: 144
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 5 times

Re: PS2 Eureka Seven .mb file

Post by youngmark » Sat Jan 01, 2011 4:40 am

Thanks XeroNazoBlaze!
Your bms script is perfect.
Here are extract data
Last edited by youngmark on Fri Apr 13, 2012 7:38 pm, edited 1 time in total.

XeroNazoBlaze
ultra-n00b
Posts: 6
Joined: Sat Dec 05, 2009 8:34 pm
Location: Argentina
Has thanked: 2 times
Been thanked: 4 times

Re: PS2 Eureka Seven .mb file

Post by XeroNazoBlaze » Sat Jan 01, 2011 5:07 am

I'm glad it worked. Although the file sizes doesn't match with the values of the file table (due to some padding), don't worry, those files aren't corrupted nor anything. Remember, those scripts work for both titles of Eureka Seven (New Wave/New Vision).

And Happy New Year for you too :D.

P.S: Sorry for my English :P.

P.S.S: The content in the MDL and the XPK files can be extracted using the FPK script!

hien90
ultra-n00b
Posts: 2
Joined: Fri Aug 03, 2012 12:55 pm
Has thanked: 1 time

Re: PS2 Eureka Seven .mb file

Post by hien90 » Fri Aug 03, 2012 1:33 pm

when unpack a fpk file there are .pak file how to unpack them

User avatar
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 18 times

Re: PS2 Eureka Seven .mb file

Post by MiLØ » Wed Sep 05, 2012 7:47 am

I have .MB files from another game: Mobile Suit Gundam: Lost War Chronicles [PS2].

Tried using your script, XeroNazoBlaze, but it gives a message:

Image

So changing "MB13CDVD" to "MB11CDVD" inside the script doesn't quite do the trick.
It finds the first file with the proper file name, but then stalls and gives an error message.

It looks like if some slight alterations were made, the script should work on these type of .MB as well.

If anyone can take a look, I'd be glad to provide the sample files. The smallest one for example is OLM.MB is 2mb.

User avatar
MiLØ
veteran
Posts: 114
Joined: Sun Dec 11, 2011 8:00 am
Has thanked: 36 times
Been thanked: 18 times

Re: PS2 Eureka Seven .mb file

Post by MiLØ » Fri Sep 07, 2012 6:27 am

Many thanks to youngmark for pointing to the right script that can handle Gundam's .MB files:

Code: Select all

# Game: MOBILE SUIT GUNDAM Lost War Chronicles (PS2)
# by Fatduck     Nov 09
# script for QuickBMS http://aluigi.org/papers.htm#quickbms

idstring "MB11CDVD"
get NUMRES long
get IDXTBLEND long              #no use
get OFSBASERES long
get IDXTBLHEADER long           #no use

for i = 0 < NUMRES
   getdstring RESNAME 0x20
   get OFSRES long
   math OFSRES *= 0x800
   math OFSRES += OFSBASERES
   get SIZERES long
   get UNKNOWN long
   
   log RESNAME OFSRES SIZERES
next i

hien90
ultra-n00b
Posts: 2
Joined: Fri Aug 03, 2012 12:55 pm
Has thanked: 1 time

Re: PS2 Eureka Seven .mb file

Post by hien90 » Sat Aug 31, 2013 4:11 am

When i extrack stream.mb there are bmg.adi files. I think this is soundtrack of the game but i dont know how to open it. Can anyone please help me how to open this file type ?

ruiner9
ultra-n00b
Posts: 1
Joined: Wed Oct 08, 2014 1:47 pm
Been thanked: 1 time

Re: PS2 Eureka Seven .mb file

Post by ruiner9 » Wed Oct 08, 2014 1:50 pm

I know I'm dredging up an old topic, but I was researching the audio for the Eureka SeveN series and discovered that the .adi files are actually just .ads files, 100kbps, 48khz.

Rename the extension and they should play using VGMStream.

Mowthan
ultra-n00b
Posts: 1
Joined: Thu May 30, 2019 4:17 pm
Has thanked: 3 times

Re: PS2 Eureka Seven .mb file

Post by Mowthan » Sun Sep 06, 2020 10:01 am

Sorry to necro an old thread again, but I have recently become interested in the ps2 eureka games and have been trying to dig through the files.

I first tried to use ninja ripper with pcsx2, but the game uses back face culling, so the models come out incomplete.

So I tried using the scripts posted here to extract the contents of the game.mb file and the .fpk files within and I now have a bunch of directories with what look like animation files and other assets.

In these, I have .pak files which should contain things like sprites, textures, models and audio, but I can't open them.

I have tried using winrar and 7zip but both say the archives are unreadable. I then tried universal extractor, game extractor and other bms scripts, but to no success.

Has anyone had any luck extracting them, or any ideas on what to try next?

Update:

I was able to extract some files from the first available .pak : mp_aa01_001.pak using the following batch script to run offzip:

offzip.exe -z -15 -a "input/MP_AA01_001.pak" "output/directory" 0x0

PAUSE

Where "input/MP_AA01_001.pak" is the location of the .pak and "output/directory" is the output.

"PAUSE" prevents the console from closing once done so I could read the printout.

I have no idea what the parameters "-z -15 -a" are for, but I'm sure "0x0" means start from the first byte (no offset).

The console threw up tonnes of errors saying "zlib z_data_error the data in the file is not in zip format" but it did manage to process 38% of the .pak file and I now have a directory filled with .dat .rpp .yuu .sw7 .fff .ffa files and more, although I suspect some of these may be garbage.

I honestly have very little idea what I'm doing, mostly flying by the seat of my pants, but I'll post more info as I find it.

Update #2:

Ok, so it seems that the directories containing the .pak files might be mission / level data.

The files extracted from game.mb include a set of files named cha_01 -> cha_016 and lfo_01 -> lfo_18.

They are .xts files and may contain the vertex data for characters and mechs meshes.

Update #3:

The .xts files only contain images that look like character profile pictures, not really worth looking into.

There are however .mdls which I overlooked.
They contain a mix of data and textures.

Unpacking them with offzip gives only a small amount of useful data, but there are files that are a couple of textures and some which have what look to be names of bones for an armature.

If anyone can add further insight, I would be grateful.

Post Reply