Jump to content


Photo

BGT Installation Error


  • Please log in to reply
12 replies to this topic

#1 saintsomething

saintsomething
  • Member
  • 1 posts

Posted 19 July 2010 - 02:38 PM

Not sure if this is the right place to post this, but the program wasn't more specific.
Hope you guys know how to fix this, would really like to play the BGT version of it all.
Oh, btw, I have the BG + TotSC and BG2 + ToB boxed set (4 dvd's) and followed the instal
instructions in the readme file (costum all boxes ticked for bg1 + exp and full instals
for bg2 + exp). Instead of copy pasting, I attached the file.

Here't goes..

Attached Files



#2 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 19 July 2010 - 02:48 PM

To shorten the .debug file a bit...

WeiDU v 21700 Log
...
override/ZHALIM.CRE] loaded, 1196 bytes
Copied [override/ZHALIM.CRE] to [override/ZHALIM.CRE] (NO BACKUP MADE!)
Copying and patching 19 files ...
[override/ARGHAI.CRE] loaded, 1148 bytes
ERROR: illegal 2-byte read from offset 1148 of 1148-byte file override/ARGHAI.CRE
ERROR: [override/ARGHAI.CRE] -> [override] Patching Failed (COPY) (Failure("override/ARGHAI.CRE: read out of bounds"))
Stopping installation because of error.

ERROR Installing [Baldur's Gate Trilogy - Core], rolling back to previous state
Will uninstall 3641 files for [SETUP-BGT.TP2] component 0.
...
BGT/Backup/0/AR2000.bcs copied to override/AR2000.bcs, 18442 bytes
Restoring backed-up [BGT/Backup/0/AR2800.bcs]
BGT/Backup/0/AR2800.bcs copied to override/AR2800.bcs, 8067 bytes
Uninstalled 3641 files for [SETUP-BGT.TP2] component 0.
ERROR: Failure("override/ARGHAI.CRE: read out of bounds")
PLEASE post the contents of the file SETUP-BGT.DEBUG at http://forums.spellh...p?showforum=261
Using Language [English]
[English] has 5 top-level TRA files
...


Did you install both of the latest official patches too ?
The first game ends up being v1.3.5512(use the one without the dx8 patch) = BG1 + TotSC
And the other game ends up being v2.5.26498 = BGII - SoA + ToB.

Edited by Jarno Mikkola, 19 July 2010 - 02:53 PM.

Deactivated account. The user today is known as The Imp.


#3 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 20 July 2010 - 02:27 AM

The relevant code is
COPY + ~override/ARGHAI.CRE~   ~override~
...
 READ_LONG 0x2b8 "slots_off"
 READ_LONG 0x2bc "it_off"
 READ_LONG 0x2c0 "it_cnt"
 SET index=0
 FOR( cnt=0; cnt<"%it_cnt%"; cnt=cnt+1 ) BEGIN
   READ_ASCII ("%it_off%"+0x14*cnt) "name"
   PATCH_IF (("%name%" STRING_COMPARE_CASE "MISC86")=0) BEGIN
     SET index=cnt                             //find scalp index in items list
   END
 END
 FOR( cnt=0; cnt<38; cnt=cnt+1 ) BEGIN
   READ_SHORT ("%slots_off%"+2*cnt) nnn
   PATCH_IF (nnn=index) BEGIN
     WRITE_SHORT ("%slots_off%"+2*cnt) 0xffff //remove scalp from any slot
   END
 END
 WRITE_SHORT ("%slots_off%"+2*3) index        //put scalp to Gloves slot to avoid pickpocketing
 BUT_ONLY_IF_IT_CHANGES
Sorry, I don't have time to look at this yet.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#4 -Saintsomething-

-Saintsomething-
  • Guest

Posted 20 July 2010 - 03:56 AM

Yes I did install both patches. Even the very same patches you had linked,
from that site, UK versions. I didn't touch the dx8 patches.
Though after patching Tales of the Sword Coast, Vista tells me the patch
has not been installed correctly and I reïnstal it. Nothing wrong after
that (at least, vista doesn't warn me or anything). ToB is installed
correctly in one go (according to vista).

#5 Aguila

Aguila
  • Member
  • 5 posts

Posted 23 July 2010 - 12:44 PM

I believe I got the same error. I just noticed this is a recent post, so I hope I can get some answers. I am running Windows 7 64-bit. I installed BG1+TotSC with the corresponding patch and BG2+ToB with it's corresponding patch. It always seems to cause an error when it reaches the bugfix section. I had previously attempted to install BGT, before I realized I had to install the BG2fixpack before the BGT install. I cancelled the install, then tried again. When I realized there already existed some fixes in the BGT I decided to continue the install without the pack. I gave me this error.

I then Reinstalled both games completely with the patches and tried again, and installed the BG2fixpack this time, same problem. :crying:

Is there anything I can do to fix this, I remember reading somewhere that I should check to make sure all the AR###.bif and stuff are actually in my current installs. But I don't know if this is related, and what I should do about it.

Any help will be great. Thanks.

Note: I could never play BG1 with my original OS of Vista 32-bit, except immediately after install, then it would only give me errors after that, even with compatibilty mode of XP. With Windows 7 it seems to work as long as I run it as an administrator. So maybe my computer just has problems. . . .Attached File  SETUP-BGT.DEBUG   2.33MB   731 downloads
Just added my own .DEBUG file to go with it, I think it is the same problem. . . I might just give up on the trilogy idea :(

Edited by Aguila, 23 July 2010 - 02:45 PM.


#6 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 July 2010 - 03:49 PM

Here is what you can do:

Open up Setup-BGT.tp2 in some simple word processor (notepad, wordpad).
Do a text search for
COPY + ~override/ARGHAI.CRE~   ~override~
When found remove the text
~override/ARGHAI.CRE~   ~override~
from the above line.
This should leave the line saying
COPY +

Then try installing.

Can I also ask that when you see the installation extracting all kinds of files after the fixpack section is finished, can you find ARGHAI.CRE in the override directory of the installation directory, make a copy, and attach it here?

Edited by Ascension64, 23 July 2010 - 03:49 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#7 Aguila

Aguila
  • Member
  • 5 posts

Posted 29 July 2010 - 05:34 PM

Okay, thanks, I tried that, and it skipped that file ARGHAI.CRE. However, it now has a problem with the another line in that same grouping which involves BANDCR.CRE. I will send copies of the Debug again, and also these two files, I don't think it will be logical to remove all these files, however, I am uncertain as to their direct purpose in the end result. The ".CRE" appears to be some creature attribute files. I'm not completely sure, it might be fine to use the original, if the intention was to place BG2 styles into the first game. But of course, my knowledge is limited on it's purpose. I just hope that only these two files are corrupted, and no other files.

Could it possibly be related to administrative permissions? I mean, we are changing files within the Program Files folder. When I edited the Setup-BGT.tp2 file I had to place on my desktop first, change it, then save and put it back. However, I did have to already give Administrative permission at the start of the install, but who knows.

Anyway, sorry for taking so long to respond, I guess I didn't get an update on your response till today.

Here are the files:
Attached File  SETUP-BGT.DEBUG   2.33MB   535 downloads
Attached File  ARGHAI.CRE   1.13K   287 downloads
Attached File  BANDCR.CRE   1.17K   319 downloads

Thanks.

#8 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 30 July 2010 - 12:34 AM

There is something wrong here. WeiDU reports that BANDCR.CRE is a 1188 byte file. However, the file you attach is 1196 bytes.
Similarly, ARGHAI.CRE is reported as 1148 bytes, whereas the file you attach is 1156 bytes.

Can I clarify that you got these files out of the <BG2>\override directory while BGT was installing?

I cannot explain why the error is occurring at the moment. The code appears sound.

One thing you could try is to use an older version of WeiDU to install the mod. Make sure that no newer versions of WeiDU are present in the <BG2> directory, else the older version will update itself.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#9 Aguila

Aguila
  • Member
  • 5 posts

Posted 30 July 2010 - 02:06 PM

Success!! I actually uninstalled both games again, this time I completely removed any Baldur's Gate folders after as well (however saving my Characters and Save folders). Then I did the same as last time, and also installing the fixpack, then BGT. It works wonderfully now.

Oh, and a note, I had to create a folder to extract BGT into, then move the files to my BG2 folder because of administrative permissions (couldn't extract directly to the BG2 folder).

I will now begin installing several other mods (those which seem practical and don't change the game too much).

I already solved my problem for exporting and importing a character. Is there no way to convert a vanilla BG game to a BGT / BG2 game? Not too important really, but would be nice.

Oh, and thanks so much for your help, you do great work! :D

Edited by Aguila, 31 July 2010 - 04:17 AM.


#10 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 31 July 2010 - 03:49 PM

I wonder if I actually helped any, though? :P

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#11 Aguila

Aguila
  • Member
  • 5 posts

Posted 07 August 2010 - 07:52 PM

I wonder if I actually helped any, though? :P


Sure you did, when you pointed out the fact that the files didn't appear to be correct, I decided to investigate more. It turned out that many files weren't removed even after uninstalling (especially check the hidden folders in the user profile). So I realized that an uninstall was not good enough to provide the fresh< unaltered files that were required.

So never trust an uninstall to do a complete job of something. Now my only problem is getting Shadowkeeper to edit files in the Program Files directory on a Windows 7 OS. Not even the compatibility mode (Run as Administrator) works. SOO frustrating. At least when I use Gatekeeper I can make a fake directory elsewhere, but Shadowkeeper automatically chooses the directory.

I'll figure it out soon I think. . . .

Actually, most of your other posts have been helpful when I am searching for help, so mostly the thanks is for that, just always being willing to help.

#12 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 08 August 2010 - 02:46 AM

So never trust an uninstall to do a complete job of something. Now my only problem is getting Shadowkeeper to edit files in the Program Files directory on a Windows 7 OS.

Well, you really should just op out the normal resolution to the Windows 7 Problems in the old games, and turn off the User Account Control, turn off the Program Compatibility Assistant(How? Answer number 2 here), and install the game into non-"Program Files" -folder, like into the C:\Games -folder... and then you can trust the uninstallation, as long as you uninstall mods, not games, as games usually leave files behind like the override folder etc that you need to remove if you intend to reinstall the same game to the same folder...

Deactivated account. The user today is known as The Imp.


#13 Aguila

Aguila
  • Member
  • 5 posts

Posted 10 August 2010 - 01:54 PM

Thanks, I've actually already been considering disabling the UAC. And that is a great post you linked me to, answers a lot of other questions I had as well.