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

General help for the PSY-Q SDK, such as setting the SDK up, compiling correctly, linking and debugging
Post Reply
User avatar
jowijo
Interested PSXDEV User
Interested PSXDEV User
Posts: 7
Joined: September 9th, 2014, 5:14 am
I am a: Writer
Motto: !
PlayStation Model: SCPH-5501
Want to Find: Development tools.
Looking to: Develop a PSX homebrew?
Location: Cascadia

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

Post by jowijo » September 10th, 2014, 7:28 am

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

User avatar
Orion_
Legendary Programmer
Legendary Programmer
Posts: 228
Joined: August 13th, 2012, 2:48 am
I am a: Programmer
PlayStation Model: Net Yaroze
Location: France
Contact:

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

Post by Orion_ » September 11th, 2014, 12:54 am

I made a tutorial on how to develop on Windows 7 64bits, see the link below (in my signature)
Retro game development on Playstation and other consoles http://orionsoft.free.fr/

User avatar
jowijo
Interested PSXDEV User
Interested PSXDEV User
Posts: 7
Joined: September 9th, 2014, 5:14 am
I am a: Writer
Motto: !
PlayStation Model: SCPH-5501
Want to Find: Development tools.
Looking to: Develop a PSX homebrew?
Location: Cascadia

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

Post by jowijo » September 11th, 2014, 11:21 am

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.

User avatar
jowijo
Interested PSXDEV User
Interested PSXDEV User
Posts: 7
Joined: September 9th, 2014, 5:14 am
I am a: Writer
Motto: !
PlayStation Model: SCPH-5501
Want to Find: Development tools.
Looking to: Develop a PSX homebrew?
Location: Cascadia

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

Post by jowijo » September 12th, 2014, 4:24 pm

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. :)

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 6:57 pm

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
You do not have the required permissions to view the files attached to this post.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2262
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

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

Post by Shadow » July 31st, 2019, 7:37 pm

Are you using a 32-bit system?
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.

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 7:46 pm

Shadow wrote:
July 31st, 2019, 7:37 pm
Are you using a 32-bit system?
х64.

User avatar
LameGuy64
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 368
Joined: April 10th, 2013, 3:47 pm
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Skype: lameguy64
Location: Philippines

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

Post by LameGuy64 » 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.
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 7:49 pm

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.

User avatar
LameGuy64
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 368
Joined: April 10th, 2013, 3:47 pm
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Skype: lameguy64
Location: Philippines

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

Post by LameGuy64 » July 31st, 2019, 8:08 pm

I have the compilers fully working in 64-bit Windows 7.
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 8:24 pm

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

User avatar
LameGuy64
Psy-Q Enthusiast
Psy-Q Enthusiast
Posts: 368
Joined: April 10th, 2013, 3:47 pm
I am a: Hobbyist Game Developer
Motto: Commercial or not, play it!
PlayStation Model: H2000/7000
Skype: lameguy64
Location: Philippines

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

Post by LameGuy64 » 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.
Please don't forget to include my name if you share my work around. Credit where it is due.

Dev. Console: SCPH-7000 with SCPH-7501 ROM, MM3, PAL color fix, Direct AV ports, DB-9 port for Serial I/O, and a Xplorer FX with Caetla 0.35.

DTL-H2000 PC: Dell Optiplex GX110, Windows 98SE & Windows XP, Pentium III 933MHz, 384MB SDRAM, ATI Radeon 7000 VE 64MB, Soundblaster Audigy, 40GB Seagate HDD, Hitachi Lite-on CD-RW Drive, ZIP 250 and 3.5" Floppy.

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 10:56 pm

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.

Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » July 31st, 2019, 11:19 pm

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-)

User avatar
danhans42
/// PSXDEV | ELITE ///
/// PSXDEV | ELITE ///
Posts: 270
Joined: November 28th, 2012, 11:51 pm
IRC: danhans42
PlayStation Model: SCPH-7502
Want to Find: Inspiration
Location: West Yorkshire, UK
Contact:

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

Post by danhans42 » August 1st, 2019, 12:47 am

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.
♥ PSX - http://psx0.wordpress.com

My collection - SCPH-102/SCPH-7502, Yaroze Modded PSone, PocketStation (Clear), 2x Xplorer Carts, 2x Xplorer Pro, 2x AR Carts (1 with Ezoray), GS Pro 3, ISA Comms Link Card. Various USB serial devices, Gameshark Sharklink, Kentai Eddy, iMode Cable & other bits and bobs.

User avatar
NITROYUASH
Serious PSXDEV User
Serious PSXDEV User
Posts: 107
Joined: January 7th, 2018, 12:03 am
I am a: Game Designer
PlayStation Model: SCPH-5502
Steam: NITROYUASH
Location: Russian Federation
Contact:

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

Post by NITROYUASH » August 1st, 2019, 3:10 am


Dedok179
Active PSXDEV User
Active PSXDEV User
Posts: 55
Joined: June 11th, 2015, 7:23 pm
I am a: Programmer, Developer.
PlayStation Model: SCPH-5502
Location: Tula,RU

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

Post by Dedok179 » August 1st, 2019, 3:29 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest