Commit Graph
27 Commits
Author SHA1 Message Date
Valiantsin DzerakhandClaude Opus 5.5 c757a42798 Add the frame rate overlay: TOTK_PERF_OVERLAY fps shows the frame rate in the top right corner, full adds the mean and longest frame time of the last half second, F10 cycles the modes and saves the choice
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:50:45 +03:00
Valiantsin DzerakhandClaude Opus 5.5 f2db724631 Grey out the performance overlay row until the overlay exists, and list what the menu still lacks in the backlog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:31:45 +03:00
Valiantsin DzerakhandClaude Opus 5.5 7d33982123 Drop the UHD 630 ASTC remark and the guess that image aliasing causes the black patches, which no code, commit or log confirms
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:00:09 +03:00
Valiantsin DzerakhandClaude Opus 5.5 ac75fecc41 Trim the README to a front page: short status, features and build steps, with bug lists, measurements and design detail left to the backlog and the architecture doc, and mark the UHD 630 ASTC path as unverified
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:59:18 +03:00
Valiantsin DzerakhandClaude Opus 5.5 283e1f18cf Bring the published docs up to date for the public repository
The README now names the three test machines, the installer, remapping and the mouse camera, and lists the open bugs. The backlog drops the dated diary, finished steps and local paths and keeps every open item with its evidence. Citations into our code name functions instead of line numbers that had drifted, build/ notes are no longer cited, and the toolchain doc lists opus and libvpx.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:53:19 +03:00
Valiantsin DzerakhandClaude Opus 5.5 31b864380f Keep the replay on the submitting thread unless TOTK_REPLAY_ASYNC=1, since no timing showed a gain yet, and list async_preempt and replay_async in totk.ini.example
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:23:27 +03:00
Valiantsin DzerakhandClaude Opus 5.5 dd4b28b400 Merge main into task/preempt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:19:18 +03:00
Valiantsin DzerakhandClaude Opus 5.5 a220b89459 Collect the open work in one list in docs/backlog.md, read the shared shader list's "*" texture kind as 2D, and record measurements from the other test machines
The backlog gets one "Open work" section: freezes, bugs (the Yunobo fade with its repro), machine items and paused
branches. prepare_shaders.py no longer stops on the "*" and "*_depth" texture kinds of the newer list revisions.
The playbook records the GTX 1050 Ti, RTX 3090 Ti and 8th-gen i7 numbers and how to get a perf log from those
machines; port-lessons gains the MacNativeGames virtual-core preemption row; totk.ini.example lists mouse_sens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:16:10 +03:00
Valiantsin DzerakhandClaude Opus 5.5 5eb60404a2 Describe the asynchronous preemption of virtual cores in docs/architecture.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 08:01:21 +03:00
Valiantsin DzerakhandClaude Opus 5.5 dc3a0e906a Reserve one pipeline worker for waiting draws' libraries only at the default TOTK_PIPE_WAIT, so TOTK_PIPE_WAIT=draw restores the old scheduling
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:00:06 +03:00
Valiantsin DzerakhandClaude Opus 5.5 2790f7d0e2 Keep render-thread call chains in the sampling profile and report inclusive time and driver callers from them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:40:49 +03:00
Valiantsin DzerakhandClaude Opus 5.5 b8ecf1d937 Document the mem: class and mem: dirty lines in the agent playbook
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 00:17:27 +03:00
Valiantsin DzerakhandClaude Opus 5.5 02158f3f46 Quote paths with spaces on the Ninja command lines of build_game.py
An install folder with a space in its name (or a user name with one) made the compile step fail: clang split
-I temp/Игра TotK-<hash>/gen at the space. Include, library and tool paths and the link map path are now quoted when
they hold a space.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:59:02 +03:00
Valiantsin DzerakhandClaude Opus 5.5 7880790b91 Merge main into task/unicode
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:42:42 +03:00
Valiantsin DzerakhandClaude Opus 5.5 a4bb2d5355 Document the UTF-8 manifests of hactool and totk.exe and the damaged file message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:35:41 +03:00
Valiantsin DzerakhandClaude Opus 5.5 94d5367040 Log GPU time per frame, VRAM, process RAM and a bound verdict in the perf line, and a pool census
Each submission part writes a timestamp pair under TOTK_TRACE=perf; the completion thread reads it and sums the busy
time without double-counting overlap. A second 60-frame perf line carries GPU ms per frame, fence waits of the render
thread and of other threads, VRAM usage and budget (VK_EXT_memory_budget, else the allocator's own blocks against the
heap size), working set and private bytes, and bound: gpu, cpu or pace. Devices without timestamp bits or a timestamp
period log one line and show gpu n/a.

vk_mem_resolve now reports the pool class of a span. The replay counts bytes bound or copied per class and use, and
vk_mem_census logs the live pools by kind and flags with that traffic at frame 1800 (every 1800 frames with perf).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 19:17:24 +03:00
Valiantsin DzerakhandClaude Opus 5.5 0beafeb066 Write GPU-rendered textures back when the CPU invalidates a pool range or waits for a fence
nvn_pool_invalidate was a weak no-op, so nvnMemoryPoolInvalidateMappedRange never wrote anything back. TotK
invalidates its 260x260 R16 grass maps and 1x1 targets before reading them; they now go through guest_read.

The grass system also renders a 128x128 RGBA8 cut map into a CPU-cached pool every frame and reads it with no
invalidate. Without its texels the CPU saw no cut: swings left the grass standing, with no blades and no insects.
After nvnSyncWait or nvnQueueFinish, dirty mirrored targets up to 64 KiB rendered in a submission up to the waited
fence go back to storage (cpu_synced, vk_texture_write_back_small), unless the CPU rewrote it since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:41:54 +03:00
Valiantsin DzerakhandClaude Opus 5.5 3505258a06 Merge the installer: setup steps, window, launcher and release bundle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:04:19 +03:00
Valiantsin DzerakhandClaude Opus 5.5 5c1626e7ac Build TotK-Setup.exe, write VERSION, copy installer/ and totk.ini.example into the release and run a check-only installer pass and the window selftest on the bundle
clean_env compared the upper-cased os.environ keys with mixed-case names and dropped SystemRoot, which crashed Tk in the bundled python.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 09:19:02 +03:00
Valiantsin DzerakhandClaude Opus 5.5 e8697659ac Remap gamepad buttons and keys with bind_<button> lines in totk.ini, one data-driven table for the pad and one for keys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:50:48 +03:00
Valiantsin DzerakhandClaude Opus 5.5 9151cef0f5 Map the release's deps to runtime/deps and document the installer command line, events and the real peak disk space
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:41:50 +03:00
Valiantsin DzerakhandClaude Opus 5.5 cb9ea1ae05 Release the mouse cursor with Esc, recapture on a client click and skip capture when a title bar click activates the window
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:29:49 +03:00
Valiantsin DzerakhandClaude Opus 5.5 227ed0f680 Plan the installer that builds the game from the player's own files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 08:06:04 +03:00
Valiantsin DzerakhandClaude Opus 5.5 dc80c88490 Add the PC keyboard and mouse layout with a data-driven binding table and a raw-input mouse camera
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:26:45 +03:00
Valiantsin DzerakhandClaude Opus 5.5 dda22f6e01 Add rumble strength, curve and trigger settings for Xbox pads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:12:15 +03:00
Valiantsin DzerakhandClaude Opus 5.5 2d714537e7 Run agent tasks in git worktrees
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:08:22 +03:00
Valiantsin DzerakhandClaude Opus 5.5 19c9b648d1 Add the recompiler, Windows runtime, tools and docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:27:54 +03:00