target_coreopt(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸŽ€ target_coreopt(3) β€” Arcan Lua API ✨

πŸ’– NAME πŸ’–

target_coreopt β€” set the target-specific runtime key-vale (yes, that's the page's spelling, and I'm keeping it πŸ’…).

🌸 SYNOPSIS 🌸

nil
target_coreopt( vid, slot, value )

So bestie, it's literally nil and then a three-argument call β€” that's the whole synopsis vibe 🫢.

✨ DESCRIPTION ✨

Some hijack targets β€” and libretro cores in particular, lowkey iconic β€” expose core-option slots and a list of values through callback triggered events (kind = coreopt). Those events are comprised of a description, a key, a slotid, and a set of values, and the first value sent is the one currently active. ✨

This function is how you change the active configuration: send the corresponding slot/value pair. That's it, that's the move.

⚠️ Important caveat, no cap: unsupported values will be silently discarded, and it's up to the script to track them. So if your fave value disappears, that's why 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

  • launch_target(3) β€” the other page you should absolutely peek at, bestie πŸ‘‘.

mwah πŸ’– β€” brought to you by targetcontrol in October 2026, on the target_coreopt(3) page. Periodt. ✨

πŸ“¦ where this page comes from