mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +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");
|
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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user