![]() |
Monkey Island 2 - Special Edition
We'll be needing a new thread for MI2:SE.
Obviously the files are still encrypted on steam right now, and I probably wont be around when the game is first unlocked. So for those who are, this might help. Obviously its only based on assumptions from looking at the encrypted preloaded files: The Pak file: It looks a lot smaller than expected - my guess is that its compressed in a similar manner to the xbox version of MI1SE. If thats the case then running XBDecompress on it might do the trick. Try and have a poke around using Monkey Island Explorer it might work, if the format is the same. The audio: The audio is still in standard wavebanks/soundbanks so its likely that jott's modified UnXwb tool will work just fine. Assuming that everything's in the same format (xwma) then this automated solution might work. [Edit] See later posts See this post to extract the music See this post to browse and extract the .pak |
Monkey Explorer tells me it's not a valid bundle, xbdecompress says it wasn't compressed normally.
|
Steam hasn't unlocked the game yet so the files are all still encrypted by steam.
|
Oh - I thought they only encrypted the main .exe. Well then. My comment is moot.
|
I've had a look a the pak file in the iphone version. The format seems the same except in the file records: the dword for offset in namedir is wrong. It doesnt point to a valid filename in the namedir.
|
Dr Fred: Let's get cracking!
|
UnXWB recognises the music (in musicnew at least) as ADP format - which I think is some ADPCM variant.
The pak file format isnt quite the same, as I said previously, the offset in namedir entries are wrong |
I was able to open the pak in Monkey Explorer, but the preview shows everything corrupted.
Quote:
|
[Edit] See later posts |
Sorted it! They really are just generic MS ADPCM!
Unpack the files with UnXwb - play them back with something like VLC |
Any luck on the pak file?
|
Well, it seems like opening the PAK file with Monkey Island Explorer views the files properly but the graphics are all garbled. Also, a friend of mine tried extracting the music files and opened them in audacity. While you can see the waveform, audacity will not play them, apparently.
|
Hmmm, it seems that all the musical transitions are controlled by the MI2_MUSIC_IMPLEMENTATION.csv file located in the AUDIO folder. I wonder if you can mess with it...
Also, I can't seem to find the original game files in the PAK... |
I've put together a package to automate the decoding of the MI2 music.
[Edit] Updated the download with a new version that is a lot quicker (thanks to Meelkee) [Edit 2] Use the latest version of Monkey Island Explorer instead. |
Awesome, thanks.
Was just writing on how to do it "manually" with Audacity, FFmpeg and LAME and using multiple export, but this is much more user friendly. :) Although that does output .mp3s instead of .wavs like here, so people will still have to use some converting software, but no biggie. |
What? It creates MP3s? Are the source files MP3s or is the encoding done after the extraction? I'd rather have WAVs so I can convert to the superior OGG format or whatever else I want without quality degradation.
|
Read the readme...and my post. It creates wav's ¬¬
|
Ah, I misunderstood Tecman's post...
|
Just in case you haven't already done it, bg (I can't tell from the thread), the filename table offsets in .PAK should simply be ignored completely - the entries of the filename table are actually stored in the same order as the entires of the file offsets/size table, so for the first file, start from the beginning of the name table and just read the name up until the null terminator. For the next file, read from there until the next, etc.
Still no idea where the hell those name table offsets come from, but since monkey1.pak had the file table in the same order as the actual file content (while monkey2.pak doesn't), there's probably a bug there, and they never actually use the filename table offsets in either game. |
... and the image data in the .dxt files is gzipped.
|
Any way to re-inject audio data?
|
Quote:
Thanks to Serge I've updated Monkey Island Explorer to support MI2-SE. Its not fully optimised or anything yet - but it'll work for browsing the pak and extracting images and files. It'll also work with the Xbox (if you use the XBDecompress tool) and iPhone versions should you feel the need to delve into them. Get it here. |
Beautiful. Works nicely. MI2:SE works without the pakfile being there, too, so you can extract it and be done with it like the original.
Interestingly enough, despite there being obvious changes to it, the original classic files are, like MISE, binary identical to the original CD version of MI2. I've checked the game in ScummVM and the credit sequence is still there, so it looks like it's being automatically skipped. A .wav in the music file is SE_CreditsSequence.wav. This makes me believe that the titles are in there somewhere, and are just being skipped straight away. edit: Done some more poking around. Found the list of names for the dancing monkey scene and three xml costume reference files known as: 160_monkey-stop-skin.costume.xml 161_monkey-dance-skin.costume.xml 162_opening-credit-guybrush.costume.xml What do we think about that? Also: http://thejoe.co.uk/stuff/dancinmonkeys.png |
Quote:
|
It seems the graphics use a different kind of compression. Any ideas?
|
Quote:
|
Quote:
Quote:
|
I wonder, would it be possible to rename the two music files and swap them around - would this enable the SE music in classic mode, or cause epic failure? I can't try it out til later - but the classic version music is balls.
|
I found the backgrounds for the opening credits, rooms\images\103_open-cred\, but they are not in SE graphics.
And song exists and is called "mx154_SE_OpeningCredits_nl" I was also going to look for the speech, but they are all named "000000XX", so it won't be easy to find, if they recorded it. EDIT: Are they named like that because the decoder doesn't work properly with Speech.xwb, or are they supposed to be like that? |
Quote:
|
Quote:
|
Quote:
|
Hah, maybe SurplusGamer will get his MP3 soundtrack. ;
|
Quote:
Also, yes. I believe the credit sequence is being locked away. I did even more poking and found interface files for the map pieces that surround the credits. They are, however, unfinished, copied straight from the original game. This leads me to believe that they gave up halfway through adding them. |
I wonder, what would happen, if we hack the scripts in monkey2.001 to force the game into easy mode?
Quote:
|
Quote:
|
Quote:
|
Quote:
I hope there is a way to "unlock" the opening credits. |
Quote:
Edit: Looking at the unencrypted sections of the file, it looks like those are actually the MISE credits. Poo. Also, in the 'remonkeyed' credits, Tim Schafer's name is misspelled with an extra 'F'. I tried removing it, but that obviously failed because of the encryption or whatever. Anyway to mess around with these XMLs? |
Quote:
Also I finally finished decoding all the 7157 speech-files. Too bad they don't have proper names :( |
| All times are GMT -4. The time now is 10:42 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.