Jump to content

Graphical settings not recorded


Recommended Posts

Version : KSP 1.0.2 - steam.

I made a script to start KSP without having starting steam :

#!/bin/bash

cd /home/myusername/.local/share/Steam/SteamApps/common/Kerbal\ Space\ Program/ && ./KSP.x86_64

The problem is that my graphical settings and the preferences about sending my IP are not recorded seems to be reinitialized each time I relaunch ksp.

I explain more : If i made changes, for example activate fullscreen, next time I will launch KSP, it will be in full screen, but if I go in the settings panel, all options are set to default. Then if i click on apply, it apply default settings.

It's very annoying to have to re-set everything as soon as I want to change a setting.

Similarly, the KSP Stats Tracking dialog is displayed each time I launch KSP (This is the dialog where you tell if you want to send IP and anonymous game progress data).

Keys modification are recorded though.

There's nothing in the console about file not found or such thing.

Is this a known bug ? I didn't find anything about it in the forum...

Edited by fopim
Link to comment
Share on other sites

Hi fopim, no this isn't a bug in KSP, it's most likely that you have a permissions problem.

KSP stores the last good graphics settings in a prefs file in "/home/user/.config/unity3d/Squad/Kerbal Space Program/prefs", the rest goes in settings.cfg, so you should check the permissions on the game folder.

Also check for a settings.cfg where you run your script from, if it's being written there instead of the game folder that might be why this is happening.

I have a script as well but mine's like this.


#!/bin/bash
cd "/home/yourusernamehere/.local/share/Steam/SteamApps/common/Kerbal Space Program/"
./KSP.x86_64

I don't have any problem, see if that works better for you.

Link to comment
Share on other sites

Hi sal_vager, thanks for the answer.

It turned out that it was the lack of the LC_ALL=C in my script which caused the problem.

I removed it because in 0.90 changelog, it was said that the bugs caused by the local where fixed.

But as stated by m4v here http://forum.kerbalspaceprogram.com/threads/92231-The-Linux-Thread?p=1722020&viewfull=1#post1722020 , it doesn't fixed everything (but the most annoying bug though).

Anyway, adding LC_ALL=C just before lauching ksp do the trick. :)

Link to comment
Share on other sites

Heh, of course, LC_ALL isn't applied to KSP.x86_64, only to the 32bit version, and it's only really required for non-English languages, if you run into any weirdness delete your settings.cfg as well.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...