diff options
| author | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 12:12:14 -0500 |
|---|---|---|
| committer | NotRexed <therealnothingfn@gmail.com> | 2026-11-27 12:12:14 -0500 |
| commit | 5fd6cb82d69459b2624643674b4d56108002446d (patch) | |
| tree | 9cc550edb4a7ed9cce40cfcf1a11eb34720fe7bc /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 04146cde218680b0ea9c287b8f26f5dca1c99baa (diff) | |
Ultrawide windows: the 16:9 picture with bars or stretched, and an output-size lever
The title outputs 16:9 whatever its window is, and the swap chain was stretched
over the window.
LEONIDA_ASPECT=21:9|32:9|W:H|auto makes the title's window in that shape (at the
height it asks for, then fitted to the screen as before). LEONIDA_PRESENT_SCALE
=fit keeps the picture's shape in a window of another one: the swap chain
becomes a frame of the window's shape at the picture's height, cleared to
black, with the picture copied unscaled into its middle; =stretch is the
present as it was. Unset: fit with LEONIDA_ASPECT, else stretch, so nothing
changes without them (a 16:9 window's frame is the picture and the copy is the
same CopyResource). With bars, frame generation is told where the picture is
in the back buffer.
This is the fallback, not a wider view. For the real thing the title has to
output a wide size: LEONIDA_OUTPUT=WIDTHxHEIGHT (experimental) changes the
3840x2160 row of its mode table together with the scanout reservation that
has to fit it (the check LEONIDA_OUTPUT_1440 tripped, at rva 0x247af2d, wants
under 2 MiB of the reservation left) and the Settings viewport, after VIctory's
native 1440p profile as runtime/src/display_profile.h records it.
docs/ultrawide.md lists what the executable shows of the output size, the
render size and the shapes it knows, and what a run has to answer before this
can be called ultrawide (whether a wide row is taken, the projection, the HUD).
Unit tests: the frames and shapes (aspect.rs), the reservation sum and the
three places against the 1.0.2.1 executable (hooks.rs). Not run in the game.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions