mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Revert no-lowercasing for the moment.
This commit is contained in:
parent
3754f57132
commit
5512e0cad2
2 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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>()!));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue