Need some help getting Psy-Q to work right.

General help for the PSY-Q SDK, such as setting the SDK up, compiling correctly, linking and debugging
Post Reply
Sabudum
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: Dec 01, 2022
PlayStation Model: SPCH-102
Discord: Sabudum0478
Location: Brazil

Need some help getting Psy-Q to work right.

Post by Sabudum » December 1st, 2022, 6:39 am

Hello, I've made a Virtual Machine with WinXP in order to run Psy-Q, I have followed the following tutorials:

https://www.psxdev.net/help/psyq_install.html

For setting up the environment I used the automatic method for WinXP present here:

viewtopic.php?f=49&t=206

And for creating a project and compiling I followed this:

https://www.psxdev.net/help/psyq_hello_world.html

But when I try to compile the example project, I just get a "Access Denied" error and haven't been able to figure out why.

Image



Can someone please shed some light on the issue?

Many thanks in advance.

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 1st, 2022, 7:52 am

Looks like a security permission issue. It may not be able to write the temp files during compilation.
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.

Sabudum
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: Dec 01, 2022
PlayStation Model: SPCH-102
Discord: Sabudum0478
Location: Brazil

Post by Sabudum » December 1st, 2022, 8:03 am

Thanks for the reply, how do I verify permissions for the temp folders?

I have applied Full permissions to "Everyone", including Auditing permissions, and defined the owner of the folders as "Administrators".

Still getting the same error.

Sabudum
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: Dec 01, 2022
PlayStation Model: SPCH-102
Discord: Sabudum0478
Location: Brazil

Post by Sabudum » December 1st, 2022, 8:28 am

Alright! Found the culprit!

In this topic:
viewtopic.php?f=49&t=206
The provided .reg file that sets up the env variables, has all the paths with double backslashes, I edited the Environment Variables manually and removed all the duplicated backslashes, and it worked, the file there should be updated.

Thanks for the help!

User avatar
Shadow
Verified
Admin / PSXDEV
Admin / PSXDEV
Posts: 2670
Joined: Dec 31, 2012
PlayStation Model: H2000/5502
Discord: Shadow^PSXDEV

Post by Shadow » December 1st, 2022, 12:13 pm

Ah, that makes sense. It means all the file paths were broken. That topic is old anyway (it's from 2013). I'll reference this topic in it instead as a warning.
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests