Page 1 of 1
Simple Psy-Q MAKEFILE.MAK Example
Posted: July 3rd, 2013, 3:26 am
by t0rxe
Code: Select all
#==========================================
# PlayStation 1 Psy-Q Makefile
# Sony Computer Entertainment Europe (SCEE)
#------------------------------------------
# My Project Version 1.0 - Copyright 2013
#==========================================
all:
del mem.map
del main.sym
del main.exe
del main.cpe
cls
ccpsx -O3 -Xo$80010000 main.c -omain.cpe,main.sym,mem.map
cpe2x /CE main.cpe
Save all the text above as 'MAKEFILE.MAK' and use 'psymake' to compile once you have your environment variables setup.
If you want to know what 'O3' does and '-Xo' for CCPSX, read the documents from the Psy-Q TECHREF CD-ROM regarding the compiler and linker. In particular, (TECHREF\PROGCD\GNU) a file called 'CCPSX.PDF'.
Re: Simple Psy-Q MAKEFILE.MAK Example
Posted: July 3rd, 2013, 10:29 pm
by bizarro2011
it is more important than it seems, helps you not to look for errors that do not exist.
Re: Simple Psy-Q MAKEFILE.MAK Example
Posted: April 4th, 2018, 4:05 am
by MrQuetch
Hi there, t0rxe. I know this is six years late, but I have a question regarding the Makefiles.
I've only come across examples that are either built for Japan or Europe, and I'm in America. How can I "make" the game for America instead of those other two regions? I will also refer to the locations that you pointed out and see if I can resolve the problem on my own.
Thanks.
Re: Simple Psy-Q MAKEFILE.MAK Example
Posted: April 4th, 2018, 4:29 am
by NITROYUASH
Code: Select all
cpe2x main.cpe - NTSC/J [JP]
cpe2x /cj main.cpe - NTSC/J [JP]
cpe2x /ca main.cpe - NTSC [NA]
cpe2x /ce main.cpe - PAL [EU]
Re: Simple Psy-Q MAKEFILE.MAK Example
Posted: April 4th, 2018, 4:47 am
by MrQuetch
NITROYUASH wrote: ↑April 4th, 2018, 4:29 am
Code: Select all
cpe2x main.cpe - NTSC/J [JP]
cpe2x /cj main.cpe - NTSC/J [JP]
cpe2x /ca main.cpe - NTSC [NA]
cpe2x /ce main.cpe - PAL [EU]
Thanks, NITROYUASH.
That was a quick reply. Now, I'm going to figure out how to implement this.
Edit: Ok, it's working now - the command prompt says it's building for the regions I specify.