Barotrauma

Barotrauma

Lua For Barotrauma
LUA command preventing Barotrauma from launching
I'm trying to get Barotrauma to launch with the launch option command in place. But it's failing to launch with the command in place. I decided to run the command manually and got this as the output:


C:\Windows\system32>cmd /c "curl -L -z Luatrauma.AutoUpdater.win-x64.exe -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

C:\Windows\system32>Starting update...
Downloading patch zip from https://github.com/evilfactory/LuaCsForBarotrauma/releases/download/latest/luacsforbarotrauma_patch_windows_client.zip
Downloaded patch zip to C:/Windows/system32/Luatrauma.AutoUpdater.Temp/patch.zip
Extracted patch zip to C:\Windows\system32
Applying patch...
Failed to find the current Barotrauma.dll
Starting %COMMAND%
Unhandled exception: System.AggregateException: One or more errors occurred. (An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.)
---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo )
at System.Diagnostics.Process.StartCore(ProcessStartInfo )
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo )
at Luatrauma.AutoUpdater.Program.Start()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
at System.Threading.Tasks.Task.Wait()
at Luatrauma.AutoUpdater.Program.Main(String[] args)
Unhandled exception. System.AggregateException: One or more errors occurred. (An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.)
---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process '%COMMAND%' with working directory 'C:\Windows\system32'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo )
at System.Diagnostics.Process.StartCore(ProcessStartInfo )
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo )
at Luatrauma.AutoUpdater.Program.Start()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean )
at System.Threading.Tasks.Task.Wait(Int32 , CancellationToken )
at System.Threading.Tasks.Task.Wait()
at Luatrauma.AutoUpdater.Program.Main(String[] args)




Does anyone have any advice to help?
< >
Showing 1-6 of 6 comments
Try this.
cmd /c "curl --ssl-no-revoke -L -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
Originally posted by VanishGuy:
Try this.
cmd /c "curl --ssl-no-revoke -L -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"

That worked, thanks!
Bouncer Oct 25 @ 8:47pm 
Originally posted by VanishGuy:
Try this.
cmd /c "curl --ssl-no-revoke -L -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"

this did not work for me, Launch with these Params and I get a flash of a console and the game closes. Not finding antivirus or windows conflicts, all drivers up-to-date. still no launching.
Originally posted by Bouncer:
Originally posted by VanishGuy:
Try this.
cmd /c "curl --ssl-no-revoke -L -o Luatrauma.AutoUpdater.win-x64.exe https://github.com/Luatrauma/Luatrauma.AutoUpdater/releases/download/latest/Luatrauma.AutoUpdater.win-x64.exe && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"

this did not work for me, Launch with these Params and I get a flash of a console and the game closes. Not finding antivirus or windows conflicts, all drivers up-to-date. still no launching.

Try this (do not forget to delete "DELETE_THIS". It's tinyurl cuz steam has command line length limit)
cmd /c "curl --ssl-no-revoke --retry 10 --retry-delay 10 --http1.1 -L -C - -o Luatrauma.AutoUpdater.win-x64.exe https://DELETE_THIStinyurl.DELETE_THIScom/mtbhfhp3 && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
arshemor Nov 11 @ 12:31pm 
Originally posted by VanishGuy:
Originally posted by Bouncer:

this did not work for me, Launch with these Params and I get a flash of a console and the game closes. Not finding antivirus or windows conflicts, all drivers up-to-date. still no launching.

Try this (do not forget to delete "DELETE_THIS". It's tinyurl cuz steam has command line length limit)
cmd /c "curl --ssl-no-revoke --retry 10 --retry-delay 10 --http1.1 -L -C - -o Luatrauma.AutoUpdater.win-x64.exe https://DELETE_THIStinyurl.DELETE_THIScom/mtbhfhp3 && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
this did not work for me, Launch with these Params and I get a flash of a console and the game closes
Originally posted by arshemor:
Originally posted by VanishGuy:

Try this (do not forget to delete "DELETE_THIS". It's tinyurl cuz steam has command line length limit)
cmd /c "curl --ssl-no-revoke --retry 10 --retry-delay 10 --http1.1 -L -C - -o Luatrauma.AutoUpdater.win-x64.exe https://DELETE_THIStinyurl.DELETE_THIScom/mtbhfhp3 && start /b Luatrauma.AutoUpdater.win-x64.exe %COMMAND%"
this did not work for me, Launch with these Params and I get a flash of a console and the game closes
Try recording a video and then pause the video at the right place to see what's written in the console
< >
Showing 1-6 of 6 comments
Per page: 1530 50