T2D.NET (C# Wrapper for T2D)
by Jason Swearingen · 09/28/2005 (2:01 pm) · 31 comments
Write your simulation/game in C#, VB.NET, etc.
Enjoy the benifits of:
- VisualStudio's IDE
- - - Advanced debugging support (Asserts, conditional breakpoints, etc)
- - - VisualStudio 2003 and 2005 support
- Documentation
- - - Full SDK Docs provided in .CHM form (including listing of all Torque functions)
- - - Fully integrated intelisense to increase coding productivity
- Security
- - - Strongly Named Assemblies to prevent tampering
- - - Encrypted resources to prevent theft/reverse-engineering
- Additional Functionality
- - - Fully Object-Orriented SDK
- - - Anti-Hacking countermeasures
- - - Use .NET, C++ and TorqueScript side-by-side (they work great together)
- - - Great Error Handling (troubleshooting issues are easy!)
- And more...
Please check the T2D.NET QuickStart Guide (located in the t2d.net installer linked here) for additional details.
The current version of T2D.NET is: T2D.NET.Beta1.IGC
This is an open beta made available to all T2D owners.
Please read the QuickStart, and agree to the linked EULA (in the installer linked below.)
fyi, i have posted the updated (sexier!) version of t2d.net. look here (on TDN) for instructions and download location.
PS: Give feedback!! People who give constructive feedback to me via email will recieve beta2 (due out when the next T2D version is released) and will also recieve future versions. So let me know what you think, what bugs, etc. please email me (jaytau at taocorp dot com) if you would like to participate in a survey.
Enjoy the benifits of:
- VisualStudio's IDE
- - - Advanced debugging support (Asserts, conditional breakpoints, etc)
- - - VisualStudio 2003 and 2005 support
- Documentation
- - - Full SDK Docs provided in .CHM form (including listing of all Torque functions)
- - - Fully integrated intelisense to increase coding productivity
- Security
- - - Strongly Named Assemblies to prevent tampering
- - - Encrypted resources to prevent theft/reverse-engineering
- Additional Functionality
- - - Fully Object-Orriented SDK
- - - Anti-Hacking countermeasures
- - - Use .NET, C++ and TorqueScript side-by-side (they work great together)
- - - Great Error Handling (troubleshooting issues are easy!)
- And more...
Please check the T2D.NET QuickStart Guide (located in the t2d.net installer linked here) for additional details.
The current version of T2D.NET is: T2D.NET.Beta1.IGC
This is an open beta made available to all T2D owners.
Please read the QuickStart, and agree to the linked EULA (in the installer linked below.)
fyi, i have posted the updated (sexier!) version of t2d.net. look here (on TDN) for instructions and download location.
PS: Give feedback!! People who give constructive feedback to me via email will recieve beta2 (due out when the next T2D version is released) and will also recieve future versions. So let me know what you think, what bugs, etc. please email me (jaytau at taocorp dot com) if you would like to participate in a survey.
About the author
#2
I got to the point of running the demos and that's where I hit the first issue, mostly my fault. I did a release build, the runSimulationExample.CleanDebug.bat assumes it's a debug build named T2D_Debug.exe. All it does is open to the main T2D window with the GG logo. Console error:
--------- Initializing MOD: T2D_DOTNET_SIMULATIONEXAMPLE ---------
SimulationExample/main.cs (65): Unable to find function DotNet_Simulation_EntryPoint
I just copied the shortcut, renamed it runSimulationExample.CleanRelease.bat, and edited it to point to T2D.exe instead of T2D_Debug.exe.
Then I got it started and ran the examples in order. I totally misunderstood the first one. I just saw "Existing TorqueScript Apps can run" and thought it was going to run the current shooter demo to prove it didn't change anything that would break it. I was suprised when it wasn't all there (missing mountains, no powerups, ...). After looking around and reading the description closer I realized it had just been partially re-written in the SimulationExample folder and wasn't all there. I ran the old T2D shooter demo with the new exe and everything ran perfectly. Those features were also missing from the C# and C# OO re-writes.
That's as far as I've been. So far this is very cool. I'm going to look at the sample code next, and maybe even look at the provided docs. :)
Should the password have been posted in the private forums instead of in the resource?
09/28/2005 (3:29 pm)
The install and rebuild went perfectly. I don't have a clean install since I have the telnetdebugger resource, but it doesn't appear to have over-written any of those files.I got to the point of running the demos and that's where I hit the first issue, mostly my fault. I did a release build, the runSimulationExample.CleanDebug.bat assumes it's a debug build named T2D_Debug.exe. All it does is open to the main T2D window with the GG logo. Console error:
--------- Initializing MOD: T2D_DOTNET_SIMULATIONEXAMPLE ---------
SimulationExample/main.cs (65): Unable to find function DotNet_Simulation_EntryPoint
I just copied the shortcut, renamed it runSimulationExample.CleanRelease.bat, and edited it to point to T2D.exe instead of T2D_Debug.exe.
Then I got it started and ran the examples in order. I totally misunderstood the first one. I just saw "Existing TorqueScript Apps can run" and thought it was going to run the current shooter demo to prove it didn't change anything that would break it. I was suprised when it wasn't all there (missing mountains, no powerups, ...). After looking around and reading the description closer I realized it had just been partially re-written in the SimulationExample folder and wasn't all there. I ran the old T2D shooter demo with the new exe and everything ran perfectly. Those features were also missing from the C# and C# OO re-writes.
That's as far as I've been. So far this is very cool. I'm going to look at the sample code next, and maybe even look at the provided docs. :)
Should the password have been posted in the private forums instead of in the resource?
#3
As for TorqueScript - C# interop, in the future I plan on adding some tutorials that show how you can encorporate an existing TorqueScript resource into your Simulation/Game. But for right now, the only hint on how you can/should do this is to step through the "TorqueScript BasicTutorial" option line-by-line. The functionality is there, and the API's are documented, but not much of a tutorial yet. (only samples)
09/28/2005 (3:46 pm)
@Tom: sweet, I'm glad it works for you! It seems like most the install problems you ran into are due to not having a clean install, but yeah, as you figured out, it's not too hard to get this working with a non-clean installAs for TorqueScript - C# interop, in the future I plan on adding some tutorials that show how you can encorporate an existing TorqueScript resource into your Simulation/Game. But for right now, the only hint on how you can/should do this is to step through the "TorqueScript BasicTutorial" option line-by-line. The functionality is there, and the API's are documented, but not much of a tutorial yet. (only samples)
#4
09/28/2005 (3:52 pm)
For your pw question, i guess that Josh made this resource visible to only T2D owners, so no worries about that!
#5
PS - great work Jason, I'll certainly try this out when I buy T2D.
09/29/2005 (11:55 am)
Unfortunately not :) I don't own T2D (yet), and I can see it :) I do own TGE tho, although completely unrelated...PS - great work Jason, I'll certainly try this out when I buy T2D.
#6
09/29/2005 (12:19 pm)
you could post the password in a T2D private forum thread and link to that thread from here...
#7
In fact i think ill use it for the Animation Datablock Editor.
Ive been getting lots of c# practice in at work! Web programming...... ahhhhhh
09/29/2005 (4:58 pm)
Ill test it out this weekend.In fact i think ill use it for the Animation Datablock Editor.
Ive been getting lots of c# practice in at work! Web programming...... ahhhhhh
#8
@Chris: I think that developer utilities are one of the major uses for t2d.net. I think writing complex algorithms are very tough in torquescript. This lets you leverage t2d for the engine, and C# for your algorithms. (you can even use .net forms for your ui if you want)
Of course, I forgot to mention: SUPPORT
I am here to help you with any questions/issues you run into. email me anytime, and i will do my very best to help. (I know people can attest to that fact!)
09/29/2005 (6:10 pm)
@Joshua: good suggestion, i moved the password to a fourm thread.@Chris: I think that developer utilities are one of the major uses for t2d.net. I think writing complex algorithms are very tough in torquescript. This lets you leverage t2d for the engine, and C# for your algorithms. (you can even use .net forms for your ui if you want)
Of course, I forgot to mention: SUPPORT
I am here to help you with any questions/issues you run into. email me anytime, and i will do my very best to help. (I know people can attest to that fact!)
#9
I just found the express versions of .net 2005 online.
Are these express versions going to be the same thing to VS.net 2005 as the Standard versions were to VS.Net 2003 or will there still be the $100 Standard versions and now the $49 express versions?
Damn MS site for not giving out good details.....
09/29/2005 (8:07 pm)
I dont have c#.net 2003 until i snag a copy from work. i have vb.net Standard 2003 and c++.net 2003 Standard.I just found the express versions of .net 2005 online.
Are these express versions going to be the same thing to VS.net 2005 as the Standard versions were to VS.Net 2003 or will there still be the $100 Standard versions and now the $49 express versions?
Damn MS site for not giving out good details.....
#10
I have actually been thinking of free-editor support. I would like to add support for SharpDevelop but I dont have the time right now to do this. (I plan to thoroughly investigate this before t2d.net is complete however) It seems totall doable, which is great. This should be easy to do, if anyone wants to try first
And if you have tracked my forums posts about t2d.net, I was looking into Mono support, but that will probably not happen for the first version, due to how far behind Mono is for supporting advanced .NET features (mixed mode assemblies) It would require a total rewrite of t2d.net (assuming it would work at all)
09/29/2005 (9:05 pm)
@Chris: (or others in your situation) you should be able to 'hack' it to get it working, by compiling using the .NET SDK commandline compilers, though I have never done that and dont plan on adding that support.I have actually been thinking of free-editor support. I would like to add support for SharpDevelop but I dont have the time right now to do this. (I plan to thoroughly investigate this before t2d.net is complete however) It seems totall doable, which is great. This should be easy to do, if anyone wants to try first
And if you have tracked my forums posts about t2d.net, I was looking into Mono support, but that will probably not happen for the first version, due to how far behind Mono is for supporting advanced .NET features (mixed mode assemblies) It would require a total rewrite of t2d.net (assuming it would work at all)
#11
10/04/2005 (2:00 am)
Hmm... non-T2D owners shouldn't be able to see this resource. Thank you for the heads-up Darren!
#12
10/07/2005 (11:24 am)
This sounds pretty neat. Unfortunately none of the links seem to work. Is there a new location?
#13
10/08/2005 (10:33 am)
bah, of course since I'm at IGC, 400 miles from my webserver, my router seems to have shut down. Later today I'll try finding a webhost to store the binaries. Check back in about 4 hours ok? :)
#14
please let me know if you have problems.
10/08/2005 (10:59 am)
I just uploaded the installer to a free file hosting. you can download it from this line: http://savefile.com/files/4357731please let me know if you have problems.
#15
I'm SharpDevelop kind of guy, and use Mono on a frequent basis. Sorry to hear that Mono won't be supported anytime soon. I do own a license to Visual Studio though, so I've just downloaded the installer and am looking forward to trying it out.
Thanks!
Respectfully,
clint
10/13/2005 (3:47 pm)
This looks extremely interesting!I'm SharpDevelop kind of guy, and use Mono on a frequent basis. Sorry to hear that Mono won't be supported anytime soon. I do own a license to Visual Studio though, so I've just downloaded the installer and am looking forward to trying it out.
Thanks!
Respectfully,
clint
#16
So while it's technically possible, it is definatly a considerable amount of re-work and I'm not 100% sure it'll succeed. So yeah, i plan on doing this, but not anytime soon.
10/13/2005 (5:07 pm)
@Brian: To make T2d.net work with Mono, I need to rework t2d to compile as a DLL, then remove all mixed mode code and use function pointers instead. So while it's technically possible, it is definatly a considerable amount of re-work and I'm not 100% sure it'll succeed. So yeah, i plan on doing this, but not anytime soon.
#17
www.remotesoft.com/linker/
I have not personally tried this but a senior dev on my team has used it with great success.
10/14/2005 (3:32 pm)
Those of you that are concerned about the .NET framework deployment issue should take a look at:www.remotesoft.com/linker/
I have not personally tried this but a senior dev on my team has used it with great success.
#18
but it's a great tool, along with obfuscation tools you can purchase (but they are all rather expensive)
10/14/2005 (4:34 pm)
fyi, remotesoft's linker allows you to deploy a .net app on a machine that doesnt have the .net framework installed, but it still has to be a windows machine...but it's a great tool, along with obfuscation tools you can purchase (but they are all rather expensive)
#19
Can you send me a link to the lastest T2D.Net?
Is there a cost for commercial shipment?
Thanks!
10/22/2005 (1:43 pm)
Remotesoft's tool looks a good .Net product.Can you send me a link to the lastest T2D.Net?
Is there a cost for commercial shipment?
Thanks!
#20
10/28/2005 (10:19 pm)
fyi, this version seems to have a problem with the debugger, i will be fixing it this weekend.
Torque Owner Josh Williams
Default Studio Name