Forum:Compiled XEX files won't work

Hello, I'm now trying to get my own code running on my JTAG'ged Box but it just won't work.

I got VS2005 and the XDK, code compiles properly but instantly crashes the box wenn started. Other Homebrew is working fine.

I also tried the HelloWorld example and even a simple file write but it won't work out. Also tried with Release/Debug buils and with XeDebug to see an error

I hope somebody can help me with this.


 * ) When it's working i'm going to Document here in the Wiki when i'm doing stuff and how i got it all working

91.127.130.203 16:09, June 13, 2010 (UTC) Had the same problem (I'm starting to develop for the x360, too). I guess you are initializing the ATG::Console (e.g. in the HelloWorld sample).

The ATG::Console needs to be initialized with a font and 2 colors:

"ATG::Console.Create(path_to_font, background_color, text_color);"

In the HelloWorld example it is initialized with the font: "game:\Media\Fonts\Arial_12.xpr", so you have to put the font Arial_12.xpr to the right location.

You can get it from the XDK samples or already released homebrew software (eg. "Part2 Fixer").

You can also use other fonts if you can't get this one. Or load it from an other location by rewriting the path. (eg. if you write "game:\Arial_12.xpr", you have to put Arial_12.xpr to the same dir as your compiled xex). As soon as I supplied my apps with fonts they atarted working. I hope this helps.