Portable TGB Editing
by Deozaan · in Torque Game Builder · 10/09/2008 (9:48 pm) · 1 replies
Recently I've been considering a "portable" solution for when I'm on the go and don't have my PC with me. I'd like to be able to just copy my project files onto a USB flash drive and open up a portable IDE with custom syntax coloring schemes and work on my TGB projects from my USB drive.
So to do that, I'd need to know a couple of things:
1. Can I just copy over the TGB folder from the installation directory on my USB drive and have the Game Builder editors work properly? Or do I need other directories such as build, tools, etc.?
2.a. Is it possible to configure Torsion to run from a USB drive and run/debug TGB which is also on the USB drive, using relative paths? Since the drive letter can change on any system, it's fairly important for it to be able to use relative paths.
2.b. If Torsion doesn't work from the USB drive, are there any TorqueScript syntax coloring schemes available for download that could be imported into another programmer's IDE/notepad (EditPad Pro, Notepad++, etc)?
Thanks in advance for any help or info provided.
So to do that, I'd need to know a couple of things:
1. Can I just copy over the TGB folder from the installation directory on my USB drive and have the Game Builder editors work properly? Or do I need other directories such as build, tools, etc.?
2.a. Is it possible to configure Torsion to run from a USB drive and run/debug TGB which is also on the USB drive, using relative paths? Since the drive letter can change on any system, it's fairly important for it to be able to use relative paths.
2.b. If Torsion doesn't work from the USB drive, are there any TorqueScript syntax coloring schemes available for download that could be imported into another programmer's IDE/notepad (EditPad Pro, Notepad++, etc)?
Thanks in advance for any help or info provided.
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders
#3: Since TorqueScript files end in .cs, some editors think it's C#. Luckily the syntax is so similar that you'll get decent highlighting AND working function closing in many editors :)
(Notepad++ did the right thing, I think, and Smultron on Mac definitely does, plus Kate on Linux as well.)
I don't have or use Torsion myself, but it's rare to find a program which doesn't support relative paths. As far as I remember, everything is already relative in Torque-related files.