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: c4_angel
« on: August 09, 2017, 10:30:15 AM »

Fixed. Sorry about that.
If you want a workaround in the meantime, you can use something like this:
Code: [Select]
LANGUAGE ~Chinese~ ~schinese~
~test/english/prompts.tra~
~test/schinese/prompts-%WEIDU_OS%.tra~
This way the component names will be in Chinese while installing, but in English when written to the log file. Here English is used as the default language in situations when the Chinese tra file cannot be loaded (it's not intrinsically necessary to use English as default, but it is perhaps easiest). The problem is caused by the log being written inside a minimal variable scope, which erroneously did not include variables like %WEIDU_OS%.

OK, it has been resolved. Thank you for your patience and instructions.
Posted by: Wisp
« on: August 06, 2017, 08:17:19 AM »

Fixed. Sorry about that.
If you want a workaround in the meantime, you can use something like this:
Code: [Select]
LANGUAGE ~Chinese~ ~schinese~
~test/english/prompts.tra~
~test/schinese/prompts-%WEIDU_OS%.tra~
This way the component names will be in Chinese while installing, but in English when written to the log file. Here English is used as the default language in situations when the Chinese tra file cannot be loaded (it's not intrinsically necessary to use English as default, but it is perhaps easiest). The problem is caused by the log being written inside a minimal variable scope, which erroneously did not include variables like %WEIDU_OS%.
Posted by: c4_angel
« on: July 28, 2017, 05:57:41 PM »

After more test, the real issue is  %WEIDU_OS% in name of .tra file include in LANGUAGE block.
My test:

1.
Code: [Select]
LANGUAGE ~Chinese~ ~schinese~ ~test/schinese/prompts-win32.tra~2.
Code: [Select]
LANGUAGE ~Chinese~ ~schinese~ ~%MOD_FOLDER%/schinese/prompts-win32.tra~3.
Code: [Select]
LANGUAGE ~Chinese~ ~schinese~ ~test/schinese/prompts-%WEIDU_OS%.tra~
No error message both 1 and 2, only using code 3 there is one like

ERROR: No translation provided for @100
Continuing despite error.
Posted by: Wisp
« on: July 28, 2017, 01:21:57 PM »

Using the negative range of numbers is unsupported because it's for WeiDU's use. If the problem persists with a non-negative tra number, please provide a test case because I can't reproduce the issue based on the information you have provided.
Posted by: c4_angel
« on: July 23, 2017, 09:13:53 PM »

Issue update:

With v242, if a previous installed use component name use tra line included in prompts.tra(e.g., ToBEx, BGT...), the error message appears when install any other mod later.
Posted by: c4_angel
« on: June 15, 2017, 06:27:18 PM »

Errrr...You are right...

Sorry for that...

Edit:
I think I know what's wrong. Another mod I installed before uses @-10000 as mod name which logged in weidu.log.
Posted by: Wisp
« on: June 14, 2017, 11:09:40 AM »

Report:

Just before "SUCCESSFULLY INSTALLED",  shows

"ERROR: No translation provided for @-10000
Continuing despite error."

and no @-10000 found in prompts.tra.

WeiDU does not use @-10000. It's probably your mods.
Posted by: c4_angel
« on: June 13, 2017, 07:24:39 AM »

Report:

Just before "SUCCESSFULLY INSTALLED",  shows

"ERROR: No translation provided for @-10000
Continuing despite error."

and no @-10000 found in prompts.tra.
Posted by: Wisp
« on: June 03, 2017, 05:01:23 PM »

Binaries for MacOS are now up, with thanks to Argent77.
Posted by: Wisp
« on: June 03, 2017, 08:34:32 AM »

No new features will be added until after 241 has been released.

Changes since 240.01:
  • WeInstall quotes the name of the mod and should work with e.g., spaces.
  • You can use \n back-references in the destination of COPY_EXISTING_REGEXP.
  • Trying to copy files to a non-existent directory will result in the directory being created instead of an installation failure.
  • Rewrite documentation of READ_2DA_ENTRIES_NOW/FORMER and SET_2DA_ENTRY_LATER/NOW.
  • Add TEXT option for APPEND_FILE.
  • Add WITH_SCOPE and PATCH_WITH_SCOPE.
  • Fix incorrect offsets in WMP_*_LINKS.

Plus some additional compatibility fixes for PST: EE (accounting for the fact monkfist.2da does not exist in PST: EE and was used for some pan-EE checks) and a change to the LANGUAGE variable that should be transparent for all supported use cases (the variable is defined after TRA files are loaded, instead of before).