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)
return (null, ResolveData.Invalid);
path = path.ToLower();
return category switch
{
// Only Interface collection.

View file

@ -52,7 +52,7 @@ public static class SubMod
if (files != null)
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>()));
}
@ -60,7 +60,7 @@ public static class SubMod
if (swaps != null)
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>()!));
}