Compiling the TX Pro demo projects for Xbox 360
by Josef Rogovsky · in Torque X 2D · 04/03/2008 (9:00 pm) · 4 replies
Hi Gang,
Richard Bottoms and I spent some time today troubleshooting issues with compiling the TX Pro demo projects for Xbox 360.
We were able to get them working so I thought I'd share the details of our success here:
(note: this only affects the Pro editions of the demo projects)
1) Some of the demo project folders already contain an Xbox 360 project file ("Xbox 360 Copy of [x].csproj"). These project files were likely left in the installer by accident. They are not used by the related Visual Studio Solution files and should not be manually added as they are not up to date. Feel free to ignore or delete them.
2) To create your own Xbox 360 targeted project of any demo project open the relevant Solution file in Visual Studio, right-click the existing Windows Game project in the Solution Explorer and select "Create Copy of Project for Xbox 360". This will create a copy of both the Windows Game project and the Torque Engine Project.
3) Before you can compile your new projects you must verify your Solution configuration settings. From the "Build" menu select "Configuration Manager". Ensure that the "Configuration" setting for the two Torque engine projects is set to "Release". Ensure that the "Platform" setting for the two Windows projects is set to "x86" and that the Platform setting for the two Xbox projects is set to "Xbox 360".
I've also produced a short video to demo this process. You can see it here:
http://www.spritehousegames.com/videos/CompilingDemoProjectsFor360.wmv
That's it!
P.S. Special thanks to John Kanalakis for the tips and moral support. :)
Richard Bottoms and I spent some time today troubleshooting issues with compiling the TX Pro demo projects for Xbox 360.
We were able to get them working so I thought I'd share the details of our success here:
(note: this only affects the Pro editions of the demo projects)
1) Some of the demo project folders already contain an Xbox 360 project file ("Xbox 360 Copy of [x].csproj"). These project files were likely left in the installer by accident. They are not used by the related Visual Studio Solution files and should not be manually added as they are not up to date. Feel free to ignore or delete them.
2) To create your own Xbox 360 targeted project of any demo project open the relevant Solution file in Visual Studio, right-click the existing Windows Game project in the Solution Explorer and select "Create Copy of Project for Xbox 360". This will create a copy of both the Windows Game project and the Torque Engine Project.
3) Before you can compile your new projects you must verify your Solution configuration settings. From the "Build" menu select "Configuration Manager". Ensure that the "Configuration" setting for the two Torque engine projects is set to "Release". Ensure that the "Platform" setting for the two Windows projects is set to "x86" and that the Platform setting for the two Xbox projects is set to "Xbox 360".
I've also produced a short video to demo this process. You can see it here:
http://www.spritehousegames.com/videos/CompilingDemoProjectsFor360.wmv
That's it!
P.S. Special thanks to John Kanalakis for the tips and moral support. :)
About the author
#2
Great detective work! It looks like the problem is a combination of left over build files in the installer package (the old xboxb proj needs to be deleted) and some enforcement or better settings within the build system. I'll check into the MSBUILD docs to see if there's a way to get this fixed behind the scenes. Richard is right - you are da man!
By the way, I LOVE the video!!!
John K.
04/04/2008 (12:28 am)
Josef, Great detective work! It looks like the problem is a combination of left over build files in the installer package (the old xboxb proj needs to be deleted) and some enforcement or better settings within the build system. I'll check into the MSBUILD docs to see if there's a way to get this fixed behind the scenes. Richard is right - you are da man!
By the way, I LOVE the video!!!
John K.
#3
An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
_currentLevel = data\\levles\desertLevel.txscene
Any ideas what might be wrong?
07/14/2008 (10:25 pm)
I followed the directions, and it seems to work but is erroring at runtime. I used the FPS demo as a test, it's failing on loader.Load(_currentLevel);An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
_currentLevel = data\\levles\desertLevel.txscene
Any ideas what might be wrong?
#4
07/25/2008 (5:34 pm)
Thanks I appreciate the video.
Torque Owner Richard Bottoms
r.b.