$env:ACDREAM_DAT_DIR = "$env:USERPROFILE\Documents\Asheron's Call" $env:ACDREAM_LIVE = '1' $env:ACDREAM_TEST_HOST = '127.0.0.1' $env:ACDREAM_TEST_PORT = '9000' $env:ACDREAM_TEST_USER = 'testaccount' $env:ACDREAM_TEST_PASS = 'testpassword' # A6.P3 #98 (2026-05-23 evening v2) — focused capture of the cottage # GfxObj 0x01000A2B's full polygon table. ACDREAM_DUMP_GFXOBJS triggers # a one-shot JSON dump the first time PhysicsDataCache.CacheGfxObj fires # for the listed id. The dump lands in the tests' fixture directory under # the worktree, so the harness can load it without copying. # # Reproduction steps for the user: # 1. Run this script (it launches in the foreground; log streams to the # file path below). # 2. Log into +Acdream. The cottage GfxObj caches when the streaming # worker walks the cottage building's mesh — which happens as soon # as the cottage landblock enters the streaming N1 (near) tier. # Holtburg's cottage (the one with the cellar) is at the spawn area, # so just being in-world is enough. # 3. Watch the log for "[gfxobj-dump] wrote 0x01000A2B polys=N → ..." # then close the client. # # After the dump file exists at # tests/AcDream.Core.Tests/Fixtures/issue98/0x01000A2B.gfxobj.json # come back to Claude to continue with the RegisterCottageGfxObj wiring. $env:ACDREAM_DUMP_GFXOBJS = '0x01000A2B' # Output dir is the relative fixture path; the dump infrastructure # resolves it against the worktree current dir (Set-Location below). $env:ACDREAM_DUMP_GFXOBJS_DIR = 'tests/AcDream.Core.Tests/Fixtures/issue98' # Keep the cell-transit probe on so the launch log shows when the player # enters cells — helps correlate the dump event with player position. $env:ACDREAM_PROBE_CELL = '1' $logPath = 'C:\Users\erikn\source\repos\acdream\.claude\worktrees\strange-albattani-3fc83c\a6-issue98-cottage-gfxobj-dump-launch.log' Write-Host "Log path: $logPath" Write-Host "Dump target: $env:ACDREAM_DUMP_GFXOBJS_DIR\0x01000A2B.gfxobj.json" Write-Host '' Write-Host 'After login, watch the log for [gfxobj-dump] then close the client.' Set-Location 'C:\Users\erikn\source\repos\acdream\.claude\worktrees\strange-albattani-3fc83c' dotnet run --project src\AcDream.App\AcDream.App.csproj --no-build -c Debug *> $logPath