#[fixed][2.1.62] Renaming comparison is case-insensitive

1 messages · Page 1 of 1 (latest)

true orchid
#

Trying to rename a circuit from Is Zero to Is zero does not changes the name.

Workaround if anybody land on that post: Rename it to something with more / less characters, and then rename it again to what you initialy wanted:

  1. Is Zero ➡️ Is zero with extra chars
  2. Is zero with extra chars ➡️ Is zero
patent jolt
true orchid
#

Possible, but renaming a file from Test.txt to test.txt does work on Windows, so I believe the check is not necessary

coral nebula
#

I single out Windows & handle the renaming differently, should be fixed in 2.1.63

patent jolt
coral nebula
#

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

acoustic oyster
#

Note that MacOS also uses case insensitive file names by default, if I'm not mistaken. Not sure if that affects this problem.

patent jolt
acoustic oyster
#

Yeah, I meant it as a sort of reminder, so as not to break the version of TC Stuffe uses 😅

coral nebula
#

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