#[fixed][2.1.62] Renaming comparison is case-insensitive
1 messages · Page 1 of 1 (latest)
This is likely an artifact of Windows compatibility.
Windows's folder / file names are & always were case-insensitive.
Possible, but renaming a file from Test.txt to test.txt does work on Windows, so I believe the check is not necessary
This is definitely the case
I single out Windows & handle the renaming differently, should be fixed in 2.1.63
This could cause problems though 🤔.
Especialy if someone creates schematics on a Linux PC &
then tries to transfer / sync the schematics over to a Windows one.
Unless you aren't encoding schematic names as the visible names anymore.
That is true, maybe it's better to disallow case-insensitively identical schematics all together
The game already disallows many valid characters in schematic names to enforce validity across the 3 major OSes
But that would be a breakingly breaking change though, I'll discuss it with Stefan later when he is back online
Note that MacOS also uses case insensitive file names by default, if I'm not mistaken. Not sure if that affects this problem.
Yeah, that means that [this](#1486433861746294994 message) scenario can be replicated when switching from Linux => MacOS,
even if not in every scenario/case.
Yeah, I meant it as a sort of reminder, so as not to break the version of TC Stuffe uses 😅
Schematic, .asm and folder names should be treated case-insensitively since 2.1.74. We can still make names like "Test", but then "test", "TEST", ... will all be rejected (only if you create these from the game of course). Renaming "Test" to "test" is allowed