How to compile a .goomod of a modded entire game?

75 replies [Last post]
Joined: 04/23/2011

Hey everyone! I need to know how to turn an entire version of the world of goo game that I've edited into a .goomod file so I can upload it to the site! Anyone know how to do that? And this is just going to be a demo version of the first 5 levels for mine and pyrodriod's game not the full version yet.

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 12/23/2010

Just follow the simple rules of the .goomod: it compiles/merges/overrides relative to your World Of Goo root folder. So if you want to extract something like a modified .exe (which is what I deduce from your post), then just put it in the root of the override folder.

Is that what you mean?

Joined: 08/06/2010

I think he means a Total COnversion mod, like Another Planet or TM13WOG2.

What you need to do is create a goomod of each level in your mod.
Then create a folder on your desktop called "goomod" (it has to be that name).
Now go into each of your level folders (res/levels/whatever), hold down the CTRL key, and drag the "goomod" folder to the desktop. Windows should ask you if you want to merge the folders. Say yes.
Repeat with each of your levels. If it asks to overwrite something, you can either say "yes" or "no", it won't make any difference.
You will need to go through and add all the text.xml files together by hand, there's no way around it.
Then decompile the island.xml.bin file and place it into "compile\islands". You are supposed to use merges, but it's more difficult and I don't think anyone will fault you for it in a demo.
Now just use Red's tool to make addin.xml files, put it in the main folder, and zip everything into a goomod.
You're done!

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 07/08/2011

@puggsoy I didn't think he meant a modified exe, rather a bunch of edited files.

Joined: 01/07/2010

Albino Pokey wrote:
I think he means a Total COnversion mod, like Another Planet or TM13WOG2.

What you need to do is create a goomod of each level in your mod.
Then create a folder on your desktop called "goomod" (it has to be that name).
Now go into each of your level folders (res/levels/whatever), hold down the CTRL key, and drag the "goomod" folder to the desktop. Windows should ask you if you want to merge the folders. Say yes.
Repeat with each of your levels. If it asks to overwrite something, you can either say "yes" or "no", it won't make any difference.
You will need to go through and add all the text.xml files together by hand, there's no way around it.
Then decompile the island.xml.bin file and place it into "compile\islands". You are supposed to use merges, but it's more difficult and I don't think anyone will fault you for it in a demo.
Now just use Red's tool to make addin.xml files, put it in the main folder, and zip everything into a goomod.
You're done!


You never help me with that.Anyway thanks for the information

Hey You!
Start the fun and Install the fan made CHAPTER 6: MOON OF GOO

Joined: 08/06/2010

I was answering your questions in email, I just thought it would be easier than the big block of text.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 04/23/2011

Ok... a few questions but I've mostly got it. What is Red's program for making addin.xml files and where do I download it? And what do mean by all the text.xml files, isn't there only one that you have from the original game under the properties folder? I have all the signpainter texts for my signs and movies in the one properties folder so it will only be that folder as far as the text for the entire game demo. And so you have to make the compile\islands folder? because that's not in the original game.

Thanks for your help so far though AP! The demo for Earth Of Goo: The Gooey Part 2 should be released really soon now!

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 07/08/2011

My tool is under the "utilities" section in Downloads. At the moment it only creates goomod files without levels. It does have text string functions, though.

Joined: 04/23/2011

OK! I can't make it a .goomod! The levels i have in the game have custom pipes and the goomod creator in the level editor doesn't want the resource files in the global text document for the pipes! So either I have to fix that somehow, or I have to upload the whole demo game as a zipped folder! Which is better? Please help me decide or no one will be able to play the demo or game at all!

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 08/06/2010

Ugh, sometimes I hate WooGLE. It always ruins my global properties files.

You need to create a merge file for the pipe resources, in goomod\merge\properties\resources.xml.xsl (XSL, not XML). You should ask Red about that, I'm not too good at it.

For the text, the editor should put a file called text.xml into the root of each goomod folder. If it's not there, you need to extract it from the goomod itself.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 07/08/2011

David made a tool to make XSLs easily a while back. You upload an xml with all the elements you want to add, and it creates the xsl for you.

http://www.davidc.net/miscellany/diff-xml-documents-xsl-stylesheet

Joined: 08/06/2010

Oh, really?

Epic!

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 04/29/2009

Oh, I didn't know about that tool.
It would have saved me a lot of time creating xsl files without really to know what I was doing. But finally I got everything working and I learned a bit about xsl.

Joined: 04/23/2011

OK! So how exactly do I convert those pipe resources into an xsl file with his tool? Because otherwise I may as well say I can't make a .goomod for it unless you all downloaded a zipped version of the game from this site or another site.

Also, would I have to make a .goomod of the new edited mapworldview and movies?

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 07/08/2011

Just include it all in one goomod, if you can. If you need help doing that, email me a zip of everything you have and I'll try to help as much as I can.

nick@redthegreen.com

Joined: 04/23/2011

OK I'll e-mail it to you in sections, but first I have schoolwork to do so please wait.

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 04/29/2009

Step one: Decrypt the original unmodded resources.xml.bin file an upload the resources.xml as Source XML file.
Step two: Open that resources.xml with any texteditor and add your pipe resources.
This should be some lines like:
 <Image id="IMAGE_GLOBAL_PIPE_YOURPIPE" path="res/images/..."/>
Step three: Save these changes and upload the file as Target XML file.
Step four: Click generate XSL.
Step five: Put the resources.xml.xsl into the merge/properties folder of your goomod.
edit:
Oh, Red already ansered while I was writing.Puzzled)

Joined: 04/23/2011

Wait a minute! I did all that but davidc's site program isn't working! It isn't generating an xsl file from both of them! How do you fix this?

Edit: I reloaded the site and it's doing something now...

Edit again: Ok! I got the xsl file! Now... what do I do with it? There's no merge/properties folder in my goomod folder!?

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 08/06/2010

So make one.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 04/23/2011

OK! I've made the xsl files stuck them in the merge/properties folder in the goomod, but I still can't get WooGle to convert my levels with custom pipes to goomods! How do I do that so I can merge the levels and put it all into a giant .goomod file?!?

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 04/29/2009

You can change the pipe for now, create the goomods and put them all together like Albino Pokey described.
After that go in each level folder of the goomod and open level.xml with any text-editor. Change the type of the pipe by hand and save.
It should look like:

<pipe type="YOURPIPE">
<Vertex x="0" y="514" />
<Vertex x="0" y="614" />
 
</pipe>

Or you could make your big goomod by hand.
You would have to create a folder for each level in compile/res/levels/ in your goomod.
Now go to each level you want to add and decrypt the scene.xml.bin, level.xml.bin and resources.xml.bin.
Put the xml files you get into their respective folder in the goomod.

Now create a folder for each level which uses custom images or sounds in override/res/levels/ and put all images and sounds in the right level folder.

If you are using custom balls, you need to add them like you did with the levels.
At last create a text.xml with your signpost and an addin.xml file
Zip it, rename to .goomod, done.

Joined: 04/23/2011

Ok! I'm 80% done with the goomod of the entire game demo! But I need help with on last thing! How do I compile my new edited MapWorldView into a .goomod when the level editor won't open it and keeps coming up with and error saying: XML Parse Error: not well-formed(invalid token): line 6, column 114 in file MapWorldView.resc.bin!?

Then how do I compile the entire folder into a .goomod? Do I just rename it with a file extension that adds .goomod to it?

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 08/06/2010

You have an error in your MapWorldView resource file. From the error code, it sounds like the resource definition on line 6 doesn't end with a " />". Once you fix it, you need to make merges for the three level files.

To make the goomod, copy everything from the folder (but not the folder itself) into a zip file. Then rename it to "com.goofans.gooballsoffire.demo.goomod" and upload it.

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 04/23/2011

What do you mean merges? Like the one for the resources file for the properties folder in an xsl file? Or how would I make the .goomod for merging the MapWorldView and Island 1 work?

Edit: I've checked all the "/>" in that resources file and none are missing so I'm not sure what's wrong!

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 04/29/2009

Yes, like the resources.xml.xsl. You have to create MapWorldView.level.xml.xsl, MapWorldView.scene.xml.xsl and MapWorldView.resrc.xml.xsl. After that put them into merge/res/levels/MapWorldView/.

What's the problem? You should know where the error is. The error message tells you where it is.Tongue
Check line 6 column 114 in MapWorldView.resrc.xml.
It doesn't have to be the "/>", it could be any typo, a missing quotation mark or something else, but it's in line 6 at column 114.

edit: You could post line 6 here or the full MapWorldView.resrc.xml here, if you still don't find the error.

Joined: 04/23/2011

OK! I'll post it here tell me if you see anything wrong!

Edit: How do I post that here? It keeps dissapearing when I copy it and paste it into my comment!

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 04/29/2009

Write, without the spaces, "< code>" in front and "< /code>" behind it.
Check this: http://goofans.com/filter/tips/1#filter for the allowed HTML tags.

Joined: 04/23/2011

Ok! Here it is!

<ResourceManifest>
	<Resources id="scene_MapWorldView"/>
		<SetDefaults idprefix="" path="./" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_NEWMAIL" path="res/images/newmail" />
<Image id="IMAGE_SCENE_MAPWORLDVIEW_TITLE_WORLD" path="res/levels/MapWorldView/title_WORLD" />
<Image id="IMAGE_SCENE_MAPWORLDVIEW_TITLE_OF" path="res/levels/MapWorldView/title_OF" />
<Image id="IMAGE_SCENE_MAPWORLDVIEW_TITLE_GOO" path="res/levels/MapWorldView/title_GOO" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_1_ICON_TOGETHER_OVER" path="res/levels/MapWorldView/island_1_icon_together_over" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_1_ICON_TOGETHER_UP" path="res/levels/MapWorldView/island_1_icon_together_up" />
<Image id="IMAGE_MAPWORLDVIEW_EARTHMAINMENUSCREEN" path="res/levels/MapWorldView/earth main menu screen" />
<Image id="IMAGE_HANGLOW_BG" path="res/levels/HangLow/bg" />
<Image id="IMAGE_MAPWORLDVIEW_MM_CREDITS_UP_NEW" path="res/levels/MapWorldView/mm_credits_up_new" />
<Image id="IMAGE_MAPWORLDVIEW_MM_EXIT_UP_NEW" path="res/levels/MapWorldView/mm_exit_up_new" />
<Image id="IMAGE_MAPWORLDVIEW_MM_PROFILES_UP_NEW" path="res/levels/MapWorldView/mm_profiles_up_new" />
<Image id="IMAGE_MAPWORLDVIEW_MM_CREDITS_OVER" path="res/levels/MapWorldView/mm_credits_over" />
<Image id="IMAGE_MAPWORLDVIEW_MM_EXIT_OVER" path="res/levels/MapWorldView/mm_exit_over" />
<Image id="IMAGE_MAPWORLDVIEW_MM_PROFILES_OVER" path="res/levels/MapWorldView/mm_profiles_over" />
<Image id="IMAGE_MAPWORLDVIEW_MAIN_MENU_TITLE_EARTH" path="res/levels/MapWorldView/main_menu_title_earth"/><Image id="IMAGE_MAPWORLDVIEW_MAIN_MENU_TITLE_THEGOOEY" path="res/levels/MapWorldView/main_menu_title_thegooey" /><Image id="IMAGE_MAPWORLDVIEW_MAIN_MENU_TITLE_PART2" path="res/levels/MapWorldView/main_menu_title_part2" /><Image id="IMAGE_MAPWORLDVIEW_ISLAND_2_ICON_DISABLED" path="res/levels/MapWorldView/island_2_icon_disabled" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_2_ICON_OVER" path="res/levels/MapWorldView/island_2_icon_over" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_2_ICON_UP" path="res/levels/MapWorldView/island_2_icon_up" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_3_ICON_DISABLED" path="res/levels/MapWorldView/island_3_icon_disabled" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_3_ICON_OVER" path="res/levels/MapWorldView/island_3_icon_over" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_3_ICON_UP" path="res/levels/MapWorldView/island_3_icon_up" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_4_ICON_DISABLED" path="res/levels/MapWorldView/island_4_icon_disabled" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_4_ICON_OVER" path="res/levels/MapWorldView/island_4_icon_over" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_4_ICON_UP" path="res/levels/MapWorldView/island_4_icon_up" />
<Image id="LEVEL_IMAGE_AMERICANFLAG_ISLAND_1_ICON_OVER" path="res/levels/MapWorldView/americanflag_island_1_icon_over" />
<Image id="LEVEL_IMAGE_AMERICANFLAG_ISLAND_1_ICON_UP" path="res/levels/MapWorldView/americanflag_island_1_icon_up" />
<Image id="LEVEL_IMAGE_PIKES_PEAK_ISLAND1_ICON_IMAGE_OVER" path="res/levels/MapWorldView/pikes_peak_island1_icon_image_over" />
<Image id="LEVEL_IMAGE_PIKES_PEAK_ISLAND1_ICON_IMAGE_UP" path="res/levels/MapWorldView/pikes_peak_island1_icon_image_up" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_5_ICON_DISABLED" path="res/levels/MapWorldView/island_5_icon_disabled" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_5_ICON_OVER" path="res/levels/MapWorldView/island_5_icon_over" />
<Image id="IMAGE_MAPWORLDVIEW_ISLAND_5_ICON_UP" path="res/levels/MapWorldView/island_5_icon_up" />
<Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGC_OVER" path="res/levels/MapWorldView/ii_wogc_over" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGC_DISABLED" path="res/levels/MapWorldView/ii_wogc_disabled" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGC_UP" path="res/levels/MapWorldView/ii_wogc_up" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGC3D_OVER" path="res/levels/MapWorldView/ii_wogc3d_over" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGC3D_UP" path="res/levels/MapWorldView/ii_wogc3d_up" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGCD_OVER" path="res/levels/MapWorldView/ii_wogcd_over" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_WOGCD_UP" path="res/levels/MapWorldView/ii_wogcd_up" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_C6_OVER" path="res/levels/MapWorldView/ii_c6_over" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_C6_DISABLED" path="res/levels/MapWorldView/ii_c6_disabled" /><Image id="IMAGE_SCENE_MAPWORLDVIEW_II_C6_UP" path="res/levels/MapWorldView/ii_c6_up" />
 
<SetDefaults idprefix="" path="./" />
<Sound id="SOUND_MUSIC_TEMP_MAINMENU_WOG3RDDIM_THEME" path="res/music/temp_mainmenu_wog3rddim_theme" />
</Resources>
</ResourceManifest>

For those wondering, Earth of Goo is still being worked on, but not as often. It will be finished! Check out my website/YouTube @ScarletFury!

Joined: 08/06/2010

Oh, wow, you should optimize that code. It's a mess. Was it generated by WooGLE?

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.

Joined: 04/29/2009

The only error I can see is in this line:

<Resources id="scene_MapWorldView"/>

The slash isn't supposed to be there. It should look like:
<Resources id="scene_MapWorldView">

Joined: 08/06/2010

Are there comments preceding the line?

Another Planet finally has an official release! Download chapters 1 through 3 here! Thank you for waiting so long while I kept starting over.