Barotrauma 潜渊症

Barotrauma 潜渊症

Lua For Barotrauma
SimonTheSkink 2024 年 12 月 3 日 下午 7:28
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?
< >
正在显示第 1 - 6 条,共 6 条留言
VanishGuy 4 月 28 日 下午 2:41 
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%"
SimonTheSkink 9 月 24 日 上午 10:05 
引用自 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 10 月 25 日 下午 8:47 
引用自 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.
VanishGuy 10 月 26 日 下午 9:28 
引用自 Bouncer
引用自 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 11 月 11 日 下午 12:31 
引用自 VanishGuy
引用自 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
VanishGuy 11 月 12 日 下午 8:19 
引用自 arshemor
引用自 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
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50