Game Development Community

How to (sort of) use Torsion on an Intel Mac

by Dan Wolfe · in Torque Game Builder · 04/22/2006 (1:45 pm) · 4 replies

You're really not going to get the full Torsion experience, since you won't be able to debug, use break points, etc. However, it does give you code completion which is what I was after when I decided to try this.

1. Download and install Parallels (www.parallels.com).
2. Follow Parallels' instructions to create a Windows virtual machine and install Windows. (Make sure you install Parallels Tools under the VM menu!)
3. Install Bonjour for Windows (http://www.apple.com/downloads/macosx/apple/bonjourforwindows103.html)
4. Open System Preferences in OS X and enable Personal File Sharing and Windows Sharing under the Sharing panel.
5. Map a network drive in Windows to your Home folder on your Mac (Right click on Network Neighborhood to do this and make sure to save your username and password and set the drive to automatically connect).
6. Install Torsion under Windows and create a new Project selecting your TGE or TGB folder located in your Mac's home folder. (You may have to hit cancel when Torsion is executing project configurations).

#1
04/22/2006 (4:06 pm)
Very interesting. Why can't you debug or use breakpoints?
#2
04/22/2006 (8:14 pm)
Parallels doesn't support OpenGL or Direct X properly, so TGB and TGE both crash on launch when trying to use the exe's on Windows. However, you can just save your changes and open the Mac version just fine.
#3
04/23/2006 (1:35 am)
Well if Parallels gives the virtual machine it's own ip, you should be able to run Torsion in the VM and TGE native on the Mac. You disable the code injection, add the debugger startup code to main.cs manually, and use Connect to start debugging the already launched instance.

But it would be much easier when Torsion for OSX is done. =)
#4
04/23/2006 (10:48 am)
I'll have to try that. Thanks, Tom.