From 8a10147bbb1fe6589c4205bcfd26d6d696512ced Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Wed, 11 Feb 2026 19:04:11 -0600 Subject: Add Root Builder plugin, Linux game detection, and OMOD installer fix - New native Root Builder plugin (src/plugins/rootbuilder.py) with copy and symlink deploy modes, auto-deploy hooks, backup/restore, and third-party conflict detection that moves incompatible plugins to DisabledPlugins/. In link mode, .exe/.dll are always copied to avoid Wine/Proton path resolution issues with symlinked executables. - Fix basic_games detection on Linux: steam_utils now checks native Steam paths (~/.local/share/Steam, Flatpak, Snap), epic_utils uses correct Linux Heroic config paths, gog_utils falls back to Heroic GOG installed.json when Windows registry is unavailable. - Fix OMOD installer crash: isArchiveSupported now handles both IFileTree (from mod list refresh) and string (from install check) arguments. - Add flatpak manifest step to copy source-tree Python plugins (src/plugins/*.py) into the build output. Co-Authored-By: Claude Opus 4.6 --- libs/nak_ffi/include/nak_ffi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libs/nak_ffi/include') diff --git a/libs/nak_ffi/include/nak_ffi.h b/libs/nak_ffi/include/nak_ffi.h index c6010d4..df4d47b 100644 --- a/libs/nak_ffi/include/nak_ffi.h +++ b/libs/nak_ffi/include/nak_ffi.h @@ -194,6 +194,18 @@ char *nak_apply_wine_registry_settings( uint32_t app_id ); +/** Apply a game's registry entry with a custom install path. + * Looks up game_name in KNOWN_GAMES and writes registry pointing to install_path. + * Returns NULL on success, or an error message (free with nak_string_free). */ +char *nak_apply_registry_for_game_path( + const char *prefix_path, + const char *proton_name, + const char *proton_path, + const char *game_name, + const char *install_path, + NakLogCallback log_cb +); + /* ======================================================================== * Tier 7: Prefix Symlinks * ======================================================================== */ -- cgit v1.3.1