Commit Graph

58 Commits

Author SHA1 Message Date
Tixx b1c3b978ff Fix include order for winsock2 2026-01-24 20:34:47 +01:00
Lion Kortlepel 7d00d489e4 remove invalid flag 2026-01-24 20:09:37 +01:00
Lion Kortlepel 5b2bc2d499 print posix_spawn errors 2026-01-24 20:09:26 +01:00
Tixx 1860c0aef1 Fix userfolder on linux (hopefully) 2025-09-16 20:07:26 +02:00
Tixx 8a0f87f476 Remove registry check and add support for new ini file 2025-09-16 16:11:26 +02:00
Tixx a5c02217fa Update ini parse check formatting
Co-authored-by: SaltySnail <51403141+SaltySnail@users.noreply.github.com>
2025-06-20 23:04:07 +02:00
Tixx 8025c0884f Fix download path generation 2025-06-19 17:56:59 +02:00
Tixx 9c53f86593 Convert GetGamePath() to fs::path 2025-06-08 14:01:23 +02:00
Tixx 8b96ffb098 Fix .git folder check and GetGamePath() 2025-06-08 13:45:09 +02:00
Tixx 6c740e2562 Fix merge 2025-06-08 13:34:15 +02:00
Tixx 06c741edc5 Fix wstring for windows and add crossplatform code for fs strings 2025-06-08 13:34:15 +02:00
Tixx 5e448dc34f Switch to wstring for paths on windows 2025-06-08 13:34:15 +02:00
Tixx f193c25de6 Switch to using INI parser for startup.ini file 2025-04-27 23:35:39 +02:00
Tixx 6244fdafc6 Use std::filesystem::operator/ instead of string concat 2025-04-26 19:45:10 +02:00
Tixx f9d347bd9b Look for a userfolder specficied in the game's ini config 2025-04-26 18:42:41 +02:00
Tixx a63f1bd27c Check if user path argument exists 2025-04-26 18:42:40 +02:00
Tyler Hoyt ffc36e7f3d Added cli option for user-path 2025-04-26 18:42:31 +02:00
Tixx 6597fe5e26 Rename windows api variable 2025-04-19 21:23:51 +02:00
Tixx ae650cc142 Get error code when the game fails to launch on windows 2025-03-28 23:16:37 +01:00
Tixx 46e6fda26e Update license header 2024-12-07 11:26:09 +01:00
Lion Kortlepel 7b59cb6f87 fix various commandline argument related things 2024-10-07 00:33:43 +02:00
Tixx afac729505 Ixmplement game arguments for linux 2024-10-06 15:56:48 +02:00
Tixx 0c53ff4cd4 Pass game arguments to beamng on windows 2024-10-05 18:34:39 +02:00
Tixx aca61886d0 add command-line options 2024-10-05 17:20:40 +02:00
Tixx 1d7eb64fe0 Get localappdata via winapi instead of registry 2024-10-03 22:42:49 +02:00
O1LER 0ffed00bcb rename linux executable for bng0.33.2 2024-09-27 17:48:46 +02:00
Lion Kortlepel 95436cb073 turn off stdout, stderr of the game on linux 2024-09-24 21:56:55 +02:00
Lion Kortlepel e348d59a7e fix linux executable name 2024-09-23 23:13:34 +02:00
Lion 007cd6573e Refactor downloading (#116)
The way it was done was so horrid, it was not only impossible to debug,
with TODO comments saying it sucks, and other shit like that, but it was
also just full of data races. You can rest easy however - I left most of
the data races in there <3 For nostalgia (totally not because it's a
massive pain to fix that).

We now do single-threaded download, which can not only saturate my 100
Mbit/s line without any hickups, it can also go up to ~600000 Mbit/s for
localhost transfers :) So I think it's fine.
2024-09-22 20:04:45 +02:00
Lion Kortlepel 79209219dd remove extraneous game user path print 2024-09-22 19:42:55 +02:00
Lion Kortlepel 8c4342853a refactor downloading
The way it was done was so horrid, it was not only impossible to debug,
with TODO comments saying it sucks, and other shit like that, but it was
also just full of data races. You can rest easy however - I left most of
the data races in there <3 For nostalgia (totally not because it's a
massive pain to fix that).

We now do single-threaded download, which can not only saturate my 100
Mbit/s line without any hickups, it can also go up to ~600000 Mbit/s for
localhost transfers :) So I think it's fine.
2024-09-22 18:52:50 +02:00
20dka a714dc3188 fix windows build and implement suggestion from lionkor 2024-09-08 16:42:03 +02:00
yeranya 29445f65ce check 'User Shell Folders' key in addition to 'Shell Folders' 2024-09-08 16:24:58 +02:00
Lion Kortlepel f94b9adf7a print game's U S E R path 2024-06-22 23:26:10 +02:00
Lion Kortlepel a82b9fb36f reformat 2024-06-17 22:01:15 +02:00
Lion Kortlepel 05ffa0b638 Merge branch 'linux' 2024-06-17 21:57:41 +02:00
saile515 915c05c57c fix input not working on linux 2024-05-29 10:56:22 +02:00
Lion Kortlepel c0df995e28 fix perms on all source files 2024-03-22 10:47:08 +01:00
Anonymous275 c731718f50 v2.0.84
- HTTP Proxy for backend.beammp.com
- Fix Attempt for mod loading, game detecting partial zip file
- Use nlohmann JSON
- Update vcpkg parameters and commit ID
- Add ability to open URL using default browser with filter
2023-12-15 17:38:47 +00:00
gamingdoom a91735531a linux build 2023-10-17 18:53:01 -07:00
gamingdoom 5dfb5f3b88 works but linux build is broken and this is an old version of the source 2023-10-16 22:13:30 -07:00
Anonymous-275 b45e4b40f2 Auto proton patch, fix for 0.22.2.0 2021-04-15 18:22:54 +03:00
Anonymous-275 584998277d v2.0.2 2021-04-04 23:40:57 +03:00
Anonymous-275 16f0769f87 fixed new custom profile directory 2021-03-30 03:07:49 +03:00
Anonymous-275 289402a9ba Switched to new default userdata 2021-03-29 23:29:03 +03:00
Anonymous-275 fbc5e28d25 Mingw Compatible 2021-03-29 11:43:24 +03:00
Anonymous275 eaa8796c02 final hotfix 2020-12-27 06:34:11 +02:00
Anonymous275 2a03448b3f Fix for custom document location 2020-12-27 06:31:03 +02:00
Anonymous275 e207f2febd Potential default dir fix 2020-12-27 05:14:02 +02:00
Anonymous275 9a04665c34 Unicode path support 2020-12-26 23:35:43 +02:00