mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-17 04:04:48 +08:00
Dat54.rel structures from CamxxCore/RageAudioTool, Removed file names with extensions from main jenk index
This commit is contained in:
+1416
-66
File diff suppressed because it is too large
Load Diff
@@ -355,10 +355,8 @@ namespace CodeWalker.GameFiles
|
|||||||
{
|
{
|
||||||
var nlow = entry.NameLower;
|
var nlow = entry.NameLower;
|
||||||
if (string.IsNullOrEmpty(nlow)) continue;
|
if (string.IsNullOrEmpty(nlow)) continue;
|
||||||
JenkIndex.Ensure(entry.Name);
|
//JenkIndex.Ensure(entry.Name);
|
||||||
JenkIndex.Ensure(nlow);
|
//JenkIndex.Ensure(nlow);
|
||||||
//JenkIndex.Ensure(entry.Path);
|
|
||||||
//JenkIndex.Ensure(entry.Path.ToLower());
|
|
||||||
int ind = nlow.LastIndexOf('.');
|
int ind = nlow.LastIndexOf('.');
|
||||||
if (ind > 0)
|
if (ind > 0)
|
||||||
{
|
{
|
||||||
@@ -371,6 +369,11 @@ namespace CodeWalker.GameFiles
|
|||||||
// JenkIndex.Ensure(entry.NameLower.Substring(0, ind) + ".#" + entry.NameLower.Substring(ind + 2));
|
// JenkIndex.Ensure(entry.NameLower.Substring(0, ind) + ".#" + entry.NameLower.Substring(ind + 2));
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
JenkIndex.Ensure(entry.Name);
|
||||||
|
JenkIndex.Ensure(nlow);
|
||||||
|
}
|
||||||
if (nlow.EndsWith(".ydr") || nlow.EndsWith(".yft"))
|
if (nlow.EndsWith(".ydr") || nlow.EndsWith(".yft"))
|
||||||
{
|
{
|
||||||
var sname = nlow.Substring(0, nlow.Length - 4);
|
var sname = nlow.Substring(0, nlow.Length - 4);
|
||||||
|
|||||||
Reference in New Issue
Block a user