Vita driver

scarletnx-vita --key=value (PS Vita). The launcher's Settings show them on the Vita group's Debug page and pass each one picked to a Vita game's run; the lockstep rows are greyed in a build without -DSNX_VITA_LOCKSTEP=ON. vita_script, vita_press_len and vita_shot_every are a run's own, given on the command line and on no page.

KeyDefaultEffect
vita_hle_trace01 logs each call of an imported function the runtime doesn't implement, 2 every call, with its thread, r0 to r3 and its result
vita_jit_trace01 logs each block the runtime compiles while the game runs (the game's module lacked it), Thumb ones with the pc's low bit set as the hints file writes them
vita_gxm_trace01 logs each scene, draw and display queue entry the game makes through sceGxm
vita_shader_corpusemptyA folder the runtime writes each GXP program it translates to, with what it was translated for, as <hash>.gxp, which tools/snx_vita_usse.c translates again (the game's own code: keep it local)
vita_scriptemptyThe game's scripted input (--script= too): when:buttons, a comma between two, when in ms from the start and buttons in hex as SceCtrl has them (1 Select, 8 Start, 10 Up, 20 Right, 40 Down, 80 Left, 100 L, 200 R, 1000 Triangle, 2000 Circle, 4000 Cross, 8000 Square, and the left stick pushed all the way: 1000000 right, 2000000 left, 4000000 up, 8000000 down), each held for vita_press_len ms
vita_press_len300How long each press of the script is held, in ms (--press-len= too)
vita_shot_every0With --shot=PATH, also a screenshot every this many vblanks (60 a second), PATH_0000.ppm on; 0, only the last frame's
vita_lockstep-1From this import call on (0 is the first), every instruction group of the game also runs in Unicorn, and the first difference in registers, flags or written memory stops the run with both states (Checking the CPU backend). Only in a build configured with -DSNX_VITA_LOCKSTEP=ON: another build says so at start. -1 is off
vita_lockstep_steps0With vita_lockstep, how many instruction groups are compared before the game runs on without Unicorn. 0 has no limit

The Switch's upscaler, upscaler_sharpness and anti_aliasing (Graphics) scale the frame to the window, the launcher passing them, and the start says which run.


Made from docs/user/settings.md at 69237645142c. GPL-3.0-or-later.