Game Development Community

IDE for a Mac

by Laralyn McWilliams · in Torque Game Builder · 08/04/2009 (3:43 pm) · 6 replies

I'm trying to find some resources for debugging TGB and using an IDE on a Mac. I have access to a PC but would prefer to use my Mac if possible.

So far, I've only found a couple mentions of getting a text editor (jEdit?) to work for debugging, but I'm having trouble getting it set up, and it would not be a substitute for a "real" IDE.

Are there any other options? Thanks!

#1
08/04/2009 (7:31 pm)
Xcode is perfect for c syntax languages. I believe it should be easy to get a TS plug-in for it too.
#2
08/04/2009 (8:53 pm)
In the same boat. Looking through the forums came back with newer versions of Xcode don't play nice with plugins. Really hope someone can step in and tell me I'm wrong and point us in the direction of where to get things rolling.

I also read that jEdit was an option but I'm currently using TextMate with plugin for syntax highlighting and echo() like a man possessed. TextMate allows you to mimic an IDE in that the folder with your project is in a tree hierarchy and there are tabs for open documents.

Its looking like the VM is going to get the call to action if things are to be taken seriously for development though. Not that I have anything against echo() but the roundtrip run>play>trawl log feels like I've got to be missing something and fixing things later on is always the hardest to do. Currently I'm purely in scriptland so as Tyler points out when you get into coding for the engine Xcode is more then capable.
#3
08/05/2009 (1:58 pm)
I use jEdit with TIDE. It's a pain to get set up properly, but once you do, it's pretty decent. Not the same as Torsion I'm sure, but still good enough to write a game in.
#4
08/08/2009 (8:00 am)
If you want to use Torsion on a Mac, you could consider getting MacPorts (a package that is a package-installer for open source software), then installing wine (WINdows Emulator). Once you have wine installed you can get Torsion to run. I haven't used Torsion extensively on my Mac in this way, so I can't say how complete the functionality is. I did confirm I was able to create a project, edit a file, and save it.

#5
08/08/2009 (8:43 am)
Getting Win32 Torsion to run on your Mac:

1. Get MacPorts

http://www.macports.org/

Get the latest dmg file and install it.

2. Make sure that you have XCode installed. You wont need to use XCode yourself, but having it installed provides you with the compile tools used by MacPorts to build WINE.

3. Install WINE using MacPorts. For this part you'll have to open a terminal window and type in the following (or just cut-paste it)

sudo port install wine

A warning: This part may take quite a long while - WINE has a ton of dependencies, and from what I could see it downloads and compiles each and every one from source before finally compiling WINE from source. If it looks like your computer is doing nothing, open the system monitor and check the CPU useage - there should be plenty of activity there.

4. Use WINE to install your copy of Torsion. To do this you will need an open terminal window. If you download your copy from the GG website, it will be in your Downloads directory. In that case enter the following at the console prompt:

cd Downloads

wine TorsionInstall_1_1_3.exe

5. Then just take all the default options during the installation process.

6. You'll still need to start and stop your Torsion distro from the command line, which while inconvenient is still fairly simple once you know the trick. WINE creates a special hidden directory in your home directory called ".wine". To start Torsion, do the following in a terminal starting from your home directory:

cd .wine/drive_c/Program\ Files/Torsion

wine torsion.exe

Once you've started Torsion, you can create and edit files and place them in any directory on your Mac hard drive (it doesn't have to be in the ".wine" directory). The extent of my testing with it so far was to create a project in my home directory, and to edit a few files (to see that content-assist works) and to save them there. Im just dusting this off after a few years hiatus so I haven't done much more yet.

Let me know how this works for you,

Regards,

Jon
#6
08/08/2009 (10:35 am)
Commercial alternatives to Wine: http://www.codeweavers.com/products/cxmac/download_trial/
(Wine-based, customised for specific programs. Also less of a headache to set up.)

http://www.vmware.com/products/fusion/
(You need a Windows installation in the VM. Runs programs in their own windows on the Mac desktop. Very smooth for non-game work.)

Fusion would make Torsion run most correctly, although not necessarily fastest. VMWare may also be a memory hog, but I don't recommend systems with less than 4GB RAM for anything ;)