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: September 09, 2020, 11:06:00 AM »

If you keep a TP2 inside a directory, it needs to have the same name as the directory or the TP2 look-up won't work. You can have foo/foo.tp2 or foo/setup-foo.tp2, but not foo/bar.tp2. ID_OF_LABEL needs to do TP2 look-up because moving your TP2 from setup-foo.tp2 to foo/foo.tp2 is a supported action. I could have used the log file (like MOD_IS_INSTALLED etc.) except ID_OF_LABEL does not return different results for mods that are not installed (and the log is only useful for installed mods).
Posted by: The Imp
« on: September 08, 2020, 01:30:19 AM »

Weidu has individual mod components, that you just use BEGIN to start ... so I don't see a reason to have two different .tp2 files... And you can also include a .tp_ files* into the same mods files, so why would you need to have different .tp2 files for one mod ?
*This being a .tpa -files for example that you INCLUDE ... into the same component, or different ones like the BG2 Tweaks Pack does for example with everyone of it's components, today.
Posted by: AL|EN
« on: September 07, 2020, 09:35:27 AM »

Hi, I'm experimenting again:

Mod structure:
Code: [Select]
FearunStuff\
FearunStuff\FearunStuff-Armors.tp2
FearunStuff\FearunStuff-Weapons.tp2
Setup-FearunStuff.exe

I'm aware that weidu won't be able to detect/launch those two files so I'm using two helper commands in order to install two parts of the mod:

Code: [Select]
Setup-FearunStuff.exe FearunStuff\FearunStuff-Armors.tp2and
Code: [Select]
Setup-FearunStuff.exe FearunStuff\FearunStuff-Weapons.tp2
Related part of component code:
Quote
BEGIN "Faerûn Items: Armors" DESIGNATED 1000 LABEL "Armors"
    //doesn't work, weidu can't find FearunStuff\FearunStuff-Armors.tp2
    OUTER_SET num = ID_OF_LABEL "FearunStuff\FearunStuff-Armors.tp2" "Armors"
    PRINT "%num%"

Does weidu supports such non-standard setup? So far, the only thing which I tested is that getting correct "ID_OF_LABEL" doesn't work. A LABEL bug or unsupported dead end?