![]() |
Installation problem - Printable Version +- Weasel Mods (https://www.weaselmods.net) +-- Forum: Released Baldur's Gate and Multiplatform Mods (https://www.weaselmods.net/forumdisplay.php?fid=4) +--- Forum: Colours of Infinity (https://www.weaselmods.net/forumdisplay.php?fid=6) +--- Thread: Installation problem (/showthread.php?tid=2645) |
Installation problem - orion - 04-02-2025 Hello! I didn't want to annoy you with mega installation issues, but surprisingly the mega installation run pretty smoothly except for a few mods. I'm trying to install TOTDG v12.94 and is failing. There are a few of your mods that are failing to install with errors similar to this ERROR: Sys_error("TOTDG/Worldmap/add_map_icons.tpa: No such file or directory") Please make a backup of the file: SETUP-TOTDG.DEBUG and look for support at: Lava Del'Vortel The problematic code I think is in install.tph, in this part // map icon index in mapicons.bam ACTION_IF GAME_IS ~eet~ BEGIN ACTION_DEFINE_ASSOCIATIVE_ARRAY remapped_icons BEGIN 9 => 178 END END ELSE ACTION_IF GAME_IS ~bg2ee~ BEGIN INCLUDE ~%MOD_FOLDER%/Worldmap/add_map_icons_ee.tpa~ LAF ADD_MAP_ICONS_EE STR_VAR path_to_icons = EVAL ~%MOD_FOLDER%/Worldmap/ee/icon.bam~ patch_to_pvrz = EVAL ~%MOD_FOLDER%/Worldmap/ee~ RET new_icon_index END ACTION_DEFINE_ASSOCIATIVE_ARRAY remapped_icons BEGIN 9 => ~%new_icon_index%~ END STRING_SET 23084 @4000300 //Traveling Hours -> Hours STRING_SET 5684 @4000301 //Destination Unreachable -> Unreachable END ELSE BEGIN //bg2, bgt INCLUDE ~%MOD_FOLDER%/Worldmap/add_map_icons.tpa~ LAF ADD_MAP_ICONS STR_VAR path_to_icons = EVAL ~%MOD_FOLDER%/Worldmap/bg/icon.bam~ RET new_icon_index END ACTION_DEFINE_ASSOCIATIVE_ARRAY remapped_icons BEGIN 9 => ~%new_icon_index%~ END END There is no Worldmap folder in the mod files. Any ideas? RE: Installation problem - Lava - 04-03-2025 I just checked and there are such directories and files. Have you checked if you can see the "worldmap" directory in your TotDG and if the mentioned file is there? If not, then you must have deleted it by accident, the package got damaged on your folder or your antivirus software really dislikes you. RE: Installation problem - orion - 04-03-2025 Extremely weird... Now that you say it there is a worldmap folder inside the .zip, but when I unzipped it, it was gone. Which is weird because Alabaster sands installed correctly and I was going to fix the installation simply copying it from there (antivirus was turned off...) Gonna check what's going on in the next iteration of the installation. Thanks!! The other mod that failed was Ooze lounge. It fails because there is no definition for DELETE_EFFECT, I was looking on other forums and other users had the same problem. https://www.baldursgateworld.fr/viewtopic.php?t=34719 This is the line that breaks apparently in items.tpa ACTION_IF GAME_IS ~bg2 tob bgt~ THEN BEGIN LPF DELETE_EFFECT INT_VAR match_opcode = 319 END END I was going to fix it simply by copying the definition of DELETE_EFFECT from other mod, probable ascension alter_effects file. Both versions are the last versions on your page. RE: Installation problem - Lava - 04-03-2025 What game version are you using? Is it EE? RE: Installation problem - orion - 04-04-2025 (04-03-2025, 01:27 PM)Lava Wrote: What game version are you using? Is it EE? I'm using BGT. I was able to solve the problem (at least for the installation). Added an alter_effect.tpa file with the definition of DELETE_EFFECT (from the ascension mod, but I think that it should be included in Weidu by default so probably not necessary) and changed in items.tpa ACTION_IF GAME_IS ~bg2 tob bgt~ THEN BEGIN LPF DELETE_EFFECT INT_VAR match_opcode = 319 END END for PATCH_IF GAME_IS ~bg2 tob bgt~ THEN BEGIN LPF DELETE_EFFECT INT_VAR match_opcode = 319 END END It solved the parsing error. It will be nice if you can add the fix for those who use BGT for BWP installations. Thanks and sorry for the inconvenience! RE: Installation problem - Lava - 04-04-2025 I already did that yesterday, I consulted CamDawg. The new version was up an hour after my post, I just forgot to mention it ![]() |