<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/runtime/test/file_system_test.cpp, branch main</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=main</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-29T15:44:51+00:00</updated>
<entry>
<title>Merge pull request #1146 from Christopher-Sundeby/fix/file-system-test-c4456</title>
<updated>2026-11-29T15:44:51+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-11-29T15:44:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=006e9f435fe5451703a975c456bc939b004d440a'/>
<id>urn:sha1:006e9f435fe5451703a975c456bc939b004d440a</id>
<content type='text'>
file_system_test: build without the C4456 shadow warning (TEST-FS-C4456)</content>
</entry>
<entry>
<title>Merge pull request #1600 from thiefyzheng/fix/test-tempdir-stripped-env</title>
<updated>2026-11-29T12:44:40+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-11-29T12:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=44ddf9b0527022b0bcddd3d4f0bf46382fdb94a5'/>
<id>urn:sha1:44ddf9b0527022b0bcddd3d4f0bf46382fdb94a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: derive every test's scratch folder from test_temp_dir::temp_dir, not GetTempPath (TEST-TEMPDIR-STRIPPED-ENV)</title>
<updated>2026-11-28T19:01:06+00:00</updated>
<author>
<name>thiefyzheng</name>
<email>thiefyzheng@users.noreply.github.com</email>
</author>
<published>2026-11-25T05:33:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b17397f0dd77280e107de489fc0f2a92471ace60'/>
<id>urn:sha1:b17397f0dd77280e107de489fc0f2a92471ace60</id>
<content type='text'>
With TMP, TEMP and USERPROFILE all unset, GetTempPathW returns C:\Windows\, and the throwing create_directories/copy_file/ofstream on C:\Windows\leonida_* aborts with 0xc0000409 before the test body runs. runtime/test/test_temp_dir.h grows one entry, testfiles::temp_dir(): LEONIDA_TEST_DIR when set, the current directory when the temp environment is stripped (Windows), else the standard temp resolution. Fifty-two test files and the tiny_game fixture that called GetTempPathA/W or temp_directory_path directly now use it; d3d12_queue_handover_test.cpp also checks the _sopen_s result in capture_stderr instead of silently returning empty stderr. One runtime source function needed the same fallback because tests exercise it: tls_host_clone_dir in runtime/src/pe_loader.cpp (the loader_tls tests). Rebased onto current main after its D3D-448 additions to d3d12_mesh_test.cpp (3-way; the mesh test keeps both). Verification on a Windows VM: stripped environment - the previously crashing d3d12 tests exit 77 (no usable Vulkan device) instead of aborting, file_system_test runs all 505 checks and loader_test all 95 with zero failures; normal environment - identical outcomes; LEONIDA_TEST_DIR honored under a fully stripped environment (the scratch folder observed mid-run inside it, cleaned up after the pass). The finding is whoalin1's (coordination issue #14, 02:37:44Z).

AI-assisted.
</content>
</entry>
<entry>
<title>file_system: T:\ is a drive root for file calls; move and copy hold the folder lock</title>
<updated>2026-11-28T01:10:56+00:00</updated>
<author>
<name>Tyrannys</name>
<email>80750971+Tyrannys@users.noreply.github.com</email>
</author>
<published>2026-11-28T01:10:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=11b63a53b02c52e1bd17038c15b3ba69f9473f98'/>
<id>urn:sha1:11b63a53b02c52e1bd17038c15b3ba69f9473f98</id>
<content type='text'>
Three fixes to the GAME:/T: overlay shim:

- The T:\ root parses to its scratch folder's parts, not to an empty
  list, so the parts.empty() root checks in write_target, DeleteFileW,
  the copy destination and SetFileAttributesW let it through: a
  SetFileAttributesW(T:\) reached the host folder. They use
  drive_root(), as RemoveDirectory and MoveFileEx already do, with the
  error each gave for GAME:\.
- MoveFileEx and the CopyFile family did not hold the destination
  folder's lock from the "does the folder exist" check to the host
  move or copy, as a write-open and CreateDirectory do, so a concurrent
  RemoveDirectory of that folder could still be undone. A copy with a
  progress routine does not hold it across the copy, because the
  routine is the title's code.
- CreateDirectory removed a recreated folder's marker without
  win32_io_path(), so a marker beyond MAX_PATH could not be removed on a
  host without long path support, and the folder was not recreated.

Found by kevincommits (#1608).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>main keeps its own runtime, tools and tests; the branch's variants stay on port/d3d12-nvidia</title>
<updated>2026-11-27T22:58:38+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T22:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=00131bb85ee294179e5179b00a2c68f4ea3610b5'/>
<id>urn:sha1:00131bb85ee294179e5179b00a2c68f4ea3610b5</id>
<content type='text'>
After the merge the tree held this branch's older states of files main maintains. Run against main's code,
tests/test_acphal_abi.py and 11 of the 15 translator tests that differed failed, and the C++ runtime would have
been built from two generations of its sources. So that the merge cannot break what main builds and tests:

- runtime/ is main's, file for file (68 files only this branch had are not carried over);
- every file under tools/, tests/ and docs/ that both sides have is main's (80 files);
- ten translator tests only this branch has, which test rules main's translator does not have, and their
  fixtures are left out.

What main gains: d3d12/ (the Rust D3D12 runtime), its launchers and helpers (Launcher.bat, scripts/play*.ps1,
play-linux.sh, port_ctl.py, smooth-motion.ps1, fetch_vkd3d_proton.py, sync_victory.py), mods/example_lua, eleven
notes under docs/, seven tools and the tests that pass with main's code, the README's sections and credits, and
the "Runtime traps" section of AGENTS.md. Everything left out here is on the branch port/d3d12-nvidia.

Checked: compileall; make_game.py --help; check_no_game_data.py over every file this adds to main; the
line-ending, docs-encoding, CI-registration and docs tests; each test file that differs from main, on its own.
Not run: the whole translator suite, the C++ build, cargo over d3d12/ after the merge (d3d12/ is byte for byte the
branch's), CI.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge mandy's main into port/d3d12-nvidia</title>
<updated>2026-11-27T22:50:37+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T22:50:37+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b87abdef5735adc68a614b2025ffcf9869a47cc5'/>
<id>urn:sha1:b87abdef5735adc68a614b2025ffcf9869a47cc5</id>
<content type='text'>
Brings the D3D12 runtime branch (d3d12/, its launcher scripts and notes, and the pull requests reviewed and applied
on it) together with mandy's main.

Conflicts (67 files, none under d3d12/): docs/, make_game.py, runtime/, scripts/build_runtime.ps1, tests/ and
tools/. Every one takes main's side: main is where that code is maintained, and this branch's copies were older
states of the same files or the same pull requests in another form. tests/test_fspx_unpack.py is main's too, as it
tests main's tools/fspx_unpack.py. Nothing under d3d12/ is changed by the merge.

Checked before pushing: python -m compileall over make_game.py, tools and tests; make_game.py --help;
scripts/check_no_game_data.py over the files this adds to main; tests/test_text_write_line_endings.py. The
translator suite, the C++ runtime build and CI have not run on the result.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>file_system: GetDiskFreeSpace(Ex) and SetCurrentDirectory on console paths</title>
<updated>2026-11-26T07:24:11+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-26T07:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5ba3e05f234622420deb11ba0d1ddb9fe3e0a790'/>
<id>urn:sha1:5ba3e05f234622420deb11ba0d1ddb9fe3e0a790</id>
<content type='text'>
Port VIctory's files.rs (GPL-3.0-or-later) for these path imports:
GetDiskFreeSpaceA/W/ExA/ExW and SetCurrentDirectoryA/W on GAME:, G: and
T: paths now ask the folder behind the path (the game folder or the
overlay), so a title checking its drive's free space no longer fails on a
drive letter the host lacks, or gets a host drive's answer. A path that
climbs out of the drive is refused as the other path calls refuse it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #688 from aslan2142/game-rmdir-create-race</title>
<updated>2026-11-25T23:00:45+00:00</updated>
<author>
<name>aslan2142</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-25T23:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8564bb48bbf89c7fdbab7488ce1174faee32d1c2'/>
<id>urn:sha1:8564bb48bbf89c7fdbab7488ce1174faee32d1c2</id>
<content type='text'>
OLD-9215: restore old upstream PR 9215 - file_system: RemoveDirectory and a create inside the folder are ordered as on the host</content>
</entry>
<entry>
<title>Merge main into OLD-8161, T: overlay folder per process (#684)</title>
<updated>2026-11-24T23:33:53+00:00</updated>
<author>
<name>Jan Trencansky</name>
<email>jan.trencansky@protonmail.com</email>
</author>
<published>2026-11-24T23:33:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5866d6974e86fc2d39e6ce0691af63b354f6c8b9'/>
<id>urn:sha1:5866d6974e86fc2d39e6ce0691af63b354f6c8b9</id>
<content type='text'>
Conflict in docs/boot.md, the --overlay switch: main now says the overlay defaults to
&lt;game-dir&gt;\overlay and the package is never written; this branch adds the per-process T: folder
inside the overlay. Kept main's sentence and appended the T: text after it.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>file_system_test: build without the C4456 shadow warning</title>
<updated>2026-11-24T19:08:27+00:00</updated>
<author>
<name>Christopher Sundeby</name>
<email>Christopher.sundeby@ist.com</email>
</author>
<published>2026-11-23T18:56:33+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=bbdb7543b7a0e0448cb9fced5699ccbded3c2378'/>
<id>urn:sha1:bbdb7543b7a0e0448cb9fced5699ccbded3c2378</id>
<content type='text'>
The reserved-folder probe (RT-294) declared `const HANDLE h` inside a loop
that already sits in the scope of the outer `HANDLE h`, which MSVC reports
at /W4 as C4456. Name the inner handle `refused`; the checks are unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
