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