AREA forums upgrade
Read more about the planned upgrade of our forums
  • 1/3
You are here: Forum Home / Autodesk® Softimage® Modtools / Microsoft XNA / compiling the plugin for xbox
IMPORTANT ANNOUNCEMENT ABOUT AREA FORUMS
  RSS 2.0 ATOM  

compiling the plugin for xbox
Rate this thread
 
34349
 
Permlink of this thread  
avatar
  • Sephnroth
  • Posted: 12 September 2009 03:26 AM
  • Total Posts: 3
  • Joined: 12 September 2009 10:15 AM

Hi Guys,

i’ve hit a massive stumbling block in my project.  I recently converted to XSI mod tool pro, upgrading my xna membership specifically so I could get it.  I really love working with it!  Anyway, I intergrated it with my xna project as per the documentation, adding the included refrences etc, and it was all great.

i’ve been testing on the pc for a while as I only do xbox builds periodically as pc start up is obviously alot faster.  however this IS an xbox game im making so I decided to see how my new xsi models and effects looked on the xbox.  Now I havnt finished converting all my media to xsi yet so I had to go through a few screens in my game until I got to a screen that used an xsi model - as soon as I got to that screen the game crashed.

An unhandled exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' occurred in Microsoft.Xna.Framework.dll

Additional information
Error loading "DATA_3D\CardRuby"Cannot find ContentTypeReader XSIXNARuntime.XSIAnimationDataReaderXSIXNARuntimeVersion=2.0.0.0Culture=neutralPublicKeyToken=null.

after some digging around it seemed what I needed to do was open the included source code for the plugins and compile myself an XSIruntime.dll for the xbox specifically - makes sense.  So I did that.  However when I add my own compiled dll to my 360 game project my project refuses to build completely - it just throws this error:

Error 1 The "BuildContent" task failed unexpectedly.
System.Reflection.ReflectionTypeLoadExceptionUnable to load one or more of the requested typesRetrieve the LoaderExceptions property for more information.
   
at System.Reflection.Module._GetTypesInternal(StackCrawlMarkstackMark)
   at System
.Reflection.Assembly.GetTypes()
   at Microsoft
.Xna.Framework.Content.Pipeline.AssemblyScanner.GetSearchAssemblyTypes()
   at Microsoft
.Xna.Framework.Content.Pipeline.WorkerAppDomain.RemoteProxy.LoadAssemblies(String[] searchAssembliesString[] dependencies)
   at Microsoft
.Xna.Framework.Content.Pipeline.WorkerAppDomain.RemoteProxy.LoadAssemblies(String[] searchAssembliesString[] dependencies)
   at Microsoft
.Xna.Framework.Content.Pipeline.Tasks.BuildContent.Execute()
   at Microsoft
.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxyItemBucket bucketTaskExecutionMode howToExecuteTaskITask taskBooleantaskResult) Xbox 360 Copy (3) of MYGame

For 3 days now i’ve tried uselessly to fix this.  I can compile the x86 version of the dll for windows and add it to my project no problem.  But then I get the original crash at runtime when i run the project on the 360.  The 360 dll just breaks my game project.  Tried various versions of xna (3.0 and 3.1) etc and just nothing I can do works.

Where am I going wrong?  If I cant make these models work on the 360 then this is all a waste of time :(

Thanks for your time and any help :)



Replies: 0