1

Topic: [TOOL] Teeworlds.app generator for Mac OS X

This is a PHP script to generate a teeworlds.app file for all you Mac users out there.
I made it for my friend who has teeworlds already but wants it as an app. I looked for an app creator already, but finding none, whipped up this one in about 10 mins.
It turns out there is already an app creator (http://www.teeworlds.com/forum/viewtopic.php?id=1707) - so don't tell me it's already been done!

Right click and choose save link as (or your browser's equivalent): http://www.carnadine.co.uk/maketeeworlds.txt

Save it as maketeeworlds.php to follow the instructions.


To use:


1. Place in the teeworlds folder that you extracted from the teewars zip file.
2. open Terminal and change directory to the same folder.
3. type "php maketeeworlds.php"
4. If all goes well it will say:

Made app folder.
Made contents folder.
Made binary folder.
Made resources folder.
Copied data folder.
Copied teeworlds binary.
Written icon file.
Written plist.
Completed.

After this you can copy your new Teeworlds.app into the Applications folder, or wherever you like smile

2

Re: [TOOL] Teeworlds.app generator for Mac OS X

great tool. I already was sick of iTeeworlds. the i was bothering me and I couldn't use it wherever I wanted to. now I can smile thanks dude!

pwnd-leader
You just got pwnd!

3

Re: [TOOL] Teeworlds.app generator for Mac OS X

There's tools for this already in the source smile
They will be used by default for 0.5 if I can get everything to work. Right now there is a problem with the bundle and windowed mode on ppc, but we'll see.

Languages shapes the way we think, or don't.

4

Re: [TOOL] Teeworlds.app generator for Mac OS X

It can be useful, but i do not use Mac OS

Goodbye all. Account inactive since March 2011.

5

Re: [TOOL] Teeworlds.app generator for Mac OS X

Great to hear that ppc support is coming back.  I have a few old boxes that I would love to use when people come over.

I'm the Hanz's Heroes Clan Leader.

6

Re: [TOOL] Teeworlds.app generator for Mac OS X

Didn't saw this Thread before I posted my own... http://teeworlds.com/forum/viewtopic.php?id=2447
I had the same suggestion and made a DMG bundle with a teeworlds.app inside.

Download:
* Teeworlds 0.4.3 Mac OS X (intel) DMG

Didn't made this with your script but it has a nice icon too and you mustn't have PHP installed.
Don't think that non web developers have PHP installed - AppleScript/bash... should be bether wink

foxx

http://blog.jbbr.net/ - My (german) Blog