Revert no-lowercasing for the moment.

This commit is contained in:
Ottermandias 2024-07-29 09:43:07 +02:00
parent 3754f57132
commit 5512e0cad2
2 changed files with 3 additions and 2 deletions

View file

@ -52,6 +52,7 @@ public class PathResolver : IDisposable, IService
if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb) if (resourceType is ResourceType.Lvb or ResourceType.Lgb or ResourceType.Sgb)
return (null, ResolveData.Invalid); return (null, ResolveData.Invalid);
path = path.ToLower();
return category switch return category switch
{ {
// Only Interface collection. // Only Interface collection.

View file

@ -52,7 +52,7 @@ public static class SubMod
if (files != null) if (files != null)
foreach (var property in files.Properties()) foreach (var property in files.Properties())
{ {
if (Utf8GamePath.FromString(property.Name, out var p)) if (Utf8GamePath.FromString(property.Name, out var p, true))
data.Files.TryAdd(p, new FullPath(basePath, property.Value.ToObject<Utf8RelPath>())); data.Files.TryAdd(p, new FullPath(basePath, property.Value.ToObject<Utf8RelPath>()));
} }
@ -60,7 +60,7 @@ public static class SubMod
if (swaps != null) if (swaps != null)
foreach (var property in swaps.Properties()) foreach (var property in swaps.Properties())
{ {
if (Utf8GamePath.FromString(property.Name, out var p)) if (Utf8GamePath.FromString(property.Name, out var p, true))
data.FileSwaps.TryAdd(p, new FullPath(property.Value.ToObject<string>()!)); data.FileSwaps.TryAdd(p, new FullPath(property.Value.ToObject<string>()!));
} }