Merging with custom files?

22 replies [Last post]
Joined: 08/06/2010

Is it possible to merge with a custom XML from another mod, for example, adding a particle effect to the Sandbox_ Goo Balls? And if it's possible, what would happen if the other mod changed?

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: 06/19/2009

Yes it is possible.... but ....

What would happen if the other mod changed?
Unpredictable.. depends on the mod, the merge and the changes... might still work, might "go wierd", could crash the game.

Also, what happens if the merge mod is installed, but the original is not...?

It's a bit like that Ball Library... it's all fine if YOU control everything..
Otherwise it seems a bit "dodgy" to me...

Joined: 08/06/2010

The idea would be custom (sandbox) balls in the nightmod. I was wondering if it would just ignore it, like the nonexistent SceneLayers in MapWorldView if you have Dynamic MM.

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: 06/19/2009

The biggest problem will be...
If you make a merge file (XSL) for a level or a ball or whatever, and the source / original XML file doesn't exist, GooTool comes up with an error and stops.

I guess the question is...
Do you really need to do merge's? Couldn't you just override the custom ball's graphics files. That would be fine, even if the custom ball didn't exist.

Joined: 08/06/2010

One more problem...I've been working on my Night Sky mod, which has some problem that's crashing the game. The thing is, it's a HUGE file, so I can't upload it to Goofans. It's merging with resources, fx, and most of the (original) balls, as well as replacing almost every image in the game. Which merge do you think is most likely to be the problem?

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: 06/19/2009

Oh.. OK.. let me just consult my crystal ball... Yeah the problem is with....

Seriously!!? Shock Puzzled

You want someone to tell you which file the problem is in, or is likely to be in, without seeing them? I'm afraid even my awesome psychic talents aren't up to that task.

Things....
i) If it's too big for goofans upload it somewhere else.

ii) Ask yourself... when does it crash?
If it always crashes, on every level, or at the start... then the chances are it's a problem with one of the global file merges, or something in MapWorldView.

If it only crashes on some levels.. do those levels have anything in common?
Types of Ball they use, images, effects .... might give you a clue to where the problem is.

iii) Chinese Boxes are your friend.
If you think the problem might be with one of the merges... prove it.
Temporarily remove them all from the goomod .. does it crash now?
If so.. problem is NOT with the merges
If it doesn't crash.. add half of them back in..
|-> If it crashes now.. the problem is in one of the ones you added. Take half of back them out.
|If it doesn't crash.. add the other half in instead.
|-< Repeat a few times until you have found the file/files that are causing the trouble.

Joined: 08/06/2010

I'm trying that now. The "it's too big for Goofans" was added later, after I tried for about 3 hours Puzzled

I'm wondering if a faster Internet connection could help the upload, or if it's the server itself. I could bring my flash drive to the library and try that.

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: 06/19/2009

Pretty sure the goomod size limit is 20Mb... are you under that?

I don't remember what happens if you try to upload something bigger..
it might give an error / warning on completion.. or it might just ignore you.

Joined: 08/06/2010

54.5 MB Laughing out loud

Could you upload Goovie? Even just a beta? Please? I'll give you donuts?

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: 12/31/2009

DOHNUTS!?! WHERE!?! Tongue (remember AP, a big goomod could more than definantly be a bother to download, so if you can please remove any files that are not used in the goomod, that would be grand.)

Joined: 08/06/2010

No unused files...It just changes almost every image in the game.

You must not like donuts, though, because you changed your sig! Wink

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: 06/19/2009

Well I'd stop trying to upload it here then....

Why's it so big?
EVERY SINGLE png image in the original is a total of 32Mb... so where's the other 22 coming from?

Joined: 08/06/2010

Maybe the merges. It doesn't change balls or movies, so it wouldn't be that.

How far along is Goovie? You know, I'd stop pestering you if you released a BETA...Wink

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: 08/06/2010

I know! It also changes the musics to Cobalt Blue Sphere, Best of Times, You Can't Stop Progress, and Far Lands!

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: 06/19/2009

You know... I'd release a beta if you'd stop pestering! Tongue

It's currently v0.03 Alpha (maybe beta) .... but really not ready for "people" yet...
Hence the big red IMPORTANT notice on the main page.

It's in "Limited" Testing at the moment, since only about one other person has tried to use it so far....
And the only reason anyone knows about it, is because I needed to post some info / instructions / etc for the folk testing it.

Be patient... it'll be out before you know it...
And if you can't be patient... at least be quiet! Wink

Joined: 08/06/2010

Sorry. Sad I've just been waiting for something like this since I started Another Planet. It turns out it's even better...I'd just hoped for xml->binltl encrypt!

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: 08/06/2010

NightSky is now up! Mods only: Click Here. Can you find the problem?

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: 06/19/2009

Albino Pokey wrote:
Can you find the problem?

Yup! Wink

Took all of 10seconds with WooBLE....
Try loading the common ball, then look at the depends tab... should give you a clue..

There's 13 problems just like that..

Joined: 08/06/2010

It crashed on startup too. Is that a global problem or is it just the Drained?

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: 06/19/2009

"it"?

Anyway...sorry for the delay... now I've got it working I was having a play. Tongue

For me, with just NightSky installed, WooGLE and WooBLE both load fine.
Loading pretty much any of the levels, or any of the balls shows the problem straight away in the depends tab.... Missing Resources.

Actually they aren't "missing"... but you've got 13... yes count them 13 .. spelling mistakes in fx.xml.xsl
You've got SPARLE instead of SPARKLE all over the place.
A quick Search and Replace in Notepad and it's all fine! Laughing out loud

Joined: 08/06/2010

I fixed it. I just copied from XDBoy's xdb_IvyTrail effect, changed a few, then copied and pasted and edited the rest. That's how the mistake got duplicated so much Wink

Since the file was so big, I'll make like 5 different mods (sparkle, music, images, loops...) and you can download them all. New version, same demo about to be uploaded.

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: 06/19/2009

Before you go ahead and split it up... I've been looking at how you might save space...
The big thing is the music... you could save 5.4Mb right now, by adding 3 merge files instead.

Take a look at this
http://goofans.com/developers/world-of-goo-level-editor/reference-guide/...

It shows that kaptainpolka is only used in 3 levels, so rather than overriding it, and including a 2nd copy of the music file in the goomod...
You could build a quick merge file for each of the levels that uses kaptinpolka, and swap the resource path so it uses to temp_Carnival instead.

There's another ~1Mb to be saved in the same way with the Loop sounds.
Rather than including 4 copies of the same 300kb music file... include it just once, and do some more merges to swap the loop sounds in some more levels.

Not sure how much you need to save.. but should get you closer to being able to do it as a single mod.

Joined: 08/06/2010

I just split it up before I read that comment! Wink

Anyway, this gives the users more control. I'll see about the merges though.

It's now up! Follow that last link!

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