{"id":292,"date":"2010-04-02T23:36:05","date_gmt":"2010-04-02T22:36:05","guid":{"rendered":"http:\/\/www.frozax.com\/blog\/?p=292"},"modified":"2010-04-02T23:36:05","modified_gmt":"2010-04-02T22:36:05","slug":"first-run-xbox-360-problems-solutions","status":"publish","type":"post","link":"https:\/\/www.frozax.com\/blog\/2010\/04\/first-run-xbox-360-problems-solutions\/","title":{"rendered":"First Run on Xbox 360 : Problems and Solutions"},"content":{"rendered":"<p>I decided about a month ago to start working on the Xbox 360 version of Spring Up in April. I think it can be interesting to share my experience about that.<\/p>\n<h3>Part 1 : XNA Creator Membership<\/h3>\n<p>Basically, you just need to pay creator membership (99 \u20ac for one year in Europe), launch XNA Game Studio Connect on your console and that&#8217;s it.<\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"text-decoration: underline;\"><strong>Problem 1<\/strong><\/span><\/span> : You have problems to redeem your XNA account to a new X360 profile?<\/p>\n<p><span style=\"color: #339966;\"><span style=\"text-decoration: underline;\"><strong>Solution 1<\/strong><\/span><\/span> : Do not mix up your forum name and GamerTag. Yes, this one was easy but it took me at least 30 minutes to find out what was happening. \ud83d\ude42<\/p>\n<p><span style=\"color: #ff0000;\"><strong><span style=\"text-decoration: underline;\">Problem 2<\/span><\/strong><\/span> : XNA Game Studio Connect does not recognize your account as premium when you launch it even though you paid for membership?<\/p>\n<p><span style=\"color: #339966;\"><strong><span style=\"text-decoration: underline;\">Solution 2<\/span><\/strong><\/span> : You have to wait for some time (a few hours, maybe half a day) and everything will be fine. Quite frustrating, I know.<\/p>\n<h3>Part 2 : Compiling your game for Xbox 360<\/h3>\n<p>Microsoft made something simple : just right click on your project in Visual C# and choose &#8220;Create copy of Project for Xbox 360&#8221;. I took my main project and all the dependencies were converted too.<\/p>\n<p><span style=\"color: #ff0000;\"><strong><span style=\"text-decoration: underline;\">Problem 3<\/span><\/strong><\/span> : You have very strange compiling errors? When converting Box2D.XNA, I had weird errors such as &#8220;Class C does not implement inherited abstract member M&#8221; AND &#8220;no suitable method found to override M&#8221;.<\/p>\n<p><span style=\"color: #339966;\"><span style=\"text-decoration: underline;\"><strong>Solution 3<\/strong><\/span><\/span> : Make sure you use the proper version of assemblies. I don&#8217;t know why but the converter put assemblies of XNA 3.0 instead of 3.1. Using 3.1 assemblies fixed my problem.<\/p>\n<p><span style=\"color: #ff0000;\"><strong><span style=\"text-decoration: underline;\">Problem 4<\/span><\/strong><\/span> : The code does not compile but it works fine on Windows?<\/p>\n<p><span style=\"color: #339966;\"><strong><span style=\"text-decoration: underline;\">Solution 4<\/span><\/strong><\/span> : Make sure you do not use windows specific code. You will be able to see warning icons if you have invalid assemblies in your Xbox 360 projects. If you want to keep windows specific code, just use #if WINDOWS \/ #endif so that it compiles properly on Xbox 360. In my case, my level and dialog box editors are only available on windows because it needs to create XML files.<\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"text-decoration: underline;\"><strong>Problem 5<\/strong><\/span><\/span> : You can&#8217;t build your XNB data from XML using your own classes?<\/p>\n<p><span style=\"color: #339966;\"><strong><span style=\"text-decoration: underline;\">Solution 5<\/span><\/strong><\/span> : Make sure the Content projects still have references to windows builds. Resources are built on the development computer, using the windows assemblies.<\/p>\n<h3>Part 3 : Running the Game on Xbox 360<\/h3>\n<p><span style=\"color: #ff0000;\"><span style=\"text-decoration: underline;\"><strong>Problem 6<\/strong><\/span><\/span> : Code 3 Error?<\/p>\n<p><span style=\"color: #339966;\"><span style=\"text-decoration: underline;\"><strong>Solution 6<\/strong><\/span><\/span> : When you have Code X errors, it is because the console hangs without being able to break or throw an exception to the debugger. To track this problem, I simply traced the code I suspected. As the problem happened on a specific action, I could easily see where was the problem. My problem was just a null pointer access that happens only when there is no savegame. I always have a savegame on PC, so I did not see the problem before. The strange fact is that when I traced the code the second time, I properly had the NullPointerException.<\/p>\n<p><strong><span style=\"text-decoration: underline;\"><span style=\"color: #ff0000;\">Problem 7<\/span><\/span><\/strong> : Your game is slow?<\/p>\n<p><strong><span style=\"text-decoration: underline;\"><span style=\"color: #339966;\">Solution 7<\/span><\/span><\/strong> : I knew Xbox 360&#8217;s are usually slower than PCx with XNA but I was still very surprised my I ran my game for the first time. I immediatly launched a release build to try to reassure myselft but it&#8217;s still quite slow. I am not sure what is the problem for now so I will improve my profiling code to see which GameComponent is the problem.<\/p>\n<h3>Conclusion<\/h3>\n<p>That&#8217;s it for my first run on X360. I hoped this helped some of you!<\/p>\n<p><em> <\/em><\/p>\n<div class=\"addtoany_share_save_container addtoany_content_bottom\"><div class=\"a2a_kit a2a_kit_size_32 addtoany_list a2a_target\" id=\"wpa2a_1\"><a class=\"a2a_button_twitter\" href=\"http:\/\/www.addtoany.com\/add_to\/twitter?linkurl=https%3A%2F%2Fwww.frozax.com%2Fblog%2F2010%2F04%2Ffirst-run-xbox-360-problems-solutions%2F&amp;linkname=First%20Run%20on%20Xbox%20360%20%3A%20Problems%20and%20Solutions\" title=\"Twitter\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_button_facebook\" href=\"http:\/\/www.addtoany.com\/add_to\/facebook?linkurl=https%3A%2F%2Fwww.frozax.com%2Fblog%2F2010%2F04%2Ffirst-run-xbox-360-problems-solutions%2F&amp;linkname=First%20Run%20on%20Xbox%20360%20%3A%20Problems%20and%20Solutions\" title=\"Facebook\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_button_google_plus\" href=\"http:\/\/www.addtoany.com\/add_to\/google_plus?linkurl=https%3A%2F%2Fwww.frozax.com%2Fblog%2F2010%2F04%2Ffirst-run-xbox-360-problems-solutions%2F&amp;linkname=First%20Run%20on%20Xbox%20360%20%3A%20Problems%20and%20Solutions\" title=\"Google+\" rel=\"nofollow\" target=\"_blank\"><\/a><a class=\"a2a_button_reddit\" href=\"http:\/\/www.addtoany.com\/add_to\/reddit?linkurl=https%3A%2F%2Fwww.frozax.com%2Fblog%2F2010%2F04%2Ffirst-run-xbox-360-problems-solutions%2F&amp;linkname=First%20Run%20on%20Xbox%20360%20%3A%20Problems%20and%20Solutions\" title=\"Reddit\" rel=\"nofollow\" target=\"_blank\"><\/a>\n<script type=\"text\/javascript\"><!--\nwpa2a.script_load();\n\/\/--><\/script>\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I decided about a month ago to start working on the Xbox 360 version of Spring Up in April. I think it can be interesting to share my experience about that. Part 1 : XNA Creator Membership Basically, you just need to pay creator membership (99 \u20ac for one year in Europe), launch XNA Game&hellip; <a class=\"more-link\" href=\"https:\/\/www.frozax.com\/blog\/2010\/04\/first-run-xbox-360-problems-solutions\/\">Continue reading <span class=\"screen-reader-text\">First Run on Xbox 360 : Problems and Solutions<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,19,20,21],"tags":[68,104,109,112,140,141,142],"_links":{"self":[{"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/posts\/292"}],"collection":[{"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/comments?post=292"}],"version-history":[{"count":0,"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/posts\/292\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/media?parent=292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/categories?post=292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.frozax.com\/blog\/wp-json\/wp\/v2\/tags?post=292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}