more debug

This commit is contained in:
tresabhi committed 2026-06-10 13:43:09 -05:00
1 parent 007ad3be15
commit b23f88b8a5
2 files changed
+19

No files matched your search

+5
View File
@@ -31,7 +31,12 @@ public partial class GameInterface
Console.WriteLine("GameInterface constructor called");
provider = new(directory, map, temp);
Console.WriteLine("Provider created");
files = [.. provider.Files.Keys];
Console.WriteLine("Files loaded");
}
readonly Dictionary<string, string> texturePaths = new();
+14
View File
@@ -32,15 +32,29 @@ public partial class BlitzFileProvider : DefaultFileProvider
pathComparer: StringComparer.OrdinalIgnoreCase
)
{
Console.WriteLine("BlitzFileProvider constructor called");
MappingsContainer = new FileUsmapTypeMappingsProvider(map);
Console.WriteLine("MappingsContainer initialized");
Initialize();
Console.WriteLine("Initialize called");
Mount();
Console.WriteLine("Mount called");
string oodlePath = $"{temp}/oodle.so";
OodleHelper.DownloadOodleDll(ref oodlePath!);
Console.WriteLine("DownloadOodleDll called");
OodleHelper.Initialize(oodlePath);
Console.WriteLine("Initialize called");
if (TryGetGameFile("Blitz/AssetRegistry.bin", out var file))
{
var bytes = file.Read();