Project

General

Profile

Bug #1191

Case sensitivity of Flags folder

Added by MacTee over 10 years ago. Updated over 7 years ago.

Status:
Closed
Severity:
Very Low
Assignee:
-
Category:
Parts
Target version:
-
Start date:
08/07/2013
% Done:

100%

Version:
Platform:
Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

I have added some Flags to my own folder in GameData (KSP_Install/GameData/myflags/flags) but they don't show up in the flag selection. After a few minutes of confusion i figured out that the folder must have a uppercase F (KSP_Install/GameData/myflags/Flags).
Just a rename later the flags show up in the flag selection.

To reproduce:
1. just rename the flags folder in GameData/Squad/Flags to GameData/Squad/flags.
2. start the KSP, and start a new Game.
3. look at the flag selection ... no more vanilla flags.

I think you will have the same problem with the other folder like Parts, Sounds, ...

My guess is that there is just a simple string compare for the path checks.
This could be resolved just by adding a ToLower() to both sides (strings) of the string compare.

History

#1 Updated by Ted over 10 years ago

  • Category set to Parts
  • Severity changed from Low to Very Low

#2 Updated by Squelch over 8 years ago

  • Platform Win32 added
  • Platform deleted (Windows)

#3 Updated by TriggerAu over 7 years ago

  • Status changed from New to Needs Clarification

#4 Updated by Claw over 7 years ago

  • Status changed from Needs Clarification to Confirmed
  • % Done changed from 0 to 10
  • Platform Windows added
  • Platform deleted (Win32)

Confirmed, 1.1.3

#6 Updated by sal_vager over 7 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 10 to 100

This is fixed in 1.2

#7 Updated by JPLRepo over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF