- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow
SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since
SHADER-315 folds scalar ALU on constants.
- test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it).
- test_world_build: DDS downscale weights colours by alpha (62804d0d).
- test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks.
- xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override.
- docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line;
embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor.
- tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs;
LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Recounted with main 49475796 on the 1.0.2.1 package (counts only): 52/52 unpack,
42 clean and 10 with invalid words in the disassembly, 51 translate and pass
spirv-val. The four rules embedded_shaders.md listed are three since 427c1376
(#1968); Box16Rehydration stops at buffer_store_short (#1864). d3d12_vulkan.md
and the docs index quoted 41/42 and four rules in seven places.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/boot_trace.py reads the `--trace` JSONL and the `[d3d12-trace]`
stderr lines and prints the units a first boot needs: modules, unimplemented
imports with their callers, DllMain/TLS results, exceptions with their
stack, the exit, and the D3D12 calls by outcome and first call per method.
It counts debug strings instead of printing them, so a real trace stays on
the player's machine; the tests use synthetic fixtures only.
docs/boot.md is the runbook around it: the Windows and Wine commands, the
LEONIDA_UNIMPLEMENTED and validation switches, the first-failure triage
order, and the Q1-Q22 table mapping each open question to the event to look
for. docs/README.md and runtime/README.md point at both.
- docs: one row per topic again in design.md (59 topics merged sentence by sentence, keeping every
number) and README.md (the current models/character rows); one Other languages line.
- docs/i18n: the two Spanish quickstarts had been concatenated; keep #1912's, drop #2277's row.
- make_game: the shader fingerprint covers spirv_asm.py and its tables; LF settings write.
- tools: pe_shader_containers, gamedata_maps and anim_rigs use report_paths.same_report_path (BUILD-589);
stdout guard on five tools; LF text writes in three; user_sgpr_census tolerates an unreachable --json.
- tests: fspx stage fakes write real carve/unpack indexes (c7408a1f); typed f16 stores round toward zero
(SHADER-358); test_ci_registration's helper is no longer collected as a test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
IGameInputDevice answered the force-feedback and haptic half of the API with
nothing: no motors in GameInputDeviceInfo, E_INVALIDARG from
CreateForceFeedbackEffect, false from IsForceFeedbackMotorPoweredOn, a no-op
SetForceFeedbackMotorGain and E_INVALIDARG from SetHapticMotorState. A pad SDL
opens as a haptic device now reports one force-feedback motor with the effect
kinds SDL lists, and a pad with trigger motors reports two haptic motors.
Force feedback goes to SDL_CreateHapticEffect/RunHapticEffect on the poll
thread, so title calls still never touch SDL; the eleven GameInput effect kinds
are SDL's eleven force-feedback effects. The trigger haptic motors play their
one waveform as an intensity on the existing trigger output. A pad with neither
keeps the old answers, and LEONIDA_RUMBLE=0 silences both. gameinput_test drives
all of it through a fake haptic backend, because SDL's virtual joysticks report
no haptics.
AI-assisted.
Recounted with main 49475796 on the 1.0.2.1 package (counts only): 52/52 unpack,
42 clean and 10 with invalid words in the disassembly, 51 translate and pass
spirv-val. The four rules embedded_shaders.md listed are three since 427c1376
(#1968); Box16Rehydration stops at buffer_store_short (#1864). d3d12_vulkan.md
and the docs index quoted 41/42 and four rules in seven places.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/test_docs_design_rows.py failed on main again: merges after
64ece042 and abbb3dce kept both sides of rows two branches had edited.
design.md had 24 topics repeated (two to five rows each), README.md one
and testing.md two.
Each group is now one row at the first copy's place, keeping every fact
any copy stated. Where copies disagreed, the newer wording (by git blame
and the commit that wrote it) wins: for example, the --f16-interp-fallback
row no longer also gives the pre-SHADER-291 locations 29 - 2N / 30 - 2N,
the "Not GPU-verified" notes give way to the SHADER-137 hardware results
added to the same rows, and "tbuffer_store_format_* is not translated"
gives way to the paragraph describing how it is translated.
A sentence-by-sentence check of every copy against the merged row finds
only those deliberately replaced. The four docs tests pass.
AI-assisted.
progress_dashboard.py (standard library, python -I) collects outcomes the project already
produces and writes a self-contained progress.html, JSON snapshots and a history into a
folder outside the repository (a folder inside it is refused):
- unit tests: --run-tests runs tests/test_*.py with ci.yml's selection, one process each;
a test counts as current only if neither it nor tools/, scripts/, make_game.py changed
since it passed (content digests, so uncommitted edits are handled too)
- runtime tests: runtime/build LastTest.log and --junit files (CTest or pytest)
- the translator contract table in docs/design.md, each row classified by how it says it
was confirmed, with the matched words shown
- the measured tables in docs/runtime_imports.md
- --work: per-stage counts from the user's own carve and translation (numbers only)
- --github (read-only gh): latest completed CI run per workflow on main, the D3D- table
of #313, the coordination issue's section sizes and, with --login, claims and PRs
No game data: counts, pass/fail and error classes only; no shader names or paths into the
game copy. The page has no packages and no network access. tests/test_progress_dashboard.py
covers the parsers, the classification, freshness, the no-names rule and the output folder.
Translated from the current README (build, prerequisites, troubleshooting, contributing); synced with 4eb6155d. Adds its row to docs/i18n/README.md and the code to the docs index. test_i18n_index, test_docs_links, test_docs_repo_paths and test_docs_list_items pass.
- test_translate: #1904 caps structured depth at 16, so the #1993 dispatch-loop test lowers MAX_STRUCTURED_DEPTH.
- test_ctest_registration: skip-code scan ignores conditional returns.
- test_d3d12_stubs_generation: INCLUDE uses os.pathsep.
- docs/README.md: one Other languages line.
- first_light.py, make_game.py: LF text writes; stdout guard on three tools.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Translates the stable onboarding text (what the project is, own-copy and
no-game-data rules, prerequisites, build commands, stage order, common
problems, how to help) into German, following the structure of the other
quickstarts. Synced with 4eb6155d. Adds the de row to docs/i18n/README.md
and the language list in docs/README.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Converts RAGE parser XML into plain values by its conventions (value,
x/y/z/w, content arrays, polymorphic type and NULL, ref, Item lists and
keyed maps, extra attributes), with register_root / register_type for
typed handlers. Each top-level field is converted and dropped as it ends.
On the 1.0.2.1 carve of common.rpf: 259 of 267 documents, 111 roots, 317
type classes, 0 conversion errors (counts only). Synthetic tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Translated from the current README (build, prerequisites, troubleshooting, contributing); synced with 4eb6155d. Adds its row to docs/i18n/README.md and the code to the docs index. test_i18n_index, test_docs_links, test_docs_repo_paths and test_docs_list_items pass.
tools/anim_glb.py reads a fragment's skeleton (drawable +0x18: bone records,
inverse bind matrices, parents), binds part meshes to it through the model
bone list at grmModel+0x28 (ASSET-12 skin layouts), and writes decoded
anim.rpf clips as glTF animations: bonerotation/bonetranslation/bonescale
drive the joint with the track's bone hash, bone hash 0 drives a mover node,
and a clip entry maps animation time t to (t - start) / rate. --coverage
counts how many clip bone tracks name a skeleton joint.
docs/character_skeleton.md: the instance table was read 0x40 bytes late, so
each row paired a bone with the next bone's TRS. Read from the record start,
the default transforms compose to the stored inverse bind matrices (5.1e-6 m
female, 3.3e-6 m male, all 14,212 skeletons in packs.rpf within 1e-3). The
model bone list is at +0x28, not +0x20. New "Animated glTF export" section
with the measured counts; animation.md, models.md, character_models.md and
the docs index follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/test_docs_design_rows.py failed on main again: merges after
64ece042 and abbb3dce kept both sides of rows two branches had edited.
design.md had 24 topics repeated (two to five rows each), README.md one
and testing.md two.
Each group is now one row at the first copy's place, keeping every fact
any copy stated. Where copies disagreed, the newer wording (by git blame
and the commit that wrote it) wins: for example, the --f16-interp-fallback
row no longer also gives the pre-SHADER-291 locations 29 - 2N / 30 - 2N,
the "Not GPU-verified" notes give way to the SHADER-137 hardware results
added to the same rows, and "tbuffer_store_format_* is not translated"
gives way to the paragraph describing how it is translated.
A sentence-by-sentence check of every copy against the merged row finds
only those deliberately replaced. The four docs tests pass.
AI-assisted.
d3d12_first_light (package-gated by LEONIDA_FIRST_LIGHT_DIR, exit 77 when
unset) draws the mesh and translated VS/PS that tools/first_light.py wrote
through the Xbox-ABI device proxy: CreateGraphicsPipelineState gets the
game's own containers and finds both stages by FSSM hash, the input layout
feeds POSITION/TEXCOORD, DEFAULT vertex/index buffers, one
DrawIndexedInstanced, CopyTextureRegion readback. It checks vk_harness's
oracle (coverage window, clear corner, centre UV) with the rows flipped
for the y-up viewport, and compares every pixel with vk_harness's
image.raw.
first_light.py now also writes vs.dxbc, ps.dxbc and index.json (the
translator entries keyed vs/ps) to the output folder.
RTX 3060, driver 616.64: 12,804/16,384 covered, centre
(0.49756, 0.49634, 0, 1), as vk_harness; 16,383 pixels bit-exact and one
one f16 step apart (the PS exports with v_cvt_pkrtz_f16_f32; vk_harness
with the mesh mirrored in y matches the D3D12 image bit for bit).
Clean under LEONIDA_VK_VALIDATION=1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/first_light.py carves the game's shaders, translates one real VS/PS pair,
converts an exported OBJ to a mesh, writes a manifest and runs vk_harness. The
harness gains VKH_DRAW_MESH/VKH_VERTEX_LAYOUT (indexed mesh, vertex input), inert
when unset. The package-gated test draws the model and checks coverage and the
centre pixel; docs/first_light.md records the measured result.
- int_hw_probe: VOP3 clamp on the carry-out add/sub ops (#1831) and v_cvt_rpi/flr's exact floor(x+0.5) and NaN
sign saturation (#1856) now translate as gfx1035 measured, so KNOWN_DIVERGENCES is empty. The known-divergence
test reports a synthetic entry. shader_validation.md says so, and design.md loses the stale duplicate
v_cvt_flr/rpi row a "both" merge left that still called them open.
- docs/README.md: one Other languages line (fr, pt-BR, zh-CN, pl-PL, tr, ru, ja); docs/i18n/README.md: one row
each for pt-BR and zh-CN (the newer).
- anim_rigs, d16_format_probe, pe_shader_containers: text writes name newline="\n" (#1615);
pe_shader_containers guards stdout (#1428).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mirrors the stable onboarding text (what Leonida is, the own-copy and
no-game-data rules, prerequisites, build commands, stage order, common
troubleshooting, contribution pointers) at synced commit 003e7812, following
the fr/pt-BR structure. The index row lists @NolanCotter as maintainer.
AI-assisted. Tested: test_i18n_index, test_docs_links.
Translation of the stable onboarding text only, synced to 003e781.
Adds its row in docs/i18n/README.md and `ja` in the docs/README.md
language list. Docs only.
AI-assisted.
003e7812 loads EXEC before OpSelectionMerge in global_atomic and global_atomic_x2,
so FindTreelets assembles and validates. The 10 left are still the four rules.
The 52 containers in XboxBvhBuilder.dll carry an LLVM bitcode blob and an
XDAT/XBCH record. The console record decompresses to FSSM: 52/52 unpack, 42
translate, 41 pass spirv-val with the existing translator. The 10 left need
global_atomic_fmax/fmin, buffer_load_ushort and tbuffer_load_format_x (format
8), plus one OpSelectionMerge emission bug. Correct the DXIL-front-end premise
in d3d12_vulkan.md (4.8, 7.1, 7.2, M6, Q7, Q20, A.2) and index the new note.
Adds docs/i18n/ru/quickstart.md, translated from the current English sources
(README.md, CONTRIBUTING.md, docs/testing.md) and synced to a0acd33. It covers
what the project is, the own-copy and no-game-data rules, prerequisites, both
build paths, the stage order and the flags around it, the Linux path, common
troubleshooting, and where to claim work and post GPU results.
The row goes into the docs/i18n/README.md table with the maintainer, and the
language is listed in docs/README.md. No build or CI changes; the daily-moving
status table and the format notes stay out, as docs/i18n/README.md asks.
docs/README.md listed models.md, audio.md and rsc8_audio.md twice with
different text; keep the current row of each. docs/testing.md had the
RTSS/OBS overlay advice in four rows that partly contradicted each other;
keep the implicit-layer row and the newest overlay row (the elevated-terminal
cause), with OBS's layer named. The row test now covers both pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
story000_restofworld already recovered its 3 models at 917e9b9, so its delta is 0 and the 917e9b9 baseline is 350,251 models / 159,486 children; the ten-archive delta is +32,530. The levels.rpf fragments/bone-bound/triangles cells have no manifest or harness fields, so they and the totals derived from them are marked not independently reproduced. Add the measured levels.rpf name-pass coverage to world_names.md.