Hugo Posted August 16, 2014 Posted August 16, 2014 Hello It seems that I'm unable to install v21 prerelease 2014-08-06 from GitHub to a clean ToB EasyTutu installation. When I try to install the mod, I always get the following error message: ERROR: cannot convert BGTBEDWINState0 or %BGTBEDWINState0% to an integer If anyone could help me with that I would appreciate it. Thank you. Here's the debug file: WeiDU v 23600 LogD:\Games\Baldurs Gate Tutu\setup-bg1npc.exe[./CHITIN.KEY] loaded, 689597 bytes[./CHITIN.KEY] 329 BIFFs, 48523 resources[./autorun.ini] loaded, 1452 bytes[./baldur.ini] loaded, 3208 bytesPossible HD/CD Path: [D:\Games\Baldurs Gate Tutu\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\English\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\CD1\]Possible HD/CD Path: [D:\Games\Baldurs Gate Tutu\data\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\English\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\CD3\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\English\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\CD4\]Possible HD/CD Path: [D:\Games\Baldurs Gate II\CD5\][./keymap.ini] loaded, 5615 bytes[./DIALOG.TLK] loaded, 11295990 bytes[./DIALOG.TLK] 89142 string entriesWARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")Choose your language:0 [English]1 [Espanol (traducido por Clan DLAN)]2 [Francais (traduit par les d'Oghmatiques)]3 [Polski]Using Language [English][English] has 1 top-level TRA files[bg1npc/tra/english/setup.tra] has 134 translation stringsWould you like to display the readme? [Y]es [N]oWould you like to display the components from [The BG1 NPC Project: Banters, Quests, and Interjections]?[Y]es, [N]o?Would you like to display the components from [The BG1 NPC Project: Portrait Changes and Additions]?[Y]es, [N]o?Would you like to display the components from [The BG1 NPC Project: Romances]?[Y]es, [N]o?Would you like to display the components from [The BG1 NPC Project: Tweaks]?[Y]es, [N]o?Install Component [The BG1 NPC Project: Required Modifications]?nstall, or [N]ot Install or [Q]uit?Installing [The BG1 NPC Project: Required Modifications] [v21_PRERELEASE_20140806][./override/fw0125.are] loaded, 9760 bytesBIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD5\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD4\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD3\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\data\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD1\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/AREAS.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\/DATA/AREAS.BIF][D:\Games\Baldurs Gate Tutu\/DATA/AREAS.BIF] 2463304 bytes, 310 files, 0 tilesets[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytesTutu detected: support at www.gibberlings3.net[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytesERROR: cannot convert BGTBEDWINState0 or %BGTBEDWINState0% to an integerStopping installation because of error.Stopping installation because of error.Stopping installation because of error.ERROR Installing [The BG1 NPC Project: Required Modifications], rolling back to previous stateUnable to Unlink [bg1npc/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "bg1npc/backup/0/OTHER.0")[bg1npc/backup/0/UNSETSTR.0] SET_STRING uninstall info not foundWill uninstall 0 files for [bG1NPC.TP2] component 0.Uninstalled 0 files for [bG1NPC.TP2] component 0.[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/cdbehbla.pro] loaded, 512 bytes[./override/_bimoen.dlg] loaded, 117 bytesBIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD5\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD4\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD3\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\data\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD1\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/DIALOG.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\/DATA/DIALOG.BIF][D:\Games\Baldurs Gate Tutu\/DATA/DIALOG.BIF] 4557664 bytes, 2729 files, 0 tilesets[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytesBIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD5\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD4\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD3\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\data\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\CD1\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate II\English\/DATA/25DEFLT.BIF]BIFF may be in hard-drive CD-path [D:\Games\Baldurs Gate Tutu\/DATA/25DEFLT.BIF][D:\Games\Baldurs Gate Tutu\/DATA/25DEFLT.BIF] 2818187 bytes, 160 files, 0 tilesets[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/FW1500.are] loaded, 9328 bytes[./override/FW1500.are] loaded, 9328 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytesUnable to Unlink [bg1npc/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "bg1npc/backup/0/READLN.0")Unable to Unlink [bg1npc/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "bg1npc/backup/0/READLN.0.TEXT")ERROR: Not_foundPLEASE email the file SETUP-BG1NPC.DEBUG to The BG1 NPC Project Team: forums.gibberlings3.net/index.php?showforum=45Using Language [English][English] has 1 top-level TRA files[bg1npc/tra/english/setup.tra] has 134 translation stringsInstall Component [The BG1 NPC Project: Required Modifications]?nstall, or [N]ot Install or [Q]uit? [./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytes[./override/fw0125.are] loaded, 9760 bytes[./override/ar6111.are] loaded, 2776 bytes[./override/fw2003.are] loaded, 1684 bytesSaving This Log:NOT INSTALLED DUE TO ERRORS The BG1 NPC Project: Required ModificationsWeiDU TimingsOUTER_INNER_PATCH_SAVE 0.000parsing .tra files 0.000<<<<<<<< 0.000unmarshal BIFF 0.000adding translation strings 0.000load TLK 0.000DEFINE_PATCH_FUNCTION 0.000DEFINE_ACTION_FUNCTION 0.000OUTER_SET 0.000INCLUDE 0.000process_patch2 0.000eval_pe 0.000OUTER_FOR 0.000DEFINE_ACTION_MACRO 0.000OUTER_INNER_PATCH 0.000ACTION_IF 0.000PRINT 0.000READ_* 0.000DEFINE_PATCH_MACRO 0.000loading files 0.016tp2 uninstall 0.016stuff not covered elsewhere 0.047Parsing TPA files 0.062unmarshal KEY 0.062Parsing TP2 files 0.094unmarshal TLK 0.203TOTAL 0.499
AstroBryGuy Posted August 17, 2014 Posted August 17, 2014 Found the problem, I think. The file g3_tutu_cpmvars.tpa in bg1npc/lib has a GAME_IS check for ~tutu~, but it needs to be for ~tutu tutu_totsc~. /* Declaration of Tutu Platform Variables */ ACTION_IF GAME_IS ~tutu tutu_totsc~ THEN BEGIN Replace the file g3_tutu_cpmvars.tpa in the bg1npc/lib directory with the file I've uploaded below: https://dl.dropboxusercontent.com/u/80058200/g3_tutu_cpmvars.tpa.zip That should clear up the issue.
Hugo Posted August 17, 2014 Author Posted August 17, 2014 Thank you for replying so quickly. Now the installation started properly but I encountered to yet another error: [bg1npc/core/baf/x#mag14d.baf] PARSE ERROR at line 18 column 8-48 Near Text: )unknown object CLASS specifier [LONG_BOW] After googling a bit I checked, and while I have the line LONG_BOW in my BG2 installation's CLASS.IDS, in my Tutu installation I just have two MAGE_ALL lines. I assume I can just change every LONG_BOW in the mod's baf files into MAGE_ALL?
AstroBryGuy Posted August 17, 2014 Posted August 17, 2014 Thank you for replying so quickly. Now the installation started properly but I encountered to yet another error: [bg1npc/core/baf/x#mag14d.baf] PARSE ERROR at line 18 column 8-48 Near Text: ) unknown object CLASS specifier [LONG_BOW] After googling a bit I checked, and while I have the line LONG_BOW in my BG2 installation's CLASS.IDS, in my Tutu installation I just have two MAGE_ALL lines. I assume I can just change every LONG_BOW in the mod's baf files into MAGE_ALL? Yes, that should be fine. In BG2 and BGEE, LONG_BOW and MAGE_ALL share the same ID in the CLASS.IDS file. Didn't realize Tutu got rid of the LONG_BOW entry in CLASS.IDS. There are other files that have a LONG_BOW reference in them. You'll need to search & replace in x#prs10b.baf in bg1npc/core/baf and x#davidx.baf in bg1npc/phase2/baf. Or I've uploaded modified versions of those files here: https://dl.dropboxusercontent.com/u/80058200/BG1NPC_Scripts.zip
Hugo Posted August 17, 2014 Author Posted August 17, 2014 Everything seems to be in order now. Thanks.
AstroBryGuy Posted August 17, 2014 Posted August 17, 2014 Everything seems to be in order now. Thanks. You're welcome. Glad you got it installed!
cmorgan Posted August 20, 2014 Posted August 20, 2014 I'd switch those to the number rather than the .ids file entry just to be sure - Fixpack vs non-fixpack installs, I think.
Mad Mate Posted September 18, 2014 Posted September 18, 2014 Hi! I installed last prerelease version 20140816a on BGT and I noticed that NEWMERCH2.dlg didn't get biffed by genbiff and stayed in override. After decompiling dlg, header said that it contains non-trivial WEIGHTs. I don't know is this a bug in weidu or in dialog and maybe game translates everything without problem, but I just wanted to report it. Thank you for your work!
Mike1072 Posted September 18, 2014 Posted September 18, 2014 Hi! I installed last prerelease version 20140816a on BGT and I noticed that NEWMERCH2.dlg didn't get biffed by genbiff and stayed in override. That filename is too long.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.