Jump to content
  • 0

Launcher ignoring case-sensitive filesystem?


Question

Posted

I have been using the Technic Launcher for a while now on Linux and had the occasional issue caused by mod loading order.

After trying to get the dev version of the Technic Pack running today that had been out for a month and running into numerous

issues like that again I thought that the developers couldn't release a version this buggy so I thought about the issue from

a different angle.

Mods seem to be loaded in alphabetical order of filenames in the mods directory (thus tips here and elsewhere to rename mods with certain letters

at the start of the name to change the order). On a case-sensitive filesystem all files with capital letters are usually listed first (lower ASCII codes) before lower case is listed. So the order of mod loading is A...Z a...z instead of A a B b ... Z z.

Trying this theory I simply renamed all files in mods to their lowercase equivalent and suddently all my problems disappeared, Minecraft launched and I could create a new world and walk around, open my inventory,... all stuff that had caused crashes with various exceptions in the logs before.

So I would strongly suggest that the launcher does not depend on the case of the filenames when loading mods or, if that code is beyond your reach to change in Minecraft itself or the JVM that the files are all renamed to lower case (or all upper case but all lower is easier on the eyes).

That way mod loading order should be identical on all supported platforms.

3 answers to this question

Recommended Posts

  • 0
Posted

Gotta love case sensitivity! Here's the thing. If I were to hazard a guess, I'd say that the mods are loaded and searched out with a wildcard character, most likely something like "*.zip". When that happens, it's not only outside the reach of Technic Launcher, not even Risu's Modloader, but really, that's up to the filesystem. The problem here is that your filesystem (likely ext3 or ext4) has the order A-Z a-z instead of Aa-Zz as Windows has. Why the fs devs did it that way is anyone's guess, but it's their problem, and not really something Technic could fix.

  • 0
Posted

Actually it is Windows that does something special here by making two different binary values equivalent in the sorting order. That isn't the point though. The point is that the launcher could fix this easily by renaming everything in the mods directory to lowercase and reduce all those "Saving chunks" bugs caused by a loading order different from that of the technic devs.

  • 0
Posted

Actually it is Windows that does something special here by making two different binary values equivalent in the sorting order. That isn't the point though. The point is that the launcher could fix this easily by renaming everything in the mods directory to lowercase and reduce all those "Saving chunks" bugs caused by a loading order different from that of the technic devs.

They could, I guess. That's a temporary solution at most, but it works. The real way to fix it, I guess, would be to get Risugami to implement a manual load order using regular expressions instead of using wildcards.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...