HQ NETWORK:   XBOX ONE |  XBOX 360 |  AIDELUXE HQ Network: 2,117 | Guests: 894 | Members: 8 


   Current Location: Forums Best place for XBox ROMS?   |   XBOXONE-HQ.COM just hit 25K on Twitter!   |   PS2 games that aren't on xbox?   |   Unable to run Slayers/install evox   |   Free Game Engine to develop games for XBOX360   |   XBOX-HQ T-Shirts, Hoodies, Mugs & More (Available Now)   |   The best new free XBOX ONE and XBOX ONE X games of 2019   |   Homebrew Xenium Modchip   |   Xbox 360-hq youtube channel now posting daily   |   List of Xbox One X Enhanced Games   |   
  Home | Active Topics | CD/DVD Media | Downloads | Forums | Feedback | Games | HardDrives | Homebrew | My Profile | ModChips | Reviews | Search | SoftMods | Tutorials

Xbox Forums

Discuss all aspects of the original Xbox Console in our Interactive Xbox Forums..

Xbox-Hq.Com :: View topic - Prt1 - "Empty Code"
Xbox-Hq.Com Forum Index -> Xbox Programming
Post new topic Reply to topic    
 Prt1 - "Empty Code" View previous topic :: View next topic  
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Sat Nov 13, 2004 2:18 pm   
Post subject: Prt1 - "Empty Code"
Reply with quote
 
So you've got the XDK, and you want a little tasty of how it works, how to get your little fingers in there.

Well remember once you've installed the XDK, you start up visual C++, and you want to know where to start...this takes us the the entry point...the place where it all begins.

Code:
//Main header file for the XDK
#include <xtl.h>

//Application entry point
void __cdecl main()
{
      StartGame();
}

What did you say? .."My god what is that!", well this is the entry point for all our programs, I've put a function called StartGame() in the body of the main loop which will call our code to start the game loop.

You could take the function call out "StartGame()" and press compile and it could compile and generate a .xbe for you which would work on the xbox.

Note: If you are using a mod-chip, and evo-x and you wish to run your .xbe on the xbox you must first patch it, copy it across using an ftp package such as FlashFXP then using FlashFXP send the execute binary command and away it goes.

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
 
 
 
LegendaryFire
Moderator
Moderator


Joined: Jul 20, 2009
Posts: 840
Location: Canada

Post Posted: Sun May 23, 2010 9:12 pm   
Post subject: Re: Prt1 - "Empty Code"
Reply with quote
 
forahobby wrote:
So you've got the XDK, and you want a little tasty of how it works, how to get your little fingers in there.

Well remember once you've installed the XDK, you start up visual C++, and you want to know where to start...this takes us the the entry point...the place where it all begins.

Code:
//Main header file for the XDK
#include <xtl.h>

//Application entry point
void __cdecl main()
{
      StartGame();
}

What did you say? .."My god what is that!", well this is the entry point for all our programs, I've put a function called StartGame() in the body of the main loop which will call our code to start the game loop.

You could take the function call out "StartGame()" and press compile and it could compile and generate a .xbe for you which would work on the xbox.

Note: If you are using a mod-chip, and evo-x and you wish to run your .xbe on the xbox you must first patch it, copy it across using an ftp package such as FlashFXP then using FlashFXP send the execute binary command and away it goes.


Thanks a ton man, but im getting a little warning message that disables Debugging and Building. The warning message is "This project does not contain any configurations whose platforms are suppoted by this installation of Developer Studio.".

_________________


You can contact me at: LegendaryFire -at- 360-HQ.com


View user's profile Send private message Visit poster's website
 
 
 
 
forahobby
Administrator
Administrator


Joined: May 22, 2003
Posts: 23515
Location: NSW, Australia

Post Posted: Tue May 25, 2010 5:21 pm   
Post subject: Re: Prt1 - "Empty Code"
Reply with quote
 
LegendaryFire wrote:
Thanks a ton man, but im getting a little warning message that disables Debugging and Building. The warning message is "This project does not contain any configurations whose platforms are suppoted by this installation of Developer Studio.".


Did you end up getting it sorted.. If not i can go through my development library here and tell you what i used.. Im sure i still have my old Visual Studio originals here somewhere..

You will need M$ XDK (which in on VIP SERVERS on HQ) and VS6 minimum.
Im not even sure what version of VS supports the old XDK.. Probably none, but there is also a open XDK... I never got into this due to the lack of documentation at the time.

anyway, let us know how you go..

_________________
HQ Network:
www.xbox-hq.com | www.xboxone-hq.com | www.360-hq.com


View user's profile Send private message Send e-mail Visit poster's website
 
Display posts from previous:   
  Post new topic  
 
  Reply to topic  
|
 All times are GMT | Page 1 of 1
Jump to:  
 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
 

 Members Online (8) / Guests Online (894)
Members Browsing
light790, yourspace, MBry0, BrooksHodg, WeleSlinarore, RudolfChar, DominickIb, SS_Dave,

Legend
Administrator  Moderator  VIP Member  Registered User  Banned Users