Cpe2x for Win7
-
Verified
- Legendary Programmer
- Posts: 241
- Joined: Aug 13, 2012
- I am a: Programmer
- PlayStation Model: Net Yaroze
- Location: France
- Contact:
Cpe2x for Win7
Using the old PSY-Q SDK on modern OS like Windows 7 64bits is possible !
The toolchain still works, except the cpe2x program (that convert the cpe file of psy-q to a psx exe file)
So I recompiled it for modern os and you can get it here:
http://onorisoft.free.fr/psx/cpe2x.zip
or visit my Playstation Page if you are interested by other tools.
http://onorisoft.free.fr/
The toolchain still works, except the cpe2x program (that convert the cpe file of psy-q to a psx exe file)
So I recompiled it for modern os and you can get it here:
http://onorisoft.free.fr/psx/cpe2x.zip
or visit my Playstation Page if you are interested by other tools.
http://onorisoft.free.fr/
Retro game development on Playstation and other consoles http://orionsoft.free.fr/
- t0rxe
- C Programming Expert
- Posts: 139
- Joined: Dec 19, 2012
- Motto: /\OX[]
- PlayStation Model: SCPH-5502
- Location: Australia
I could not get the Psy-Q SDK to work in Windows 7 64-bit.
PSYMAKE.COM refused to work.
CPE2X works for me under Windows 7 32-bit, and Windows XP for that matter.
Don't know why people say it does not work...
PSYMAKE.COM refused to work.
CPE2X works for me under Windows 7 32-bit, and Windows XP for that matter.
Don't know why people say it does not work...
"Nostalgia isn't a big enough word to describe the PlayStation from my eyes"
-
Verified
- Legendary Programmer
- Posts: 241
- Joined: Aug 13, 2012
- I am a: Programmer
- PlayStation Model: Net Yaroze
- Location: France
- Contact:
I don't use make file, I use ccpsx directly:
My compil.bat file
set prog=test
set address=$80100000
ccpsx -O2 -Xo%address% %prog%.c -o%prog%.cpe,,%prog%.map
cpe2x %prog%.cpe
maybe I had an old cpe2x version (it was an old .com program, and win7 is not dos friendly)
My compil.bat file
set prog=test
set address=$80100000
ccpsx -O2 -Xo%address% %prog%.c -o%prog%.cpe,,%prog%.map
cpe2x %prog%.cpe
maybe I had an old cpe2x version (it was an old .com program, and win7 is not dos friendly)
Retro game development on Playstation and other consoles http://orionsoft.free.fr/
Hi everyone !
I have Window 7 32-bits and when I type PSYMAKE, DOS tell me: " Fatal Error: could not open make file 'makefile.mak' "
I realy want to see that Hello world on my emulator, and then do more stuff.
Does anyone know about that problem?
PS: I don't speek english, sorry
I have Window 7 32-bits and when I type PSYMAKE, DOS tell me: " Fatal Error: could not open make file 'makefile.mak' "
I realy want to see that Hello world on my emulator, and then do more stuff.
Does anyone know about that problem?
PS: I don't speek english, sorry
Ok, I have solved my problem.
-
inc^lightforce Verified
- Psy-Q Enthusiast
- Posts: 248
- Joined: Mar 07, 2013
- I am a: Programmer Windows+PS1, GFX Artist
- PlayStation Model: Black
- Location: Germany
so feel free to start here:
WORKSHOP PS1 CODING
i have no idea why ppl are using PSYMAKE and MAKEFILE ???
it is useless and time-robbing .
looking forward
PS:
where are you come from? your English is good enough
__________________
german & english support
WORKSHOP PS1 CODING
i have no idea why ppl are using PSYMAKE and MAKEFILE ???
it is useless and time-robbing .
looking forward
PS:
where are you come from? your English is good enough
__________________
german & english support
Thank's for the tip, I am no longer on PSY-Q, I use Blade's lib now.
By the way, I am from Belgium.
By the way, I am from Belgium.
Hi there,
You can use Bladelib but it has it's limitations. Two that I've had to work around were...sofzilog wrote:Thank's for the tip, I am no longer on PSY-Q, I use Blade's lib now.
- There are no interrupts [list]You can do simple projects without a vertical blank interrupt but I think as you start to do more; the vertical blank interrupt will be needed.
- Not that big of a deal but you will need to use PSY-Q to create one. I created one a couple of years ago to get around this. You can get a launcher from Candus Console Dev site. This works however it is a hack and will need you to name your project PSX.EXE and press X to load the program
-
Shendo Verified
- C Programming Expert
- Posts: 250
- Joined: Mar 21, 2012
- I am a: Programmer
- Motto: Never settle
- PlayStation Model: SCPH-7502
- Discord: ShendoXT
- Location: Croatia, EU
Don't use Blade's libs. As DEBRO mentioned it has it's limitations and even if you have a chipped PSX you still need
to use launcher to set everything up properly (otherwise you will find out that your controllers don't respond).
There is a newer, better and open source alternative called PSXSDK made by Tails92.
It's miles ahead of Blade's libs and when you compile your code it even gives you a cue/bin image so you can test it right away on emulator or the real thing. No 3rd party launchers needed too.
It has a Windows installer so you don't even need to install Cygwin and compile it yourself.
Just run the installer and you have everything set up. Go to samples directory, choose a sample and type make.
If you want to stay on the legal side (no PsyQ) it's the SDK to use.
to use launcher to set everything up properly (otherwise you will find out that your controllers don't respond).
There is a newer, better and open source alternative called PSXSDK made by Tails92.
It's miles ahead of Blade's libs and when you compile your code it even gives you a cue/bin image so you can test it right away on emulator or the real thing. No 3rd party launchers needed too.
It has a Windows installer so you don't even need to install Cygwin and compile it yourself.
Just run the installer and you have everything set up. Go to samples directory, choose a sample and type make.
If you want to stay on the legal side (no PsyQ) it's the SDK to use.
Dev console: SCPH-7502, FreePSXBoot, CH340 serial cable.
- Rubiyooo
- Interested PSXDEV User
- Posts: 8
- Joined: Apr 01, 2016
- I am a: 3d Modeler, Artist
- Location: Spain
Hi Then is possible to compile with cpe2x without psymake command?
I´m using DOS-BOX in Windows 7 64 bits and i can use ccpsx and cpe2x but when i use "psymake" with makefile.mak
forever i see an error similar as my friend @sofzilog " Fatal Error: could not open make file 'makefile.mak' "
I would like to know how do you use ccpsx to compile the makefile as say @Orion!!
Regards!!
I´m using DOS-BOX in Windows 7 64 bits and i can use ccpsx and cpe2x but when i use "psymake" with makefile.mak
forever i see an error similar as my friend @sofzilog " Fatal Error: could not open make file 'makefile.mak' "
I would like to know how do you use ccpsx to compile the makefile as say @Orion!!
Regards!!
-
Shadow Verified
- Admin / PSXDEV
- Posts: 2670
- Joined: Dec 31, 2012
- PlayStation Model: H2000/5502
- Discord: Shadow^PSXDEV
What does your MAKEFILE contain?
Also, can you do a tree listing of your directory and put the contents of the file 'tree.txt' here?
Also, can you do a tree listing of your directory and put the contents of the file 'tree.txt' here?
Code: Select all
tree /f /a > text.txt
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- Rubiyooo
- Interested PSXDEV User
- Posts: 8
- Joined: Apr 01, 2016
- I am a: 3d Modeler, Artist
- Location: Spain
Shadow is only the first "hello world" that i want to compile without makefile commandShadow wrote:What does your MAKEFILE contain?
Also, can you do a tree listing of your directory and put the contents of the file 'tree.txt' here?Code: Select all
tree /f /a > text.txt
You do not have the required permissions to view the files attached to this post.
-
Shadow Verified
- Admin / PSXDEV
- Posts: 2670
- Joined: Dec 31, 2012
- PlayStation Model: H2000/5502
- Discord: Shadow^PSXDEV
Okay, assuming that your directory listing only contains those files, it's probably that you have not updated your environment variables so it's using another compiler (SDK) which may be installed on your computer.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- Rubiyooo
- Interested PSXDEV User
- Posts: 8
- Joined: Apr 01, 2016
- I am a: 3d Modeler, Artist
- Location: Spain
Thanks by your fast replyShadow wrote:Okay, assuming that your directory listing only contains those files, it's probably that you have not updated your environment variables so it's using another compiler (SDK) which may be installed on your computer.
I used the PSPATHS.bat that include PSYQ
REM ================= PSX DEVELOPMENT ENVIRONMENT VARIABLES =============
REM RELEASE 1.8 LIBRARY 3.6.1 Date: 1-31-1998 Time: 21:38:44
set PATH=C:\Psyq\bin;
set PSX_PATH=C:\Psyq\bin
set LIBRARY_PATH=C:\Psyq\lib
set C_PLUS_INCLUDE_PATH=C:\Psyq\include
set C_INCLUDE_PATH=C:\Psyq\include
set PSYQ_PATH=C:\Psyq\bin
And to i dowloaded and execute the archive pspath.reg
I have the sdk in the folder C:\PSYQ\ as the tutorial says
P.d Sorry by my english ^^U
-
Shadow Verified
- Admin / PSXDEV
- Posts: 2670
- Joined: Dec 31, 2012
- PlayStation Model: H2000/5502
- Discord: Shadow^PSXDEV
Are you using 64-bit Windows?
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
-
Shadow Verified
- Admin / PSXDEV
- Posts: 2670
- Joined: Dec 31, 2012
- PlayStation Model: H2000/5502
- Discord: Shadow^PSXDEV
Okay. Are you calling PSPATHS.BAT in your working directory once and then typing PSYMAKE?Rubiyooo wrote:Yes!! i said that 3 messages before ^^UShadow wrote:Are you using 64-bit Windows?
But i use DOS-BOX and i can execute that commmands
If that isn't the problem, I'll have to RDP into your computer and try to find the problem. I can't debug it without looking at your computer. Please setup TeamViewer, and tell me a date and time to connect with the ID and password in a PM.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.
- Rubiyooo
- Interested PSXDEV User
- Posts: 8
- Joined: Apr 01, 2016
- I am a: 3d Modeler, Artist
- Location: Spain
Hi again dear Shadow. Don´t worry i will install a Windows 7 32 bits in another personal computer. If i still have problem i will send you a PM. I don´t want to stole your time. You are very kind
EDIT*
Nothing the problem is DOSBOX with Windows 7 64. Sometimes not all video games in MS-DOS can be executed with DOSBOX. For that i suppose that must be impossible to run that ccpsx and cpe2x.
I used a modified archive about cpe2x for Win7 64 and nothing too.
For that must be a problem about the 64 bits...
EDIT*
Nothing the problem is DOSBOX with Windows 7 64. Sometimes not all video games in MS-DOS can be executed with DOSBOX. For that i suppose that must be impossible to run that ccpsx and cpe2x.
I used a modified archive about cpe2x for Win7 64 and nothing too.
For that must be a problem about the 64 bits...
You do not have the required permissions to view the files attached to this post.
-
gwald Verified
- Net Yaroze Enthusiast
- Posts: 290
- Joined: Sep 18, 2013
- I am a: programmer/DBA
- PlayStation Model: Net Yaroze
- Contact:
maybe try this: http://www.psxdev.net/forum/viewtopic.p ... 4470#p4470
But you have a Net Yaroze! you don't need Psyq!
Edit, can't run in dos mode, it might work without dosbox, I think dosbox is just 16bit.
win7 64 should run a win32 exe
But you have a Net Yaroze! you don't need Psyq!
Edit, can't run in dos mode, it might work without dosbox, I think dosbox is just 16bit.
win7 64 should run a win32 exe
Who is online
Users browsing this forum: No registered users and 5 guests