Skip to content
kurokyuu edited this page Nov 17, 2026 · 1 revision

prefix

A game's Wine prefix: its recent logs, its device identity, a backup of it.

istar-gamescripts prefix 1234560 --logs --since 30           # what the launcher and game logged just now
istar-gamescripts prefix 1234560 --ids                       # MachineGuid and game device ids
istar-gamescripts prefix 1234560 --ids --compare ~/Documents/1234560   # beside a backup copy
istar-gamescripts prefix 1234560 --backup                    # registry + launcher Local Storage -> ~/Documents/prefix-backups/<id>/<time>/
istar-gamescripts prefix 1234560 --restore                   # the newest backup back (or --restore PATH); refuses while Steam runs

The number is the compatdata folder name; for a non-Steam game it is the long id Steam gave the shortcut. A game that binds an account to a device builds that identity from registry values in the prefix - a recreated prefix is a new device. Keep a copy of pfx/*.reg before deleting one; --backup and --restore do that, system.reg, user.reg, userdef.reg and a launcher's Local Storage, while Steam is closed.

Clone this wiki locally