mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 15:45:42 +08:00
File diff suppressed because it is too large
Load Diff
@@ -82,6 +82,7 @@ namespace CodeWalker.GameFiles
|
||||
Yfd = 26,
|
||||
Heightmap = 27,
|
||||
Watermap = 28,
|
||||
Mrf = 29,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -197,6 +197,7 @@ namespace CodeWalker.GameFiles
|
||||
//TestYpts();
|
||||
//TestYnvs();
|
||||
//TestYmaps();
|
||||
//TestMrfs();
|
||||
//TestPlacements();
|
||||
//TestDrawables();
|
||||
//TestHeightmaps();
|
||||
@@ -4179,6 +4180,29 @@ namespace CodeWalker.GameFiles
|
||||
}
|
||||
}
|
||||
}
|
||||
public void TestMrfs()
|
||||
{
|
||||
foreach (RpfFile file in AllRpfs)
|
||||
{
|
||||
foreach (RpfEntry entry in file.AllEntries)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (entry.NameLower.EndsWith(".mrf"))
|
||||
{
|
||||
UpdateStatus(string.Format(entry.Path));
|
||||
MrfFile mrffile = RpfMan.GetFile<MrfFile>(entry);
|
||||
if (mrffile != null)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
UpdateStatus("Error! " + ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
public void TestPlacements()
|
||||
{
|
||||
//int totplacements = 0;
|
||||
|
||||
Reference in New Issue
Block a user