jott Posted July 16, 2009 Share Posted July 16, 2009 Just a note: The game seems to run fine without the Monkey1.pak when all files are extracted in the same directory (such as my little tool does). Link to comment Share on other sites More sharing options...
Silvor Posted July 16, 2009 Share Posted July 16, 2009 Very interesting. I wonder if that will help to get voices when you switch to the old art in some way. Link to comment Share on other sites More sharing options...
Laserschwert Posted July 16, 2009 Share Posted July 16, 2009 Which means changing files without repacking, yay! Link to comment Share on other sites More sharing options...
Benny Posted July 16, 2009 Author Share Posted July 16, 2009 Thanks for the dumper and source jott. Lets all try not to duplicate each other's work here. Lets try and post what we are working on/discover so we don't overlap. [Edit] If it runs without the pak thats excellent news! Dont even have to write a pak compiler. Link to comment Share on other sites More sharing options...
Serge Posted July 16, 2009 Share Posted July 16, 2009 Hi everyone ! Serge, do you intend to release your tool to unpack Monkey1.pak ? It would be useful for foreigners like me, as I'm french I could put the Monkey1.000 and Monkey1.001 files from the original french version. Thanks ... I do - as mentioned above, I planned on Friday - not sure at the moment, since I have a lot of work-work and leaving on vacation tomorrow. But maybe. In any event, Jott already has something out. @Serge, two questions though: Do you plan to release the source code of your tool? And do you know what the table at 0x28 (referred at 0x8) is for? Source code: Not at the moment, simply because it shares a lot of code with a longer term "secret" project , which will probably be open source. Shares as in "copy/paste and quick hacks" which means it's not even close to clean and won't be maintained - since the original project already decodes PAK also. Only did this tool to get something out quick. As for 0x28 - no idea yet. Did all this rather quickly last night, so when it worked, I actually stopped looking at the package format and focused on the DXT stuff. Fast enough to not find any file count in the format either, which means at the moment, it simply reads the offset table until it reaches the known position of the name table. And yes, Remonkeyed Explorer also decodes all files to the same folders if wanted (that's what the "Use original subfolder" checkbox is there for). Great news that unpackaged resource use wasn't disabled for the release Link to comment Share on other sites More sharing options...
Benny Posted July 16, 2009 Author Share Posted July 16, 2009 Continuing the division of labour - I'll work on a quick 'texture replacer' program, for the moaners who want to do a guybrush "hair patch". I'd also appreciate any input from anyone on the audio for the new music inside the soundbanks. The format tag identifies it as WMA (from what I know about the format tag) but It doesnt look like WMA. Either its not WMA or its encrypted/obfuscated somehow. Link to comment Share on other sites More sharing options...
Silvor Posted July 16, 2009 Share Posted July 16, 2009 About that "hair patch" thing. I wonder if the people who want to fix this knows how much work they'll actually have to do. Guybrush does have quite a few elaborate animations he goes trough during the course of the game. Not gonna be a small job to animate the new hair on all of them. Link to comment Share on other sites More sharing options...
jott Posted July 16, 2009 Share Posted July 16, 2009 Speaking of duplicate work, bgbennyboy... Here is a little tool to convert DDS back to DXT: http://slexy.org/view/s2laFdoAjF So here is a shot of a modded Monkey Island SE: http://i33.tinypic.com/2v2a4jm.jpg All seems to work out nicely... though some manual steps are needed ATM. Link to comment Share on other sites More sharing options...
Benny Posted July 16, 2009 Author Share Posted July 16, 2009 Nice one Jott I'll be doing a GUI tool, like I usually do. If you are working on a similar app please let me know and I'll stop and concentrate on something else Link to comment Share on other sites More sharing options...
Laserschwert Posted July 16, 2009 Share Posted July 16, 2009 The best thing would of course be if the game uses the files from the PAK file, with the exception of files that are also contained separately in the game folder. But I guess the PAK is the game's first choice, so separate files would be ignored. Link to comment Share on other sites More sharing options...
elTee Posted July 16, 2009 Share Posted July 16, 2009 Incredible work guys, hopefully these 'exploits' won't be patched on Steam. Link to comment Share on other sites More sharing options...
Tomas Posted July 16, 2009 Share Posted July 16, 2009 I had a very brief look at the audio files. I used this program to extract the files from the wavebanks. The .WAV-files seem to play without doing anything to them. The .WMA-files do not as bg says. Opened them in a hex editor and concluded that most of the start with the hex values 09 00 00 03 (I was looking at the MusicNew.xwb file). Also opened up some .WMA-files i had lying on my HD. Many of them has this byte pattern (09 00 00 03) at what seems to be the end of the header or the beginning of the data. I don't know exactly how this program (unxwb) extracts the files but maybe the .WMA-files are stored without the header and it needs to be reconstructed somehow? I don't know, maybe this could give some ideas. I don't have time to look into at it at the moment. Link to comment Share on other sites More sharing options...
jott Posted July 16, 2009 Share Posted July 16, 2009 @Laserschwert: The PAK file is indeed the fallback! So just putting files in the right directory will replace them in-game. @bgbennyboy: No, I'm not working on any GUI. Maybe I'll try to find out something about the XML later. Link to comment Share on other sites More sharing options...
Laserschwert Posted July 16, 2009 Share Posted July 16, 2009 @Laserschwert: The PAK file is indeed the fallback! So just putting files in the right directory will replace them in-game. So I have to put only the files I want changed in the game's folder, and it uses them instead?? That'd be awesome! Link to comment Share on other sites More sharing options...
Benny Posted July 16, 2009 Author Share Posted July 16, 2009 @Tomas - good to see you again! Everyones coming out of the woodwork recently The idea about the WMA just missing a header sounds reasonable, I'll try and find time to look at it again this weekend. Link to comment Share on other sites More sharing options...
john_doe Posted July 16, 2009 Share Posted July 16, 2009 @Tomas - good to see you again! Everyones coming out of the woodwork recently Do you really think so? Link to comment Share on other sites More sharing options...
Benny Posted July 16, 2009 Author Share Posted July 16, 2009 Heh, good to see you too Ben Link to comment Share on other sites More sharing options...
jott Posted July 16, 2009 Share Posted July 16, 2009 So I have to put only the files I want changed in the game's folder, and it uses them instead?? That'd be awesome! Yes. That's it. For your amusement: http://i38.tinypic.com/2a0wu0.jpg Simply unpack this in the main program folder: http://rapidshare.com/files/256538082/art.zip.html Link to comment Share on other sites More sharing options...
jott Posted July 16, 2009 Share Posted July 16, 2009 Serge, do you intend to release your tool to unpack Monkey1.pak ? It would be useful for foreigners like me, as I'm french I could put the Monkey1.000 and Monkey1.001 files from the original french version. Thanks ... It seems to suffice to put the files to classic\en\Monkey1.000 and classic\en\Monkey1.001 - relative to your "Secret Of Monkey Island SE" folder. Link to comment Share on other sites More sharing options...
Murray the Chao Posted July 16, 2009 Share Posted July 16, 2009 I have determined that the problem with the .wma is indeed a missing header. I shall ask elsewhere about it. Link to comment Share on other sites More sharing options...
Serge Posted July 16, 2009 Share Posted July 16, 2009 @jott: Had a look at your source - we're very much in agreement Not sure about the constant 0 DWORD in the dir entries, but (potential) compression type might be right, since that's what I remember it used for in (I think) VIMA compression for either CMI or GF. I'm looking into the 0x28 table right now... I guess you did so already, but you might want to swap width and height when reading from the .dxt file, since height is stored first (FourCC - Height - Width). Blabbering here - just got confused (for the 29th time in the past 3-4 years) by DDS_HEADER storing height first Link to comment Share on other sites More sharing options...
Serge Posted July 17, 2009 Share Posted July 17, 2009 So, releasing Remonkeyed Explorer (as described at the start of the topic) now... It only allows to dump files from monkey1.pak as-is, as well as convert .dxt to .dds. In other words, it does nothing that jott's tool doesn't do already. Except for having a pseudo-fancy GUI Specs for the monkey1.pak file as they're currently known are included. There's no installer - just run the file. Application requires .NET Framework 3.5 SP1, though - Client Profile will do, and if MS get their way, you'll need it anyway for other stuff, if you don't have it already The installer for the "small" version (280KB web installer which will then download the framework which is approximately 28MB - if it isn't installed already) - AKA "Client Profile" can be found here: http://go.microsoft.com/fwlink/?LinkId=123879 Not expecting to support this app much. It was done quickly, in order to get something out, and lots of code was simply copied from "that other project". Which means I can't be bothered maintaining that code in two places http://highland.mixnmojo.com/other/Remonkeyed_1.0.0.54.zip Also, hi Benjamin and Tomas Link to comment Share on other sites More sharing options...
cocomonk22 Posted July 17, 2009 Share Posted July 17, 2009 Nah, I think (as I did before the game came out) that it's always the original game running, and the new art is "projected onto it". That's what I'm saying. It's synced to the original game. To do that, the original game has to be running underneath. Link to comment Share on other sites More sharing options...
Serge Posted July 17, 2009 Share Posted July 17, 2009 That's what I'm saying. It's synced to the original game. To do that, the original game has to be running underneath. Misunderstood you then, but in that case, nothing codewise keeps it from running the original game with the sound effects, and turning the art projection off. Link to comment Share on other sites More sharing options...
Laserschwert Posted July 17, 2009 Share Posted July 17, 2009 So, releasing Remonkeyed Explorer (as described at the start of the topic) now...When opening the PAK-file with it, I get the following error: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.TypeInitializationException: The type initializer for 'RemonkeyedExplorer.FileFormats.FileFormatManager' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Das System kann die angegebene Datei nicht finden. File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at RemonkeyedExplorer.FileFormats.FileFormatManager.PopulateFileTypes() at RemonkeyedExplorer.FileFormats.FileFormatManager..ctor() at RemonkeyedExplorer.FileFormats.FileFormatManager..cctor() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. --- End of inner exception stack trace --- at RemonkeyedExplorer.frmMain.OpenFile(String path) at RemonkeyedExplorer.frmMain.itemFileOpen_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.