Author Topic: Beta 236.02  (Read 8230 times)

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Beta 236.02
« on: August 10, 2014, 04:41:10 PM »
Beta location

New since last beta:
  • REPLACE_EVALUATE defines up to and including MATCH200.
  • Fix variable-evaluation errors in ADD_ITEM_EFFECT.
  • If HANDLE_TILESETS is unable to install the tilesets, the installation fails.
  • Add HANDLE_CHARSETS.
  • Actions missing from action.ids are printed as decimal numbers rather than hexadecimal ones.
  • Fix bug that prevented WeiDU from finding files in the EEs' lang/ directory if the main game directory was something other than the directory WeiDU was running in.
  • Tile size is not hardcoded to 5120 while biffing tile sets.
  • Biff path separator is (back)slash on x86 and x86_64 OS X and colon on PPC OS X.
  • Add (CLONE|DELETE|ALTER)_EFFECT functions. Thanks, CamDawg.

If I have forgotten to do something I said I'd do, or if you are really insistent about getting something into 237, we can have another beta. Otherwise 236.02 starts us on the track towards 237.

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #1 on: August 10, 2014, 05:52:24 PM »
Where's the OSX build?

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #2 on: August 10, 2014, 06:33:10 PM »
Also, can you define a charset_table and use infer_charsets at the same time?
« Last Edit: August 10, 2014, 06:46:41 PM by Almateria »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #3 on: August 11, 2014, 11:37:55 AM »
Where's the OSX build?
It will be up as soon as I have it.

Also, can you define a charset_table and use infer_charsets at the same time?
infer_charsets would take precedence and charset_table would not be used. I'll amend the documentation to make that clear.

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #4 on: August 12, 2014, 05:23:02 PM »
I'm trying to help you by compiling it myself, but the terminal throws a list of messages at me and the file is nowhere to be seen :(

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #5 on: August 14, 2014, 10:34:46 AM »
Help me to help you. What are the messages?

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #6 on: August 14, 2014, 11:01:17 AM »
Yeah, the sooner we make it work the sooner I could do the osx stuff.
Code: [Select]
MacBook-Air-Micha:weidu michalbukato$ make osx_zip

Generating dependency information for batteries-lite/batList.mli

/bin/sh: obj/.depend/batList.di: No such file or directory

Bad -I option: obj/x86_LINUX: No such file or directory

Generating dependency information for src/tolower.ml

Generating dependency information for src/weinstall.ml

Generating dependency information for src/myarg.ml

Generating dependency information for src/iwg2.ml

Generating dependency information for src/iwgrule.ml

Generating dependency information for src/iwgconf.ml

Generating dependency information for src/main.ml

Generating dependency information for src/autoupdate.ml

Generating dependency information for src/tpwork.ml

Generating dependency information for src/tpaction.ml

Generating dependency information for src/tppatch.ml

Generating dependency information for src/tpuninstall.ml

Generating dependency information for src/tppe.ml

Generating dependency information for src/mymarshal.ml

Generating dependency information for src/parsewrappers.ml

cp src/tparser.in src/tparser.ml

Generating dependency information for src/tparser.ml

Generating dependency information for src/tphelp.ml

Generating dependency information for src/tpstate.ml

Generating dependency information for src/kit.ml

Generating dependency information for src/automate.ml

Generating dependency information for elkhound/lrparse.ml

Generating dependency information for elkhound/glr.ml

Generating dependency information for elkhound/objpool.ml

Generating dependency information for elkhound/arraystack.ml

Generating dependency information for elkhound/parsetables.ml

Generating dependency information for elkhound/lexerint.ml

Generating dependency information for elkhound/useract.ml

Generating dependency information for elkhound/smutil.ml

Generating dependency information for src/sql.ml

Generating dependency information for src/tp.ml

Generating dependency information for src/mos.ml

Generating dependency information for src/sav.ml

Generating dependency information for src/diff.ml

Generating dependency information for src/refactorbaf.ml

Generating dependency information for src/dc.ml

Generating dependency information for src/dlg.ml

Generating dependency information for src/bcs.ml

Generating dependency information for src/ids.ml

Generating dependency information for src/cre.ml

Generating dependency information for src/load.ml

Generating dependency information for src/tlk.ml

Generating dependency information for src/biff.ml

Generating dependency information for src/cbif.ml

Generating dependency information for src/key.ml

Generating dependency information for src/eff_table.ml

Generating dependency information for src/xor.ml

echo "let associate_these a = Var.set_string \"WEIDU_ARCH\" \"amd64\" ; Var.set_string \"WEIDU_OS\" \"osx\"; Var.set_string \"WEIDU_VER\" !Util.weidu_version" > src/arch2.ml

echo "let _ = associate_these ()" >> src/arch2.ml

Generating dependency information for src/arch2.ml

Generating dependency information for src/var.ml

Generating dependency information for src/modder.ml

Generating dependency information for src/util.ml

ocaml str.cma unix.cma -w p scripts/make_tph.ml

Generating dependency information for src/tph.ml

Generating dependency information for src/parsing.ml

Generating dependency information for src/version.ml

cp src/arch_osx.ml src/arch.ml

Generating dependency information for src/arch.ml

Generating dependency information for src/stats.ml

cp src/case_ins_mac.ml src/case_ins.ml

Generating dependency information for src/case_ins.ml

Generating dependency information for batteries-lite/batteriesInit.ml

Generating dependency information for batteries-lite/batList.ml

/usr/local/bin/ocamlyacc  src/iwgparser.mly

Generating dependency information for obj/x86_LINUX/iwgparser.mli

/usr/local/bin/ocamlyacc  src/toldparser.mly

17 shift/reduce conflicts.

Generating dependency information for obj/x86_LINUX/toldparser.mli

ocaml str.cma unix.cma -w p scripts/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: rename src/trealparserin.ml to obj/x86_LINUX/trealparserin.ml: No such file or directory

mv: rename src/trealparserin.mli to obj/x86_LINUX/trealparserin.mli: No such file or directory

/usr/local/bin/ocamlyacc  src/dparser.mly

1 reduce/reduce conflict.

Generating dependency information for obj/x86_LINUX/dparser.mli

/usr/local/bin/ocamlyacc  src/bafparser.mly

Generating dependency information for obj/x86_LINUX/bafparser.mli

/usr/local/bin/ocamlyacc  src/refactordparser.mly

Generating dependency information for obj/x86_LINUX/refactordparser.mli

/usr/local/bin/ocamlyacc  src/refactorbafparser.mly

Generating dependency information for obj/x86_LINUX/refactorbafparser.mli

/usr/local/bin/ocamlyacc  src/bcsparser.mly

1 shift/reduce conflict.

Generating dependency information for obj/x86_LINUX/bcsparser.mli

/usr/local/bin/ocamlyacc  src/idsparser.mly

3 shift/reduce conflicts.

Generating dependency information for obj/x86_LINUX/idsparser.mli

Generating dependency information for batteries-lite/batList.mli

Generating dependency information for obj/x86_LINUX/iwgparser.ml

/usr/local/bin/ocamllex src/iwglexer.mll

33 states, 264 transitions, table size 1254 bytes

Generating dependency information for obj/x86_LINUX/iwglexer.ml

ocaml str.cma unix.cma -w p scripts/make_old_mll.ml

/usr/local/bin/ocamllex src/toldlexer.mll

111 states, 589 transitions, table size 3022 bytes

1717 additional bytes used for bindings

Generating dependency information for obj/x86_LINUX/toldlexer.ml

Generating dependency information for obj/x86_LINUX/toldparser.ml

ocaml str.cma unix.cma -w p scripts/make_tll.ml

/usr/local/bin/ocamllex src/tlexer.mll

114 states, 594 transitions, table size 3060 bytes

1735 additional bytes used for bindings

Generating dependency information for obj/x86_LINUX/tlexer.ml

Generating dependency information for obj/x86_LINUX/dparser.ml

/usr/local/bin/ocamllex src/dlexer.mll

60 states, 536 transitions, table size 2504 bytes

Generating dependency information for obj/x86_LINUX/dlexer.ml

Generating dependency information for obj/x86_LINUX/bafparser.ml

/usr/local/bin/ocamllex src/baflexer.mll

76 states, 748 transitions, table size 3448 bytes

Generating dependency information for obj/x86_LINUX/baflexer.ml

Generating dependency information for obj/x86_LINUX/refactordparser.ml

/usr/local/bin/ocamllex src/refactordlexer.mll

39 states, 311 transitions, table size 1478 bytes

Generating dependency information for obj/x86_LINUX/refactordlexer.ml

Generating dependency information for obj/x86_LINUX/refactorbafparser.ml

/usr/local/bin/ocamllex src/refactorbaflexer.mll

14 states, 371 transitions, table size 1568 bytes

Generating dependency information for obj/x86_LINUX/refactorbaflexer.ml

Generating dependency information for obj/x86_LINUX/bcsparser.ml

/usr/local/bin/ocamllex src/bcslexer.mll

51 states, 369 transitions, table size 1782 bytes

Generating dependency information for obj/x86_LINUX/bcslexer.ml

Generating dependency information for obj/x86_LINUX/idsparser.ml

/usr/local/bin/ocamllex src/idslexer2.mll

32 states, 699 transitions, table size 2988 bytes

Generating dependency information for obj/x86_LINUX/idslexer2.ml

/usr/local/bin/ocamllex src/idslexer.mll

32 states, 494 transitions, table size 2168 bytes

Generating dependency information for obj/x86_LINUX/idslexer.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: rename src/trealparserin.ml to obj/x86_LINUX/trealparserin.ml: No such file or directory

mv: rename src/trealparserin.mli to obj/x86_LINUX/trealparserin.mli: No such file or directory

Compiling interface batteries-lite/batList.mli

Compiling batteries-lite/batList.ml to native code

Compiling batteries-lite/batteriesInit.ml to native code

Compiling src/case_ins.ml to native code

Compiling src/stats.ml to native code

Compiling src/arch.ml to native code

Compiling src/version.ml to native code

Compiling src/parsing.ml to native code

Compiling src/tph.ml to native code

Compiling src/util.ml to native code

Compiling src/modder.ml to native code

Compiling src/var.ml to native code

Compiling src/arch2.ml to native code

Compiling src/xor.ml to native code

Compiling src/eff_table.ml to native code

Compiling src/key.ml to native code

Compiling src/cbif.ml to native code

Compiling src/biff.ml to native code

Compiling src/tlk.ml to native code

Compiling src/load.ml to native code

Compiling src/cre.ml to native code

Compiling src/ids.ml to native code

Compiling interface obj/x86_LINUX/idsparser.mli

Compiling obj/x86_LINUX/idsparser.ml to native code

Compiling obj/x86_LINUX/idslexer.ml to native code

Compiling obj/x86_LINUX/idslexer2.ml to native code

Compiling src/bcs.ml to native code

File "src/bcs.ml", line 381, characters 31-33:

Warning 3: deprecated feature: operator (or); you should use (||) instead

Compiling interface obj/x86_LINUX/bcsparser.mli

Compiling obj/x86_LINUX/bcsparser.ml to native code

Compiling obj/x86_LINUX/bcslexer.ml to native code

Compiling src/dlg.ml to native code

Compiling src/dc.ml to native code

Compiling src/refactorbaf.ml to native code

Compiling interface obj/x86_LINUX/refactorbafparser.mli

Compiling obj/x86_LINUX/refactorbafparser.ml to native code

Compiling obj/x86_LINUX/refactorbaflexer.ml to native code

Compiling interface obj/x86_LINUX/refactordparser.mli

Compiling obj/x86_LINUX/refactordparser.ml to native code

Compiling obj/x86_LINUX/refactordlexer.ml to native code

Compiling interface obj/x86_LINUX/bafparser.mli

Compiling obj/x86_LINUX/bafparser.ml to native code

Compiling obj/x86_LINUX/baflexer.ml to native code

Compiling interface src/xdiff.mli

Compiling src/diff.ml to native code

Compiling src/sav.ml to native code

Compiling src/mos.ml to native code

Compiling src/tp.ml to native code

Compiling interface obj/x86_LINUX/dparser.mli

Compiling obj/x86_LINUX/dparser.ml to native code

Compiling obj/x86_LINUX/dlexer.ml to native code

Compiling src/sql.ml to native code

Compiling elkhound/smutil.ml to native code

Compiling elkhound/useract.ml to native code

Compiling elkhound/lexerint.ml to native code

Compiling elkhound/parsetables.ml to native code

Compiling elkhound/arraystack.ml to native code

Compiling elkhound/objpool.ml to native code

Compiling elkhound/glr.ml to native code

Compiling elkhound/lrparse.ml to native code

Compiling src/automate.ml to native code

Compiling src/kit.ml to native code

Compiling src/tpstate.ml to native code

Compiling src/tphelp.ml to native code

I followed all the instructions, but the file doesnt seem to appear anywhere! Used the make osx_zip command.

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #7 on: August 14, 2014, 12:03:56 PM »
You are missing elkhound (either you don't have it, or it's not present on your system path).
« Last Edit: August 14, 2014, 12:26:55 PM by Wisp »

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #8 on: August 14, 2014, 12:20:08 PM »
Well, I do have it. Does it have to be on a specific path?

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #9 on: August 14, 2014, 12:29:46 PM »
At a high level, you add a folder to your system path by redefining the PATH environment variable with something like PATH=/path/to/folder:$PATH and export PATH. I don't know the particulars of OS X, but from what I've read, there should be start-up scripts for whatever shell (it's the Unix™ way) you are using, and the conventional way of doing this is to add the aforementioned two lines to your start-up script. Typically, the start-up script ends with the letters "rc" and is a dot-file in your home directory (e.g., ~/.cshrc or ~/.bashrc).

Edit: if you are okay with it, you can also add elkhound to one of the directories which are already on your system path (like /bin). You can find out which exact directories these are with the shell command echo $PATH. You typically need super-user privileges to do this (e.g., sudo).
« Last Edit: August 14, 2014, 12:34:11 PM by Wisp »

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #10 on: August 14, 2014, 03:12:11 PM »
Welp, I did it. Also, you might want to note in the compiling info that git clone git://github.com/WeiDUorg/weidu.git will pull the latest STABLE release, which is currently 236, 236.02 was in the devel branch.

But anyway, here you go:
https://www.mediafire.com/?7w74q9m7fgr79z6

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #11 on: August 14, 2014, 05:46:40 PM »
Thanks. OS X version is now up. I'm in the habit of crediting people who send complies. Do you wish to be credited as Almateria or as something else?

Also, you might want to note in the compiling info that git clone git://github.com/WeiDUorg/weidu.git will pull the latest STABLE release, which is currently 236, 236.02 was in the devel branch.
Done. (Technically, cloning a repository gets you all the branches, but master is default and if you want another you have to manually check it out.)
« Last Edit: August 14, 2014, 05:53:20 PM by Wisp »

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #12 on: August 14, 2014, 06:45:44 PM »
Almateria's enough, thanks :)

Offline K4thos

  • Planewalker
  • *****
  • Posts: 110
Re: Beta 236.02
« Reply #13 on: August 22, 2014, 10:33:21 PM »
another bug report similar to old one (thanks for fixing them in the latest beta):
Code: [Select]
AT_NOW ~weidu.exe --noautoupdate --no-auto-tp2 --logapp --log "EET/bash.debug" --game "C:/Program Files (x86)/BeamDog/Games/00766" --use-lang "en_US" --traify-tlk --out EET/bgee.tra~
above code, when run in tp2 file located in BG2:EE dir, should produce tlk from BG1 dir, but it seems to ignore "--game" parameter and just traify it in the current dir.

In other words WeiDU can't traify files in other directories, if the main game directory was something other than the directory WeiDU was running in.

Offline Almateria

  • Planewalker
  • *****
  • Posts: 76
Re: Beta 236.02
« Reply #14 on: August 23, 2014, 03:34:11 AM »

Offline K4thos

  • Planewalker
  • *****
  • Posts: 110
Re: Beta 236.02
« Reply #15 on: August 23, 2014, 07:53:25 AM »
It looks like weidu can't EXTEND_TOP to BCS files outside of override directory :o Is it normal or a bug  ??? Please download the following test mod and run it in BG1 or BG:EE. https://www.sendspace.com/file/ujmxjd

Here is what it does:
Code: [Select]
COPY_EXISTING ~belt.bcs~ ~test/belt.bcs~
EXTEND_TOP ~test/belt.bcs~ ~test/!top.baf~
COPY ~test/belt.bcs~ ~test/belt.baf~
DECOMPILE_BCS_TO_BAF

//COPY_EXISTING ~belt.bcs~ ~override~
EXTEND_TOP ~belt.bcs~ ~test/!top.baf~
COPY ~override/belt.bcs~ ~test/belt2.baf~
DECOMPILE_BCS_TO_BAF

in other words it will try to EXTEND_TOP into bcs files, first in test folder and then the same in override folder.
- belt.baf modified in test folder will only have content that I've tried to add to top (the whole fill is overwritten),
- belt2.baf modified in override folder will have properly added top part.

I've also tested it on 236.0 and that version also have this bug (?).
« Last Edit: August 23, 2014, 08:09:30 AM by K4thos »

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
Re: Beta 236.02
« Reply #16 on: August 23, 2014, 09:13:51 AM »
@ K4thos:
Why couldn't you just ??? :
Code: [Select]
EXTEND_TOP ~belt.bcs~ ~test/!top.baf~ .. and that's the whole thing.
So I would say your approach is just off.
« Last Edit: August 23, 2014, 09:14:56 AM by The Imp »

Offline Mad Mate

  • Planewalker
  • *****
  • Posts: 27
  • Gender: Male
Re: Beta 236.02
« Reply #17 on: August 23, 2014, 09:44:21 AM »
I just tried to install BGT with this beta and install failed at biffing. Here is excerpt from Debug:
Code: [Select]
Compressing areas...
[data/area0015.bif] will contain 6 resources totalling 27401104 bytes
[data/area0015.bif] incorporating [AREA0015/AR0015SR.BMP]
[data/area0015.bif] incorporating [AREA0015/AR0015LM.BMP]
[data/area0015.bif] incorporating [AREA0015/AR0015HT.BMP]
[data/area0015.bif] incorporating [AREA0015/AR0015.WED]
[data/area0015.bif] incorporating [AREA0015/AR0015.MOS]
[data/area0015.bif] incorporating [AREA0015/AR0015.TIS]
KEY: Duplicate: .0
KEY: Duplicate: AR0015.3ec
KEY: Duplicate: AR0015SR.1
KEY: Duplicate: AR0015LM.1
KEY: Duplicate: AR0015HT.1
KEY: Duplicate: AR0015.3e9
CHITIN.KEY copied to bgt/backup/0/CHITIN.KEY, 590467 bytes
KEY saved (183 biffs, 41787 resources)
[chitin.key] loaded, 590497 bytes
[chitin.key] 183 BIFFs, 41787 resources
[data/area3100.bif] will contain 12 resources totalling 27411542 bytes
Stopping installation because of error.

ERROR Installing [Baldur's Gate Trilogy - Core], rolling back to previous state
Unable to Unlink [bgt/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "bgt/backup/0/OTHER.0")
Will uninstall 4197 files for [SETUP-BGT.TP2] component 0.
And there were, also, some errors  when I tried to install other big mods, like SOS and TDD, also when biffing.

Thanks!

Offline K4thos

  • Planewalker
  • *****
  • Posts: 110
Re: Beta 236.02
« Reply #18 on: August 23, 2014, 10:38:35 AM »
@ K4thos:
Why couldn't you just ??? :
Code: [Select]
EXTEND_TOP ~belt.bcs~ ~test/!top.baf~ .. and that's the whole thing.
So I would say your approach is just off.
This will extend the script that is located in biff files or override dir. What I need to do is manipulate files that are not existing in game, before I place them in override. Of course I can make workaround around this issue, but it would be handy if it work as expected (from any location). There is nothing mentioned in the readme file about overriding files outside of the default folder, so I assumed that this is a bug.

Offline Leonardo Watson

  • Planewalker
  • *****
  • Posts: 20
Re: Beta 236.02
« Reply #19 on: August 24, 2014, 12:45:54 AM »
Beside the already reported error that BGT cannot be installed there are errors with several mods like this:

Code: [Select]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-ARE.bif] will contain 96 resources totalling 4435692 bytes

[b]FATAL ERROR: Division_by_zero[/b]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-BAM.bif] will contain 1 resources totalling 15093760 bytes

[b]FATAL ERROR: Division_by_zero[/b]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-BCS.bif] will contain 1 resources totalling 2979840 bytes

[b]FATAL ERROR: Division_by_zero[/b]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
Beside the already reported error that BGT cannot be installed there are errors with several mods like this:

[data/CTB-CRE.bif] will contain 1 resources totalling 8616960 bytes

[b]FATAL ERROR: Division_by_zero[/b]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-ITM.bif] will contain 1 resources totalling 2979840 bytes

[b]FATAL ERROR: Division_by_zero[/b]

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #20 on: August 24, 2014, 05:48:23 AM »
I just tried to install BGT with this beta and install failed at biffing. Here is excerpt from Debug:
...
And there were, also, some errors  when I tried to install other big mods, like SOS and TDD, also when biffing.
Can you upload the full debug files?

Beside the already reported error that BGT cannot be installed there are errors with several mods like this:
If I were to guess, something is off about the tile sets of these mods. For whatever reason, WeiDU is reading tile size = 0 and then tries to compute the number of tiles by dividing the TIS data with the tile size, hence, division by zero. Which mods does this concern?
« Last Edit: August 24, 2014, 05:52:36 AM by Wisp »

Offline Leonardo Watson

  • Planewalker
  • *****
  • Posts: 20
Re: Beta 236.02
« Reply #21 on: August 24, 2014, 08:33:32 AM »
I had the fatal errors for example with CtB. These errors are not listed in WeiDU's debug files, however, they are listed in the BiG World Debug.txt.
Please compare the different excerpts.

First one ist from the CtB-debug

Code: [Select]
Copied [CtB/WED/CB3667.WED] to [override/CB3667.WED]
[CtB/WED/CB3668.WED] loaded, 8006 bytes
Copied [CtB/WED/CB3668.WED] to [override/CB3668.WED]
Copying 1 file ...
[CtB/MOS/AR3520.MOS] loaded, 70776 bytes
Copied [CtB/MOS/AR3520.MOS] to [override/AR3520.MOS]
[CtB/MOS/AR3521.MOS] loaded, 93592 bytes
Copied [CtB/MOS/AR3521.MOS] to [override/AR3521.MOS]
[CtB/MOS/AR3525.MOS] loaded, 7480 bytes

The second one is the same excerpt from the BiG World Debug.txt

Code: [Select]
G:\BGII - SvA\override\CB3667.WED
G:\BGII - SvA\override\CB3668.WED
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-ARE.bif] will contain 96 resources totalling 4435692 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-BAM.bif] will contain 1 resources totalling 15093760 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-BCS.bif] will contain 1 resources totalling 2979840 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-CRE.bif] will contain 1 resources totalling 8616960 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 196 BIFFs, 42977 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-ITM.bif] will contain 1 resources totalling 2979840 bytes

FATAL ERROR: Division_by_zero
G:\BGII - SvA\override\AR3520.MOS
G:\BGII - SvA\override\AR3521.MOS
G:\BGII - SvA\override\AR3525.MOS


A few days ago I did exactly the same install with WeiDU v 23600 and didn't have any error.
A second excerpt from CtB
First from the CtB-Debug:

Code: [Select]
[CtB/Compat/anim/MTIC/CBHARPY8.WAV] loaded, 17961 bytes
Copied [CtB/Compat/anim/MTIC/CBHARPY8.WAV] to [override/CBHARPY8.WAV]
[CtB/Compat/anim/MTIC/CBHARPY9.WAV] loaded, 16206 bytes
Copied [CtB/Compat/anim/MTIC/CBHARPY9.WAV] to [override/CBHARPY9.WAV]
[CtB/Compat/anim/MTIC/MTIC.2DA] loaded, 1027 bytes
Copied [CtB/Compat/anim/MTIC/MTIC.2DA] to [override/MTIC.2DA]

then from the BiG World Debug.txt

Code: [Select]
G:\BGII - SvA\override\CBHARPY8.WAV
G:\BGII - SvA\override\CBHARPY9.WAV
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 197 BIFFs, 43415 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-RULE.bif] will contain 10 resources totalling 196398 bytes
KEY saved (198 biffs, 43425 resources)
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 198 BIFFs, 43425 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-TIS1.bif] will contain 26 resources totalling 74245120 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 198 BIFFs, 43425 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-TIS2.bif] will contain 20 resources totalling 129704960 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 198 BIFFs, 43425 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[G:\BGII - SvA\CD4\/DATA/AREA1700.BIF] 14446365 bytes (compressed), 24 files, 1 tilesets
[CTB-TIS3/AM1700.WAV] created from [./DATA/AREA1700.BIF]
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 198 BIFFs, 43425 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-TIS3.bif] will contain 45 resources totalling 89723739 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 198 BIFFs, 43425 resources
[./dialog.tlk] 85194 string entries
[./dialogF.tlk] 85194 string entries
[data/CTB-WAV.bif] will contain 631 resources totalling 336496008 bytes
KEY saved (199 biffs, 44013 resources)

Installation of the core CtB package is complete.

Then again with CtB-Chores. First the CtB-Chores-debug.

Code: [Select]
Copied [CtB/Chores/ctbareas/nostring/AR3512.ARE] to [override/AR3512.ARE]
[CtB/Chores/ctbareas/nostring/AR3513.ARE] loaded, 656 bytes
Copied [CtB/Chores/ctbareas/nostring/AR3513.ARE] to [override/AR3513.ARE]
Copying and patching 1 file ...
[CtB/Chores/ctbareas/translate/AR3500.ARE] loaded, 12484 bytes
Copied [CtB/Chores/ctbareas/translate/AR3500.ARE] to [override/AR3500.ARE]
Copying and patching 1 file ...
[CtB/Chores/ctbareas/translate/AR3502.ARE] loaded, 15300 bytes
Copied [CtB/Chores/ctbareas/translate/AR3502.ARE] to [override/AR3502.ARE]
Copying and patching 1 file ...
[CtB/Chores/ctbareas/translate/AR3505.ARE] loaded, 8324 bytes
Copied [CtB/Chores/ctbareas/translate/AR3505.ARE] to [override/AR3505.ARE]

then the BiG World Debug.txt

Code: [Select]
Unpacking 252 tiles in CtB\Chores\TIZ\AR3512.TIZ to CTB-CHRS\AR3512.tis
unpacked 0 tiles with method 0, 0 tiles with method 1, 252 tiles with method 2
Unpacking 252 tiles in CtB\Chores\TIZ\AR3513.TIZ to CTB-CHRS\AR3513.tis
unpacked 33 tiles with method 0, 0 tiles with method 1, 219 tiles with method 2
1 Datei(en) kopiert
51 Datei(en) kopiert
12 Datei(en) kopiert
44 Datei(en) kopiert
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 199 BIFFs, 44013 resources
[./dialog.tlk] 85957 string entries
[./dialogF.tlk] 85957 string entries
[data/CTB-CHRS.bif] will contain 120 resources totalling 62068094 bytes

FATAL ERROR: Division_by_zero

Candlekeep Chores installation complete.

The next mod I had these errors was RoT

Code: [Select]
G:\BGII - SvA\override\SHADW10A.wav
G:\BGII - SvA\override\SHADW10B.wav
700 Datei(en) kopiert
443 Datei(en) kopiert
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
129 Datei(en) kopiert
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 199 BIFFs, 44013 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-ARE.bif] will contain 129 resources totalling 3226240 bytes
KEY saved (200 biffs, 44142 resources)
394 Datei(en) kopiert
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 200 BIFFs, 44142 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-BAM.bif] will contain 1 resources totalling 6200320 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 200 BIFFs, 44142 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-BCS.bif] will contain 1 resources totalling 5898240 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 200 BIFFs, 44142 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-CRE.bif] will contain 1 resources totalling 27223040 bytes
KEY saved (201 biffs, 44143 resources)
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 201 BIFFs, 44143 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-DLG.bif] will contain 1 resources totalling 2396160 bytes
KEY saved (202 biffs, 44144 resources)
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 202 BIFFs, 44144 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-ITM.bif] will contain 1 resources totalling 13890560 bytes

FATAL ERROR: Division_by_zero
685 Datei(en) kopiert
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 202 BIFFs, 44144 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-MOS.bif] will contain 685 resources totalling 18748012 bytes
KEY saved (203 biffs, 44829 resources)
53 Datei(en) kopiert
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 203 BIFFs, 44829 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-RULE.bif] will contain 1 resources totalling 6144000 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 203 BIFFs, 44829 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-SPL.bif] will contain 1 resources totalling 1075200 bytes
KEY saved (204 biffs, 44830 resources)
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 204 BIFFs, 44830 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-TIS1.bif] will contain 54 resources totalling 290288909 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 204 BIFFs, 44830 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-TIS2.bif] will contain 38 resources totalling 286976000 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 204 BIFFs, 44830 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-TIS3.bif] will contain 67 resources totalling 176423903 bytes

FATAL ERROR: Division_by_zero
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 204 BIFFs, 44830 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-WAV1.bif] will contain 774 resources totalling 264267006 bytes
KEY saved (205 biffs, 45603 resources)
[weidu] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
[./CHITIN.KEY] 205 BIFFs, 45603 resources
[./dialog.tlk] 94793 string entries
[./dialogF.tlk] 94793 string entries
[data/ROT-WAV2.bif] will contain 443 resources totalling 309305510 bytes
KEY saved (206 biffs, 46006 resources)

Installation complete.

[Setup-RoT.exe] WeiDU version 23602
This is a non-stable version. Unless you're sure about what you're doing, consider downgrading.
Using Language [English]

After that, I aborted the installation procedure.

Offline Mad Mate

  • Planewalker
  • *****
  • Posts: 27
  • Gender: Male
Re: Beta 236.02
« Reply #22 on: August 24, 2014, 10:16:02 AM »
I just tried to install BGT with this beta and install failed at biffing. Here is excerpt from Debug:
...
And there were, also, some errors  when I tried to install other big mods, like SOS and TDD, also when biffing.
Can you upload the full debug files?
Here it is: https://www.dropbox.com/s/48859nzxulk26ye/SETUP-BGT.RAR?dl=0
As about other errors, they are random "FATAL ERROR: Division_by_zero" in debugs of TDD, ROT and other big mods, like Leonardo already reported. Mods installed, but error appears in debug. Maybe it should be ignored...
Thanks for your work!

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #23 on: August 24, 2014, 11:10:08 AM »
Okay, both problems is likely as simple as me forgetting headerless TIS files are a thing. Will be fixed in the next version. Thanks for reporting.
« Last Edit: August 24, 2014, 11:13:13 AM by Wisp »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 236.02
« Reply #24 on: August 24, 2014, 01:57:44 PM »
above code, when run in tp2 file located in BG2:EE dir, should produce tlk from BG1 dir, but it seems to ignore "--game" parameter and just traify it in the current dir.
Fixed.

 

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