Commit Graph

3 Commits

Author SHA1 Message Date
Hirek def5f15a81 feat(settings): a key eu07.ini sets twice is left once, on the line the simulator reads
The simulator reads eu07.ini top down and goes by the last line of a key before
endconfig; the earlier ones only mislead whoever reads the file. They are taken
out on every save, and once at start where the player's own file has any; the
starter's log names the keys.

The keys the simulator takes more than one line of stay every one
(network.server, python.viewport, extraviewport, test.vehicle), and so do the
lines past endconfig, in comments, and the lines of numbers that carry on the
value of the line above.
2026-11-29 19:29:33 +01:00
maj00r b60c176533 Merge feat/opengl-vulkan: settings for the OpenGL 4.6 and Vulkan 1.4 simulator
A transitional variant, since the exe a player runs may not have the new
renderers. The old renderers stay in the list and the old keys are still written
next to the new ones. A new exe without Vulkan starts OpenGL by itself, an old one
reads the word as its legacy renderer, and both pass over the keys they do not know.

Taken from Hirek193's branch:
- the new keys as rows of a section of their own, with their texts
- their values on the graphics levels, in steps over the six levels here, with
  High as what the simulator does with nothing set
- Vulkan 1.4 in the list of renderers, and its own keys marked as idle without it
- gfx.buffer.percent next to the old buffer keys, read before them
- gfx.antialiasing saved below multisampling, for the later line to count

Keys checked against feat/gl46-migration of the simulator.

Left out, as this branch has its own or does not need them: the rewritten settings
page and its five levels, GraphicsRules, the DLSS library check, eu07.ini import and
export, and the removal of the old renderers.
2026-11-01 19:43:46 +01:00
maj00r 07987a60a9 Write settings, presets and favourites whole or not at all
A failed write leaves the old file in place. Settings that could not be read
are not saved over. UI exceptions reach the log. Started from a shortcut set
up elsewhere, the starter moves to its own folder when only that one holds a
game.
2026-11-01 16:06:15 +01:00