h4570 / tyra

Game engine for PlayStation 2™
Apache License 2.0
455 stars 37 forks source link

run.ps1 fails to run #193

Open Sinan-Karakaya opened 2 months ago

Sinan-Karakaya commented 2 months ago

Following the tutorial and executing the "Run PCSX2" tasks results in this:

The command "./run.ps1" is not recognized as a command etc...
+ CategoryInfo          : ObjectNotFound: (./run.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : localhost

But executing it from the local terminal works fine. Changing the task command to:

"Start-Job -FilePath ./run.ps1 | Receive-Job -Wait"

Changes the error to:

Impossible de lier l'argument au paramètre « Path », car il s'agit d'une chaîne vide.
    + CategoryInfo          : InvalidData : (:) [Join-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.JoinPathCommand
    + PSComputerName        : localhost

L’expression située après « . » dans un élément de pipeline a généré un objet non valide. Elle doit générer un nom de commande, un bloc de script ou un objet CommandInfo.
    + CategoryInfo          : InvalidOperation : (:) [], RuntimeException
    + FullyQualifiedErrorId : BadExpression
    + PSComputerName        : localhost

Le terme « RunPCSX2 » n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
    + CategoryInfo          : ObjectNotFound: (RunPCSX2:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : localhost

Indicating that it manages to run the script that way, but doesn't find the $PSScriptRoot variable.

PCSX2: v1.7.5689 Tyra: Latest release

GDQR commented 2 months ago

i had the first error, try update the powershell