Author Topic: [Feature Request] Improve AUTO_TRA with EE_SUFFIX extended files  (Read 772 times)

Offline Roberciiik

  • Planewalker
  • *****
  • Posts: 1
Hello, I would like to request a feature to the WeiDU installer. I have a list of mods that could use this solution. I hope it could be integrated some day soon. Also opened GH issue here: https://github.com/WeiDUorg/weidu/issues/227

Thanks!

Problem description:
EE games changed in-game text style formatting that is not compatible with classic BG style.
(For example: they changed " " to Unicode „ ”).

Proposed solution:
Add an optional parameter (for example: EE_SUFFIX) to AUTO_TRA command that would allow supplying additional files pattern that should overwrite (only available stringrefs) currently processing file.
Code: [Select]
AUTO_TRA ~MyMod/Tra/%s/D~
    EE_SUFFIX ~-ee~

So if we have file1.d and corresponding file1.tra and file1-ee.tra, then file1.tra would be loaded on classic engine, file1.tra and then file1-ee.tra would be loaded on EE game (in UTF-8 format already).

A real-life example is here: https://github.com/Pocket-Plane-Group/Assassinations/pull/3/files where I had to append EE-specific files manually in ALWAYS clause before AUTO_TRA takes place.

Additional solutions:
Additionally, there could be an optional extension that would include also the whole new folder of EE-specific files to be loaded:

Code: [Select]
AUTO_TRA ~MyMod/Tra/%s/D~
    EE_FOLDER ~ee~

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: [Feature Request] Improve AUTO_TRA with EE_SUFFIX extended files
« Reply #1 on: December 09, 2023, 03:44:41 PM »
A way of specifying an alternate subdirectory for EE-styled files will be added in next version. Additionally, HANDLE_CHARSETS will allow you to exclude directories from conversion.

 

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