Skip to main content

Module game_folder

Module game_folder 

Source

Constantsยง

BN_CLICKED ๐Ÿ”’
CBN_SELCHANGE ๐Ÿ”’
DETECT_DEBOUNCE_MS ๐Ÿ”’
Re-scanning on every keystroke would stat a folder per character and complain halfway through a valid path.
EN_CHANGE ๐Ÿ”’
TIMER_DETECT ๐Ÿ”’

Functionsยง

game_folder_pageโš 
Scene 3: the game folder, and which game in it when it holds several.
on_browse ๐Ÿ”’ โš 
Browsing is deliberate, so an unusable pick is reported at once.
on_command ๐Ÿ”’ โš 
on_game_picked ๐Ÿ”’ โš 
redetect ๐Ÿ”’ โš 
Keeps the previous game while the folder still holds it, else takes the first match.
show_carried_folder ๐Ÿ”’ โš 
An instance restarted as administrator arrives with its folder chosen, so it is shown and detected at once; otherwise the page starts empty.
show_detection ๐Ÿ”’ โš 
A disabled placeholder when nothing is found, the one game disabled when there is no choice, and only the matches enabled when there is.
warn_no_game ๐Ÿ”’ โš