Giter Club home page Giter Club logo

Comments (6)

Ortham avatar Ortham commented on August 13, 2024

This isn't an issue with LOOT: if AyleidCitadel.esp has Hearthfires.esm instead of HearthFires.esm, that's an issue with that plugin (except not really, I think it's unreasonable to expect case correctness when it's not normally required).

Have you tried installing Skyrim SE in a case-insensitive filesystem?

from libloot.

khadoran avatar khadoran commented on August 13, 2024

Yes, that's why I thought, LOOT should handle it. I don't have any case-insensitive file system to test it with and a virtual file system would be too large as I need it for 4 games.

Would an option to "enforce using case-insensitivity" make sense to let the user decide?

from libloot.

Ortham avatar Ortham commented on August 13, 2024

No, emulating filesystem case-insensitivity at an application level sounds like a recipe for all sorts of weird edge cases to me. It's bad enough that libloot already has to attempt to compare filenames case-insensitively without getting the filesystem involved, I don't want to open that can of worms any further.

from libloot.

khadoran avatar khadoran commented on August 13, 2024

Sorry for my late answer.

I understand your concerns, especially looking from a library's point of view. I just hoped for an easy way to do automated installation and load order management provided by libloot with a Linux-native application. So, I guess, using the Windows version of loot with wine will also do the trick and I just do the mod installation with Linux-native application.

Thank you for the clarification.

from libloot.

Ortham avatar Ortham commented on August 13, 2024

For future reference, loot/loot#1095 is also about case-sensitive paths on Linux and offers a couple of solutions.

from libloot.

Ortham avatar Ortham commented on August 13, 2024

Aside from data read from game files not matching the case of filenames in the filesystem, libloot also hardcodes the following file extensions and uses them to construct paths that may fall foul of case-sensitivity:

  • - Textures is used to construct BSA filenames to look for when searching for BSAs associated with a plugin.
  • .ba2 and .bsa are used to construct archive filenames to look for when searching for BSAs associated with a plugin.
  • .ghost is used to construct plugin filenames to load when the unghosted filename is given but does not exist.
  • Condition evaluation looks for lowercase .esp, .esm, .esl extensions and .ghost extensions on those.

It's possible to reimplement these to avoid using the string literals as part of filenames, though it would be slower and more complicated.

from libloot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.