Author Topic: MOD_FOLDER and LANGUAGE  (Read 1991 times)

Offline Magus_BGforge

  • Planewalker
  • *****
  • Posts: 75
MOD_FOLDER and LANGUAGE
« on: March 28, 2016, 04:17:25 AM »
These two seem to collide in a funny way. If you do
Code: [Select]
LANGUAGE ~English~ ~ENGLISH~ ~%MOD_FOLDER%/tra/english/game.tra~then it will get installed properly - at first. However, when you install next mod, it will try to pull strings for weidu.log from the next MOD_FOLDER, resulting in either incorrect comments or UNDEFINED STRINGs in weidu.log.

weidu 239
« Last Edit: March 28, 2016, 04:30:31 AM by qwertyqwerty »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: MOD_FOLDER and LANGUAGE
« Reply #1 on: March 30, 2016, 02:43:04 PM »
Yeah, the log-writer function evaluates TP2 contexts in a completely unhygenic way. I can probably fix it. Don't use MOD_FOLDER like this until then.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: MOD_FOLDER and LANGUAGE
« Reply #2 on: April 05, 2023, 10:11:21 AM »
I can't reproduce this using WeiDU 249. I also see improvements during reading tp2 component names with ~%MOD_FOLDER%/tra/english/game.tra~ when tp2 file is provided as an absolute path. I can see this commit: https://github.com/WeiDUorg/weidu/commit/e8d36d1a793ca638809acd8b86ad3df60ab0422b but I would like to be sure. Is this was somehow fixed along the way between 247 and 249?
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: MOD_FOLDER and LANGUAGE
« Reply #3 on: May 23, 2023, 08:44:19 AM »
Nope, still a problem, you can observe it by installing mod and running weidu.exe --change-log <fileFromOverride> to observe missing strings.
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

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:
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)?: