Author Topic: Beta 240.01  (Read 863 times)

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 907
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: 147
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: 907
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: 147
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: 907
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: 229
  • 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.
You cannot have progress without changes...

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 907
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: 229
  • 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 »
You cannot have progress without changes...

Offline Argent77

  • Planewalker
  • *****
  • Posts: 147
Re: Beta 240.01
« Reply #9 on: May 31, 2017, 05:01:25 AM »
Any chance to see a stable version soon?

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 907
Re: Beta 240.01
« Reply #10 on: May 31, 2017, 02:24:49 PM »
Needs another beta, because I added stuff. Everything good with PST: EE? I'm also having a go at --change-log, but I suppose I can split that off for next version.

Offline Argent77

  • Planewalker
  • *****
  • Posts: 147
Re: Beta 240.01
« Reply #11 on: May 31, 2017, 06:11:39 PM »
Yes, PST:EE works fine so far.

solar_one

  • Guest
Re: Beta 240.01
« Reply #12 on: August 01, 2017, 07:57:37 PM »
I think the following is causing a major WEIDU error when trying to install mods (IWD tested):

"Correctly handle colon-separated string arguments in IWD and IWD2 scripts."

Examples are :MYARE s/b MYAREA and :GLOBA s/b GLOBAL.  Starts with this beta version 240.01 and continues to latest version 242.00.  Please fix.  Thanks!

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 907
Re: Beta 240.01
« Reply #13 on: August 04, 2017, 11:27:53 AM »
Boop! That's a big regression. Will fix before next beta.

 

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