Game Development Community

How to run your game on another machine?

by Warren Simington · in General Discussion · 11/22/2008 (9:43 am) · 4 replies

Hello,

I'm new to Torque X 2.0 and am going through the tutorials to learn things. I do have one question though - how do deploy a game that you've created to another machine?

I made sure that the .NET 2.0 Framework and XNA 2.0 redistributable are installed on the target machine, but the game crashes on startup when trying to run it. I copied over all the files as they appear in my development directory, but i noticed I'm getting a system.io.filenotfoundexception error when running the exe from a debug and release build of the game.

Anyone know what I might be missing? Or, are there any deployment/install tutorials out there that anyone knows about?

Many thanks!!

Warren

#1
11/22/2008 (1:08 pm)
Does the error not state which file is missing? Is DirectX up-to-date on the 2nd system?
#2
11/22/2008 (1:53 pm)
Hi Brian,

Thanks for the reply. Unfortunately, I just get a dialog saying that the program has encountered a problem and needs to close. When I look at the error detail, it mentions system.io.filenotfoundexception, but doesn't say anything about a particular file that it might be looking for.

After seeing your reply, I did run the DirectX 9.0c redistributable on both an XP and Vista target machines, but I continue to get the same error on both. It appears that I am missing something. Any ideas?

Thanks!

Warren
#3
11/22/2008 (2:24 pm)
Check your console.log file. It's a great tool for debugging.
#4
11/22/2008 (2:57 pm)
Thanks for the help, everyone. I had the wrong DirectX redistributable to begin with. After downloading the latest comprehensive redist from Microsoft, the game was able to run on the XP and Vista machines without issue.

Thanks again!

Warren