You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
820 views
in Script help by (170 points)
I've tried using the instructions given in the Discord server to compile my PSDK project, but when I enter the command into cmd.bat it throws an error stating

'psdk' is not recognized as an internal or external command,
operable program or batch file.

I'm probably entering it wrong, even though I've copy/pasted the command from the Discord FAQ, but any help would be appreciated.

2 Answers

1 like 0 dislike
by (28.0k points)
selected by
 
Best answer
This probably mean you're not using .25.7+.

Make sure you're on the last version of PSDK and that you do have the file psdk.bat ruby and rubyw. If not you need to install PSDK again and copy all the files from root of the new PSDK setup to your project (not the folder, also make sure to make backup of your project before).
by (170 points)
Thanks, that's what the problem was. I'm on a full .25.10 install now and it works fine.
1 like 0 dislike
by (17.1k points)
Hello. There is actually 2 ways to write this type of commands. Either it is psdk or just game, depending on if you have the newest exe files or not.
In your case, it is then either psdk --util=project_compilation or game --util=project_compilation.
by (170 points)
Thanks for answering, this is how it works on pre .25.7 versions which is what I was on. I was actually running a weirdly frankensteined build of .25.4 and .25.10 but I've moved my project to full, proper .25.10 version now and the intended command works.
...