Hi I'm trying to do an hello word on x360 (.xex) Someone can do a tutorial or give me source code ? Thx :sexy2:
I'm assuming that's because you're looking in the wrong place. The 'Hello World' will be printed to the 'Output/console'. What I'm expecting you're trying to do is output to the framebuffer/Direct3D (as in, either the output window or the Xbox) and as such nothing will happen when you do a printf. Here's a tutorial on DirectX 9 (the DirectX used by the Xbox 360). Good luck. http://www.directxtutorial.com/Tutorial9/tutorials.aspx
No, that tutorial is for all DirectX 9 implementations - be it on Windows or on the 360. In any case, nearly all DirectX commands are forwards compatible, and the original Xbox predominantly ran DirectX 8. Just to confirm, to write for Xbox 360 you'll need: * Visual Studio (the newer the better) * DirectX 9 or 10, and * The XDK addons for Visual Studio If you don't have those, you won't get anywhere with writing directly for the Xbox 360 using the XDK. Also, it's preferable to have the MSDN Library installed, as it's a helpful resource for development. If you haven't got the required tools for XDK development, you could always start off by coding for Windows (as the process is very similar) or switching over to XNA. http://creators.xna.com
printf outputs to the debugger console. If you want to output to the screen, I use "ATG::Console". VOID WriteLine(CHAR * strFormat, ...) { va_list pArgList; va_start( pArgList, strFormat ); CHAR buffer[ 1000 ]; vsprintf( buffer, strFormat, pArgList ); g_console.Format("%s\n", buffer ); }
there is an iPhone app "hello world" over 300 hello worlds in any language ^^ im sorry fall in love with apple :redface:
http://pastebin.com/nXvCXeUS The above code should work under the following circumstances: 1) You have Visual Studio 2005 installed. (Newer isn't better, the SDK will only work with 2005) 2) You have the Xbox 360 SDK installed. (Check a torrent site for this.) 3) You include the ATG project in your solution. I don't have my windows machine with me to test this code but I'm fairly sure it will work. Coding for the 360 can be a very rewarding experience, just keep working at it!
Hi ,i have a newer version of SDK , and i use VISUAL STUDIO 2008. Thx too all for help ! mooseblaster : i have : visual studio 2005,2008,2010 / DirectX11 / New SDK inspuration : thx it works