44 Commits

Author SHA1 Message Date
Markus Ingalsuo
185818d174 Add Debian legacy Steam installation path
Current Steam installations seem to have a much cleaner filesystem
layout on Debian while older ones look quite different.

Older Debian installations ~/.steam/root points to ~/.steam while newer
ones point to ~/.steam/debian-installation and hence BeamMP cannot
find integrity.json. 'steamapps' is at ~/.steam/debian-installation in
newer installations.

On the older installations, 'steamapps' is at ~/.steam/steam/steamapps.

Signed-off-by: Markus Ingalsuo <markus.ingalsuo@gmail.com>
2025-07-09 11:34:45 +03:00
Tixx
f7d3fcf925
Make new CheckVer & GetEN compatible with linux 2025-06-29 10:07:34 +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
a8a4dfb77c
Fixed GameDir location issues. (#152)
I couldn't launch the game without this.

---

By creating this pull request, I understand that code that is AI
generated or otherwise automatically generated may be rejected without
further discussion.
I declare that I fully understand all code I pushed into this PR, and
wrote all this code myself and own the rights to this code.
2024-12-23 23:00:47 +01:00
Winos
f2b86cd5a0 Improved error handling as requested. 2024-12-16 09:10:54 -03:00
Tixx
3e7d16a8e8
Update Check for Game Files on Native Linux (#92)
Beforehand, the launcher would check only if the game directory existed.
This would lead to an error if the game was moved through Steam since
Steam leaves the BeamNG.Drive directory behind. Now it checks for to see
if integrity.json is inside. I also removed some commented out code I
seem to have left behind when I was porting it.

I agree to this code (and the whole port to native Linux since the #63
was locked and I couldn't agree there) being licensed under AGPL 3.
2024-12-14 20:47:58 +01:00
Winos
63aee03969 Update BeamNG.cpp
As requested:
- Changed 'string' variables that referred to paths to 'filesystem'.
- Added error log for when a valid 'GameDir' isn't found.

Also readded error log for when 'libraryfolders.vdf' is missing for better contextualization for the 'basic_string::_M_replace_aux' error (the code doesn't reach the GameDir segment when that file is not found).
2024-12-10 20:10:07 -03:00
Tixx
46e6fda26e
Update license header 2024-12-07 11:26:09 +01:00
Winos
89327b8e20
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
2024-12-06 15:03:25 -03:00
Winos
ebf1579ce4
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
2024-12-06 15:03:19 -03:00
Winos
a06470cb70
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
2024-12-06 15:02:07 -03:00
Winos
80a3feb349
Update src/Security/BeamNG.cpp
Co-authored-by: Tixx <83774803+WiserTixx@users.noreply.github.com>
2024-12-06 15:02:00 -03:00
Winos
ec1a09bbcb Fixed GameDir localization issues.
I couldn't launch the game without this.
2024-12-05 03:56:13 -03:00
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
Lion Kortlepel
02465c529d
add more logging to exit 2024-09-23 22:08:45 +02:00
Lion Kortlepel
c68cbf8946
remove unused """security""" code 2024-09-23 22:04:34 +02:00
Lion Kortlepel
97f58dd413
add better error handling to main() 2024-09-23 21:58:27 +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
Lion Kortlepel
c0df995e28
fix perms on all source files 2024-03-22 10:47:08 +01:00
Anonymous275
3b479abf64 v2.0.84
- add hash check
- new routes for updates
- use C++ 20
2023-12-15 18:16:12 +00: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
6c673e78e5 Fixed invalid string position, Bumped game version 2021-05-11 22:19:42 +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
8e55edaa29 1.80.92, fixed some startup crashes 2021-01-02 02:02:50 +02:00
Anonymous275
c77f8742b4 Update BeamNG.cpp 2021-01-01 16:40:37 +02:00
Anonymous275
0a58001b09 Update BeamNG.cpp 2021-01-01 16:39:31 +02:00
Anonymous275
075d4a8c4d 1.80.91 2021-01-01 16:36:44 +02:00
Anonymous275
16ea84b4cf
Merge branch 'master' into patch-1 2021-01-01 16:34:27 +02:00
Anonymous275
6b124e89a8 Update BeamNG.cpp 2020-12-28 18:07:04 +02:00
Anonymous275
543183b852 launcher is now more linux friendly 2020-12-28 18:05:32 +02:00
Anonymous275
fda7567044 fixed crash -report 2020-12-28 16:34:24 +02:00
Anonymous275
775e44a68f fixed crash when starting up 2020-12-27 23:19:24 +02:00
Anonymous275
2a03448b3f Fix for custom document location 2020-12-27 06:31:03 +02:00
Anonymous275
ab2a58bf42 switched to normal filesystem + crash fixes 2020-12-26 22:52:01 +02:00
finicu
32bcbac979
Alert user of what malicious file has been found 2020-12-26 13:34:09 +02:00
Anonymous275
5337d1bf25 Small edit 2020-12-20 15:14:19 +02:00
Anonymous275
4b9742553a more cleanup 2020-12-20 14:11:17 +02:00
Anonymous275
82870a23ac Improved Launcher startup 2020-11-05 22:44:43 +02:00
Anonymous275
7da9f4fcd2 Launcher update to 1.63.5
- async tcp buffer
- two way encryption on connect
- map security fix
- DNS Lookup on connect
- fixed bug in beamng security
2020-10-16 17:10:12 +03:00
Anonymous275
ccdbc51b30 V1.6
Rewrite
2020-08-21 20:57:41 +03:00