Game Development Community

Any Mac users using TIDE?

by Rubes · in Torque Game Engine · 10/14/2005 (4:04 pm) · 15 replies

I've been trying to get TIDE to work for some time now, even working with Stefan Moises on the problems I'm having, but it gets me wondering...have any Mac users at all been able to get TIDE debugging working at all? Is there not one of you?

#1
10/15/2005 (11:58 am)
No takers?

What do Mac users use for scripting? Xcode? Would TIDE be something Mac users are interested in, for its script debugging capabilities?
#2
10/16/2005 (2:06 pm)
I am unfamilar with TIDE. I am, however, very fond of SubEthaEdit and its TorqueScript plugin.
http://www.thecodingmonkeys.de/subethaedit/
#3
10/16/2005 (2:26 pm)
I would love some kind of script debugger. I use jEdit extensively on my Windows comptuers, but it's not so hot on the Macs. Right now I use BBEdit for script editing. It occurs to me that there should be a way to connect XCode and Torque's script debugger, but I haven't dug into it myself.
#4
10/16/2005 (6:27 pm)
The one thing that is intriguing about TIDE is that it can launch the Torque application in debug mode, with breakpoints and more. Can the SubEthaEdit plugin do anything similar?
#5
10/16/2005 (8:21 pm)
I would REALLY like to find a script debugger on Mac. I use TIDE but the debugging doesn't seem to work.
#6
10/17/2005 (12:51 pm)
That's what I've been working on with the author, Stefan, trying to get the debugging to work. At first, we couldn't even get TIDE to launch the game in debug mode. Now we've been able to get it to launch, but it doesn't seem like any of the other debugging features work. I'll update on any progress as it happens...
#7
10/19/2005 (12:12 pm)
I haven't gotten that to work either. I am having trouble debugging Torquescript because of it. Currently, I manually trace the program.....

...pretty pathetic, I know and it is not fun. I'm thinking of dumping the Mac License and going PC for this reason alone. All work on my project is slowed in excess of 500% compared to a Windows user. There's enough to do to figure out the engine, how it works, and how to best apply its technologies to your game without having to wrestle with tools and spend hours tracing script with your finger.

[Edit]
PS. I really love the Mac. Perhaps, I can help somehow with TIDE or Torsion. We may Mac users should all give a hand and let ourselves be known.
[\Edit]
#8
10/19/2005 (2:23 pm)
Agreed...I'll let you know how things go. Not much progress to report yet.
#9
10/19/2005 (2:47 pm)
I believe Torsion is being developed for Linux and OS X by Gary "ChunkyKs" Briggs. At least as of August 18 that's what was happening according to
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8474
#10
10/20/2005 (7:02 am)
Just re-read my post. My post script should read: "Perhaps, I can *help* somehow with TIDE or Torsion." ...Sometimes my fingers have minds of their own.

Perhaps a new thread in the general section where we can offer our Mac expertise to makers of Windows tools for purposes of porting.
#11
10/20/2005 (8:49 am)
Well, it looks like most of the problems probably arise from the curious path structure that Mac OSX uses for it's apps. A typical application on the Mac (what you see as the app icon) is really a directory, and the app itself is a Unix executable contained in the app directory under the path /AppName.app/Contents/MacOS.

The problem arises because TIDE needs to know the path to the executable (so it can launch the game in debug mode) as well as the path to the scripts (especially main.cs, so it can patch it). On most systems, those paths are the same, but on the Mac they are different.

I haven't heard back from him for a couple of days, so I don't know if he plans on making any changes to TIDE that will allow the different paths to be used for Macs, but I'll let you know here if things move forward.
#12
10/20/2005 (9:29 am)
Would symbolic links from the expected path to the actual path work?
#13
10/20/2005 (9:35 am)
Tried it...no luck, oddly enough.
#14
10/21/2005 (2:01 pm)
It should be pretty straight forward to get the binary file's path, and to get main.cs

The executable file in the app is normally found at:
ApplicationName.app/Contents/MacOS/ApplicationName

And main.cs is normally found in the same folder as ApplicationName.app.

I don't know much about jEdit plugins, but I'm pretty sure they can find out what platform they're running on.
#15
10/21/2005 (3:16 pm)
Yeah, we've pretty much been through that. Stefan (the TIDE author) knows about the different paths for main.cs and the executable...we've been trying to create a workaround without having to make modifications to TIDE itself, but it's not working out. I haven't heard much lately, so I don't know if he's modifying TIDE so that it can use the two different director paths appropriately.