Page 1 of 1

Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: September 10th, 2014, 7:28 am
by jowijo
I am looking to give PlayStation development a go, and try out PsyQ. I have some experience with XNA (C#), Android (Java), as well as some assembly (exclusively the for 65C816 of the SNES); so I am fiarly confident I will be fine once I get the toolchain up and running.

However, that is where the problem begins. Tutorials I have come across are ether outdated, require a VM, or don't address a 64-bit Linux or Windows system. I have 2 SSDs, one with Arch Linux x64, and Windows 8.1 Pro x64. Having seen the PSIO, and getting way too excited for my own good, I am fine with either a Linux, or Windows-based solution.

Any pointers or assistance is appreciated. :D

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: September 11th, 2014, 12:54 am
by Orion_
I made a tutorial on how to develop on Windows 7 64bits, see the link below (in my signature)

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: September 11th, 2014, 11:21 am
by jowijo
Orion_ wrote:I made a tutorial on how to develop on Windows 7 64bits, see the link below (in my signature)
Thanks for the guide. I'll post if I get it running.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: September 12th, 2014, 4:24 pm
by jowijo
Alright, got psyq up and going mostly. Though I am curious on one more thing: Is it possible to get it to work with Visual Studio [Express] 2013? I use Notepad++ and cmd and, while I'm used to that, I would like to use a proper IDE as this isn't a web language, or ASM. :)

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 6:57 pm
by Dedok179
What could be the problem? Compilation test on Win 8.1. cpppsx is in the bin folder. All paths are correct. I compile via ccpsx

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 7:37 pm
by Shadow
Are you using a 32-bit system?

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 7:46 pm
by Dedok179
Shadow wrote: July 31st, 2019, 7:37 pm Are you using a 32-bit system?
Ñ…64.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 7:47 pm
by LameGuy64
Grab the Programmers Tool SDK ISO from the downloads page as that is a cleanest distribution of the SDK you can find. It also comes with all 32-bit copies of the toolchain (ccpsx, psylib and psylink), though psymake is still offered as a 16-bit DOS applcation. You can use make from Msys2 instead and is much more up to date and powerful than psymake. You just need to replace cpe2x with the 32-bit version from Orion and update the runtime libraries to 4.7.

Many of the command line tools for graphics and sound are only available as 16-bit programs unfortunately, but bmp2tim can be replaced with img2tim which gives you much better control over transparencies and supports various image formats among other things.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 7:49 pm
by Dedok179
LameGuy64 wrote: July 31st, 2019, 7:47 pm Grab the Programmers Tool SDK ISO from the downloads page as that is a cleanest distribution of the SDK you can find. It also comes with all 32-bit copies of the toolchain (ccpsx, psylib and psylink), though psymake is still offered as a 16-bit DOS applcation. You can use make from Msys2 instead and is much more up to date and powerful than psymake. You just need to replace cpe2x with the 32-bit version from Orion and update the runtime libraries to 4.7.

Many of the command line tools for graphics and sound are only available as 16-bit programs unfortunately, but bmp2tim can be replaced with img2tim which gives you much better control over transparencies and supports various image formats among other things.
I'm under 32 bis, everything is fine, I have been working with it for years. I want to run all this on a 64 bit system.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 8:08 pm
by LameGuy64
I have the compilers fully working in 64-bit Windows 7.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 8:24 pm
by Dedok179
LameGuy64 wrote: July 31st, 2019, 8:08 pm I have the compilers fully working in 64-bit Windows 7.
Can you share?

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 10:43 pm
by LameGuy64
Get it from the Programmers Tool CD 2.2 ISO in the Downloads page. That one has the copy of the toolchain that is all 32-bit.

The Programmers Tool CD is more or less PsyQ but several magnitudes cleaner and more organized.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 10:56 pm
by Dedok179
LameGuy64 wrote: July 31st, 2019, 10:43 pm Get it from the Programmers Tool CD 2.2 ISO in the Downloads page. That one has the copy of the toolchain that is all 32-bit.

The Programmers Tool CD is more or less PsyQ but several magnitudes cleaner and more organized.
Anyway, the same mistake.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: July 31st, 2019, 11:19 pm
by Dedok179
LameGuy64 wrote: July 31st, 2019, 10:43 pm Get it from the Programmers Tool CD 2.2 ISO in the Downloads page. That one has the copy of the toolchain that is all 32-bit.

The Programmers Tool CD is more or less PsyQ but several magnitudes cleaner and more organized.
The problem was in the INI file. 8-)

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: August 1st, 2019, 12:47 am
by danhans42
I was too lazy to do the above so went old school and use the full 16bit compilers etc all in dosbox. It isnt pretty but works well and I have external scripts to open dosbox and compile and exit again.

Nowhere near as elegant as running it natively on a modern machine, but I work on Linux so was the easiest way so I didnt have to use Wine etc.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: August 1st, 2019, 3:10 am
by NITROYUASH

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: August 1st, 2019, 3:29 am
by Dedok179
The problem was in .ini file, I forgot to change the path in it too. Now there is no problem with the build on a 64 bit system. The test was a success.

Re: Psy-Q on x64 system? [Arch Linux/Windows 8.1]

Posted: October 31st, 2020, 9:50 am
by DarrenLong
If its any use to anyone, I've managed to get PSYQ to compile in Windows X64, better still I've written a program that lets you simply double click on the .MAK file to create the .CPE file, then double click that to create the PSX exe, so there is no need for command line, there is also no need for enviromental variables, these are setup tempoarily whilst the program is running, so effectively the program is portable.

To get it to work I used OTVDM from the following link...
http://www.columbia.edu/~em36/otvdm.html

Happy to share this software if anyone wants it or feels it could be useful. Picture below.

Image