Page 1 of 2
[Tool] Custom Content Enabler
Posted: Tue Mar 25, 2014 2:43 pm
by HumanGamer
Hello,
As you may have seen in my other topic, I managed to use custom content in KrabbyQuest and other classic wonderland games.
Warning: NOT compatible with
The Original Wonderland!
I have made this tool to make it easier to do
Download Latest Version
Edit: Added a new version that supports all versions of the game, tested with BigFishGames and MidnightSynergy versions. If it doesn't work the old version is below.
Old Version:
Download Old Version
WonderPacker
This tool can be used to repack the res#.dat files:
Download
To use WonderPacker copy all the files and folders you want to be included in the res files into an empty folder. Then copy the packer.exe into the same folder and run it. It will always make a res1 because res1 is the list of files for the other res file. Note: It will not pack exe and dat files.
Just put the CustomEnabler.exe into your wonderland folder and run it. (It may require admin privileges depending where you run it on your computer)
Then you can modify any of the files and they will change in game
Keep in mind that it blanks res1.dat and res2.dat, so it's a good idea to make a backup of your game in-case this program causes it to not work.
Enjoy!
~ Matt
Posted: Tue Mar 25, 2014 3:05 pm
by jdl
Thanks for the tool!
However there are also other missing graphics and sound files in the other res files such as res31.dat for RTW, which is one of the sounds Stinky makes while on a trampoline.
Posted: Tue Mar 25, 2014 3:11 pm
by HumanGamer
jdl wrote:Thanks for the tool!
However there are also other missing graphics and sound files in the other res files such as res31.dat for RTW, which is one of the sounds Stinky makes while on a trampoline.
I haven't looked into the other res files as I assumed that they were just renamed to *.dat and not archives. I'll look into it when I have time.

Posted: Tue Mar 25, 2014 4:19 pm
by HumanGamer
Cooldudepoke wrote:I have made this tool to make it easier to do
Download Latest Version
Edit: Added a new version that supports all versions of the game, tested with BigFishGames and MidnightSynergy versions. If it doesn't work the old version is below.
I updated the program.

Posted: Tue Mar 25, 2014 5:22 pm
by Mark
Thank you Matt for sending me the new "Custom Enabler" and helping me out with Big Fish's res9 situation.

Otherwise I wouldn't have been able to create a custom level using models from "Secret World"...
Posted: Tue Mar 25, 2014 5:50 pm
by Sammy_P
Mark wrote:Thank you Matt for sending me the new "Custom Enabler" and helping me out with Big Fish's res9 situation.

Otherwise I wouldn't have been able to create a custom level using models from "Secret World"...
that's amazing! :O
Posted: Tue Mar 25, 2014 5:55 pm
by Jutomi
That picture looks amazing, honestly.
Seriously, though, this is almost like an evolutionary time period for Wonderland; It's bizarre.
First POTZ, then Command 4, and now, this!
Posted: Tue Mar 25, 2014 6:02 pm
by Wonderland King
I was thinking the same thing.

Posted: Tue Mar 25, 2014 6:56 pm
by Mark
Another thing I did was replace the Kaboom and Chomper files with a Stinky.bmp and Stinky.md2 and watch them walk around like deadly robots.

Posted: Tue Mar 25, 2014 7:15 pm
by jdl
Unfortunately the first Wonderland does not want to run after the extraction process for me. All I get is a "couldn't load md2: graphics\stinky.md2" even though it's in there.
RTW, WSW, and Krabby Quest work fine with this though.
Posted: Tue Mar 25, 2014 7:16 pm
by dig 222
Great job with this!
You are the new Jafo1015.

Posted: Tue Mar 25, 2014 8:16 pm
by HumanGamer
jdl wrote:Unfortunately the first Wonderland does not want to run after the extraction process for me. All I get is a "couldn't load md2: graphics\stinky.md2" even though it's in there.
RTW, WSW, and Krabby Quest work fine with this though.
Which site did you buy it on? There were issues with BigFishGames but I fixed it.
Also are the jpgs viewable?
Edit: I just tried it. Same result. Let me see if I can fix it
Edit: I might need to make a res#.dat packer to use TOW. I don't feel like making the program right now...I'm sure everyone can wait, I mean look at what you can do now
~ Matt
Posted: Tue Mar 25, 2014 11:05 pm
by HumanGamer
I've messed with the editor graphics so they would be easier to use with Krabby Quest. Blackboxes with a red x on them are incompatible with Krabby Quest fyi.
Also not all of the decorative objects are finished in this.
Posted: Wed Mar 26, 2014 7:57 am
by popo
Are you sure what you're doing is legal, have you checked with Patrick? I made those models for Secret Worlds and I had to sign an agreement that I wouldn't use them for anything else once they were in Patrick's possession, and I presume that also meant using them in custom levels. Same goes for the Krabby Quest thing. Patrick made the game, yes, but under licence to some TV company (Nickleodeon I think, whoever made Sponge Bob) so in essence you'd need their permission to use the content. Just don't want you to end up breaching copyright laws, that's all.

Posted: Wed Mar 26, 2014 8:19 am
by Muzozavr
I made those models for Secret Worlds and I had to sign an agreement that I wouldn't use them for anything else once they were in Patrick's possession
Well, you didn't. You haven't broken the agreement.
Same goes for the Krabby Quest thing. Patrick made the game, yes, but under licence to some TV company (Nickleodeon I think, whoever made Sponge Bob) so in essence you'd need their permission to use the content.
Considering that the game isn't even
there on Patrick's website (it can still be bought on Big Fish, I think, but that's it) I don't think Nick knows or cares about this forum.
Technically, it could fall under "reverse engineering", but so would figuring out the LV6 format to hex-edit levels.
(Of course, if Patrick says "no" to any of this, we should remove whatever he says "no" to.)
Posted: Wed Mar 26, 2014 9:27 am
by popo
I know I haven't broken the agreement but I presumed it meant they weren't to be used for anything else, by anyone, otherwise I could have put them on a site for download. It may be fine if they're only being used in a Wonderland game, but it would have been better to ask first, don't you think?
The Krabby Quest game has never been on the Midnight Synergy site as far as I know, but I know he made it under licence and I presume that meant, as with the Secret Worlds custom stuff, that once he'd been paid for making it he had no rights over it, so making the models available in a Wonderland game would breach this.
I don't know for sure, I'm just guessing, but surely it's best to make sure first isn't it. Better safe than sorry, and all that. And it shows consideration.

Posted: Wed Mar 26, 2014 9:39 am
by Muzozavr
I don't see any problems with it, but the decision should be Patrick's, not ours. So I sent a PM to Patrick right now. You're right, popo, asking first would've been great.
The Krabby Quest game has never been on the Midnight Synergy site as far as I know
I think it used to be on Midnight Synergy's site a long time ago. At least the online solutions are still there.
Posted: Wed Mar 26, 2014 10:46 am
by popo
There are online solutions for Krabby Quest? That's news to me. I'm sure I still have a couple of levels to complete, I'll have to have a look. Thanks for the info Muzo.

Posted: Wed Mar 26, 2014 11:59 am
by HumanGamer
Muzozavr wrote:I don't see any problems with it, but the decision should be Patrick's, not ours. So I sent a PM to Patrick right now. You're right, popo, asking first would've been great.
My apologies for not asking first. I'll await Patrick's reply before I continue. Let me know
~ Matt
Posted: Wed Mar 26, 2014 1:03 pm
by HumanGamer
I updated the main post with a packer. We still don't have permission from Patrick to modify the files, but uploading the packer should not be a problem I don't think.
Posted: Thu Mar 27, 2014 3:17 am
by Midnight Synergy
Hmm... interesting situation.
The WSW models I have no problems with. Popo is right, there are agreements in place, but these are primarily so that people don't grab them and make their own (completely different) games with them. I am fine in having them appear for use in custom levels, that's in the spirit of the custom community. Under the same conditions as everything else in this forum: custom models are for the forum only, and must be provided to other members free of charge.
The Krabby Quest stuff is a bit more tricky. I'm not sure who actually has the rights to the assets - I'd have to look carefully into the contracts again. The game is many years old now, but sometimes companies can get very protective about their assets.
I would think that limited use of such assets is fine. I.e. if a model makes a guest appearance in a user made custom level, that would likely fall under fair use copyright rules. However, any kind of large scale projects (esp full scale level reproductions of the full game) are a definite no-no! So please proceed with that in mind.
Thanks!
Posted: Thu Mar 27, 2014 11:58 am
by HumanGamer
Midnight Synergy wrote:Hmm... interesting situation.
The WSW models I have no problems with. Popo is right, there are agreements in place, but these are primarily so that people don't grab them and make their own (completely different) games with them. I am fine in having them appear for use in custom levels, that's in the spirit of the custom community. Under the same conditions as everything else in this forum: custom models are for the forum only, and must be provided to other members free of charge.
The Krabby Quest stuff is a bit more tricky. I'm not sure who actually has the rights to the assets - I'd have to look carefully into the contracts again. The game is many years old now, but sometimes companies can get very protective about their assets.
I would think that limited use of such assets is fine. I.e. if a model makes a guest appearance in a user made custom level, that would likely fall under fair use copyright rules. However, any kind of large scale projects (esp full scale level reproductions of the full game) are a definite no-no! So please proceed with that in mind.
Thanks!
Thanks for the info Patrick

Posted: Thu Mar 27, 2014 2:24 pm
by popo
It's nice to know that at least some of the things are ok to carry on with because it'd be a shame to waste all that talent. You really are a very clever bunch on here these days.

Posted: Fri Feb 06, 2015 3:30 pm
by Kilicool64
Just discovered that the extractor also works with Frazzled, though it's a bit more complicated.
Unlike the Wonderland games and Krabby Quest, this game stores most of its data in res3.dat and has the file names and offsets in res2.dat. So you'll need to rename res2.dat to res1.dat.
Also, the extractor refuses to extract an archive that's smaller than 5 MB. Since res3.dat is a bit smaller than that, you'll need to increase its size by adding a lot of garbage data to it with a text editor like Notepad. This won't affect the output at all.
Posted: Fri Feb 06, 2015 8:21 pm
by HumanGamer
Kilicool64 wrote:Just discovered that the extractor also works with Frazzled, though it's a bit more complicated.
Unlike the Wonderland games and Krabby Quest, this game stores most of its data in res3.dat and has the file names and offsets in res2.dat. So you'll need to rename res2.dat to res1.dat.
Also, the extractor refuses to extract an archive that's smaller than 5 MB. Since res3.dat is a bit smaller than that, you'll need to increase its size by adding a lot of garbage data to it with a text editor like Notepad. This won't affect the output at all.
The extractor looks for the largest .dat to extract, so it might work if you just copy the 2 dat files to a different folder and extract it there.

Posted: Fri Feb 06, 2015 8:45 pm
by Kilicool64
cooldudepoke wrote:Kilicool64 wrote:Just discovered that the extractor also works with Frazzled, though it's a bit more complicated.
Unlike the Wonderland games and Krabby Quest, this game stores most of its data in res3.dat and has the file names and offsets in res2.dat. So you'll need to rename res2.dat to res1.dat.
Also, the extractor refuses to extract an archive that's smaller than 5 MB. Since res3.dat is a bit smaller than that, you'll need to increase its size by adding a lot of garbage data to it with a text editor like Notepad. This won't affect the output at all.
The extractor looks for the largest .dat to extract, so it might work if you just copy the 2 dat files to a different folder and extract it there.

That's what I did. The program complained that it couldn't find a .dat file with a size of at least 5 MB.
Posted: Wed Mar 15, 2017 7:34 am
by Caton
cooldudepoke, could you give me the source for packer and unpacker I need them for my own packing and unpacking my own game pack format.
Posted: Wed Mar 15, 2017 9:15 am
by cloudrac3r
Caton wrote:...packing and unpacking my own game pack format.
Interesting. Are you working on some kind of Wonderland remake? Will this one get finished?
Second, in the spirit of open-source goodness, community contributions, and all that, why not use an existing open-source compression algorithm instead of creating your own, possibly buggy and very likely inefficient, packing format? The only reason I can think of to create your own format is a form of obfuscation - so people don't go inspecting the contents of various files. Like MS tried to do with .res and .dat files. It seems you have an interest in open-source stuff, so why are you making a proprietary format?
As I already said, there are many,
many open-source lossless compression algorithms and programs already out there, that are likely more efficient and less buggy than anything we could come up with. Here's a few of my favourites:
gzip (fast compression),
bzip (better compression but slightly slower),
7z (customisable compression settings),
tar (merges files into a single uncompressed tarball),
ogg vorbis (lossy audio), and of course good old
Zip (old, unsure of license).
Posted: Wed Mar 15, 2017 5:56 pm
by HumanGamer
Sorry, I lost the source code for the tools.
But I still have the source code for a wonderland remake that I worked on. and it should support the res.dat files if I remember correctly.
It's based directly on the original wonderland as seen in IDA.
I'm no longer working on this project, however.
Posted: Wed Mar 15, 2017 8:33 pm
by Caton
MS should have encrypted the data pack format.
you know what's funny super granny 2\winter wonderland\3 is the same format except it is res1.dat and res2.dat all together name as grannydata00.dat