Launch level from CLI on MacOS?

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
Launch level from CLI on MacOS?Cacafuego07/08/2009 - 04:43

Does anyone know whether CLI level-loading is supported on MacOS?

So far I haven't found any combination of working directory + argument that will launch a level directly.  I'm not sure what it's expecting.

For example, I have a playable level at /res/levels/Test.  World Of Goo.app is in /Games.

(From /Games): 
$ "World of Goo.app/Contents/MacOS/World of Goo" Test
(From "/Games/World of Goo.app"): 
$ "/Contents/MacOS/World of Goo" Test
(From "/Games/World of Goo.app/Contents/MacOS/"):
$ "World of Goo" Test
(From "/Games/World of Goo.app/Contents/Resources/game"):
$ "/Games/World of Goo.app/Contents/MacOS/World of Goo" Test
...And so on

And none launch the specific level, they all load the standard game.  I'm wondering if the MacOS version even supports specific level loading?

Re: Launch level from CLI on MacOS?Soultaker07/08/2009 - 10:12

No, it doesn't, unfortunately.

If you really want to do that on the Mac (I assume because you're making your own level and want to test it quickly?) you could install Wine (Darwine) and run the Windows version instead.

Re: Launch level from CLI on MacOS?Cacafuego07/08/2009 - 15:28

That's extremely unfortunate.  I guess I'll have to have it hack an island and insert a level that way.  Thanks for the confirmation though.

I'm already doing development via Darwine - I'd like to do it natively on OS X.  Others would as well.