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.
| Key | Default | Effect |
|---|---|---|
vita_hle_trace | 0 | 1 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_trace | 0 | 1 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_trace | 0 | 1 logs each scene, draw and display queue entry the game makes through sceGxm |
vita_shader_corpus | empty | A 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_script | empty | The 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_len | 300 | How long each press of the script is held, in ms (--press-len= too) |
vita_shot_every | 0 | With --shot=PATH, also a screenshot every this many vblanks (60 a second), PATH_0000.ppm on; 0, only the last frame's |
vita_lockstep | -1 | From 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_steps | 0 | With 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.