Author Topic: WeiDU 226 released.  (Read 6920 times)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
WeiDU 226 released.
« on: December 15, 2010, 01:05:53 PM »
WeiDU v226.00 "3, 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, 1, 84, 2, 1, 1, 15, 3, 13" is released.

Download for Windows
Download for Linux
Download for Mac
Download the source code
Readme
Forum (well doh)

Change log for 225:
Quote
  * Add a space in the "Installing [XYZ]" message.
  * LAUNCH_{PATCH,ACTION}_FUNCTION evaluates variables in the function name.
  * ADD_AREA_REGION_TRIGGER now works again.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #1 on: December 16, 2010, 10:40:02 PM »
That PM I sent you was retarded. I was just installing something and only now see that the dumb comment doesn't even normally display. I'm such a waste of life.

Offline Ascension64

  • Planewalker
  • *****
  • Posts: 472
Re: WeiDU 226 released.
« Reply #2 on: December 31, 2010, 07:10:24 PM »
Is this link down? I can't get to the file.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #3 on: December 31, 2010, 08:58:07 PM »
The Windows link works for me. The weidu.org server is completely out of control, so I can't really help you there.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #4 on: December 31, 2010, 09:16:37 PM »
For real. She goes out drinking every night, doing drugs in shady bathrooms. She doesn't even wear panties!

Bitch is out of control!

Offline Ascension64

  • Planewalker
  • *****
  • Posts: 472
Re: WeiDU 226 released.
« Reply #5 on: December 31, 2010, 09:56:03 PM »
That sucks, she must having one of her e moments. Oh well, I'll keep trying.

roystgnr

  • Guest
WeiDU 226 fails to build on Ubuntu 10.10?
« Reply #6 on: January 19, 2011, 10:26:00 PM »
Running "make", I get an error from ocaml pretty early on:

Code: [Select]
/usr/bin/ocamlyacc  src/iwgparser.mly
Generating dependency information for obj/x86_LINUX/iwgparser.mli
/usr/bin/ocamlyacc  src/toldparser.mly
17 shift/reduce conflicts.
Generating dependency information for obj/x86_LINUX/toldparser.mli
ocamlmktop -o obj/x86_LINUX/mytop str.cma unix.cma
./obj/x86_LINUX/mytop -w p src/make_gr.ml
ocaml src/trealparserin.gr
File "src/trealparserin.gr", line 1, characters 0-2:
Error: Syntax error
make: [obj/x86_LINUX/trealparserin.mli] Error 2 (ignored)
mv: cannot stat `src/trealparserin.ml': No such file or directory
mv: cannot stat `src/trealparserin.mli': No such file or directory

I'm using ocaml-interp and ocaml-nox packages from the default repos, version 3.11.2-1

In the src/trealparserin.gr file generated on my system, line 1 characters 0-2 are ``/* ''; there's a C-style comment there reading

Code: [Select]
/* This file is automatically generated from src/{tparser.in,aliases.in,make_gr.ml}.
    DO NOT EDIT THIS BY HAND. */

Just deleting those lines gives me a syntax later at an "open" statement a few lines later on, though.  That hits the limits of my ability to debug programming languages I don't understand, so any help would be appreciated.  If there's a version control system with public read access I'd try hunting for a regression, but I haven't even found working links to older zip releases of the code.

roystgnr

  • Guest
Re: WeiDU 226 released.
« Reply #7 on: January 19, 2011, 10:29:25 PM »
...and I just noticed the git information in this forum.  If nobody knows what might be causing that ocaml syntax error, this weekend I'll try hunting through older Weidu versions there to see if any of those install on my system.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #8 on: January 20, 2011, 03:30:43 AM »
http://www.weidu.org/~thebigg/old

Did you install elkhound? You need to install flex and bison and their -dev version, grab the elkhound package from http://www.weidu.org/~thebigg/elkhound-2009.01.26.tar.gz, ./configure, make and fix compiler errors, and then install it manually (the executable is elkhound/elkhound). Also, I make available a Linux binary, so you don't have to compile if you don't want to.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

roystgnr

  • Guest
Re: WeiDU 226 released.
« Reply #9 on: January 28, 2011, 05:11:33 AM »
After elkhound was installed, WeiDU seems to have built fine; thanks!

Is there an active elkhound maintainer at the moment?  Hunting for the current "official" site seems to lead to four-year-old pages and/or dead links... but there were a few big swaths of compiler errors to fix (C++98 compatibility, 64 bit issues, bison 2 compatibility), so I'd like to make sure nobody else has to fix them too.  For the moment I'm just tossing my revised version up here:

http://users.ices.utexas.edu/~roystgnr/elkhound-2011.01.28.roy.tar.bz2

Even that isn't completely fixed (something wonky with the bootstrapping process means it only works with a "make; make clean; make", and there's some technically-forbidden-but-works-with-most-compilers code that I didn't bother changing), but it's a step in the right direction.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #10 on: January 28, 2011, 06:10:55 AM »
I can put that version on the weidu.org page if you're OK with that.

Elkhound is part of the Elsa package, which was incorporated in some C++ analysis tool hosted by Mozilla (or something like that); however, that version is incompatible with the .gr file format used by WeiDU, so I doubt they'd accept your patches.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

roystgnr

  • Guest
Re: WeiDU 226 released.
« Reply #11 on: January 28, 2011, 12:16:39 PM »
Probably best to make both versions available; thanks.  The C++-ism fixes and the 64-bit fixes are solid, but I replaced an ugly hack that only worked on older versions of bison with an even uglier hack that might only work with my specific version of bison, and I'd hate to break things for anyone whose systems had it working already.

roy

  • Guest
Re: WeiDU 226 released.
« Reply #12 on: January 29, 2011, 09:51:21 PM »
One more question - is there source code available for tispack, tisunpack and/or tolower?  The latter two binaries were in the WeiDU-Linux zip file I downloaded, but not the first, and none seem to be buildable from the WeiDU-Src zip.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #13 on: January 30, 2011, 05:45:39 AM »
tolower, weinstall and weigui are all buildable with `make tolower' etc; WeiGUI requires tcl8.4, tk8.4, and their -dev version.
the source of tispack and tisunpack should be available from the tools section of pocketplane.net: http://mods.pocketplane.net/tispack-0.91.zip
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline ScuD

  • Planewalker
  • *****
  • Posts: 32
  • Gender: Male
Re: WeiDU 226 released.
« Reply #14 on: January 30, 2011, 07:57:46 PM »
BTW, about ToLower. I use the version from 213 because any later one fail with
Code: [Select]
Fatal error: exception Unix.Unix_error(_, "opendir", ""). I'm wondering why nobody ever reported that...

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #15 on: January 31, 2011, 01:47:43 PM »
Because the bug only occurs on Windows, while tolower is most usually executed on Linux. Fixed, in Git.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline ScuD

  • Planewalker
  • *****
  • Posts: 32
  • Gender: Male
Re: WeiDU 226 released.
« Reply #16 on: January 31, 2011, 04:53:28 PM »
Yeah :) That's why.
Thank you

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #17 on: February 08, 2011, 08:43:57 AM »
I made a build of the recent source so I could generate an updated language module, and the stupid thing crashes ocamlopt (trying to native-code trealparser). It doesn't compile at all anymore.

Give a hoot. Don't pollute. Don't fuck with the build system either.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #18 on: February 08, 2011, 08:58:52 AM »
Does it work if you increase the stack size some more and/or don't alter the priority? At 170-ish of Makefile.ocaml:
Quote
export OCAMLRUNPARAM="l=10M" # size measured in words
 CAMLC          = $(OCAMLDIR)/ocamlopt$(USEOPT) -compact $(COMPILEFLAGS)
 CAMLC_FAIL     = nice -n10 $(OCAMLDIR)/ocamlopt -compact $(COMPILEFLAGS)
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #19 on: February 08, 2011, 09:22:18 AM »
Increasing stack size does; the makefile junk won't do anything here that I can tell.

The default (8192K) should be fine for building WeiDU, though.
« Last Edit: February 08, 2011, 09:25:09 AM by devSin »

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #20 on: February 08, 2011, 09:50:02 AM »
It's not my fault that OCaml uses a non tail-recursive algorithm for parsing arrays and causes a stack overflow if it tries to compile an array with more than 60k items; it is up for debate whom should be faulted (between Weimer, the comunity, and me) for having such a large grammar.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #21 on: February 08, 2011, 10:47:32 AM »
You, clearly.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #22 on: February 08, 2011, 10:52:32 AM »
I'm the one who reached the limit, but if Weimer had used a stricter grammar (E.G. WRITE_BYTE(where, what) with the parenthesis) this wouldn't be an issue either.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline devSin

  • Planewalker
  • *****
  • Posts: 1632
  • Gender: Male
Re: WeiDU 226 released.
« Reply #23 on: February 08, 2011, 11:05:10 AM »
But Wes wasn't batshit crazy like you, adding everything under the sun.

He didn't need stricter grammar, because he knew how to say "No." ;)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: WeiDU 226 released.
« Reply #24 on: February 08, 2011, 11:12:34 AM »
Or I could argue that Wes should've added LAUNCH_PATCH_FUNCTION and standard functions rather than coding 3000 variants of DO_THIS_TO_THAT_STRUCTURE.

semantics, semantics...  :)
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

 

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