Real-Gecko / KSP-FlightPlan

GNU General Public License v3.0
1 stars 1 forks source link

No toolbar button in stock toolbar #1

Open Niev opened 6 years ago

Niev commented 6 years ago

It seems that bug appears in the last patch. OS: Ubuntu 16.04

P.S.: in stock and blizzy78 toolbar too.

Real-Gecko commented 6 years ago

Log?

Niev commented 6 years ago

Player.log

Real-Gecko commented 6 years ago

I don't see scene switching to FLIGHT. LOADING, MAINMENU, SPACECENTER. Did you fly any vessels???

Niev commented 6 years ago

Player.log Log with flight

Real-Gecko commented 6 years ago

Hmmm

File 'GameData/FlightPlan/Skin/FlightPlan.cfg' does not exist

Does it exist? Can you check please?

Niev commented 6 years ago

Checked, it exists.

Real-Gecko commented 6 years ago

Hmmmm, I remember some troubles with file paths on Linux in BonVoyage. Need to check it out. For now try running winduz build with wine, it definitely works there.

Niev commented 6 years ago

It looks for file 'GameData/FlightPlan/Skin/FlightPlan.cfg' in GameData. Workaround is to make '~/.steam/steam/steamapps/common/Kerbal Space Program/GameData/GameData/FlightPlan/Skin/FlightPlan.cfg'

Real-Gecko commented 6 years ago

Here's the fix that was used with BonVoyage: https://github.com/Real-Gecko/KSP-BonVoyage/commit/5ce6a5175138eecb9da37f3f1a965ee83e859e09 And here's the workaround for now: https://github.com/Real-Gecko/KSP-BonVoyage/issues/7 Try creating symlink. By the way looks like the working directory for KSP binary is ~HOME. Do you run the game from Steam UI or manually from game folder?

Niev commented 6 years ago

I run it from game folder

Real-Gecko commented 6 years ago

Hmmmm, can you try this, run the game, open console and execute: pgrep KSP_x64 You'll get PID of your process then pwdx <KSP_PID> It'll show KSP binary current working directory. I bet it'll be ~HOME.

Niev commented 6 years ago
niev@oz:~$ pgrep KSP
3397
niev@oz:~$ pwdx 3397
3397: /home/niev/.local/share/Steam/steamapps/common/Kerbal Space Program/GameData
Niev commented 6 years ago

Working directory is set in shortcut which was created by Steam.

Real-Gecko commented 6 years ago

Alright, will fix that later. As soon as I deal with Witcher III :D