Hi! 👋
I’ve always been interested in game development and different game engines. I had been researching different game engines for a long time until I started researching game development for the playstation 1 (psx) platform. I also want to say that I am a fan of retro games and my all time favorite console is the playstation 1.
To my delight, I noticed that the development of psx games is alive and many are still engaged in the development of psx games and are releasing their games on the playstation 1 platform. The PSXDEV forum is still active.
How to make PlayStation 1 (PSX) games
I found this excellent tutorial article from Wituz.com. Thanks for the Wituz! (original author)
Part 1 - Setting up the environment, running a Hello World program
Things you need to download
For the host machine - do this first
- Virtualbox - or other virtualization software e.g. (VMware)
- Windows XP Professional 32-bit SP3 - or a physical CD
For the virtual machine - You need SDK etc..
This tutorial is written to use PSY-Q SDK, but if you want you can also check PSn00bSDK
- PSY-Q SDK - also called the Playstation SDK
- Programmers Notepad - or other software to write some code
- 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
Below video will teach you how to setup a virtual machine
Now you have Windows XP running on your virtual machine and you can start to writing Hellow World program
Part 2 - Writing "Hello World" program from scratch
Things you need 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.
Part 3 - Drawing and Controller Input
Things you need 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.
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
Part 3 tutorial video will teach you how to construct a program that displays a line and a box on the screen. The box is able to move around by the D-Pad of the controller.
Part 4 - Burning and Playing on a PS1 Console
Things you need 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
I will write couple of articles about PSX game development near future. Stay tuned!
Source:
0 Comments