Can't Read SN.INI or PSYQ.INI Files?

General Programming help in C, C++ or ASM, Compiling / Debugging, and R3000A Central Processing Unit (CPU) information
Post Reply
User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Can't Read SN.INI or PSYQ.INI Files?

Post by MrQuetch » February 11th, 2020, 9:09 am

I'm setting up my development environment on another computer, hence this post. I've been working on this problem for several hours and still cannot find the the solution for it. For those curious, I am using Windows XP in a VM.

I'm aware this problem has already been posted before - but the post I found talked about the PS2 - not PS1.

I've been following Lameguy64's setup tutorial on his website: http://lameguy64.net/svn/pstutorials/setup.html. Hopefully, he doesn't mind that I linked it here. I'm not sure if I can post the username and password for his FTP, but you can find it here to get to the setup tutorial I'm reading: http://lameguy64.net.

Everything is finally setup, but when I try to compile a sample, I get the following:

"Error - can't read 'sn.ini' or 'psyq.ini' config files - stopping."

I have done everything Lameguy64 has said down to the 'Setting up additional tools' section. I should note that I'm using the PSYQ / Programmers Tool SDK. I may build Lameguy64's SDK at a later point...

Anyway, my C drive contains all of the files Lameguy64 has - including two folders called 'projects' (for my PS1 projects) and 'psyq' (containing other PS1 development files).

Note: I do have the 'sn.ini' and 'psyq.ini' files on my computer - yet when I compile; I still receive this error. I've added additional user variables... Still no luck, unfortunately. So... What am I doing wrong?

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

Post by Shadow » February 11th, 2020, 2:43 pm

CCPSX will look for them in the path directories specified. Usually they should point to C:\PSYQ\BIN where those two files would be located.
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.

User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Post by MrQuetch » February 11th, 2020, 4:38 pm

Shadow wrote: February 11th, 2020, 2:43 pm CCPSX will look for them in the path directories specified. Usually they should point to C:\PSYQ\BIN where those two files would be located.
Thank you, Shadow. You wouldn't happen to know where I can find the paths specified by the CCPSX program so I can change them - would you? Also, have you tried setting up the development environment the way Lameguy64 has? Because, if other people have tried Lameguy64's way - then I may have a better idea of what I'm doing wrong. Thanks again.

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

Post by Shadow » February 12th, 2020, 5:16 pm

Pretty sure that CCPSX looks for
  • PATH
  • PSX_PATH
  • LIBRARY_PATH
  • C_PLUS_INCLUDE_PATH
  • C_INCLUDE_PATH
  • PSYQ_PATH
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.

User avatar
MrQuetch
Active PSXDEV User
Active PSXDEV User
Posts: 42
Joined: Apr 01, 2018
I am a: Programmer and artist.
Motto: You can accomplish anything.
Location: United States

Post by MrQuetch » February 14th, 2020, 11:03 am

Shadow wrote: February 12th, 2020, 5:16 pm Pretty sure that CCPSX looks for
  • PATH
  • PSX_PATH
  • LIBRARY_PATH
  • C_PLUS_INCLUDE_PATH
  • C_INCLUDE_PATH
  • PSYQ_PATH
Yup... Those were the environment variables that I needed to set. Thanks.

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

Post by Shadow » February 15th, 2020, 3:06 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.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests