mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
more debug
This commit is contained in:
1 parent
007ad3be15
commit
b23f88b8a5
2 files changed
+19
No files matched your search
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user