Game Development Community

Torque OS dependencies?

by Mitovo · in Torque Game Engine · 03/25/2004 (6:15 pm) · 10 replies

Hello...

I'm getting my development environment setup here and would *love* to back it up (to CD) in the event that my system crashes or something else tragic like that.. this way I'll have everything already downloaded and installed...

Would I would love to do in such a situation, would be to simply pop a backup CD in the drive and re-copy my entire dev setup to the hard-drive and have everything work as it does now.

Are there any dependencies set up in Windows during install (registry keys, etc.) that would prevent this from being possible or practical?

Thanks!

Mike

#1
03/25/2004 (6:19 pm)
Nope. In fact there really isn't any "install" of the SDK. Its just a checkout from CVS which does nothing more then download the files and put them on your harddrive.

"Dependancies" will instead be in things like your IDE and other tools. For example, Developer Studio.
#2
03/25/2004 (6:21 pm)
Nope, there are no registry keys that I'm aware of - to run a game, all you gotta have is

/yourGame.exe
/main.cs
/*.dll
/common/*
/yourgame/*

So, really, your fine as far as scripts go. Engine-wise, just back up /torque/engine and you have all the code you've written - if something goes wrong, of course, you could just log into CVS here and redownload torque :)
#3
03/25/2004 (6:41 pm)
If you back up to CD, I think you should zip or tar the whole thing first.

I tryed backing up to CD and discovered that there were some files that were incompatible with the CD file system format (for example having excessively long file names). However, I had no problem zipping the whole thing and saving the zip file to CD.
#4
03/25/2004 (7:00 pm)
*edit: well, I see everyone types more quickly than me :) Ben's idea about zipping first is probably a good idea, too. *

I'm a bit unclear on how you're defining "development environment." If you're just talking about backing up the TGE itself (e.g. all the stuff you download from CVS), along with your custom project stuff... that shouldn't be a problem.

There would be some extremely minor configurations to perform. For example, if you use Windows and Visual C++, you will probably have to configure .cc files with VC++. This is extremely simple, as I'm sure you know. There is a .reg file provided with TGE that will associate .cc with VC++ for you in the registry. Just double-click it, confirm that you want to make the change, and it's done.

If you meant "development environment" in a broader sense than this, it is difficult to say. Depending on what compiler, editor, art tools, and CVS client you use, you may have to re-install and configure those things. But of course none of that would be Torque's fault. :)
#5
03/25/2004 (7:11 pm)
Cool..
Thanks everyone :-)

Basically "development environment" is just me trying to fool you all into not thinking I'm completely new at all this.. ;-p

Seriously.. at this point, it's the Torque CVS installation, the demo itself and/or any tutorials that I've downloaded, etc.. I haven't set up a compiler or development environment yet (Visual C++, etc), so that's not an issue.

I'm just realizing that all the stuff I'm installing, downloading and otherwise modifying, etc. is gonna be a real pain to setup again if/when I have to.. so I'd like to do sort of a "Poor-Man's Norton Ghost" of those folders, so to speak...

In the end, you've all answered my question..

So.. thank you!

Mike
#6
03/25/2004 (8:42 pm)
*pain* groan *frustration* ghost....

There's a bit. But just think, A WHOLE LOT goes into making these things. It's a eye opener for me.
#7
03/26/2004 (4:39 am)
I had the same problem as Ben. My files got corrupted though and made VC6 crash with a memory allecation failure.
#8
03/26/2004 (5:47 pm)
Heheh..

Well.. I'm not going to use Ghost.. I'm just going to grab the folder and burn it to CD... thus the "poor-man's Norton Ghost" comment.. :-)
#9
03/26/2004 (5:53 pm)
I would go crazy without Ghost :)

I "reinstall" windows every month or two and it only takes me about 5 minutes with Ghost :D
#10
03/28/2004 (7:06 pm)
John:

Absolutely.. we use it at work constantly during our testing cycles to test the software on each OS, etc.

I need to get a second HD to use as my ghost drive, but I'd definitely like to do that at home as well.