Game Development Community

Deployed project doesnt seem to work on 360..

by Will O'Reagan · in Torque X 2D · 06/19/2007 (7:56 pm) · 14 replies

I also posted this in the XNA forums, because I'm not really sure where this should be posted. Basically, my games not working even though I'm getting a successful deployment. It works fine on the computer.. Any ideas what could be causing this?

About the author

I have a degree in dramatic art, and literature, from UC Santa Barbara. I've worked for a few studios, also at Animax Ent in 2008, and some smaller studios. Currently studying Computer Science at CSU Channel Islands.


#1
06/20/2007 (2:35 am)
Are you using the XBox Project Generator? What exactly happens when you try to run your game on XBox?
#2
06/20/2007 (5:17 pm)
I'm in the process of debugging, its hard because its about a 45 minute load time so I can only try it once or twice a day. Basically its a blank screen. Yes, I generated the XBox project using the generator. The GSE says I have a sucessful deployment, but then I just get a blank screen. I tried placing breakpoints at game begin run, and the code seemed to be running. I'm trying again today placing more breakpoints after I install the new TX. I'm not even getting a splash screen though, so I thought it was kinda weird. I didnt realize though that I could place breakpoints, so thats my newest agenda for the deployment..
#3
06/20/2007 (6:08 pm)
You might be using an old version of the XNA Launcher on your XBox. Try creating a new project in GSE from one of the Torque X templates and deploy that. Those have all been tested on the XBox. If it works, you know the problem is somewhere in your game. If not, the problem is somewhere in your setup (the XBox or connection settings).
#4
06/20/2007 (10:14 pm)
Edit: Yes, I've ported sucessfully The Platformer, SpaceShooter, and varius forms of startergame in the past few days.

For some reason my xbox is allowing me to debug without having to transfer the image files each time, thank goodness! I was able to debug like 30 times today, And I think i have some ideas on where my errors could possibly be, one of them possibly having to do with the "beginStorageDeviceMethod". The other errors are a mystery, but at least I think I'm on the right track..

Thomas and Adam, thanks for your help

Please let me know if you have any ideas on this!

btw: I read through some of the documentation and messed around with the platformer starter kit a bit, its awesome!
#5
06/22/2007 (12:54 pm)
Will,

I bet its one of your images/materials - are you exceeding the limits of the XBOX?

1280x1280 I think.
#6
06/22/2007 (2:34 pm)
Ok, that'd be alot of my images then. I thought it was 2048 X 2048
#7
06/22/2007 (3:08 pm)
I'm pretty sure maximum texture size on the XBox is at least 4096x4096.
#8
06/22/2007 (3:14 pm)
No, it's not 4096x4096. i tried to load a texture background and it wouldn't work. i had to split it into pieces.

well, actually, i was using a 3600x3600 texture, so, maybe not having it powers of 2 make some difference. i don't know.
#9
06/22/2007 (4:10 pm)
When I figure out what this error is I'll definatly let you guys know, this is rediculous!
#10
06/30/2007 (10:18 am)
Basically, I figured out its very easy to buy a new computer and have it run a game that the 360 can never handle. So I resized all my images, and now my game runs on the 360. Also, I had to alter my code a bit to find a save "device" on the 360 so save game features could work. I wrote up a resource on how to do it if anyones interested. Resource Though I would rate this an an expert level resource.
#11
07/02/2007 (5:05 pm)
Cool, Will. I'm glad to know you're up and running on the 360. ;)
#12
07/08/2007 (4:28 pm)
The max limit on the xbox is 2048x2048...I had the same problem and was pulling my hair out for a while :)
#13
07/11/2007 (8:39 pm)
Hey, guys. According to XNA, the max texture size on the XBox is 8192 (this may not be accurate). Either way, here's a dump of all the device capabilities taken from GSE running on my retail kit:

(EDIT: Max texture dimensions are towards the top of the second post)

Microsoft.Xna.Framework.Graphics.GraphicsDeviceCapabilities

SupportsFullScreenGamma : True
CanCalibrateGamma : False
CanManageResource : False
SupportsDynamicTextures : True
CanAutoGenerateMipMap : False
SupportsAlphaFullScreenFlipOrDiscard : True
SupportsLinearToSrgbPresentation : False
SupportsCopyToVideoMemory : False
SupportsCopyToSystemMemory : True

CursorCapabilities : SupportsColor : False
SupportsLowResolution : False

DeviceCapabilities : SupportsExecuteSystemMemory : False
SupportsExecuteVideoMemory : False
SupportsTransformedVertexSystemMemory : True
SupportsTransformedVertexVideoMemory : True
SupportsTextureSystemMemory : True
SupportsTextureVideoMemory : True
SupportsDrawPrimitivesTransformedVertex : True
CanRenderAfterFlip : True
SupportsTextureNonLocalVideoMemory : True
SupportsDrawPrimitives2 : False
SupportsSeparateTextureMemories : False
SupportsDrawPrimitives2Ex : False
SupportsHardwareTransformAndLight : True
CanDrawSystemToNonLocal : False
SupportsHardwareRasterization : True
IsDirect3D9Driver : True
SupportsStreamOffset : True
VertexElementScanSharesStreamOffset : False

PrimitiveCapabilities : SupportsMaskZ : True
SupportsCullNone : True
SupportsCullClockwiseFace : True
SupportsCullCounterClockwiseFace : True
SupportsColorWrite : True
SupportsClipPlaneScaledPoints : False
SupportsClipTransformedVertices : False
SupportsTextureStageStateArgumentTemp : True
SupportsBlendOperation : True
IsNullReference : False
SupportsIndependentWriteMasks : False
SupportsPerStageConstant : True
SupportsFogAndSpecularAlpha : False
SupportsSeparateAlphaBlend : True
SupportsMultipleRenderTargetsIndependentBitDepths : False
SupportsMultipleRenderTargetsPostPixelShaderBlending : False
HasFogVertexClamped : False

RasterCapabilities : SupportsDepthBufferTest : True
SupportsFogVertex : False
SupportsFogTable : False
SupportsMipMapLevelOfDetailBias : True
SupportsDepthBufferLessHsr : True
SupportsFogRange : False
SupportsAnisotropy : True
SupportsWFog : False
SupportsDepthFog : False
SupportsColorPerspective : True
SupportsScissorTest : True
SupportsSlopeScaleDepthBias : False
SupportsDepthBias : False
SupportsMultisampleToggle : True

DepthBufferCompareCapabilities : SupportsNever : True
SupportsLess : True
SupportsEqual : True
SupportsLessEqual : True
SupportsGreater : True
SupportsNotEqual : True
SupportsGreaterEqual : True
SupportsAlways : True

AlphaCompareCapabilities : SupportsNever : True
SupportsLess : True
SupportsEqual : True
SupportsLessEqual : True
SupportsGreater : True
SupportsNotEqual : True
SupportsGreaterEqual : True
SupportsAlways : True

SourceBlendCapabilities : SupportsZero : True
SupportsOne : True
SupportsSourceColor : True
SupportsInverseSourceColor : True
SupportsSourceAlpha : True
SupportsInverseSourceAlpha : True
SupportsDestinationAlpha : True
SupportsInverseDestinationAlpha : True
SupportsDestinationColor : True
SupportsInverseDestinationColor : True
SupportsSourceAlphaSat : False
SupportsBothSourceAlpha : False
SupportsBothInverseSourceAlpha : False
SupportsBlendFactor : False

DestinationBlendCapabilities : SupportsZero : True
SupportsOne : True
SupportsSourceColor : True
SupportsInverseSourceColor : True
SupportsSourceAlpha : True
SupportsInverseSourceAlpha : True
SupportsDestinationAlpha : True
SupportsInverseDestinationAlpha : True
SupportsDestinationColor : True
SupportsInverseDestinationColor : True
SupportsSourceAlphaSat : False
SupportsBothSourceAlpha : False
SupportsBothInverseSourceAlpha : False
SupportsBlendFactor : False

LineCapabilities : SupportsTextureMapping : True
SupportsDepthBufferTest : True
SupportsBlend : True
SupportsAlphaCompare : True
SupportsFog : False
SupportsAntiAlias : False

ShadingCapabilities : SupportsColorGouraudRgb : True
SupportsSpecularGouraudRgb : True
SupportsAlphaGouraudBlend : True
SupportsFogGouraud : False

TextureCapabilities : SupportsPerspective : True
SupportsAlpha : True
RequiresPower2 : False
RequiresSquareOnly : False
SupportsTextureRepeatNotScaledBySize : True
SupportsNonPower2Conditional : False
SupportsProjected : True
SupportsCubeMap : True
SupportsVolumeMap : True
SupportsMipMap : True
SupportsMipVolumeMap : True
SupportsMipCubeMap : True
RequiresCubeMapPower2 : False
RequiresVolumeMapPower2 : False
SupportsNoProjectedBumpEnvironment : False

VertexTextureFilterCapabilities : SupportsMinifyPoint : True
SupportsMinifyLinear : True
SupportsMinifyAnisotropic : True
SupportsMipMapPoint : True
SupportsMipMapLinear : True
SupportsMagnifyPoint : True
SupportsMagnifyLinear : True
SupportsMagnifyAnisotropic : True
SupportsMagnifyPyramidalQuad : False
SupportsMagnifyGaussianQuad : False
SupportsMinifyPyramidalQuad : False
SupportsMinifyGaussianQuad : False

TextureFilterCapabilities : SupportsMinifyPoint : True
SupportsMinifyLinear : True
SupportsMinifyAnisotropic : True
SupportsMipMapPoint : True
SupportsMipMapLinear : True
SupportsMagnifyPoint : True
SupportsMagnifyLinear : True
SupportsMagnifyAnisotropic : True
SupportsMagnifyPyramidalQuad : False
SupportsMagnifyGaussianQuad : False
SupportsMinifyPyramidalQuad : False
SupportsMinifyGaussianQuad : False

CubeTextureFilterCapabilities : SupportsMinifyPoint : True
SupportsMinifyLinear : True
SupportsMinifyAnisotropic : False
SupportsMipMapPoint : True
SupportsMipMapLinear : True
SupportsMagnifyPoint : True
SupportsMagnifyLinear : True
SupportsMagnifyAnisotropic : False
SupportsMagnifyPyramidalQuad : False
SupportsMagnifyGaussianQuad : False
SupportsMinifyPyramidalQuad : False
SupportsMinifyGaussianQuad : False

VolumeTextureFilterCapabilities : SupportsMinifyPoint : True
SupportsMinifyLinear : True
SupportsMinifyAnisotropic : False
SupportsMipMapPoint : True
SupportsMipMapLinear : True
SupportsMagnifyPoint : True
SupportsMagnifyLinear : True
SupportsMagnifyAnisotropic : False
SupportsMagnifyPyramidalQuad : False
SupportsMagnifyGaussianQuad : False
SupportsMinifyPyramidalQuad : False
SupportsMinifyGaussianQuad : False

TextureAddressCapabilities : SupportsWrap : True
SupportsMirror : True
SupportsClamp : True
SupportsBorder : False
SupportsIndependentUV : True
SupportsMirrorOnce : True

VolumeTextureAddressCapabilities : SupportsWrap : True
SupportsMirror : True
SupportsClamp : True
SupportsBorder : False
SupportsIndependentUV : True
SupportsMirrorOnce : True

StencilCapabilities : SupportsKeep : True
SupportsZero : True
SupportsReplace : True
SupportsIncrementSaturation : True
SupportsDecrementSaturation : True
SupportsInvert : True
SupportsIncrement : True
SupportsDecrement : True
SupportsTwoSided : True

VertexFormatCapabilities : NumberSimultaneousTextureCoordinates : 8
SupportsDoNotStripElements : False
SupportsPointSize : True

VertexProcessingCapabilities : SupportsTextureGeneration : True
SupportsLocalViewer : True
SupportsTextureGenerationSphereMap : True
SupportsNoTextureGenerationNonLocalViewer : False

DeclarationTypeCapabilities : SupportsByte4 : True
SupportsRgba32 : True
SupportsNormalizedShort2 : True
SupportsNormalizedShort4 : True
SupportsRg32 : True
SupportsRgba64 : True
SupportsUInt101010 : True
SupportsNormalized101010 : True
SupportsHalfVector2 : True
SupportsHalfVector4 : True
#14
07/11/2007 (8:40 pm)
(cont.)

DeviceType : Hardware
PresentInterval : -2147483633
MaxTextureWidth : 8192
MaxTextureHeight : 8192
MaxVolumeExtent : 1024
MaxTextureRepeat : 2048
MaxTextureAspectRatio : 8192
MaxAnisotropy : 16
MaxVertexW : 1E+10
GuardBandLeft : 0
GuardBandTop : 0
GuardBandRight : 0
GuardBandBottom : 0
ExtentsAdjust : 0
MaxUserClipPlanes : 6
MaxPointSize : 256
MaxPrimitiveCount : 1048575
MaxVertexIndex : 16777215
MaxStreams : 16
MaxStreamStride : 1024
PixelShader1xMaxValue : 3.402823E+38
MaxSimultaneousTextures : 16
MaxVertexShaderConstants : 256
NumberSimultaneousRenderTargets : 1
MasterAdapterOrdinal : 0
AdapterOrdinalInGroup : 0
NumberOfAdaptersInGroup : 1
MaxVertexShader30InstructionSlots : 4096
MaxPixelShader30InstructionSlots : 4096
VertexShaderVersion : 3.0
PixelShaderVersion : 3.0
VertexShaderCapabilities : SupportsPredication : True
DynamicFlowControlDepth : 4
NumberTemps : 64
StaticFlowControlDepth : 4

PixelShaderCapabilities : SupportsPredication : True
SupportsArbitrarySwizzle : True
SupportsGradientInstructions : True
SupportsNoDependentReadLimit : True
SupportsNoTextureInstructionLimit : True
DynamicFlowControlDepth : 4
NumberTemps : 64
StaticFlowControlDepth : 4
NumberInstructionSlots : 2048

MaxPixelShaderProfile : XPS_3_0
MaxVertexShaderProfile : XVS_3_0