Author Topic: Beta 240.01  (Read 338 times)

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 803
Beta 240.01
« on: April 14, 2017, 07:55:54 AM »
A beta version of WeiDU has been released. Beta location.

Credit to Argent77 for providing the compatibility with PST: EE.

Changes:
  • You can use MOD_FOLDER in LANGUAGE statements.
  • Fix incorrect debug messages in fj_are_structure. Thanks, Argent77.
  • Add MODULO expression. Thanks, Argent77.
  • Fix unevaluated variable in some when-clauses.
  • Fix syntax error when decompiling NextObjectTrigger() with comments.
  • --list-components-json command-line argument.
  • BAF parser issues non-failing parse error over string arguments that should be integers.
  • Implement insert_point for ADD_ITEM_EQEFFECT and ADD_SPELL_CFEFFECT.
  • USER_DIRECTORY et al. work on Linux.
  • Return values have been redefined. There is now a return value for INSTALLED WITH WARNINGS.
  • All biffs added to the key file on EE-type games use slash as path separator
  • Correctly handle colon-separated string arguments in IWD and IWD2 scripts.
  • Correctly resolve subrace in script objects on IWD2.
  • ID_OF_LABEL does not require you to know whether mymod.tp2 is called mymod/mymod.tp2, setup-mymod.tp2, or the like.
  • ID_OF_LABEL returns the correct default value on 64-bit systems. Also correct the corresponding part of the documentation.
  • Tolower will try to detect EE-type games and refuse to lowercase those.
  • COPY_ALL_GAM_FILES does not assume the existence of GAM files in save directories.
  • Small speed optimisation to REFACTOR_TRIGGER.
  • Preliminary/speculative compatibility with PST: EE.
  • Add STO V1.1 support to ADD_STORE_ITEM and REMOVE_STORE_ITEM.
  • Add STO V1.1 support to DELETE_STORE_ITEM and REPLACE_STORE_ITEM patch functions and macros.
  • Add support for MAZE key value.
  • Fix default PST inventory slot in ADD_CRE_ITEM.
  • Make adding quest entries to BGEE.LUA via ADD_JOURNAL more foolproof.
« Last Edit: April 14, 2017, 08:01:02 AM by Wisp »

Offline Argent77

  • Planewalker
  • *****
  • Posts: 121
Re: Beta 240.01
« Reply #1 on: April 14, 2017, 02:09:11 PM »
WeiDU 240.01 binaries for macOS/OSX: Download (see link in first post)

(I have compressed them with UPX 3.93 which added support for latest macOS (Sierra) according to their list of changes.)
« Last Edit: April 20, 2017, 02:58:35 PM by Argent77 »

Offline smeagolheart

  • Planewalker
  • *****
  • Posts: 12
Re: Beta 240.01
« Reply #2 on: April 15, 2017, 04:54:19 PM »
Getting a "WARNING: No rule to identify SOD WARNING: No rule to identify SOD" on both beta and stable weidu when running on PSTEE a mod with SOD components.



Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 803
Re: Beta 240.01
« Reply #3 on: April 15, 2017, 05:01:06 PM »
GAME_IS sod or GAME_INCLUDES sod? Because only the latter is valid. The former never existed in stable WeiDU, as there was too much wringing-of-hands about it.
« Last Edit: April 15, 2017, 05:02:06 PM by Wisp »

Offline Argent77

  • Planewalker
  • *****
  • Posts: 121
Re: Beta 240.01
« Reply #4 on: April 20, 2017, 09:49:33 AM »
The Windows executable doesn't appear to request elevated privileges when renamed to setup-*.exe, and will therefore stop working when it attempts to update older weidu instances in the folder.

This archive contains a WeiDU executable that correctly triggers UAC: WeiDU-Windows-24001.zip (see link in first post)
« Last Edit: April 20, 2017, 02:59:11 PM by Argent77 »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 803
Re: Beta 240.01
« Reply #5 on: April 20, 2017, 11:48:48 AM »
Is there some trick to getting the UAC prompt back?

Huh, turns out it was due to updating my Cygwin environment. Yay for snapshots.

Binary has been updated.
« Last Edit: April 20, 2017, 12:30:50 PM by Wisp »

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 134
  • Gender: Male
Re: Beta 240.01
« Reply #6 on: April 26, 2017, 05:13:08 AM »
--list-components-json output while using --out-file should definitely have some basic formatting and line breaks. Now it's one, infinite line.
If you wanna make enemies try to change something...

BiG World Setup


Infinity Engine Game Launcher - tool for fixing *.ini files and registry entries for Infinity Engine games like BG, BG II, IWD, IWD II and Planescape:Torment

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 803
Re: Beta 240.01
« Reply #7 on: April 27, 2017, 12:23:35 PM »
What's the use case for parsing the output la main? The -json option was not intended to be the human-friendly one.

Note: I'm not challenging. It's easier to implement features well if you have some idea of how they are going to be used.
« Last Edit: April 27, 2017, 02:24:16 PM by Wisp »

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 134
  • Gender: Male
Re: Beta 240.01
« Reply #8 on: April 28, 2017, 03:39:01 AM »
When I started to work with JSON format, all the examples shows minimum formatting. All the tolls which I used to produce JSON files from objects are creating formatted files/output.
I don't agree that JSON was not intended to be the human-friendly one. It is much, much better than XML.

It's not urgent and not end of the world for now, but I still consider it to be worth to improve in the future.
« Last Edit: April 28, 2017, 03:40:25 AM by AL|EN »
If you wanna make enemies try to change something...

BiG World Setup


Infinity Engine Game Launcher - tool for fixing *.ini files and registry entries for Infinity Engine games like BG, BG II, IWD, IWD II and Planescape:Torment

 

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.

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