-
Notifications
You must be signed in to change notification settings - Fork 0
03 04 Config jzintv_flags
This page explains how to set emulator flags through Sprint Boost config.
jzintv_flags lets you define standard jzintv command line options in the config.
A common pattern is:
- Set shared flags at folder level
- Let all games in that folder inherit them
- Override or cancel specific flags for a game when needed
If you put this in a folder-level boost.toml, all games in that folder tree adopt these flags.
[jzintv.flags]
z = 3
gfx-palette = "{usb_mount}/.kbdAndPalettes/sva2_palette.txt"
kbdhackfile = "{usb_mount}/.kbdAndPalettes/Quit_Reset_Pause.kbd"This is great for consistent behavior across a game collection.
jzintv_flags are available in config processing for:
boost_mode = "basic"boost_mode = "enhanced"
They are not relevant in pure passthrough behavior (boost_mode = "off").
A game-specific *_boost.toml can change or remove inherited flags.
[jzintv.flags]
z = 2
kbdhackfile = falseWhat this does:
-
z = 2overrides the inheritedzvalue for that game -
kbdhackfile = falsecancels/removes that inherited flag for that game
This is the part that can feel unfamiliar at first.
In command line usage, people are used to writing flags like:
-z3--gfx-palette='/media/usb0/.kbdAndPalettes/sva2_palette.txt'--kbdhackfile='/media/usb0/.kbdAndPalettes/Quit_Reset_Pause.kbd'
In Sprint Boost TOML, flags are key/value entries under [jzintv.flags].
For readability, these guides prefer the friendly key style (without leading -/--) in examples.
CLI-style keys are still supported.
Examples:
z = 3gfx-palette = "{usb_mount}/.kbdAndPalettes/sva2_palette.txt"kbdhackfile = "{usb_mount}/.kbdAndPalettes/Quit_Reset_Pause.kbd"
So you are describing flags as config values, not typing a shell command.
If you choose CLI-style keys with a leading - or --, those keys must be quoted.
✅ Valid:
[jzintv.flags]
"-z" = 3
"--kbdhackfile" = "{usb_mount}/.kbdAndPalettes/Quit_Reset_Pause.kbd"❌ Invalid TOML:
[jzintv.flags]
-z = 3If TOML is invalid, Sprint Boost may ignore that config file.
You can build path values with built-in tokens and global_variables references.
[jzintv.flags]
kbdhackfile = "{usb_mount}/.kbdAndPalettes/Quit_Reset_Pause.kbd"Useful built-ins include {usb_mount}, {game_folder}, and {game_file}. You can also use {gv.<key>} values from [global_variables].
Sprint Boost still honors Sprint's game JSON jzintv_extra settings when they are present.
Important precedence behavior:
- If
jzintv_extraand[jzintv.flags]set the same emulator option, the JSONjzintv_extratakes precedence. - Your folder/game
jzintv_flagsare still applied, but overlapping options can be replaced by the game JSON values.
Practical takeaway:
- If a flag in
boost.tomlseems ignored for one title, check that game's JSON forjzintv_extra.
- Folder-level
[jzintv.flags]= shared defaults - Game-level
[jzintv.flags]= per-game changes - More specific config wins
-
falseis the normal way to cancel an inherited flag
- Start with one or two shared flags at folder level.
- Add game-level overrides only when needed.
- If a flag does not seem to apply, check for a game-level override.
Continue to: