GameDir lookup issue on Debian 12

Open
#249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
desktop, game-dev

Research direction

The report points to src/Security/BeamNG.cpp, especially lines 234–238 for expected paths and 276–278 for the GameDir error. Read the lookup logic and compare its expected paths with the Debian Steam location provided in the issue. Done means the launcher can find the game directory for this installation; the issue does not name a test to run.

Written by the indexing model from the issue text.

Description

On a workstation running debian 12 with BeamNG proton 9.0 (tested quickly with proton hotfix too, same issue)

I am getting the GameDir not found error at I have had a quick look at the code on github and I get this error specifically https://github.com/BeamMP/BeamMP-Launcher/blob/f30a88e76e0f23680d2651fbd749d20f001733e1/src/Security/BeamNG.cpp#L276-L278

This is the location of the executable from my home folder
./.steam/debian-installation/steamapps/compatdata/284160/pfx/drive_c/Program Files (x86)/Steam/steamapps/BeamNG.drive

And it seems to me like this is because my install does not conform to the paths it is trying to lookup as can be seen with the paths it is expecting?

https://github.com/BeamMP/BeamMP-Launcher/blob/f30a88e76e0f23680d2651fbd749d20f001733e1/src/Security/BeamNG.cpp#L234-L238

I dont remember doing anything more than following the debian wiki to install steam and have not messed up with the paths

Dominant language
C++
Stars
74
Forks
93
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BeamMP/BeamMP-Launcher

All issues in BeamMP/BeamMP-Launcher

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.