Getting this error: cannot open .\BlackShark\BlackShark.lua : No such file or directory
What's causing this? Is it the --console statement? How do I correct it?
Thanks
Steve
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Run, "C:\Program Files (x86)\VoiceAttack\VoiceAttack.exe"
sleep 3000
Run, "C:\Program Files (x86)\Abbequerque Inc\FaceTrackNoIR\FaceTrackNoIR.exe"
sleep 3000
Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console [, "C:\Program Files (x86)\Eagle Dynamics\Ka-50", ]
return
cannot open .\BlackShark\BlackShark.lua : No such file or directory
-
- Posts: 1259
- Joined: 16 Apr 2015, 09:41
Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory
Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console [, "C:\Program Files (x86)\Eagle Dynamics\Ka-50", ] should not have the [ and ] characters in it, and the working directory you are trying to specify is being ignored as a result. Instead, the line should read Run "C:\Program Files (x86)\Eagle Dynamics\Ka-50\bin\stable\Launcher.exe" --console, C:\Program Files (x86)\Eagle Dynamics\Ka-50.
Edit: Removed quotes from "C:\Program Files (x86)\Eagle Dynamics\Ka-50", per the post from Lexikos.
Edit: Removed quotes from "C:\Program Files (x86)\Eagle Dynamics\Ka-50", per the post from Lexikos.
Last edited by Shadowpheonix on 20 May 2016, 09:23, edited 1 time in total.
Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory
Thanks but still getting same error
-
- Posts: 132
- Joined: 22 Apr 2016, 06:50
Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory
"Launcher.exe and DCS.exe should be launched from the root of DCS installation (not from bin\stable\ folder where it is)."
http://en.wiki.eagle.ru/wiki/Troublesho ... 50:general
http://en.wiki.eagle.ru/wiki/Troublesho ... 50:general
Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory
WorkingDir
The working directory for the launched item. Do not enclose the name in double quotes even if it contains spaces.
Re: cannot open .\BlackShark\BlackShark.lua : No such file or directory
That done it. Thanks very much for your help.