HQ NETWORK:   Xbox One |  Xbox 360 |  Auto Installer Deluxe |  Web Games Arcade HQ Network: 1,600 | Guests: 639 | Members: 3 


   Current Location: Forums Custom Video Game Consoles (professionally airbrushed)   |   Xbox Collections Show Off your Xbox's   |   If you ever wished you bought a BitCoin read this!   |   Xbox Case Mods - Custom video game systems   |   Hex Editing & Checksum question   |   Lost 1TB HDD   |   ZSNEX 240P Build (Yup 240P) HQ Exclusive   |   STAR WARS "Han Solo" XBOX   |   Ultra Rare Xbox Products that you could own   |   Whispered Mod   |   
  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: 22968
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 - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
 
 
 
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: 22968
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 - Xbox - Xbox 360 - Xbox One
Registered HQ Network users can access all of our websites using the one username and password.


View user's profile Send private message Send e-mail
 
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 (3) / Guests Online (639)
Members Browsing
AdmiralShlong, kiddnewg, ediz5,

Legend
Administrator  Moderator  VIP Member  Registered User  Banned Users