Page 1 of 1

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

Posted: February 11th, 2020, 9:09 am
by MrQuetch
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?

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

Posted: February 11th, 2020, 2:43 pm
by Shadow
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.

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

Posted: February 11th, 2020, 4:38 pm
by MrQuetch
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.

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

Posted: February 12th, 2020, 5:16 pm
by Shadow
Pretty sure that CCPSX looks for
  • PATH
  • PSX_PATH
  • LIBRARY_PATH
  • C_PLUS_INCLUDE_PATH
  • C_INCLUDE_PATH
  • PSYQ_PATH

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

Posted: February 14th, 2020, 11:03 am
by MrQuetch
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.

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

Posted: February 15th, 2020, 3:06 pm
by Shadow