mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 19:44:47 +08:00
HD textures (WIP), vehicles.meta gtxd loading
This commit is contained in:
+8
-1
@@ -519,7 +519,14 @@ namespace CodeWalker.Forms
|
||||
{
|
||||
var f = Yft.Fragment;
|
||||
|
||||
hash = Yft?.RpfFileEntry?.ShortNameHash ?? 0;
|
||||
hash = Yft.RpfFileEntry?.ShortNameHash ?? 0;
|
||||
|
||||
var namelower = Yft.RpfFileEntry?.GetShortNameLower();
|
||||
if (namelower?.EndsWith("_hi") ?? false)
|
||||
{
|
||||
hash = JenkHash.GenHash(namelower.Substring(0, namelower.Length - 3));
|
||||
}
|
||||
|
||||
arch = TryGetArchetype(hash);
|
||||
|
||||
Renderer.RenderFragment(arch, null, f, hash);
|
||||
|
||||
Reference in New Issue
Block a user