build: make release restore reproducible

This commit is contained in:
Erik 2026-08-18 10:29:00 +02:00
parent b459e0cf0c
commit c38f6b8852
129 changed files with 16810 additions and 188 deletions

View file

@ -3,6 +3,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using AcDream.Content;
using AcDream.Content.Vfx;
using DatReaderWriter;
using DatReaderWriter.DBObjs;
@ -17,7 +18,8 @@ string datDir = SysEnv.GetEnvironmentVariable("ACDREAM_DAT_DIR")
"Documents", "Asheron's Call");
Console.WriteLine($"datDir = {datDir}");
using var dats = new DatCollection(datDir, DatAccessType.Read);
var physicsScripts = new RetailPhysicsScriptLoader(dats);
using var datSource = new DatCollectionAdapter(dats);
var physicsScripts = new RetailPhysicsScriptLoader(datSource);
uint[] roots = { 0x33000453u, 0x33000428u, 0x3300042Cu, 0x33000429u, 0x3300042Du };