Page 1 of 2

Cpe2x for Win7

Posted: February 4th, 2013, 8:24 am
by Orion_
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/

Re: Cpe2x for Win7

Posted: February 4th, 2013, 1:27 pm
by t0rxe
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...

Re: Cpe2x for Win7

Posted: February 5th, 2013, 1:39 am
by Orion_
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)

Re: Cpe2x for Win7

Posted: May 6th, 2013, 10:37 pm
by sofzilog
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

Re: Cpe2x for Win7

Posted: May 7th, 2013, 1:16 am
by sofzilog
Ok, I have solved my problem.

Re: Cpe2x for Win7

Posted: May 7th, 2013, 3:53 am
by inc^lightforce
so feel free to start here:
WORKSHOP PS1 CODING

i have no idea why ppl are using PSYMAKE and MAKEFILE ??? :shrug
it is useless and time-robbing .

looking forward

PS:
where are you come from? your English is good enough


__________________
german & english support

Re: Cpe2x for Win7

Posted: May 12th, 2013, 5:57 am
by sofzilog
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.

Re: Cpe2x for Win7

Posted: May 13th, 2013, 12:24 pm
by DEBRO
Hi there,
sofzilog wrote:Thank's for the tip, I am no longer on PSY-Q, I use Blade's lib now.
You can use Bladelib but it has it's limitations. Two that I've had to work around were...
  • 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.
[*]You will need a launcher to play your final project on a real PlayStation[/*]
  • 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
[/list]

Re: Cpe2x for Win7

Posted: July 12th, 2013, 2:24 am
by Shendo
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.

Re: Cpe2x for Win7

Posted: July 25th, 2013, 2:44 pm
by sicklebrick
Cheers Orion - I thought I was forgetting a switch somewhere, but that fixed it! Much appreciated :)

Re: Cpe2x for Win7

Posted: July 7th, 2016, 8:37 pm
by Rubiyooo
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' " :crying

I would like to know how do you use ccpsx to compile the makefile as say @Orion!! :D

Regards!!

Re: Cpe2x for Win7

Posted: July 7th, 2016, 8:54 pm
by Shadow
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

Re: Cpe2x for Win7

Posted: July 8th, 2016, 1:18 am
by Rubiyooo
Shadow 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
Shadow is only the first "hello world" that i want to compile without makefile command :lol:

Re: Cpe2x for Win7

Posted: July 8th, 2016, 1:21 am
by Shadow
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.

Re: Cpe2x for Win7

Posted: July 8th, 2016, 2:01 am
by Rubiyooo
Shadow 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.
Thanks by your fast reply

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 :geek:
P.d Sorry by my english ^^U

Re: Cpe2x for Win7

Posted: July 8th, 2016, 4:01 am
by Shadow
Are you using 64-bit Windows?

Re: Cpe2x for Win7

Posted: July 8th, 2016, 5:40 am
by Rubiyooo
Shadow wrote:Are you using 64-bit Windows?
Yes!! i said that 3 messages before ^^U

But i use DOS-BOX and i can execute that commmands :shrug

Re: Cpe2x for Win7

Posted: July 8th, 2016, 7:02 am
by Shadow
Rubiyooo wrote:
Shadow wrote:Are you using 64-bit Windows?
Yes!! i said that 3 messages before ^^U

But i use DOS-BOX and i can execute that commmands :shrug
Okay. Are you calling PSPATHS.BAT in your working directory once and then typing PSYMAKE?

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.

Re: Cpe2x for Win7

Posted: July 8th, 2016, 8:08 am
by Rubiyooo
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...
ouch.png

Re: Cpe2x for Win7

Posted: July 8th, 2016, 5:21 pm
by gwald
maybe try this: viewtopic.php?f=53&t=591&p=4470#p4470
But you have a Net Yaroze! you don't need Psyq! :P

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 :shrug