Platformer 3.1 on XBOX
by Game Equals Life · in Torque X 2D · 10/08/2009 (3:18 am) · 7 replies
I am not able to get the platformer starter kit to deploy on my XBOX. I'm following the instruction and its not working. It works fine for PC.
I found the XboxProjectGenerator.exe but when I run it it gives me this error:
"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Cannot read solution file, unknown format version."
If I click continue nothing happens. In the details section it says this:
"
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Exception: Cannot read solution file, unknown format version
at XboxProjectGenerator.Program.GenerateFromSolution(String solution)
at XboxProjectGenerator.Program.RunFromCurrentProjectDir()
at XboxProjectGenerator.Form1.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
XboxProjectGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/GarageGames/Torque%20X%202D%20Pro%203.1/v3.1.0.0/TXB/TXTools/XboxProjectGenerator.exe
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
"
Does anyone have any ideas?
I found the XboxProjectGenerator.exe but when I run it it gives me this error:
"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Cannot read solution file, unknown format version."
If I click continue nothing happens. In the details section it says this:
"
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Exception: Cannot read solution file, unknown format version
at XboxProjectGenerator.Program.GenerateFromSolution(String solution)
at XboxProjectGenerator.Program.RunFromCurrentProjectDir()
at XboxProjectGenerator.Form1.button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
XboxProjectGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/GarageGames/Torque%20X%202D%20Pro%203.1/v3.1.0.0/TXB/TXTools/XboxProjectGenerator.exe
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
"
Does anyone have any ideas?
#2
www.youtube.com/watch?v=GFWCAwy1xaI
Essentially, go to the Solution Explorere, right-click the Windows Game project, and choose "Create copy of project for Xbox 360"
John K.
www.envygames.com
10/08/2009 (1:31 pm)
Henry's right, the XbxProjectGenerator should no longer be used. I'll make sure it's removed from the next release of Torque X. Delete the created Xbox project and try again. Here's a video I uploaded that demonstrates the process. www.youtube.com/watch?v=GFWCAwy1xaI
Essentially, go to the Solution Explorere, right-click the Windows Game project, and choose "Create copy of project for Xbox 360"
John K.
www.envygames.com
#3
The instruction that come with that still say to use the Xbox project generator for some reason.
Has anyone been able to get the Platformer starter kit to work on 360 since the 3.1 upgrade? I haven't found anything on it.
10/08/2009 (3:57 pm)
Thanks but following that video still did not lead to a successful build. It creates a lot of build errors. I'm using the torque x 2d platformer starter kit for version 3.1.The instruction that come with that still say to use the Xbox project generator for some reason.
Has anyone been able to get the Platformer starter kit to work on 360 since the 3.1 upgrade? I haven't found anything on it.
#4
10/08/2009 (4:01 pm)
could it be an issue of assembly references?
#5
Change the references for both the "Xbox 360 Copy of Game" and "Xbox 360 Copy of PlatformerFramework" to the 360 version located here: C:\Program Files\Common Files\GarageGames\Torque X\v3.1.0.0\References\Xbox 360
Then for the "Xbox 360 Copy of Game" I had to add "Xbox 360 Copy of PlatformerFramework" as a reference
after that it built successfully
10/08/2009 (4:46 pm)
Okay I got it, here is what I had to do:Change the references for both the "Xbox 360 Copy of Game" and "Xbox 360 Copy of PlatformerFramework" to the 360 version located here: C:\Program Files\Common Files\GarageGames\Torque X\v3.1.0.0\References\Xbox 360
Then for the "Xbox 360 Copy of Game" I had to add "Xbox 360 Copy of PlatformerFramework" as a reference
after that it built successfully
#6
C:\Program Files\Common Files\GarageGames\Torque X\v3.1.0.0\References\Xbox 360
10/08/2009 (4:53 pm)
sorry, that link was wrong...I found the references here:C:\Program Files\Common Files\GarageGames\Torque X\v3.1.0.0\References\Xbox 360
#7
10/10/2009 (12:59 am)
@John - Thanks for the Video. That is exactly what I was looking for to work with my Xbox 360.
Torque 3D Owner Henry Shilling
Smokin Skull
Have you ever ran anything on the xbox yet?