upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorRK28A <243808451+RK28A@users.noreply.github.com>2026-11-25 12:23:54 +0000
committerRK28A <243808451+RK28A@users.noreply.github.com>2026-11-25 12:23:54 +0000
commitc5b09c21ec63a21d48fa2078bb2e7e8f4fa6bd93 (patch)
treeb10258f9afb47ea26ad8b1155e433f92c6d1a91f /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent0d80bc5df7c873f40965f34f185cb96913786765 (diff)
leonida_mods: read mod.json as the runtime does, camera section and byte-order mark included
The manager checks a manifest with its own copy of the rules in runtime/src/mods.h, and the copy had fallen behind in three places. The "camera" section was not read at all. `list` said of mods/first_person, which ships in this repository, "no archetype_swaps; this mod currently changes nothing", and `check` passed a section the runtime skips the mod for: an unknown view_mode, a first_person_value that is not a whole number 0-255, contexts that are not whole numbers. A UTF-8 byte-order mark in front of mod.json was reported as invalid JSON, although the runtime skips it and docs/modding.md says it is accepted. Notepad's "UTF-8 with BOM" and Windows PowerShell 5.1's -Encoding utf8 write one. `enable`, `disable` and `install` failed on it too. A UTF-16 file is now named as the runtime names it. "archetype_swaps": null passed as a mod without swaps; the runtime refuses it. `list` and `list --json` now show the camera a mod sets, and which mod's camera wins when several enabled mods have one.
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions