DavidBeoulve
GP2X by EvilDragon OC's to 280-300MHz
The Premise:
All that is needed for the most rudimentary of games is to get joystick input, write graphics to the display, and play sound. Of course, using that other ARM chip is good too
I'm putting together these resources to get folks where they can start something basic (myself included) as much of the information seems to be laid out in a developer mindset - that is to say, if you are one, you know where the goods are, if you aren't, you don't. That's just because the GP2X hasn't been out long.
Developer Links:
GP2X User Guide Version 2.0.0b page 41, Authored by: Guyfawkes
www.emuholic.com - Latest version available here.
"Note: I will rewrite this section shortly to use Hardware Accelerated SDL.
First download DevkitGP2X from http://archive.gp2x.de/ in the Development Utilities section. Run the file that was downloaded and install it to c:\devkitgp2x\. You will also need MinSys installed which you can download from http://www.devkitpro.org/. Don’t forget to include a PATH to the MinSys folder, more information can be found at
http://www.devkitpro.org/setup.shtml
Next download Theoddbot’s GP2X SDL libraries at http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,19,1207
. Extract this file to a temporary location on your PC. Now locate the extracted folder and select and copy all the folders as follows:
Please refer to the GP2X Wiki for more information on how to set up your development environment for various compilers and IDEs.
I have provided a SDL Test Program project for you to test your development setup; you can download it here. Extract this file to a folder on your PC and from the command prompt type ‘make’ and press return.
The demo project should now start to compile and after a few seconds will finish. You should now have a new file named sdltest.gpe, copy this file and the /sdltest/ folder to the
root folder of your GP2X and from the Game menu select sdltest. After a few seconds while the program is loading, a menu containing the tests should appear. Use the joystick to navigate the options and press the [X] button to select."
To Do:
I will be adding things as I go and learn...
All that is needed for the most rudimentary of games is to get joystick input, write graphics to the display, and play sound. Of course, using that other ARM chip is good too
I'm putting together these resources to get folks where they can start something basic (myself included) as much of the information seems to be laid out in a developer mindset - that is to say, if you are one, you know where the goods are, if you aren't, you don't. That's just because the GP2X hasn't been out long.
Developer Links:
- GP2X User Guide - See page 41 "Developing for the GP2X Introduction" or scroll down on this post...
- GP2X Development Wiki - Getting started with GP2X development
- EDIT:Lazy Foo Productions Tutorials guide you step-by-step to setting up SDL in your given OS and your given development suite (be it Visual Studio .NET or others) and has a detailed set of SDL game programming tutorials that show you how to load graphics, get things moving, detect collisions, calculate timing & framerate, even multithreading at the end! A great find.
- Setting up a development environment (Windows) - GP2X Wiki
- Using Windows .NET Visual C++ 2005 Express Edition as a development environment
- Development Downloads - Documentation, Libraries, Source codes, Utilities
- Threads on Programming the GP2X:
- Would like to learn to develop..., Where do I start?
- Hw Accelerated SDL SDL with HW acceleration! {Open2x Project on Sourceforge.net}
- SDL Package Feedback
- Arm Assembly Programming, a website with a downloadable tutorial on arm programming
- General Links
- Simple DirectMedia Layer (SDL) website
GP2X User Guide Version 2.0.0b page 41, Authored by: Guyfawkes
www.emuholic.com - Latest version available here.
"Note: I will rewrite this section shortly to use Hardware Accelerated SDL.
First download DevkitGP2X from http://archive.gp2x.de/ in the Development Utilities section. Run the file that was downloaded and install it to c:\devkitgp2x\. You will also need MinSys installed which you can download from http://www.devkitpro.org/. Don’t forget to include a PATH to the MinSys folder, more information can be found at
http://www.devkitpro.org/setup.shtml
Next download Theoddbot’s GP2X SDL libraries at http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,19,1207
. Extract this file to a temporary location on your PC. Now locate the extracted folder and select and copy all the folders as follows:
- bin
- etc
- include
- info
- lib
- main
- share
Please refer to the GP2X Wiki for more information on how to set up your development environment for various compilers and IDEs.
I have provided a SDL Test Program project for you to test your development setup; you can download it here. Extract this file to a folder on your PC and from the command prompt type ‘make’ and press return.
The demo project should now start to compile and after a few seconds will finish. You should now have a new file named sdltest.gpe, copy this file and the /sdltest/ folder to the
root folder of your GP2X and from the Game menu select sdltest. After a few seconds while the program is loading, a menu containing the tests should appear. Use the joystick to navigate the options and press the [X] button to select."
To Do:
I will be adding things as I go and learn...
Last edited by a moderator: