Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Wisp
« on: July 17, 2021, 04:47:49 AM »

Thank you for the report. The issue will be fixed in 248.
Posted by: skellytz
« on: July 16, 2021, 08:17:05 PM »

Quote
The interactive installer does not ask about non-predicated subcomponents for which the component-flag predicates were false. In effect, the installer does not ask about subcomponents that could not be installed.

This change in v247 seems to have broken subcomponents guarded by their own predicate. From the readme:

Code: [Select]
BEGIN ~Imoen: Turnip-Mage~
SUBCOMPONENT ~Imoen Mage Kit~ (FILE_EXISTS_IN_GAME ~turnip.spl~)
// This particular subcomponent will only be displayed if TURNIP.SPL exists. If it does not, you can still install other subcomponents.

In v246 this subcomponent would be hidden without turnip.spl but other subcomponents would still be displayed. In v247 if any subcomponent is guarded this way and the requirement fails, the whole component gets skipped.

This is why 1PPv4 won't install Thieves Galore and Female Dwarves.

Code: [Select]
BEGIN @110                                                                                                          // ~IWD HoW/TotLM - Unique Thief Avatars~
SUBCOMPONENT @1100 (GAME_IS ~totlm how~ AND (MOD_IS_INSTALLED ~1pp.tp2~ 109) AND (MOD_IS_INSTALLED ~1pp.tp2~ 101))  // ~1ppv4: Thieves Galore~
DESIGNATED 110 LABEL "1pp_unique_thief_avatars_iwd"

INCLUDE ~1pp/components/110_thieves_iwd.tph~


BEGIN @111 // ~BGII - Unique Thief Avatars~
SUBCOMPONENT @1100 (GAME_IS ~bg2 tob tutu tutu_totsc ca~ AND (MOD_IS_INSTALLED ~1pp.tp2~ 106) AND (MOD_IS_INSTALLED ~1pp.tp2~ 101))
DESIGNATED 111 LABEL "1pp_unique_thief_avatars_bg2"

INCLUDE ~1pp/components/111_thieves_bg2.tph~


BEGIN @112 // ~IWDII - Unique Thief Avatars~
SUBCOMPONENT @1100 (GAME_IS ~iwd2~)
DESIGNATED 112 LABEL "1pp_unique_thief_avatars_iwd2"

INCLUDE ~1pp/components/112_thieves_iwd2.tph~
Posted by: jastey
« on: September 08, 2020, 09:49:27 AM »

Thank you!
Posted by: Gwendolyne_FP
« on: August 31, 2020, 02:23:33 AM »

Thanks!
Posted by: Wisp
« on: August 31, 2020, 01:56:36 AM »

Fixed. Next WeiDU should not ask about subcomponents that cannot be installed because of failing component flags.
Posted by: jastey
« on: August 27, 2020, 04:07:57 AM »

I'll look into why it's behaving oddly when you press or [R] but since the component in question is already uninstalled at the time you are making this choice, the appropriate option is [N] (or [Q]).
The inconsistency in my case is that for all optional components, pressing u does the right thing, but for the SUBCOMPONENTs, pressing the u leads to the loop with the uninstaller only accepting n or r (I never tried q at this point because I don't want to risk borking my game).
Posted by: jastey
« on: August 27, 2020, 04:04:48 AM »

I have the same problem with the local version of I4E if I use groups + subcomponents in the tp2. The link to beta is here but the loop occurs if the GROUP taggs are uncommented (I took them out because then all goes upon deinstallation smoothly).

This is how the components in question look in the tp2 if the problem arises:
Quote
//////////////////////////////////////////////////////////////////
/* 7th SoD part: Unify Imoen's portrait in SoD */
///////////////////////////////////////////////////////////////////
BEGIN @9926
SUBCOMPONENT @9924
DESIGNATED 16 GROUP @9922
REQUIRE_PREDICATE (GAME_INCLUDES ~sod~) @9904
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-imoen_forever.TP2~ "10") OR
(MOD_IS_INSTALLED ~setup-imoen_forever.TP2~ "11") @9927


//snip

BEGIN @9925
SUBCOMPONENT @9924
DESIGNATED 17 GROUP @9922
REQUIRE_PREDICATE (GAME_INCLUDES ~sod~) @9904
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-imoen_forever.TP2~ "10") OR
(MOD_IS_INSTALLED ~setup-imoen_forever.TP2~ "11") @9927

//snip


If I install all components of the group "SoD content" (GROUP @9922) and deinstall it in one go, the installer shows two thinhs that are inconsistent imho:

1. It asks about whether the optional components should be [R]e-Install, [N]o Change or [ U ]ninstall or [Q]uit although they require the - already deinstalled - main components.
2. For the component that is one of two SUBCOMPONENT, the process goes into a loop where it offers [R]e-Install, [N]o Change or [ U ]ninstall or [Q]uit again but pressing [ u ] makes it repeat the question in a loop. Pressing [r] or [n] leads to the component to stay uninstalled and the process to end:

Quote
Install Component [Imoen 4 Ever in SoD: Unify Imoen's Portrait]?
[R]e-install, [N]o Change, ninstall, [Q]uit or choose one:
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

Install Component [Imoen 4 Ever in SoD: Unify Imoen's Portrait]?
[R]e-install, [N]o Change, ninstall, [Q]uit or choose one:
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

Install Component [Imoen 4 Ever in SoD: Unify Imoen's Portrait]?
[R]e-install, [N]o Change, ninstall, [Q]uit or choose one:
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

Install Component [Imoen 4 Ever in SoD: Unify Imoen's Portrait]?
[R]e-install, [N]o Change, ninstall, [Q]uit or choose one:
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

Install Component [Imoen 4 Ever in SoD: Unify Imoen's Portrait]?
[R]e-install, [N]o Change, ninstall, [Q]uit or choose one:
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

SKIPPING: [Imoen 4 Ever in SoD: Unify Imoen's Portrait -> Use Imoen's BG1 Portrait in all of SoD]
   Component "Imoen remains in the group in Korlasz' dungeon" OR Component "Imoen returns to PC in first coalition camp" needs to be installed for this.

Re-Installing [IMOEN_FOREVER/IMOEN_FOREVER.TP2] component  16
[imoen_forever/tra/english/setup.tra] has 28 translation strings
[imoen_forever/tra/english/game.tra] has 192 translation strings
Re-Installing Using Language [English]
[./override/CAMPAIGN.2DA] loaded, 3799 bytes

[IMOEN_FOREVER/IMOEN_FOREVER.TP2] component 16  fails component requirements, *not* Re-Installing.
Unable to Unlink [override/spell.ids.imoen_forever.16.marker]: Unix.Unix_error(20, "unlink", "override/spell.ids.imoen_forever.16.marker")
Running AT_INTERACTIVE_EXITs in ~IMOEN_FOREVER/IMOEN_FOREVER.TP2~ 0 16
Posted by: Gwendolyne_FP
« on: August 14, 2020, 12:25:42 PM »

I got the same issue with Adrian soundset subcomponents : https://github.com/SpellholdStudios/Adrian_NPC/releases
Posted by: Wisp
« on: August 13, 2020, 05:24:23 AM »

I'll look into why it's behaving oddly when you press or [R] but since the component in question is already uninstalled at the time you are making this choice, the appropriate option is [N] (or [Q]).
Posted by: Caedwyr-Guest
« on: August 11, 2020, 08:11:21 PM »

​I've got the next version of the Geomantic Sorcerer kit ready to go, but I'm trying to chase down a problem with the weidu uninstaller.  If I uninstall the kit when I've installed both the kit and the custom portraits, I get stuck in an endless loop when trying to uninstall animal portraits. I select U to uninstall the bear portrait and nothing appears to happen beyond being asked if I want to uninstall the bear portraits again.  Has anyone else run into this?  Reinstall works just fine, things just break during an uninstall.

I'm thinking that it may be because the animal portraits require that the kit mod be installed, but the mod has already been uninstalled and it therefore hangs at that point.  Is there a cleaner way of handling this situation?

There are going to be a number of subcomponent dependencies.  The main ones are

Code: [Select]
Geomantic Sorcerer Kit
Portrait Component
Male/Female Portraits
Male/Female Moose
Bear Portraits
Cat Portraits
Dog Portraits
Leopard Portraits
Panther Potraits
Rat Portraits
Snake Portraits
Wolf Portraits

Relevant code from my .tp2

Code: [Select]
BACKUP   ~geosor/backup~    // location to store files for uninstall purposes
SUPPORT  ~http://gibberlings3.net/forums/index.php?showforum=28~ // email address displayed if install fails

ALWAYS

  ACTION_IF ((FILE_EXISTS ~dlc/sod-dlc.zip~) OR (FILE_EXISTS ~sod-dlc.zip~)) THEN BEGIN FAIL @3 END // Modmerge check

  INCLUDE ~geosor/lib/cd_portrait_copy.tph~ //Portrait macro library
  // convert strings to UTF-8 for BGEE/BG2EE
  ACTION_DEFINE_ARRAY cdreload BEGIN setup END
  LAF HANDLE_CHARSETS INT_VAR infer_charsets = 1 STR_VAR tra_path = ~geosor/languages~ reload_array = cdreload END

END

VERSION ~v8~
README ~geosor/readme-geoSor.html~ // Offer to display the main readme

ASK_EVERY_COMPONENT

LANGUAGE ~English~
         ~english~
         ~geosor/languages/english/setup.tra~ // English
LANGUAGE ~Francais (Translation by zooloo of the D'Oghmatiques)~
         ~french~
         ~geosor/languages/english/setup.tra~ // English
         ~geosor/languages/french/setup.tra~ // French
LANGUAGE ~EspaƱola (Translation by lisandro)~
         ~geosor/languages/english/setup.tra~ // English
         ~geosor/languages/spanish/setup.tra~ // French



/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////                                                  \\\\\
///// Geomantic Sorcerer Kit Remake                    \\\\\
/////                                                  \\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\

BEGIN @1 /*Start with displaying mod component Geomantic Sorcerer Remake*/
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

/*Kit code goes here*/
END

/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////                                                  \\\\\
///// Portraits for Druidic Shapeshifting              \\\\\
/////                                                  \\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\

BEGIN @20 /*Portraits for Druidic Shapeshifting*/    //1
REQUIRE_COMPONENT ~setup-geosor.tp2~ ~0~ @12 //Need main kit installed before you can install this component.
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

// copy the shapeshfiting spells with portrait changing effects

BEGIN @30 //Male PCs     2
SUBCOMPONENT @20
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~1~) @12 /*Portraits for Druidic Shapeshifting*/
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

// this file does nothing, it just allows other mods to detect this component
COPY_EXISTING ~sw1h01.itm~ ~override/malepc.g3~

BEGIN @31 // Female PCs      3
SUBCOMPONENT @20
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~1~) @12 /*Portraits for Druidic Shapeshifting*/
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

// this file does nothing, it just allows other mods to detect this component
COPY_EXISTING ~sw1h01.itm~ ~override/femalepc.g3~

/// Options for Male Humanoid Portraits

BEGIN @60 /*mCast2 (Lightning Caster)*/       //4
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~mcast2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~mcast2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @61 /*mCast5 (Blond Hooded Caster)*/      //5
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~mcast5~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~mcast5~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @62 /*mDruid2 (Druid with face paint) - By Amaurea*/    //6
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~mdruid2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~mdruid2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @63 /*mDruid (Druid in Vegetation)*/        //7
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~mdruid~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~mdruid~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @64 /*mElf1 (Slightly dark skinned elf)*/   //8
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~melf1~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~melf1~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @65 /*mElf2 (Elf caster type, open collar) - By Amaurea*/    //9
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~melf2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~melf2~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @66 /*mElf3 (Elf caster type, closeup) - By Amaurea*/    //10
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~melf3~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~melf3~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder

BEGIN @67 /*mGeo01 (Caster with sigils and runes) - By Amedyr*/    //11
SUBCOMPONENT @40
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Humanoid Portrait*/ // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~mgeo01~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~mgeo01~ destination = ~geosor~ source_path = ~geosor/portraits/male/humanoid~ END // to portraits folder


//////////////////// Options for Female Humanoid Portraits

BEGIN @21 /*fCast02 (Green Hooded, possibly elven/half-elven)*/    //13
SUBCOMPONENT @51
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fcast02~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fcast02~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @22 /*fCast15 (Tatooed caster)*/                 //14
SUBCOMPONENT @51
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fcast15~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fcast15~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @23 /*fCast16 (With metal ornamentation)*/      //15
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fcast16~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fcast16~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @24 /*fCast18 (Brown Hair human/half-elf)*/      //16
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13/*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fcast18~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fcast18~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @25 /*fDruid7 (Druid with headdress)*/          //17
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fdruid7~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fdruid7~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @26 /*fDruid9 (Red headed druid type in brown robe)*/   //18
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fdruid9~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fdruid9~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @28 /*fHaEl1 (Elf/Half-Elf caster type) - By Amaurea*/    //19
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fhael1~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fhael1~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder

BEGIN @29 /*fHaEl2 (White robed half-elf/elf) - By Amaurea*/   //20
SUBCOMPONENT @51 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13 /*Female Humanoid Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~fhael2~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to override folder
LAF cd_pc_portrait_copy STR_VAR source = ~fhael2~ destination = ~geosor~ source_path = ~geosor/portraits/female/humanoid~ END // to portraits folder


////////////////////////////Bear Form

BEGIN @99 /*oBear1 (Dark Brown looking over shoulder) - By Amaurea*/  //21
SUBCOMPONENT @42
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Bear form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~obear1~ destination = ~bear~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @70 /*oBear2 (Lighter Brown with partially open smiling mouth) - By Amaurea*/  //22
SUBCOMPONENT @42 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Bear form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~obear2~ destination = ~bear~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @71 /*oBear3 (Serious looking bear) - By Amaurea*/         //23
SUBCOMPONENT @42 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Bear form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~obear3~ destination = ~bear~ source_path = ~geosor/portraits/animals~ END // to override folder

//////////////////////////// Cat Form Portraits
BEGIN @72 /*oCat1 (Yellow and orange mottled with white bib) - By Amaurea*/   //24
SUBCOMPONENT @43 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Cat Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ocat1~ destination = ~cat~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @73 /*oCat2 (Grey with black bands around neck) - By Amaurea*/      //25
SUBCOMPONENT @43 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Cat Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ocat2~ destination = ~cat~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @74 /*oCat3 (Grey) - By Amaurea*/           //26
SUBCOMPONENT @43 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Cat Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ocat3~ destination = ~cat~ source_path = ~geosor/portraits/animals~ END // to override folder

//////////////////////////// Dog Form Portraits


BEGIN @75 /*oDog1 (Grey Hound) - By Amaurea*/       //27
SUBCOMPONENT @44 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Dog Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~odog1~ destination = ~dog~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @76 /*oDog2 (Beige shaggy haired dog) - By Amaurea*/  //28
SUBCOMPONENT @44 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Dog Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~odog2~ destination = ~dog~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @77 /*oDog3 (Border Collie) - By Amaurea, picture of Skye by Caedwyr*/   //29
SUBCOMPONENT @44 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Dog Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~odog3~ destination = ~dog~ source_path = ~geosor/portraits/animals~ END // to override folder


////////////////////////////Leopard Form Portraits


BEGIN @78 /*oLeop1 (Leopard) - By Amaurea*/       //30
SUBCOMPONENT @45 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Leopard Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~oleop1~ destination = ~leopard~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @79 /*oLeop2 (Leopard with snow) - By Amaurea*/       //31
SUBCOMPONENT @45 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Leopard Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~oleop2~ destination = ~leopard~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @80 /*oLeop3 (Leopard with tongue) - By Amaurea*/  //32
SUBCOMPONENT @45 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Leopard Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~oleop3~ destination = ~leopard~ source_path = ~geosor/portraits/animals~ END // to override folder


////////////////////////////  Moose Form Portraits - Male

BEGIN @81 /*omMoo1 (Moose with head down) - By Amaurea*/     //33
SUBCOMPONENT @46
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11  /*Male Moose Form Portrait*/  // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ommoo1~ destination = ~moose~ source_path = ~geosor/portraits/male/moose~ END // to override folder

BEGIN @82 /*omMoo2 (Moose with head in profile) - By Amaurea*/  //34
SUBCOMPONENT @46
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11 /*Male Moose Form Portrait*/  // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ommoo2~ destination = ~moose~ source_path = ~geosor/portraits/male/moose~ END // to override folder

BEGIN @83 /*omMoo3 (Chestnut coloured moose) - By Amaurea*/   //35
SUBCOMPONENT @46
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~) @11  /*Male Moose Form Portrait*/  // need male PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ommoo3~ destination = ~moose~ source_path = ~geosor/portraits/male/moose~ END // to override folder


//////////// Moose Form Portraits - Female


BEGIN @84 /*ofMoo1 (Semi-profile perspective) - By Amaurea*/    //36
SUBCOMPONENT @52
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13  /*Female Moose Form Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ofmoo1~ destination = ~moose~ source_path = ~geosor/portraits/female/moose~ END // to override folder

BEGIN @85 /*ofMoo2 (Chestnut coloured moose with head down) - By Amaurea*/    //37
SUBCOMPONENT @52
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13  /*Female Moose Form Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ofmoo2~ destination = ~moose~ source_path = ~geosor/portraits/female/moose~ END // to override folder

BEGIN @86 /*ofMoo3 (Chestnut coloured moose with head up) - By Amaurea*/    //38
SUBCOMPONENT @52
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @13  /*Female Moose Form Portrait*/ // need female PC choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~ofmoo3~ destination = ~moose~ source_path = ~geosor/portraits/female/moose~ END // to override folder


//////////////////////////// Panther Form Portraits


BEGIN @87 /*oPan1 (Shiny black panther) - By Amaurea*/  //37
SUBCOMPONENT @47 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Panther Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~opan1~ destination = ~panther~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @88 /*oPan2 (Panther with head cocked to one side) - By Amaurea*/  //38
SUBCOMPONENT @47 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Panther Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~opan2~ destination = ~panther~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @89 /*oPan3 (Panther with mouth partially open) - By Amaurea*/   //39
SUBCOMPONENT @47 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Panther Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~opan3~ destination = ~panther~ source_path = ~geosor/portraits/animals~ END // to override folder


//////////////////////////// Rat Form Portraits


BEGIN @90 /*oRat1 (Beige Rat) - By Amaurea*/              //40
SUBCOMPONENT @48 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Rat Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~orat1~ destination = ~rat~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @91 /*oRat2 (Rat sticking head out of hole) - By Amaurea*/  //41
SUBCOMPONENT @48 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Rat Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~orat2~ destination = ~rat~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @92 /*oRat3 (Light rat with food) - By Amaurea*/            //42
SUBCOMPONENT @48 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Rat Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~orat3~ destination = ~rat~ source_path = ~geosor/portraits/animals~ END // to override folder


//////////////////////////// Snake Form Portraits


BEGIN @93 /*oSnak1 (Snake raising head off grass) - By Amaurea*/      //43
SUBCOMPONENT @49 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Snake Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~osnak1~ destination = ~snake~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @94 /*oSnak2 (Cobra smelling its surroundings) - By Amaurea*/    //44
SUBCOMPONENT @49 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Snake Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~osnak2~ destination = ~snake~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @95 /*oSnak3 (Cobra with hood partially extended) - By Amaurea*/   //45
SUBCOMPONENT @49 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Snake Form Portrait*/ // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~osnak3~ destination = ~snake~ source_path = ~geosor/portraits/animals~ END // to override folder


////////////////////////////Wolf Form Portraits


BEGIN @96 /*oWolf1 (White wolf) - By Amaurea*/          //46
SUBCOMPONENT @50 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Wolf Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~owolf1~ destination = ~wolf~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @97 /*oWolf2 (Grey and white wolf) - By Amaurea*/   //47
SUBCOMPONENT @50 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Wolf Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~owolf2~ destination = ~wolf~ source_path = ~geosor/portraits/animals~ END // to override folder

BEGIN @98 /*oWolf3 (Black Wolf) - By Amaurea*/           //48
SUBCOMPONENT @50 
REQUIRE_PREDICATE (MOD_IS_INSTALLED ~setup-geosor.tp2~ ~2~ OR MOD_IS_INSTALLED ~setup-geosor.tp2~ ~3~) @14 /*Wolf Form Portrait*/  // need male PC or female choice in earlier install order
REQUIRE_PREDICATE GAME_IS ~tob bg2ee eet bgt iwdee bgee~ @2 /* TOB/EE Check prior to compiling.*/

LAF cd_portrait_npc     STR_VAR source = ~owolf3~ destination = ~wolf~ source_path = ~geosor/portraits/animals~ END // to override folder