Commit Graph

408 Commits

Author SHA1 Message Date
Pranay Sanghai 43b02f0118 Update Check For Game Files
Beforehand, it would check only if the game directory existed. This would lead to an error if the game is moved through Steam since it leaves the BeamNG.Drive directory. Now it checks for integrity.json. I also removed some commented out code I left behind.
2024-10-12 21:15:10 +02:00
Tixx 423519f31e Only listen on localhost ipv4 (#134)
This avoids the firewall popup on windows.
2024-10-12 20:58:29 +02:00
Lion Kortlepel 7d52e44434 only listen on localhost ipv4 2024-10-10 16:14:16 +02:00
Lion Kortlepel 49874fd633 Revert "remove 'D' socket initialization code"
This reverts commit 6a23518eff.
2024-10-09 18:00:43 +02:00
Lion Kortlepel 6a23518eff remove 'D' socket initialization code 2024-10-09 17:36:54 +02:00
Lion Kortlepel 3297b3e62e fix not recognizing empty mod lists on new mod list 2024-10-09 17:35:50 +02:00
Lion Kortlepel 76cfc47a2f log invocation v2.2.0 2024-10-07 00:43:25 +02:00
Lion Kortlepel 7b59cb6f87 fix various commandline argument related things 2024-10-07 00:33:43 +02:00
Lion Kortlepel 0eba745d4c remove silly license 2024-10-07 00:33:29 +02:00
Lion 259b21502e Add command-line options (#90)
This PR adds command-line options as outlined in #74 

Closes #74
2024-10-06 23:49:47 +02:00
Tixx afac729505 Ixmplement game arguments for linux 2024-10-06 15:56:48 +02:00
Lion f57ebb7a92 follow HTTP redirects (#133)
Follow HTTP redirects on HTTP Get and Post functions
2024-10-06 15:20:49 +02:00
snepsnepsnep ace96b7e33 follow HTTP redirects 2024-10-05 23:45:50 +02:00
Lion Kortlepel fcb51adcb8 bump version 2024-10-05 21:05:02 +02:00
Tixx 0c53ff4cd4 Pass game arguments to beamng on windows 2024-10-05 18:34:39 +02:00
Tixx 68a4d64387 Fix linux relauch 2024-10-05 18:08:25 +02:00
Tixx 5bdd8c11da Fix relaunch 2024-10-05 18:01:47 +02:00
Tixx 47681cda50 Let user know about update even if --no-update was specified 2024-10-05 18:01:36 +02:00
Tixx c99fecfa1c Fix debug log 2024-10-05 17:26:14 +02:00
Tixx d26e0320e4 Add back support for old dev argument with warning 2024-10-05 17:26:14 +02:00
Tixx 57422a6105 Add optional dev config value 2024-10-05 17:20:40 +02:00
Tixx 467c8dc584 Add no-update flag 2024-10-05 17:20:40 +02:00
Tixx 2ddb576e72 Log core port 2024-10-05 17:20:40 +02:00
Tixx e242057583 Improve port cli flag 2024-10-05 17:20:40 +02:00
Tixx 06686688fc Move console clear to main to avoid clearing logs 2024-10-05 17:20:40 +02:00
Tixx aca61886d0 add command-line options 2024-10-05 17:20:40 +02:00
Lion 768f11f6ec Add mod hashing, improve download protocol (#129) 2024-10-04 23:36:57 +02:00
Lion 7944e9dbe8 Switch to curl for Get and Post (#132)
Because we can. I got a segfault while testing but then it didn't happen
again, so I'm tempted to call it done.
2024-10-04 23:23:49 +02:00
Lion Kortlepel 0c68f91fb2 remove debug print 2024-10-04 23:22:50 +02:00
Lion b8fdbc4ed9 Fix GetGamePath (#130)
Previously, the registry was used to get the local appdata folder for
the user folder. I've switched this over to a windows api function which
fixes some cases where the launcher wouldn't be able to find the appdata
folder in the registry.
2024-10-04 23:12:56 +02:00
Lion Kortlepel 85908e42d5 fix download code, error checking 2024-10-04 23:12:23 +02:00
Lion Kortlepel 5c77e60f29 remove mis-merged code 2024-10-04 23:04:30 +02:00
Lion Kortlepel c74455e0fe switch to curl for Get and Post 2024-10-04 22:59:29 +02:00
Lion dc13e4a03c remove extra return 2024-10-04 14:13:04 +02:00
Tixx 1d7eb64fe0 Get localappdata via winapi instead of registry 2024-10-03 22:42:49 +02:00
Lion Kortlepel 1676d4174e make mods not keep the hash when copying them 2024-09-29 02:36:41 +02:00
Lion Kortlepel ad468a8971 remove debug prints 2024-09-29 02:04:39 +02:00
Lion Kortlepel d3805f2cfd fix mod deleting misnamed mods 2024-09-29 01:57:15 +02:00
Lion Kortlepel 9f1cc15b15 fix bugs with new download 2024-09-29 01:15:57 +02:00
Lion Kortlepel c0fb4e4ad6 implement support for new mod hashing and download 2024-09-29 00:33:15 +02:00
Lion 7600372ca1 Fix linux executable name after BNG0.33.2 (#126) v2.1.4 2024-09-28 16:51:02 +02:00
Lion 54cd5b5e0e Add additional SSL Verify logging (#127) 2024-09-28 16:50:30 +02:00
Mackenzie ede6fcd7dd log SSL errors 2024-09-27 20:33:14 +01:00
Mackenzie eaeacbd8de log non-200 status codes 2024-09-27 20:23:28 +01:00
O1LER 0ffed00bcb rename linux executable for bng0.33.2 2024-09-27 17:48:46 +02:00
Lion c0c3d6b30e Add download speed to UI (#125) 2024-09-24 21:59:01 +02:00
Lion 9c59a83f04 turn off stdout, stderr of the game on linux (#124) 2024-09-24 21:58:37 +02:00
Lion Kortlepel 95436cb073 turn off stdout, stderr of the game on linux 2024-09-24 21:56:55 +02:00
Lion Kortlepel cbb5502a40 send download speed to game UI, bump version to 2.1.4 2024-09-24 21:50:09 +02:00
Lion Kortlepel d6dfe85f69 add download speed to ingame ui 2024-09-24 21:10:10 +02:00