Jump to content
  • Advertisement
Sign in to follow this  
Cyncro

Compiling

This topic is 4511 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I have a question, I learned some stuff about C++ and can't wait to start learning when my book comes in that I ordered but I've been wondering, when compiling your code, is their a certain way to compile it to a cd to play on let's say a PS2? If so please tell me. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
if your talking about playing a game you made on a PS2....lol not going to happen. Unless you have the PS2 dev kits.. If you are a beginner...just stick with making PC games for now :)

Share this post


Link to post
Share on other sites
I'm not even fully informed on this..but I'll tell you as much as I can. When game developers make games for consoles, they have to buy dev kits from the console maker...like if you want to make a game for xbox, you buy a dev kit from Microsoft... I don't know about prices with PS2...but I do know that an xbox360 dev kit costs around $10,000.

So like I said..don't worry about that....stick to PC games for now :)

Share this post


Link to post
Share on other sites
Basically a dev kit contains a custom compiler that will take your standard code and make it work on the console's Operating System. It also contains optimizations such as different compile options that will allow your app to run better on the target hardware. There also tools that allow you to emulate different features of the console on the PC to help your code run faster and more efficient.

Share this post


Link to post
Share on other sites
The dev kits allows you to debug your games and to run unsigned applications. To run games on the PS2 (or other consoles) the cds usually need to be signed.

To compile for PS2 you will need a special compiler (probably given to you with the dev kits) and the code will need some modifications to manage the PS2 resources. But the code remains with the same synthax you are just using platform specific libraries (like win32 is for windows API).

From what I know.... to buy the dev kits you need to be a registered developper and you will probably need also a publisher or some games to show to them so they recognize you as a third party developper and allow you to get a dev kit. They usually only allow those who have real chances (according to them) to finish a commercial quality game.

JFF

Share this post


Link to post
Share on other sites
Oh alright. I was just wondering because in my opinion it would have felt like I accomplished more If I was playing with a controller lol.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by Cyncro
Oh alright. I was just wondering because in my opinion it would have felt like I accomplished more If I was playing with a controller lol.


you know that you can use controllers (gamepads) with a PC aswell right ?

Share this post


Link to post
Share on other sites
If you want to have a controller then why don't you get a controller for the PC ? :)... Or I think that Xbox360 can be connected on the PC (I'm not 100% on this one). There are also USB adapters for PS2 controllers. To program the controller use DirectInput or any other similar library.

You might want to check for PS2 homebrew development... or buy the Linux Dev Kit for PS2 (only you and owners of that kit will be able to run your games).

If you're not experienced with programming I would stick with the PC for now, it's easier to learn since you can get more feedback from others when things go bad and you'll get a lot of tutorials everywhere.

JFF

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!