Jump to content

Home

Monkey Island Special Edition - File Formats


Benny

Recommended Posts

  • Replies 283
  • Created
  • Last Reply

thanks man! :)

I saw that you fixed some problems in the forest. well... I found a BIG problem, worse than the store one: there is a room in the forest where there is a ravine (visible in classic mode) but invisible in hires mode (look like a normal path). I discovered it because the character cannot move forward, if you switch to classic mode, you see it.

Link to comment
Share on other sites

  • 2 months later...

Hi, I have problem.Im Czech and would play MI:SE with czech subtitles a english dubbing.I have 2 czech files "MONKEY.000" and "MONKEY.001" from old cd version,if i rename to "monkey1.000","monkey1.001" and create folder classic\en\ with this files,so game is working with czech subtitles, bad english dubbing stop working:-( ...not speaking. Anyone know how to fixed,pls write!Sorry my bad english and THX

 

her is czech subtitle files:

http://cestiny.idnes.cz/download/run/clanek.D070725_345319.idn

 

poz:kdyby to nahodou objevil, nějaký čech a řešil ten samý problém tak ať dá vědět.

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Just thought I'd mention that I have the 360 version, and it appears its Monkey1.pak is somehow formatted differently to the PC version. Here are the size and checksum specs:

 

204 MB (214,930,550 bytes)

CRC-32: e46b9e2b

MD4: ed98a67cc89b8df301eff5a2c4234bc8

MD5: 83e1934bc6d077decc5dc4b4892e4cea

SHA-1: 4c62e469be087d825280d834a62582a014f8b6ca

 

I've tried using both extractpak and Remonkeyed Explorer on this file to no avail (the former just crashes, and the latter claims that the format isn't supported or something along those lines). What are the chances of support for this version being added in future? I don't know if it has anything to do with how I got the .pak file extracted (I first backed up my MI:SE download onto a USB stick, then used wxPirs on the one file created to read its file system and rip the .pak out).

Link to comment
Share on other sites

Say, I can upload filecutter information for the two music XWB files as well if it's handy, seeing as both the unxwb on here and the latest unxwb on Luigi's site doesn't appear to extract the music in the right format...

 

XWB/ZWB files unpacker 0.3.2
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open file         MusicOriginal.xwb
- the tool will try to add a header to the extracted files

 length      fmt   freq c b  filename
=====================================================================
 3123200     XMA  44099 2 16 track22.wav
 2750464     XMA  44100 2 16 track2.wav
 2684928     XMA  44100 2 16 track3.wav
 2484224     XMA  44100 2 16 track4.wav
 1972224     XMA  44099 2 16 track5.wav
 3393536     XMA  44100 2 16 track6.wav
 221184      XMA  44104 2 16 track7.wav
 1411072     XMA  44099 2 16 track8.wav
 3188736     XMA  44100 2 16 track9.wav
 2770944     XMA  44100 2 16 track10.wav
 2015232     XMA  44099 2 16 track11.wav
 3205120     XMA  44099 2 16 track12.wav
 2678784     XMA  44100 2 16 track13.wav
 374784      XMA  44100 2 16 track14.wav
 3829760     XMA  44099 2 16 track15.wav
 3463168     XMA  44100 2 16 track16.wav
 4859904     XMA  44099 2 16 track17.wav
 3876864     XMA  44099 2 16 track18.wav
 3383296     XMA  44099 2 16 track19.wav
 292864      XMA  44101 2 16 track20.wav
 350208      XMA  44096 2 16 track21.wav
 4063232     XMA  44099 2 16 track23.wav
 2226176     XMA  44100 2 16 track24.wav
 3221504     XMA  44099 2 16 track25.wav
 12288       XMA  44096 1 16 silence.wav

- finished (25 files)

XWB/ZWB files unpacker 0.3.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open file         MusicOriginal.xwb
- the tool will try to add a header to the extracted files

 length      fmt   freq c b  filename
=====================================================================
 3123200     XMA  44099 2 16 00000000.wav
 2750464     XMA  44100 2 16 00000001.wav
 2684928     XMA  44100 2 16 00000002.wav
 2484224     XMA  44100 2 16 00000003.wav
 1972224     XMA  44099 2 16 00000004.wav
 3393536     XMA  44100 2 16 00000005.wav
 221184      XMA  44104 2 16 00000006.wav
 1411072     XMA  44099 2 16 00000007.wav
 3188736     XMA  44100 2 16 00000008.wav
 2770944     XMA  44100 2 16 00000009.wav
 2015232     XMA  44099 2 16 0000000a.wav
 3205120     XMA  44099 2 16 0000000b.wav
 2678784     XMA  44100 2 16 0000000c.wav
 374784      XMA  44100 2 16 0000000d.wav
 3829760     XMA  44099 2 16 0000000e.wav
 3463168     XMA  44100 2 16 0000000f.wav
 4859904     XMA  44099 2 16 00000010.wav
 3876864     XMA  44099 2 16 00000011.wav
 3383296     XMA  44099 2 16 00000012.wav
 292864      XMA  44101 2 16 00000013.wav
 350208      XMA  44096 2 16 00000014.wav
 4063232     XMA  44099 2 16 00000015.wav
 2226176     XMA  44100 2 16 00000016.wav
 3221504     XMA  44099 2 16 00000017.wav
 12288       XMA  44096 1 16 00000018.wav

- finished (25 files)

 

XWB/ZWB files unpacker 0.3.2
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open file         MusicNew.xwb
- the tool will try to add a header to the extracted files

 length      fmt   freq c b  filename
=====================================================================
 2197504     XMA  44099 2 16 track2.wav
 2275328     XMA  44100 2 16 track3.wav
 2310144     XMA  44100 2 16 track4.wav
 2011136     XMA  44100 2 16 track5.wav
 1521664     XMA  44100 2 16 track6.wav
 266240      XMA  44104 2 16 track7.wav
 1437696     XMA  44099 2 16 track8.wav
 1738752     XMA  44099 2 16 track9.wav
 2512896     XMA  44099 2 16 track10.wav
 2942976     XMA  44099 2 16 track12.wav
 2658304     XMA  44100 2 16 track13.wav
 380928      XMA  44100 2 16 track14.wav
 1193984     XMA  44100 2 16 track15.wav
 2852864     XMA  44100 2 16 track16.wav
 1935360     XMA  44099 2 16 track17.wav
 3678208     XMA  44100 2 16 track19.wav
 309248      XMA  44101 2 16 track20.wav
 3203072     XMA  44099 2 16 track22.wav
 12288       XMA  44096 1 16 silence.wav
 1265664     XMA  44100 2 16 track18a.wav
 1779712     XMA  44099 2 16 track10a.wav
 1738752     XMA  44099 2 16 track18c.wav
 2336768     XMA  44100 2 16 track18b.wav

- finished (23 files)

XWB/ZWB files unpacker 0.3.3
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- open file         MusicNew.xwb
- the tool will try to add a header to the extracted files

 length      fmt   freq c b  filename
=====================================================================
 2197504     XMA  44099 2 16 00000000.wav
 2275328     XMA  44100 2 16 00000001.wav
 2310144     XMA  44100 2 16 00000002.wav
 2011136     XMA  44100 2 16 00000003.wav
 1521664     XMA  44100 2 16 00000004.wav
 266240      XMA  44104 2 16 00000005.wav
 1437696     XMA  44099 2 16 00000006.wav
 1738752     XMA  44099 2 16 00000007.wav
 2512896     XMA  44099 2 16 00000008.wav
 2942976     XMA  44099 2 16 00000009.wav
 2658304     XMA  44100 2 16 0000000a.wav
 380928      XMA  44100 2 16 0000000b.wav
 1193984     XMA  44100 2 16 0000000c.wav
 2852864     XMA  44100 2 16 0000000d.wav
 1935360     XMA  44099 2 16 0000000e.wav
 3678208     XMA  44100 2 16 0000000f.wav
 309248      XMA  44101 2 16 00000010.wav
 3203072     XMA  44099 2 16 00000011.wav
 12288       XMA  44096 1 16 00000012.wav
 1265664     XMA  44100 2 16 00000013.wav
 1779712     XMA  44099 2 16 00000014.wav
 1738752     XMA  44099 2 16 00000015.wav
 2336768     XMA  44100 2 16 00000016.wav

- finished (23 files)

 

It's a similar problem with the Ambience, Speech and SFX xwbs as well, but I'd rather not drag this post out with epic listings for those. ;)

Link to comment
Share on other sites

Looking at that those xwb's use XMA for the codec not XWMA.

"XMA files can be decoded with xmaencode: xmaencode.exe /X output.wav input_xma.wav"

 

Looking at the file (and the filesize) it looks like the pak is compressed (probably zlib) and has an additional header of filesizes or indexes. I'll try and have a look at it later.

Link to comment
Share on other sites

I've had another quick look at it:

It is big endian as expected, the structure looks the same, offsets are relative to the start of the LPAK header. However I'm not sure how its compressed/encrypted. The name dir and the file are obfuscated somehow my guess would be compressed rather than encrypted but I dunno how.

Link to comment
Share on other sites

Would you need the full file to have a better idea or would it not make much of a difference?

 

And yeah, thanks for pointing out to me that XMA and xWMA are two different things. Dang, that's confusing. I don't really know of any other games that use the latter format.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
Nobody got any suggestions about the CAF audio format then?

You'll probably need a mac if you want to work with these, although they may work in QuickTime on Windows. If you have QuickTime Pro you can export to mpeg-4 using pass-through audio to losslessly convert to .m4a.

Link to comment
Share on other sites

We can easily put together a batch file to rip and do the conversion. However, a more optimal solution would be to get a correct WMA header to add to the raw xWMA's. As I understand it xWMA's are pretty much the same as a normal WMA and should work as part of a WMA container.

 

I'm going to keep trying to do this, if I can get a container then I can easily make an app to read the soundbanks and put the data in a RIFF/WMA container. Its a shame that the WMA format is such a pain in the arse¬

Is this possible yet? I'd like to extract the audio and work with them in the original wma format.

Link to comment
Share on other sites

  • 1 month later...

Formats of MI2SE fr.uitex.info and fr.speech.info:

 

Format of fr.uitext.info:

 

Byte 0-3: identifying data(?)

Byte 4-10131 index table in 8 byte records

Byte 10131- localization data in label text - localization text format separated by 00 bytes.

 

 

The index table contains reversed 4 byte values (for example hex 90 27 00 00 -> hex 00 00 27 90), every value corresponds to one of the labels (like MENU_PLAY_NEW_GAME) or one of the localized texts (like NOUVELLE PARTIE).

There is an offset value for every element in the index table which is the address of the first byte of the pointer in the file. In the case of the first record, for the index of the table which points to 'MENU_PLAY_NEW_GAME' by value 00 00 27 90, the correct address would be 00 00 27 94, for the second index, which is the translated text 'NOUVELLE PARTIE' 00 00 27 9F, the correct address is 00 00 27 A7.

 

The correct addresses of the n-th item are:

 

label text of the n-th item: (reversed value from the 4 bytes starting at (2*(n)-1) in the index table)+4*(2*n-1)

localized text of the n-th item: (reversed value from the 4 bytes starting at (2*n) in the index table)+4*(2*n)

 

where n starts with 1.

 

Format of the fr.speech.info:

 

byte 0-3 : identification data (?)

byte 4-279203 : index table in 32 byte records (8725 entries)

byte 279204- : localization text in label text - English original - translation format separated by bytes 00.

 

The index table's 32 byte records contain pointers to the actual speech file, and to the localization data in this file. Bytes 20-31 contain the three 4-byte reversed pointers, bytes 20-23 for the label text (like 'GUY_4_shore_11_1a'), bytes 24-27 for English original (like 'It doesn't seem to open.'), bytes 28-31 for the translation (like 'Ça n'a pas l'air de s'ouvrir.'). Reversed values mean, the actual value of the pointer is byte0+256*byte1+256*256*byte2+256*256*256*byte3. Pointers have an offset which is the position of the first byte in the file. So correct pointers for the n-th item are:

 

label text of the n-th item: (value from the reversed 4 bytes starting at position 4+(n-1)*32+20) + 4+(n-1)*32+20

English original of the n-th item: (value from the reversed 4 bytes starting at position 4+(n-1)*32+24) + 4+(n-1)*32+24

localized text of the n-th item: (value from the reversed 4 bytes at position 4+(n-1)*32+28) + 4+(n-1)*32+28

 

Where n starts with 1.

 

Hope it helps.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...