Sign in to follow this  

Compiling

This topic is 4202 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
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
Thanks for the feedback guys, I actually meant playing on a console and I know there are PC controllers and stuff like that. I actually have a Keyboard PS2 controller that has a usb plug. I'll use that, just got to find out how.

Share this post


Link to post
Share on other sites

This topic is 4202 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this