lVlyke / starfield-mod-loader

A cross-platform mod manager for Starfield and other games.
GNU General Public License v3.0
27 stars 1 forks source link

Automatically correct folder names to match regardless of case #15

Open ProfessorDey opened 3 months ago

ProfessorDey commented 3 months ago

A genuinely fantastic tool, great work on it. The one and only hickup I have semi-regularly, especially when updating, is that folder names on Windows are entirely Case Insensative, unfortunately Linux on the other hand can have 'Meshes' and 'meshes' as seperate folders, causing issues with disappearing assets because the mod uploader wasn't putting in the same case everyone else was using.

The most straightforward solution I could see is just renaming either the folders or every file to be consistantly a single case. Proton seems to do a good enough job being case insensative but when there's two folders with different cases but the same name, it just picks one of them and runs with it, which obviously is not helpful. As it stands I have to manually go through and rename at least the folders immediately inside 'Data', such as 'Meshes', 'Textures', and 'Scripts'.

Any solution would certainly make linux modding that bit more convenient (Though this loader already blows NMM/Vortex out of the water from what I remember them being like back on windows, has been a good few years since then, lol).

lVlyke commented 3 months ago

Thanks for the feedback, glad you’re liking the app!

Fortunately there’s already a setting in the app that you can enable to work around this issue. If you enable the “Normalize Mod File Path Case” setting under File > Preferences, all mod files will automatically be converted to lowercase. See the README for more info.

Let me know if you're still seeing issues with this setting enabled.