Project

General

Profile

Feedback #5273

Duplicate path in ~/.config/unity3d on Linux - case-sensitive filesystem

Added by micha almost 6 years ago. Updated about 1 year ago.

Status:
Ready to Test
Severity:
Unworthy
Assignee:
Category:
Application
Target version:
Version:
Platform:
Linux
Expansion:
Core Game
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Hi,

KSP creates 2 additional directories under Linux in "~/.config/unity3d" :
  • Squad/
  • SQUAD/

One contains additional configuration files for KSP and the other does the same for the Launcher. The Launcher is in the all-capitalized one; it would make sense to unify these.

This has been the case since at least 0.90, and verified with 1.0.4 (not an option in your version drop-down).

[email protected]:~/.config/unity3d$ tree
+-- global.prefs
+-- Player.log
+-- Squad
|   \-- Kerbal Space Program
|       +-- Player.log
|       \-- prefs
+-- SQUAD
    \-- KSPLauncher
        +-- Player.log
        \-- prefs

So while it might be a semantic nitpick I do consider this to be a (very very minor) bug.


Related issues

Copied to Kerbal Space Program - Feedback #9914: Duplicate path in ~/.config/unity3d on Linux - case-sensitive filesystemClosed

History

#1 Updated by Squelch almost 6 years ago

  • Tracker changed from Bug to Feedback
  • Version changed from 1.0.2 to 1.0.4

It's not really a bug, so I have marked it as feedback.

Using case sensitivity alone is not always foolproof, so perhaps the folders should be better distinguished. The launcher and the game can use different settings as they are considered unique applications. The two settings and their respective data files cannot be merged.

1.0.4 is there, but alphanumeric sorting has conspired against us. Look 3 entries above 1.0.2

#2 Updated by micha almost 6 years ago

Apologies for not being clearer; KSP and the Launcher both create their own directory underneath their respective "Squad"/"SQUAD" directories, hence there's no overriding of settings from one to the other:

[email protected]:~/.config/unity3d$ tree
+-- global.prefs
+-- Player.log
+-- Squad
|   \-- Kerbal Space Program
|       +-- Player.log
|       \-- prefs
+-- SQUAD
    \-- KSPLauncher
        +-- Player.log
        \-- prefs

So while it might be a semantic nitpick I do consider this to be a (very very minor) bug.

#3 Updated by Squelch almost 6 years ago

  • Description updated (diff)

#4 Updated by Squelch almost 6 years ago

It would make sense to put them all in one place as related items, but I don't believe this is a requirement, and they could be arbitrarily set to any other folder structure to function.

I've added your diagram to the original post, and will forward this for consideration.

#6 Updated by Ruedii almost 5 years ago

  • Version changed from 1.0.4 to 1.1.2

Still present in 1.1.2

#7 Updated by Ruedii almost 5 years ago

  • Copied to Feedback #9914: Duplicate path in ~/.config/unity3d on Linux - case-sensitive filesystem added

#8 Updated by TriggerAu almost 5 years ago

  • Status changed from New to Needs Clarification

#9 Updated by micha about 2 years ago

TriggerAu updated:

Status changed from New to Needs Clarification

What needs Clarification please ?

There was never a request to merge "Kerbal Space Program" and "Launcher" folders (not entirely sure where that interpretation came from).
The request was to merge the superfluous "Squad" and "SQUAD" folders (see below).

Current:
--------

[email protected]:~/.config/unity3d$ tree
+-- global.prefs
+-- Player.log
+-- Squad
|   \-- Kerbal Space Program
|       +-- Player.log
|       \-- prefs
+-- SQUAD
    \-- KSPLauncher
        +-- Player.log
        \-- prefs

===============================
Proposed:
--------
[email protected]:~/.config/unity3d$ tree
+-- global.prefs
+-- Player.log
+-- Squad
    +-- Kerbal Space Program
    |    +-- Player.log
    |    \-- prefs
    +-- KSPLauncher
        +-- Player.log
        \-- prefs

#10 Updated by ManeTI about 1 year ago

  • Status changed from Needs Clarification to Ready to Test
  • Assignee set to ManeTI
  • Target version set to 1.9.1
  • Expansion Core Game added

Hey, this is no longer happening, checked on 1.9.1, first thing to do is remove previous folders from older versions of KSP:

 [email protected]:$ rm -r ~/.config/unity3d/SQUAD
 [email protected]:$ rm -r ~/.config/unity3d/Squad

Then start KSP and the launcher to verify:

[email protected]:~/.config/unity3d$ tree
.
├── global.prefs
├── Player.log
└── Squad
   ├── Kerbal Space Program
   │   ├── Player.log
   │   ├── prefs
   │   └── Unity
   │       └── 39811e89-d29d-4faa-bb01-997f3cda24f0
   │           └── Analytics
   │               ├── ArchivedEvents
   │               ├── config
   │               └── values
   └── KSPLauncher
       └── Unity
           └── local.ba7ef0fc4170b7c4aba9513498a256b2
               └── Analytics
                   ├── ArchivedEvents
                   ├── config
                   └── values

As you can see both folders are now under Squad.

Also available in: Atom PDF