How to make PlayStation 1 games
Part 1 - Setting up the environment, running a Hello World program
Things to download
For the host machine - do this first
For the host machine - do this first
- Virtualbox - or other virtualization software
- Windows XP Professional 32-bit SP3 - or a physical CD, if you are lucky to have one
- PSY-Q SDK - also called the Playstation SDK
- Programmers Notepad - or other software, that you like to program C in
- ePSXe v2.0.2-1 - This is the latest version that works with Windows XP
- Playstation BIOS - To use with ePSXe. Select your preferred region.
- Registry file to set up environment variables for the PSY-Q SDK
- MAIN.c and MAKEFILE.mak
If you do not know how to set up a virtual machine, watch this video first
You are now ready to move on to the 'Hello World' program.
Part 2 - Writing "Hello World" from scratch
Things to download
LIBOVR46.PDF - PSY-Q SDK documentation. Use this as reference.
constants.h - The simplified PlayStation library. This file will change for every tutorial, and by the end we will have a fully working PSX development library.
psx-tutorial-2.zip - If you get stuck or just want to see the sample code, here is the entire project.
Use the makefile from part 1.
LIBOVR46.PDF - PSY-Q SDK documentation. Use this as reference.
constants.h - The simplified PlayStation library. This file will change for every tutorial, and by the end we will have a fully working PSX development library.
psx-tutorial-2.zip - If you get stuck or just want to see the sample code, here is the entire project.
Use the makefile from part 1.
Part 3 - Drawing and Controller Input
Things to download
controller.h - Handles controller input from both ports.
constants.h - The simplified PlayStation library. This file will change for every tutorial, and by the end we will have a fully working PSX development library.
psx-tutorial-3.zip - If you get stuck or just want to see the sample code, here is the entire project.
controller.h - Handles controller input from both ports.
constants.h - The simplified PlayStation library. This file will change for every tutorial, and by the end we will have a fully working PSX development library.
psx-tutorial-3.zip - If you get stuck or just want to see the sample code, here is the entire project.
Here is a list of all the inputs you can check with padCheck(input):
- Pad1Up
- Pad1Down
- Pad1Left
- Pad1Right
- Pad1Triangle
- Pad1Cross
- Pad1Square
- Pad1Circle
- Pad1L1
- Pad1L2
- Pad1R1
- Pad1R2
- Pad1Start
- Pad1Select
- Pad2Up
- Pad2Down
- Pad2Left
- Pad2Right
- Pad2Triangle
- Pad2Cross
- Pad2Square
- Pad2Circle
- Pad2L1
- Pad2L2
- Pad2R1
- Pad2R2
- Pad2Start
- Pad2Select
Optional challenge: Make Pong for PS1.
Part 4 - Burning and Playing on a PS1 Console
Things to download
cdrom.zip - The toolset used to create PS1 .ISOs from a PSY-Q project folder.
ImgBurn - Used to burn ISO's to CD-Rs
cdrom.zip - The toolset used to create PS1 .ISOs from a PSY-Q project folder.
ImgBurn - Used to burn ISO's to CD-Rs