From fd06d726369a2b510bb5775a5a36fc2391c42e94 Mon Sep 17 00:00:00 2001 From: Argent77 <4519923+Argent77@users.noreply.github.com> Date: Wed, 31 May 2023 20:21:00 +0200 Subject: [PATCH] Update compatibility with various UI mods - Added support for Pecca's Dragonspear UI++ (BG2EE version) - Added compatibility checks for Pecca's Infinity UI - Added compatibility checks for K4f4r's Classic BG UI - Added compatibility checks for Tipun's User Interface - Internal code restructures and optimizations --- .../HiddenGameplayOptions.tp2 | 145 ++++++++--- .../languages/english/setup.tra | 3 + .../languages/german/setup.tra | 4 +- HiddenGameplayOptions/lib/functions.tph | 26 ++ .../lib/ui_slider_feedback_actions.tph | 239 ++++++++++-------- .../lib/ui_slider_framerate.tph | 177 +++++++------ .../readme/readme-french.txt | 4 + .../readme/readme-german.txt | 9 +- .../readme/readme-polish.txt | 4 + .../readme/readme-portuguese.txt | 4 + HiddenGameplayOptions/readme/readme.txt | 21 +- README.md | 4 +- 12 files changed, 412 insertions(+), 228 deletions(-) diff --git a/HiddenGameplayOptions/HiddenGameplayOptions.tp2 b/HiddenGameplayOptions/HiddenGameplayOptions.tp2 index 0f72768..3f9cb59 100644 --- a/HiddenGameplayOptions/HiddenGameplayOptions.tp2 +++ b/HiddenGameplayOptions/HiddenGameplayOptions.tp2 @@ -10,10 +10,20 @@ ALWAYS // root folder for mutable data OUTER_TEXT_SPRINT WORK_FOLDER ~weidu_external~ + // LeUI variants OUTER_SET INSTALLED_LEUI = (MOD_IS_INSTALLED ~leui.tp2~ 0) || (MOD_IS_INSTALLED ~leui-iwdee.tp2~ 0) || (MOD_IS_INSTALLED ~leui-sod.tp2~ 0) || (MOD_IS_INSTALLED ~leui-bg1ee.tp2~ 0) + // Pecca's Dragonspear UI++ + OUTER_SET INSTALLED_DRAGONSPEAR_UI = (MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) + // Pecca's Infinity UI + OUTER_SET INSTALLED_INFINITY_UI = (MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) + // Classic BG UI (non-WeiDU mod) + OUTER_SET INSTALLED_CBGUI = (GAME_IS ~bgee~ && + RESOURCE_CONTAINS ~ui.menu~ ~\bGUIWPKPC\b~) + // Tipun's User Interface + OUTER_SET INSTALLED_TIPUN_UI = (MOD_IS_INSTALLED ~tipun_gui.tp2~ 10) INCLUDE ~%MOD_FOLDER%/lib/presets.tph~ END @@ -68,23 +78,33 @@ BEGIN @1 // Install all Hidden Gameplay Options at once LABEL ~A7-HIDDENGAMEPLAYOPTIONS-INSTALL_ALL~ ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 10) BEGIN - LAF OPTION_DEBUG_CONSOLE END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_DEBUG_CONSOLE END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 11) BEGIN - LAF OPTION_UI_EDIT_MODE END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_UI_EDIT_MODE END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 12) BEGIN - LAF OPTION_SHOW_STRREFS END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_SHOW_STRREFS END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 13) BEGIN - LAF OPTION_TOOLTIP_HOTKEYS END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_TOOLTIP_HOTKEYS END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 14) BEGIN - LAF OPTION_TRIGGER_ICONS END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_TRIGGER_ICONS END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 15) BEGIN @@ -94,27 +114,35 @@ BEGIN @1 // Install all Hidden Gameplay Options at once END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 16) BEGIN - ACTION_IF (NOT GAME_IS ~pstee~) BEGIN + ACTION_IF (NOT GAME_IS ~pstee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_CLERIC_RANGER_SPELLS END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 17) BEGIN - ACTION_IF (NOT GAME_IS ~iwdee~) BEGIN + ACTION_IF (NOT GAME_IS ~iwdee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_SNEAK_ATTACK END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 18) BEGIN - LAF OPTION_CRITICAL_HIT_SCREEN_SHAKE END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_CRITICAL_HIT_SCREEN_SHAKE END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 19) BEGIN - LAF OPTION_EXTRA_COMBAT_INFO END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_EXTRA_COMBAT_INFO END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 20) BEGIN - LAF OPTION_DATE_ON_PAUSE END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_DATE_ON_PAUSE END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 21) BEGIN @@ -124,21 +152,28 @@ BEGIN @1 // Install all Hidden Gameplay Options at once END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 22) BEGIN - LAF OPTION_REVERSE_WHEEL_ZOOM END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_REVERSE_WHEEL_ZOOM END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 23) BEGIN - LAF OPTION_PAUSING_MAP END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_PAUSING_MAP END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 24) BEGIN - ACTION_IF (NOT GAME_IS ~pstee~) BEGIN + ACTION_IF (NOT GAME_IS ~pstee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_ENABLE_FOG END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 25) BEGIN - LAF OPTION_DISABLE_MOVIES END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_DISABLE_MOVIES END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 26) BEGIN @@ -148,26 +183,33 @@ BEGIN @1 // Install all Hidden Gameplay Options at once END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 27) BEGIN - ACTION_IF (NOT GAME_IS ~pstee~) BEGIN + ACTION_IF (NOT GAME_IS ~pstee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_NIGHTMARE_XP_BONUS END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 28) BEGIN - ACTION_IF (NOT INSTALLED_LEUI) BEGIN + ACTION_IF (NOT INSTALLED_LEUI && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_BORED_TIMEOUT END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 29) BEGIN ACTION_IF (NOT GAME_IS ~pstee~ && - NOT INSTALLED_LEUI) BEGIN + NOT INSTALLED_LEUI && + NOT INSTALLED_INFINITY_UI && + NOT INSTALLED_CBGUI) BEGIN LAF OPTION_FRAME_RATE_SLIDER END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 30) BEGIN - ACTION_IF (NOT INSTALLED_LEUI) BEGIN + ACTION_IF (NOT INSTALLED_LEUI && + NOT INSTALLED_INFINITY_UI && + NOT INSTALLED_CBGUI && + NOT INSTALLED_TIPUN_UI) BEGIN LAF OPTION_ACTION_FEEDBACK_SLIDER END END END @@ -180,31 +222,41 @@ BEGIN @1 // Install all Hidden Gameplay Options at once END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 32) BEGIN - ACTION_IF (NOT GAME_IS ~pstee~) BEGIN + ACTION_IF (NOT GAME_IS ~pstee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_SHOW_AOE END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 33) BEGIN - LAF OPTION_ENHANCED_PATH_SEARCH END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_ENHANCED_PATH_SEARCH END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 34) BEGIN - ACTION_IF (NOT GAME_IS ~pstee~) BEGIN + ACTION_IF (NOT GAME_IS ~pstee~ && + NOT INSTALLED_INFINITY_UI) BEGIN LAF OPTION_EXPIRE_TRAP_HIGHLIGHTS END END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 35) BEGIN - LAF OPTION_SHOW_LEARNABLE_SPELLS END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_SHOW_LEARNABLE_SPELLS END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 36) BEGIN - LAF OPTION_RENDER_SEARCH_MAP END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_RENDER_SEARCH_MAP END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 37) BEGIN - LAF OPTION_RENDER_DYNAMIC_SEARCH_MAP END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_RENDER_DYNAMIC_SEARCH_MAP END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 38 && @@ -217,12 +269,16 @@ BEGIN @1 // Install all Hidden Gameplay Options at once (MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3356) || (MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3357) || (MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3358))) BEGIN - LAF OPTION_ENABLE_INTERVAL_SAVES END - LAF OPTION_INTERVAL_SAVES_COMBAT END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_ENABLE_INTERVAL_SAVES END + LAF OPTION_INTERVAL_SAVES_COMBAT END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 39) BEGIN - LAF OPTION_FORCE_DIALOG_PAUSE END + ACTION_IF (NOT INSTALLED_INFINITY_UI) BEGIN + LAF OPTION_FORCE_DIALOG_PAUSE END + END END ACTION_IF (NOT MOD_IS_INSTALLED ~HiddenGameplayOptions.tp2~ 200) BEGIN @@ -234,6 +290,7 @@ BEGIN @10 // Add in-game option "Enable Debug Mode" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 10 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_ENABLE_DEBUG_MODE~ @@ -244,6 +301,7 @@ BEGIN @11 // Add in-game option "Enable UI Edit Mode" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 11 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_ENABLE_UI_EDIT_MODE~ @@ -254,6 +312,7 @@ BEGIN @12 // Add in-game option "Show Strrefs" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 12 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_STRREFS~ @@ -264,6 +323,7 @@ BEGIN @13 // Add in-game option "Hotkeys On Tooltips" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 13 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_HOTKEYS_ON_TOOLTIPS~ @@ -274,6 +334,7 @@ BEGIN @14 // Add in-game option "Show trigger icons on tab" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 14 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_TRIGGER_ICONS_ON_TAB~ @@ -295,6 +356,7 @@ BEGIN @16 // Add in-game option "Limit druidic spells for Cleric/Ranger" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. DESIGNATED 16 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_LIMIT_DRUIDIC_SPELLS_FOR_CLERIC_RANGER~ @@ -306,6 +368,7 @@ BEGIN @17 // Add in-game option "3E Sneak Attack" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~iwdee~) @505 // Option already present in this game. DESIGNATED 17 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_3E_SNEAK_ATTACK~ @@ -317,6 +380,7 @@ BEGIN @18 // Add in-game option "Critical Hit Screen Shake" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 18 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_CRITICAL_HIT_SCREEN_SHAKE~ @@ -327,6 +391,7 @@ BEGIN @19 // Add in-game option "Show extra combat info" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 19 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_EXTRA_COMBAT_INFO~ @@ -337,6 +402,7 @@ BEGIN @20 // Add in-game option "Show Game Date and Time on Pause" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 20 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_GAME_DATE_AND_TIME_ON_PAUSE~ @@ -358,6 +424,7 @@ BEGIN @22 // Add in-game option "Reverse Mouse Wheel Zoom" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 22 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_REVERSE_MOUSE_WHEEL_ZOOM~ @@ -368,6 +435,7 @@ BEGIN @23 // Add in-game option "Pause Game on Map Screen" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 23 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_PAUSE_GAME_ON_MAP_SCREEN~ @@ -378,6 +446,7 @@ BEGIN @24 // Add in-game option "Enable Fog" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. DESIGNATED 24 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_ENABLE_FOG~ @@ -389,6 +458,7 @@ BEGIN @25 // Add in-game option "Disable Movies" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 25 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_DISABLE_MOVIES~ @@ -410,6 +480,7 @@ BEGIN @27 // Add in-game option "XP Bonus in Nightmare Mode" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. DESIGNATED 27 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_XP_BONUS_IN_NIGHTMARE_MODE~ @@ -423,6 +494,7 @@ BEGIN @28 // Add in-game option "Trigger Bored Sounds" REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~leui.tp2~ 0 AND NOT MOD_IS_INSTALLED ~leui-iwdee.tp2~ 0) @507 // This component is not compatible with Lefreut's Enhanced UI. + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 28 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_TRIGGER_BORED_SOUNDS~ @@ -435,10 +507,9 @@ BEGIN @29 // Add in-game option "Frame Rate" (experimental) REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~leui.tp2~ 0 AND NOT MOD_IS_INSTALLED ~leui-iwdee.tp2~ 0) @507 // This component is not compatible with Lefreut's Enhanced UI. + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This component is not compatible with Pecca's Infinity UI. + REQUIRE_PREDICATE NOT (GAME_IS ~bgee~ && RESOURCE_CONTAINS ~ui.menu~ ~\bGUIWPKPC\b~) @513 // This component is not compatible with K4f4r's Classic BG UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. - // TODO: update when dragonspear_ui++.tp2 is expanded - // REQUIRE_PREDICATE (GAME_INCLUDES ~sod~ || - // NOT MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) ~This component doesn't support Pecca's Dragonspear UI++ for the selected game yet.~ DESIGNATED 29 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_FRAME_RATE~ @@ -451,9 +522,9 @@ BEGIN @30 // Add in-game option "Action Feedback" REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~leui.tp2~ 0 AND NOT MOD_IS_INSTALLED ~leui-iwdee.tp2~ 0) @507 // This component is not compatible with Lefreut's Enhanced UI. - // TODO: update when dragonspear_ui++.tp2 is expanded - // REQUIRE_PREDICATE (GAME_INCLUDES ~sod~ || - // NOT MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) ~This component doesn't support Pecca's Dragonspear UI++ for the selected game yet.~ + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This component is not compatible with Pecca's Infinity UI. + REQUIRE_PREDICATE NOT (GAME_IS ~bgee~ && RESOURCE_CONTAINS ~ui.menu~ ~\bGUIWPKPC\b~) @513 // This component is not compatible with K4f4r's Classic BG UI. + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~tipun_gui.tp2~ 10) @514 // This component is not compatible with Tipun's User Interface. DESIGNATED 30 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_ACTION_FEEDBACK~ @@ -476,6 +547,7 @@ BEGIN @32 // Add in-game option "Show Area of Effect Radius" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. DESIGNATED 32 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_AOE_RADIUS~ @@ -487,6 +559,7 @@ BEGIN @33 // Add in-game option "Enhanced Path Search" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 33 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_ENHANCED_PATH_SEARCH~ @@ -497,6 +570,7 @@ BEGIN @34 // Add in-game option "Expire Trap Highlights" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (NOT GAME_IS ~pstee~) @504 // Option not available for this game. DESIGNATED 34 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_EXPIRE_TRAP_HIGHLIGHTS~ @@ -508,6 +582,7 @@ BEGIN @35 // Add in-game option "Show Learnable Spells" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 35 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_SHOW_LEARNABLE_SPELLS~ @@ -518,6 +593,7 @@ BEGIN @36 // Add in-game option "Render Search Map" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 36 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_RENDER_SEARCH_MAP~ @@ -528,6 +604,7 @@ BEGIN @37 // Add in-game option "Render Dynamic Search Map" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 37 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_RENDER_DYNAMIC_SEARCH_MAP~ @@ -538,6 +615,7 @@ BEGIN @38 // Add in-game options for Tweak Anthology's "Create Interval Saves" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3350 || MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3351 || MOD_IS_INSTALLED ~setup-cdtweaks.tp2~ 3352 || @@ -558,6 +636,7 @@ BEGIN @39 // Add in-game option "Force Dialog Pause" FORBID_COMPONENT ~HiddenGameplayOptions.tp2~ 0 @503 // Option is already installed REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ui.menu~ @500 // Enhanced Edition game patched to v2.0 or higher required. REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~EEUITWEAKS.TP2~ 1010) @506 // This mod is not compatible with EEUITweaks component "Hidden Game Options". + REQUIRE_PREDICATE (NOT MOD_IS_INSTALLED ~infinity_ui.tp2~ 0) @512 // This mod is not compatible with Pecca's Infinity UI. DESIGNATED 39 LABEL ~A7-HIDDENGAMEPLAYOPTIONS-OPTION_FORCE_DIALOG_PAUSE~ diff --git a/HiddenGameplayOptions/languages/english/setup.tra b/HiddenGameplayOptions/languages/english/setup.tra index b2c5fdf..45f5afd 100644 --- a/HiddenGameplayOptions/languages/english/setup.tra +++ b/HiddenGameplayOptions/languages/english/setup.tra @@ -52,3 +52,6 @@ @509 = ~Requires Tweaks Anthology's "Create interval saves" to be installed.~ @510 = ~Requires component "Improved Cheat Menu" to be installed.~ @511 = ~This component is intended to be called separately if needed.~ +@512 = ~This component is not compatible with Pecca's Infinity UI.~ +@513 = ~This component is not compatible with K4f4r's Classic BG UI.~ +@514 = ~This component is not compatible with Tipun's User Interface.~ diff --git a/HiddenGameplayOptions/languages/german/setup.tra b/HiddenGameplayOptions/languages/german/setup.tra index 941ee0b..3d6d42c 100644 --- a/HiddenGameplayOptions/languages/german/setup.tra +++ b/HiddenGameplayOptions/languages/german/setup.tra @@ -52,7 +52,9 @@ @509 = ~Benoetigt Tweaks Anthologys Modkomponente "Regelmaessige Spielstaende erzeugen".~ @510 = ~Benoetigt die Modkomponente "Verbessertes Cheatmenu".~ @511 = ~Diese Komponente ist dafuer gedacht, bei Bedarf separat aufgerufen zu werden.~ - +@512 = ~Diese Komponente ist nicht mit Peccas Infinity UI kompatibel.~ +@513 = ~Diese Komponente ist nicht mit K4f4rs Classic BG UI kompatibel.~ +@514 = ~Diese Komponente ist nicht mit Tipuns User Interface kompatibel.~ // WeiDU prompts @-1000= "Die %TP2_FILE_NAME%-Mod besitzt" diff --git a/HiddenGameplayOptions/lib/functions.tph b/HiddenGameplayOptions/lib/functions.tph index fa4de46..4a4580a 100644 --- a/HiddenGameplayOptions/lib/functions.tph +++ b/HiddenGameplayOptions/lib/functions.tph @@ -515,3 +515,29 @@ BEGIN SET start_ofs = end_ofs END END + + +// Reads content of an inlined file of the given name. +// Parameters: +// STR_VAR name File name without extension (no default). +// STR_VAR ext File extension without leading dot (default: menu) +// STR_VAR path File path (default: .../inlined/hiddengameplayoptions) +// RET code Content of the specified file. +DEFINE_PATCH_FUNCTION LOAD_INLINED_DATA +STR_VAR + name = ~~ + ext = ~menu~ + path = ~.../inlined/hiddengameplayoptions~ +RET + code +BEGIN + SPRINT code ~~ + PATCH_IF (NOT ~%name%~ STR_EQ ~~) BEGIN + INNER_ACTION BEGIN + COPY - ~%path%/%name%.%ext%~ ~%path%/%name%.%ext%~ + SET len = BUFFER_LENGTH + READ_ASCII 0 code (len) + BUT_ONLY + END + END +END diff --git a/HiddenGameplayOptions/lib/ui_slider_feedback_actions.tph b/HiddenGameplayOptions/lib/ui_slider_feedback_actions.tph index a229713..1ff9d00 100644 --- a/HiddenGameplayOptions/lib/ui_slider_feedback_actions.tph +++ b/HiddenGameplayOptions/lib/ui_slider_feedback_actions.tph @@ -14,69 +14,73 @@ INCLUDE ~%MOD_FOLDER%/lib/functions.tph~ * STR_VAR LUA label text variable: ctl_label * STR_VAR LUA description variable: ctl_description */ -OUTER_TEXT_SPRINT codeActionFeedbackText ~%TAB% -%TAB%text -%TAB%{ -%TAB%%TAB%area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% -%TAB%%TAB%text "%ctl_label%" -%TAB%%TAB%text style "label" -%TAB%%TAB%text align right center -%TAB%%TAB%text upper -%TAB%%TAB%text highlight lua "getSelected(selectedSL, %ctl_id%)" -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeActionFeedbackSlider ~%TAB%slider -%TAB%{ -%TAB%%TAB%area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% -%TAB%%TAB%position "renderActionsSLDR" -%TAB%%TAB%bam 'SLDRSTAR' -%TAB%%TAB%mosaic GUISLDR -%TAB%%TAB%sequence 0 -%TAB%%TAB%frame 1 -%TAB%%TAB%settings %ctl_num_settings% -%TAB%%TAB%pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeActionFeedbackSlider25 ~%TAB%slider -%TAB%{ -%TAB%%TAB%area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% -%TAB%%TAB%position "renderActionsSLDR" -%TAB%%TAB%bam 'SLDRSTAR' -%TAB%%TAB%sliderBackground 'SLDRBACK' -%TAB%%TAB%scaleToClip -%TAB%%TAB%sequence 0 -%TAB%%TAB%frame 1 -%TAB%%TAB%settings %ctl_num_settings% -%TAB%%TAB%pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeActionFeedbackLabel ~%TAB%label -%TAB%{ -%TAB%%TAB%area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% -%TAB%%TAB%text lua "getRenderActions(renderActionsSLDR)" -%TAB%%TAB%text style "label" -%TAB%%TAB%text align center center -%TAB%} -%TAB% -~ +<<<<<<<< .../inlined/hiddengameplayoptions/codeActionFeedbackText.menu + + text + { + area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% + text "%ctl_label%" + text style "label" + text align right center + text upper + text highlight lua "getSelected(selectedSL, %ctl_id%)" + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeActionFeedbackSlider.menu + slider + { + area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% + position "renderActionsSLDR" + bam 'SLDRSTAR' + mosaic GUISLDR + sequence 0 + frame 1 + settings %ctl_num_settings% + pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeActionFeedbackSlider25.menu + slider + { + area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% + position "renderActionsSLDR" + bam 'SLDRSTAR' + sliderBackground 'SLDRBACK' + scaleToClip + sequence 0 + frame 1 + settings %ctl_num_settings% + pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeActionFeedbackLabel.menu + label + { + area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% + text lua "getRenderActions(renderActionsSLDR)" + text style "label" + text align center center + } + +>>>>>>>> /** * This code snippet adds a new action feedback slider control specifically to PST:EE. @@ -90,49 +94,50 @@ OUTER_TEXT_SPRINT codeActionFeedbackLabel ~%TAB%label * STR_VAR LUA description strref: ctl_desc_strref * STR_VAR LUA description variable: ctl_description (UNUSED) */ -OUTER_TEXT_SPRINT codeActionFeedbackSlider_PSTEE ~%TAB% -%TAB%text -%TAB%{ -%TAB%%TAB%area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% -%TAB%%TAB%text "%ctl_label%" -%TAB%%TAB%text style "normal_parchment" -%TAB%%TAB%text useFontZoom 0 -%TAB%%TAB%text align left center -%TAB%%TAB%focus color 255 255 255 255 -%TAB%%TAB%text color lua "getLabelColor(%ctl_id%)" -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = %ctl_desc_strref% -%TAB%%TAB%%TAB%selFeedOpt = 0 -%TAB%%TAB%%TAB%selMessageOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -%TAB%slider -%TAB%{ -%TAB%%TAB%area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% -%TAB%%TAB%position "renderActionsSLDR" -%TAB%%TAB%bam 'SLDRSTAR' -%TAB%%TAB%mosaic sliderbg -%TAB%%TAB%settings %ctl_num_settings% -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = %ctl_desc_strref% -%TAB%%TAB%%TAB%selFeedOpt = 0 -%TAB%%TAB%%TAB%selMessageOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -%TAB%label -%TAB%{ -%TAB%%TAB%area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% -%TAB%%TAB%text lua "getRenderActions(renderActionsSLDR)" -%TAB%%TAB%text style "normal" -%TAB%%TAB%text useFontZoom 0 -%TAB%%TAB%text align center center -%TAB%} -%TAB% -~ +<<<<<<<< .../inlined/hiddengameplayoptions/codeActionFeedbackSlider_PSTEE.menu + + text + { + area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% + text "%ctl_label%" + text style "normal_parchment" + text useFontZoom 0 + text align left center + focus color 255 255 255 255 + text color lua "getLabelColor(%ctl_id%)" + action + " + helpString = %ctl_desc_strref% + selFeedOpt = 0 + selMessageOpt = 0 + selectedSL = %ctl_id% + " + } + slider + { + area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% + position "renderActionsSLDR" + bam 'SLDRSTAR' + mosaic sliderbg + settings %ctl_num_settings% + action + " + helpString = %ctl_desc_strref% + selFeedOpt = 0 + selMessageOpt = 0 + selectedSL = %ctl_id% + " + } + label + { + area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% + text lua "getRenderActions(renderActionsSLDR)" + text style "normal" + text useFontZoom 0 + text align center center + } + +>>>>>>>> /** * Adds an action feedback slider to the Gameplay > Feedback section of the game. @@ -328,7 +333,7 @@ BEGIN END PATCH_IF (success) BEGIN PATCH_IF (GAME_IS ~bgee~) BEGIN - PATCH_IF (GAME_INCLUDES ~sod~) BEGIN + PATCH_IF (GAME_INCLUDES ~sod~ || INSTALLED_DRAGONSPEAR_UI) BEGIN // BGEE+SoD LPF __A7_ADD_SLIDER_ACTION_FEEDBACK_BGSOD RET success END END ELSE BEGIN @@ -518,6 +523,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackText~ RET codeActionFeedbackText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider~ RET codeActionFeedbackSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackLabel~ RET codeActionFeedbackLabel = code END TEXT_SPRINT code EVAL ~%codeActionFeedbackText%%codeActionFeedbackSlider%%codeActionFeedbackLabel%~ INNER_PATCH_SAVE code ~%code%~ BEGIN // padding not needed @@ -550,7 +558,7 @@ BEGIN SET ofsEnd = INDEX_BUFFER(~^[ %TAB%]*menu[ %TAB%%WNL%]*{~ ofsStart) PATCH_IF (ofsEnd > ofsStart) BEGIN // adjusting vertical position of existing sliders - SET gap = (MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) ? 65 : 75 + SET gap = INSTALLED_DRAGONSPEAR_UI ? 65 : 75 LPF __A7_UPDATE_SLIDER_POSITIONS INT_VAR ofsStart @@ -571,7 +579,7 @@ BEGIN SET ofs1 = INDEX_BUFFER(~^[ %TAB%]*button[ %TAB%%WNL%]*{~ ofs1) END PATCH_IF (ofs1 > ofsStart && ofs1 < ofsEnd) BEGIN - PATCH_IF (MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) BEGIN + PATCH_IF (INSTALLED_DRAGONSPEAR_UI) BEGIN SET ctl_label_x = 110 SET ctl_label_y = 262 SET ctl_label_w = 186 SET ctl_label_h = 36 SET ctl_slider_x = 300 SET ctl_slider_y = 262 SET ctl_slider_w = 200 SET ctl_slider_h = 36 SET ctl_info_x = 300 SET ctl_info_y = 298 SET ctl_info_w = 200 SET ctl_info_h = 36 @@ -582,16 +590,18 @@ BEGIN END SET isPatch25 = INDEX_BUFFER(~sliderBackground~) >= 0 ? 1 : 0 PATCH_IF (isPatch25) BEGIN - TEXT_SPRINT codeSlider ~%codeActionFeedbackSlider25%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider25~ RET codeSlider = code END SET ctl_pad_x = 5 SET ctl_pad_y = 0 SET ctl_pad_w = 4 SET ctl_pad_h = 0 END ELSE BEGIN - TEXT_SPRINT codeSlider ~%codeActionFeedbackSlider%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider~ RET codeSlider = code END END SET ctl_id = controlID SET ctl_num_settings = numSettings TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackText~ RET codeActionFeedbackText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackLabel~ RET codeActionFeedbackLabel = code END TEXT_SPRINT code EVAL ~%codeActionFeedbackText%%codeSlider%%codeActionFeedbackLabel%~ PATCH_IF (NOT isPatch25) BEGIN INNER_PATCH_SAVE code ~%code%~ BEGIN @@ -654,6 +664,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackText~ RET codeActionFeedbackText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider~ RET codeActionFeedbackSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackLabel~ RET codeActionFeedbackLabel = code END TEXT_SPRINT code EVAL ~%codeActionFeedbackText%%codeActionFeedbackSlider%%codeActionFeedbackLabel%~ INNER_PATCH_SAVE code ~%code%~ BEGIN // padding not needed @@ -715,6 +728,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackText~ RET codeActionFeedbackText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider~ RET codeActionFeedbackSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackLabel~ RET codeActionFeedbackLabel = code END TEXT_SPRINT code EVAL ~%codeActionFeedbackText%%codeActionFeedbackSlider%%codeActionFeedbackLabel%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen @@ -760,6 +776,7 @@ BEGIN SPRINT ctl_description (AT optDescTra) SET ctl_desc_strref = RESOLVE_STR_REF(~%ctl_description%~) + LPF LOAD_INLINED_DATA STR_VAR name = ~codeActionFeedbackSlider_PSTEE~ RET codeActionFeedbackSlider_PSTEE = code END TEXT_SPRINT code EVAL ~%codeActionFeedbackSlider_PSTEE%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen diff --git a/HiddenGameplayOptions/lib/ui_slider_framerate.tph b/HiddenGameplayOptions/lib/ui_slider_framerate.tph index d6f03a5..7dbb228 100644 --- a/HiddenGameplayOptions/lib/ui_slider_framerate.tph +++ b/HiddenGameplayOptions/lib/ui_slider_framerate.tph @@ -15,72 +15,76 @@ INCLUDE ~%MOD_FOLDER%/lib/functions.tph~ * STR_VAR LUA label text variable: ctl_label * STR_VAR LUA description variable: ctl_description */ -OUTER_TEXT_SPRINT codeFrameRateText ~%TAB%text -%TAB%{ -%TAB%%TAB%area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% -%TAB%%TAB%text "%ctl_label%" -%TAB%%TAB%text style "label" -%TAB%%TAB%text align right center -%TAB%%TAB%text upper -%TAB%%TAB%text highlight lua "getSelected(selectedSL, %ctl_id%)" -%TAB%%TAB%enabled "%ctl_condition%" -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeFrameRateSlider ~%TAB%slider -%TAB%{ -%TAB%%TAB%area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% -%TAB%%TAB%position "framerateSLDR" -%TAB%%TAB%bam 'SLDRSTAR' -%TAB%%TAB%mosaic GUISLDR -%TAB%%TAB%sequence 0 -%TAB%%TAB%frame 1 -%TAB%%TAB%settings %ctl_num_settings% -%TAB%%TAB%pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% -%TAB%%TAB%enabled "%ctl_condition%" -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeFrameRateSlider25 ~%TAB%slider -%TAB%{ -%TAB%%TAB%area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% -%TAB%%TAB%position "framerateSLDR" -%TAB%%TAB%bam 'SLDRSTAR' -%TAB%%TAB%sliderBackground 'SLDRBACK' -%TAB%%TAB%scaleToClip -%TAB%%TAB%sequence 0 -%TAB%%TAB%frame 1 -%TAB%%TAB%settings %ctl_num_settings% -%TAB%%TAB%pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% -%TAB%%TAB%enabled "%ctl_condition%" -%TAB%%TAB%action -%TAB%%TAB%" -%TAB%%TAB%%TAB%helpString = '%ctl_description%' -%TAB%%TAB%%TAB%selectedOpt = 0 -%TAB%%TAB%%TAB%selectedSL = %ctl_id% -%TAB%%TAB%" -%TAB%} -~ -OUTER_TEXT_SPRINT codeFrameRateLabel ~%TAB%label -%TAB%{ -%TAB%%TAB%area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% -%TAB%%TAB%text lua "getFrameRate(framerateSLDR)" -%TAB%%TAB%text style "label" -%TAB%%TAB%text align center center -%TAB%%TAB%enabled "%ctl_condition%" -%TAB%} -%TAB% -~ +<<<<<<<< .../inlined/hiddengameplayoptions/codeFrameRateText.menu + text + { + area %ctl_label_x% %ctl_label_y% %ctl_label_w% %ctl_label_h% + text "%ctl_label%" + text style "label" + text align right center + text upper + text highlight lua "getSelected(selectedSL, %ctl_id%)" + enabled "%ctl_condition%" + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeFrameRateSlider.menu + slider + { + area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% + position "framerateSLDR" + bam 'SLDRSTAR' + mosaic GUISLDR + sequence 0 + frame 1 + settings %ctl_num_settings% + pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% + enabled "%ctl_condition%" + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeFrameRateSlider25.menu + slider + { + area %ctl_slider_x% %ctl_slider_y% %ctl_slider_w% %ctl_slider_h% + position "framerateSLDR" + bam 'SLDRSTAR' + sliderBackground 'SLDRBACK' + scaleToClip + sequence 0 + frame 1 + settings %ctl_num_settings% + pad %ctl_pad_x% %ctl_pad_y% %ctl_pad_w% %ctl_pad_h% + enabled "%ctl_condition%" + action + " + helpString = '%ctl_description%' + selectedOpt = 0 + selectedSL = %ctl_id% + " + } +>>>>>>>> +<<<<<<<< .../inlined/hiddengameplayoptions/codeFrameRateLabel.menu + label + { + area %ctl_info_x% %ctl_info_y% %ctl_info_w% %ctl_info_h% + text lua "getFrameRate(framerateSLDR)" + text style "label" + text align center center + enabled "%ctl_condition%" + } + +>>>>>>>> /** * Adds a frame rate slider to the Gameplay section of the game. @@ -291,7 +295,7 @@ BEGIN END PATCH_IF (success) BEGIN PATCH_IF (GAME_IS ~bgee~) BEGIN - PATCH_IF (GAME_INCLUDES ~sod~) BEGIN + PATCH_IF (GAME_INCLUDES ~sod~ || INSTALLED_DRAGONSPEAR_UI) BEGIN // BGEE+SoD LPF __A7_ADD_SLIDER_FRAME_RATE_BGSOD RET success END END ELSE BEGIN @@ -461,6 +465,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateText~ RET codeFrameRateText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateSlider~ RET codeFrameRateSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateLabel~ RET codeFrameRateLabel = code END TEXT_SPRINT code EVAL ~%codeFrameRateText%%codeFrameRateSlider%%codeFrameRateLabel%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen @@ -489,7 +496,7 @@ BEGIN SET ofsEnd = INDEX_BUFFER(~^[ %TAB%]*menu[ %TAB%%WNL%]*{~ ofsStart) PATCH_IF (ofsEnd > ofsStart) BEGIN // adjusting vertical position of existing sliders - SET gap = (MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) ? 55 : 50 + SET gap = INSTALLED_DRAGONSPEAR_UI ? 55 : 50 LPF __A7_UPDATE_SLIDER_POSITIONS INT_VAR ofsStart @@ -511,10 +518,14 @@ BEGIN SET ofs1 = INDEX_BUFFER(~^[ %TAB%]*button[ %TAB%%WNL%]*{~ ofs1) END PATCH_IF (ofs1 > ofsStart && ofs1 < ofsEnd) BEGIN - PATCH_IF (MOD_IS_INSTALLED ~dragonspear_ui++.tp2~ 1) BEGIN + PATCH_IF (INSTALLED_DRAGONSPEAR_UI) BEGIN SET ctl_label_x = 600 SET ctl_label_y = 387 SET ctl_label_w = 200 SET ctl_label_h = 34 SET ctl_slider_x = 806 SET ctl_slider_y = 387 SET ctl_slider_w = 200 SET ctl_slider_h = 39 SET ctl_info_x = 806 SET ctl_info_y = 426 SET ctl_info_w = 200 SET ctl_info_h = 34 + END ELSE PATCH_IF (INSTALLED_TIPUN_UI) BEGIN + SET ctl_label_x = 64 SET ctl_label_y = 387 SET ctl_label_w = 192 SET ctl_label_h = 34 + SET ctl_slider_x = 266 SET ctl_slider_y = 387 SET ctl_slider_w = 200 SET ctl_slider_h = 39 + SET ctl_info_x = 266 SET ctl_info_y = 426 SET ctl_info_w = 200 SET ctl_info_h = 34 END ELSE BEGIN SET ctl_label_x = 112 SET ctl_label_y = 375 SET ctl_label_w = 188 SET ctl_label_h = 35 SET ctl_slider_x = 304 SET ctl_slider_y = 375 SET ctl_slider_w = 200 SET ctl_slider_h = 40 @@ -522,10 +533,10 @@ BEGIN END SET isPatch25 = INDEX_BUFFER(~sliderBackground~) >= 0 ? 1 : 0 PATCH_IF (isPatch25) BEGIN - TEXT_SPRINT codeSlider ~%codeFrameRateSlider25%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateSlider25~ RET codeSlider = code END SET ctl_pad_x = 5 SET ctl_pad_y = 0 SET ctl_pad_w = 4 SET ctl_pad_h = 0 END ELSE BEGIN - TEXT_SPRINT codeSlider ~%codeFrameRateSlider%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateSlider~ RET codeSlider = code END SET ctl_pad_x = 8 SET ctl_pad_y = 0 SET ctl_pad_w = 10 SET ctl_pad_h = 0 END SET ctl_id = controlID @@ -534,6 +545,8 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateText~ RET codeFrameRateText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateLabel~ RET codeFrameRateLabel = code END TEXT_SPRINT code EVAL ~%codeFrameRateText%%codeSlider%%codeFrameRateLabel%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen @@ -583,9 +596,19 @@ BEGIN SET ofs1 = INDEX_BUFFER(~^[ %TAB%]*button[ %TAB%%WNL%]*{~ ofs1) END PATCH_IF (ofs1 > ofsStart && ofs1 < ofsEnd) BEGIN - SET ctl_label_x = 108 SET ctl_label_y = 390 SET ctl_label_w = 192 SET ctl_label_h = 39 - SET ctl_slider_x = 304 SET ctl_slider_y = 390 SET ctl_slider_w = 200 SET ctl_slider_h = 40 - SET ctl_info_x = 304 SET ctl_info_y = 429 SET ctl_info_w = 200 SET ctl_info_h = 35 + PATCH_IF (INSTALLED_DRAGONSPEAR_UI) BEGIN + SET ctl_label_x = 600 SET ctl_label_y = 387 SET ctl_label_w = 200 SET ctl_label_h = 39 + SET ctl_slider_x = 806 SET ctl_slider_y = 387 SET ctl_slider_w = 200 SET ctl_slider_h = 40 + SET ctl_info_x = 806 SET ctl_info_y = 426 SET ctl_info_w = 200 SET ctl_info_h = 35 + END ELSE PATCH_IF (INSTALLED_TIPUN_UI) BEGIN + SET ctl_label_x = 64 SET ctl_label_y = 387 SET ctl_label_w = 192 SET ctl_label_h = 34 + SET ctl_slider_x = 266 SET ctl_slider_y = 387 SET ctl_slider_w = 200 SET ctl_slider_h = 39 + SET ctl_info_x = 266 SET ctl_info_y = 426 SET ctl_info_w = 200 SET ctl_info_h = 34 + END ELSE BEGIN + SET ctl_label_x = 108 SET ctl_label_y = 390 SET ctl_label_w = 192 SET ctl_label_h = 39 + SET ctl_slider_x = 304 SET ctl_slider_y = 390 SET ctl_slider_w = 200 SET ctl_slider_h = 40 + SET ctl_info_x = 304 SET ctl_info_y = 429 SET ctl_info_w = 200 SET ctl_info_h = 35 + END SET ctl_pad_x = 8 SET ctl_pad_y = 0 SET ctl_pad_w = 10 SET ctl_pad_h = 0 SET ctl_id = controlID SET ctl_num_settings = numSettings @@ -593,6 +616,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateText~ RET codeFrameRateText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateSlider~ RET codeFrameRateSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateLabel~ RET codeFrameRateLabel = code END TEXT_SPRINT code EVAL ~%codeFrameRateText%%codeFrameRateSlider%%codeFrameRateLabel%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen @@ -652,6 +678,9 @@ BEGIN TEXT_SPRINT ctl_label ~%optLabelName%~ TEXT_SPRINT ctl_description ~%optDescName%~ + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateText~ RET codeFrameRateText = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateSlider~ RET codeFrameRateSlider = code END + LPF LOAD_INLINED_DATA STR_VAR name = ~codeFrameRateLabel~ RET codeFrameRateLabel = code END TEXT_SPRINT code EVAL ~%codeFrameRateText%%codeFrameRateSlider%%codeFrameRateLabel%~ SET strlen = STRING_LENGTH ~%code%~ INSERT_BYTES ofs1 strlen diff --git a/HiddenGameplayOptions/readme/readme-french.txt b/HiddenGameplayOptions/readme/readme-french.txt index 013ad64..57bba6a 100644 --- a/HiddenGameplayOptions/readme/readme-french.txt +++ b/HiddenGameplayOptions/readme/readme-french.txt @@ -410,6 +410,10 @@ History 4.3 - Improved compatibility of "Improved Cheat Menu" with Iwdification and SCS +- Added support for BG2EE version of Pecca's Dragonspear UI++ +- Added compatibility checks for Pecca's Infinity UI +- Added compatibility checks for K4f4r's Classic BG UI +- Added compatibility checks for Tipun's User Interface 4.2 - Added compatibility with Pecca's Infinity UI++ for "Improved Cheat Menu" diff --git a/HiddenGameplayOptions/readme/readme-german.txt b/HiddenGameplayOptions/readme/readme-german.txt index ff3020f..48672c6 100644 --- a/HiddenGameplayOptions/readme/readme-german.txt +++ b/HiddenGameplayOptions/readme/readme-german.txt @@ -43,11 +43,14 @@ Kompatibilität & Installationsreihenfolge ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Die Mod unterstützt alle Enhanced Editions ab Spielversion 2.0. Sie ist außerdem mit Peccas -"Dragonspear UI++" und größtenteils mit Lefreuts Enhanced UI (LeUI) kompatibel. +"Dragonspear UI++" und größtenteils mit Lefreuts Enhanced UI (LeUI), K4f4rs Classic BG UI und +Tipuns User Interface kompatibel. Einige Optionen werden ggf. in andere Bereiche verschoben, wenn diese Mods erkannt wurden. Das "Verbesserte Cheatmenü" könnte kleinere Grafikfehler beinhalten, falls Lefreuts Enhanced UI installiert ist. Sie wirken sich aber nicht auf die Funktionalität aus. +Peccas "Infinity UI" ist nur mit dem "Verbesserten Cheatmenü" kompatibel. + Die Mod kann nicht zusammen mit der EEUITweaks-Komponente "Hidden Game Options" installiert werden. Das Verändern von UI-Definitionen ist eine komplizierte Angelegenheit. Um sicherzustellen, dass @@ -413,6 +416,10 @@ History 4.3 - Improved compatibility of "Improved Cheat Menu" with Iwdification and SCS +- Added support for BG2EE version of Pecca's Dragonspear UI++ +- Added compatibility checks for Pecca's Infinity UI +- Added compatibility checks for K4f4r's Classic BG UI +- Added compatibility checks for Tipun's User Interface 4.2 - Added compatibility with Pecca's Infinity UI++ for "Improved Cheat Menu" diff --git a/HiddenGameplayOptions/readme/readme-polish.txt b/HiddenGameplayOptions/readme/readme-polish.txt index 6122fb1..cae1c28 100644 --- a/HiddenGameplayOptions/readme/readme-polish.txt +++ b/HiddenGameplayOptions/readme/readme-polish.txt @@ -396,6 +396,10 @@ History 4.3 - Improved compatibility of "Improved Cheat Menu" with Iwdification and SCS +- Added support for BG2EE version of Pecca's Dragonspear UI++ +- Added compatibility checks for Pecca's Infinity UI +- Added compatibility checks for K4f4r's Classic BG UI +- Added compatibility checks for Tipun's User Interface 4.2 - Added compatibility with Pecca's Infinity UI++ for "Improved Cheat Menu" diff --git a/HiddenGameplayOptions/readme/readme-portuguese.txt b/HiddenGameplayOptions/readme/readme-portuguese.txt index 6cbac7c..622ef98 100644 --- a/HiddenGameplayOptions/readme/readme-portuguese.txt +++ b/HiddenGameplayOptions/readme/readme-portuguese.txt @@ -275,6 +275,10 @@ History 4.3 - Improved compatibility of "Improved Cheat Menu" with Iwdification and SCS +- Added support for BG2EE version of Pecca's Dragonspear UI++ +- Added compatibility checks for Pecca's Infinity UI +- Added compatibility checks for K4f4r's Classic BG UI +- Added compatibility checks for Tipun's User Interface 4.2 - Added compatibility with Pecca's Infinity UI++ for "Improved Cheat Menu" diff --git a/HiddenGameplayOptions/readme/readme.txt b/HiddenGameplayOptions/readme/readme.txt index 22b515e..d662411 100644 --- a/HiddenGameplayOptions/readme/readme.txt +++ b/HiddenGameplayOptions/readme/readme.txt @@ -41,10 +41,14 @@ Compatibility & Installation Order ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The mod supports all Enhanced Edition games patched to v2.0 or higher. It is also compatible with -Pecca's "Dragonspear UI++" and largely compatible with Lefreut's Enhanced UI (LeUI). Some options -may be moved into other sections when these mods have been detected. The "Improved Cheat Menu" -may also produce some minor visual glitches if Lefreut's Enhanced UI is installed. Functionality -is not adversely affected, however. +Pecca's "Dragonspear UI++", and largely compatible with Lefreut's Enhanced UI (LeUI), K4f4r's +Classic BG UI and Tipun's User Interface. +Some options may be moved into other sections when these mods have been detected. The "Improved +Cheat Menu" may also produce some minor visual glitches if Lefreut's Enhanced UI is installed. +Functionality is not adversely affected, however. + +Pecca's "Infinity UI" is mostly incompatible with this mod, except for the "Improved Cheat Menu" +subcomponent. The mod can not be installed together with EEUITweaks component "Hidden Game Options". You can install either one, but not both at the same time. @@ -207,7 +211,7 @@ Option can be found in Sounds > Character Sounds or Gameplay > Feedback (PST:EE 21. Add in-game option "Frame Rate" (experimental) (not available for PST:EE, not compatible with - Lefreut's Enhanced UI (LeUI)) + Lefreut's Enhanced UI (LeUI) and K4f4r's Classic BG UI) This component installs a slider control that can be used to set the desired frame rate of the game. You can choose between 30, 40, 50 and 60 frames per second. The game's default is 30 fps. @@ -220,7 +224,8 @@ no effect: Option can be found in Gameplay section. -22. Add in-game option "Action Feedback" (not compatible with Lefreut's Enhanced UI (LeUI)) +22. Add in-game option "Action Feedback" (not compatible with Lefreut's Enhanced UI (LeUI), + K4f4r's Classic BG UI and Tipun's User Interface) This component installs a slider control that can be used to show small symbols around character sprites that indicate their current action (e.g. fighting, spellcasting or thieving actions). @@ -386,6 +391,10 @@ History 4.3 - Improved compatibility of "Improved Cheat Menu" with Iwdification and SCS +- Added support for BG2EE version of Pecca's Dragonspear UI++ +- Added compatibility checks for Pecca's Infinity UI +- Added compatibility checks for K4f4r's Classic BG UI +- Added compatibility checks for Tipun's User Interface 4.2 - Added compatibility with Pecca's Infinity UI++ for "Improved Cheat Menu" diff --git a/README.md b/README.md index 90f6144..00c7092 100644 --- a/README.md +++ b/README.md @@ -140,13 +140,13 @@ Enabling this option will trigger bored sounds when you haven't assigned actions *Option can be found in Sounds > Character Sounds or Gameplay > Feedback (PST:EE only)* -#### 21. Add in-game option "Frame Rate" (experimental) *(not available for PST:EE, not compatible with Lefreut's Enhanced UI (LeUI))* +#### 21. Add in-game option "Frame Rate" (experimental) *(not available for PST:EE, not compatible with Lefreut's Enhanced UI (LeUI) and K4f4r's Classic BG UI)* This component installs a slider control that can be used to set the desired frame rate of the game. You can choose between 30, 40, 50 and 60 frames per second. The game's default is 30 fps. *Option can be found in Gameplay section.* -#### 22. Add in-game option "Action Feedback" *(not compatible with Lefreut's Enhanced UI (LeUI))* +#### 22. Add in-game option "Action Feedback" *(not compatible with Lefreut's Enhanced UI (LeUI), K4f4r's Classic BG UI and Tipun's User Interface)* This component installs a slider control that can be used to show small symbols around character sprites that indicate their current action (e.g. fighting, spellcasting, thieving actions). You can choose between several feedback levels. Some levels may require that the Gameplay option *"Debug Mode"* is enabled.