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: AL|EN
« on: June 03, 2019, 05:22:49 AM »

Thanks!
Posted by: Wisp
« on: May 13, 2019, 12:14:06 PM »

Fixed.
Posted by: AL|EN
« on: April 22, 2019, 07:49:29 AM »

Yes, sorry, it was "%TP2_BASE_NAME%" which produces error:

Code: [Select]
BACKUP "Example-MyMod-XXX\Backup"
SUPPORT "Example-MyMod-XXX"
VERSION "0.0.1"

BEGIN "Example-MyMod-XXX" DESIGNATED 1000 NO_LOG_RECORD

PRINT "%MOD_FOLDER%"
PRINT "%TP2_BASE_NAME%"


Output:


Code: [Select]
2 [ALIEN-PC]ALIEN G:\Mods-Temp0 > .\Setup-Example-MyMod-XXX.exe --nogame --debug-assign
[G:\Mods-Temp0\Setup-Example-MyMod-XXX.exe] WeiDU version 24600
{Setup-astScriptPatcher.exe} Queried (pid = 256) version = 24600
SET %TP2_AUTHOR% = ~Example-MyMod-XXX~
SET %TP2_FILE_NAME% = ~EXAMPLE-MYMOD-XXX/EXAMPLE-MYMOD-XXX.TP2~
SET %TP2_BASE_NAME% = ~XXX~
SET %MOD_FOLDER% = ~Example-MyMod-XXX~
GET ~%MOD_FOLDER%~ = ~Example-MyMod-XXX~
GET ~%MOD_FOLDER%~ = ~Example-MyMod-XXX~


Install Component [Example-MyMod-XXX]?
[I]nstall, or [N]ot Install or [Q]uit? i
GET ~%MOD_FOLDER%~ = ~Example-MyMod-XXX~
SET %WEIDU_EXECUTABLE% = ~G:\Mods-Temp0\Setup-Example-MyMod-XXX.exe~
GET ~%argv[0]%~ = ~%argv[0]%~
GET ~%argv[0]%~ = ~%argv[0]%~


Installing [Example-MyMod-XXX] [1.0.0]
SET %COMPONENT_NUMBER% = 1000
SET %INTERACTIVE% = 1
GET ~%MOD_FOLDER%~ = ~Example-MyMod-XXX~


Example-MyMod-XXX
GET ~%TP2_BASE_NAME%~ = ~XXX~


XXX






SUCCESSFULLY INSTALLED      Example-MyMod-XXX


Press ENTER to exit.
Posted by: Wisp
« on: April 20, 2019, 08:50:40 AM »

I'm unable to reproduce with the information you have provided. Can you provide more?

If I set the actual folder name and the BACKUP directory to example-mymod-xxx, that's the MOD_FOLDER. If I set the folder name and TP2 name to example-mymod and the BACKUP directory to example-mymod-xxx, MOD_FOLDER is example-mymod.
Posted by: AL|EN
« on: March 31, 2019, 05:20:55 AM »

Hi,

%MOD_FOLDER% for 'Example-MyMod-XXX' is 'XXX' instead of 'Example-MyMod-XXX'

Bug or '-' inside mod folder names aren't supported?