v2 update to Baldur's Gate II and Throne of Bhaal

I'm confident that the bugs should be gone now with this patch. As always, post in the comments if you get errors or have problems.

Changes:

  • The launcher will replace all old directory paths in the registry file, with the current directory. From what I could gather, this wasn't what was causing the errors and crashes, but it was a thing I've been meaning to do.
  • The source of the crashes and assertion errors was the baldur.ini file. It has the locations of critical files for the game, and now the launcher will edit this file to point to the correct folders.
  • There is now a "path.txt" in the data directory that contains the last directory the launcher was run from. It is used to update the registry and baldur.ini files. Do not edit this file unless you know what you are doing.
  • I've updated my portable template to the latest version (2.6.4) from Loncarek's site. I couldn't find a change log, but it seems as if the registry file is handled better now.
  • Dynamic updating of registry files should make its way to my other releases, and certainly to all futures ones.


Download the patch here. Extract and overwrite everything.
This will overwrite your baldur.ini file, so you might want to back that up beforehand.

55 comments:

Anonymous said...

It works!!!!!!!!!!!!!!!

Thank you!!!!!

Anonymous said...

Although I haven`t downloaded anything yet (though I intend to) I`m really glad to see someone is putting the effort to bring back the games of old for modern gamers. The fact that you`re also taking the effort to make them portable, adding extras, and continuing to support your releases really makes you a god among men. Keep up the good work.

Also, since you`re already steam rolling the Infinity engine games, if it hasn`t already been suggested, could you add Planescape: Torment and the Icewind Dale series to your hitlist?

Milo said...

Thank you Mr. Anonymous
A lot of people forget to leave positive feedback, and if I don't have comments like yours I'll never know if people can get the games to run properly!

simon_says
Thank you, too!
I'll probably finish up those two games you suggested next. I'm a little undecided, though. Another commenter suggested I do an FPS like Unreal Tournament to spice things up here, since most of the games are RPGs. We'll see!

Anonymous said...

Works great! Sorry for double posting in BG2 thread btw (blame firefox bookmark lol). Good point about positive feedback, so in that spirit, thanks for all your efforts! Going through these old games is fantastic. It is incredible how much more fun it is to have these on USB! I bought BGII ages ago but never played it because of all the discs (silly i know). Keep it up, this all great stuff!

fuxter said...

yo, man. don't think lack of comments means no one admires you. you man rock. really thank you.
but i got a problem with last update. after unpacking it over previous installation i get this new message http://velke-pukke.narod.ru/1.png
and after clicking OK i get this one http://velke-pukke.narod.ru/2.png
well, people say they got it working. maybe it's my system causing the problem - winxp sp3.
i'll be glad to provide any information if needed.

Milo said...

fuxterz, can you copy/paste your baldur.ini here?

It's in app -> Baldurs Gate and Throne of Bhaal.

Milo said...

Whoops, not the whole thing, just the [Alias] section!

Milo said...

OK, try patch again, please.
I've added my own baldur.ini file, I think that was the problem.

Anonymous said...

Do you have modified 2DA override files to eliminate the experience caps and extend the leveling tables? We did these mods to these games many years ago when they were new/semi-new.

Milo said...

No, I don't.

Please let me know if the game + update work for you!!

fuxter said...

Hooray! the latest one launched the game!
Great! Thanks!

Milo said...

woot!

Anonymous said...

Im not a computer Wiz, but i just downloaded your BG2 with expansion (seems like theres the portable extra too)
After unpacking the game, I try to launch it with no result.
Is there something I need to do before i try to launch it? deamon tools perhaps? Or is there some hidden file in one of the folder?

Thnx in advance=)

Anonymous said...

Hello there again. I posted just minutes ago and found a file thats seemed to run the game, but i get 2 messages afer I try to launch the game.

First one is:
-1
( I press OK )

Second message is :
An Assertion failed in ChDimm.cpp at line number 834)

Do you understand anything out of this?

Anonymous said...

hi i seem to be getting this error. An Assertion failed in ChDimm.cpp at line number 628 Programmer says: Unable to Open BIF:data\Ho0gMosc.bif

how do i fix this problme?

Milo said...

Did you guys follow the instructions in this post to a tee? The reason you're getting that error is because there's a mis-match for the directory in 2 files: the .ini in the root and the baldur.ini.

Anonymous said...

how do i correct this mismatch? thx

Milo said...

What .exe are you using to run the game? I'm confused a little as to which one of the two above you are.

Milo said...

Try downloading the patch again (I've fixed a bug), make sure your folders are correct by following the instructions in this post!

Anonymous said...

hey milo..

i should say i was really excited when i saw your throne of bhaal file on net..so i installed bg2:soa again and waited the download to finish..but sadly..i received the same error message as everybody else:"An Assertion failed in ChDimm.cpp at line number 628 Programmer says: Unable to Open BIF:data\Ho0gMosc.bif"

i downloaded the new patch..tried everything you said but still the same..i can run the soa that i have installed but tob does not seem to work..so can i kindly ask for a brief explanation on what to do? i'm a little lost.. i'm working on it for like 2 hours and lost my mind on it..

Unknown said...

Milo, you are god. I was trying to get my BG2 portable for weeks. I tried everything, making .iso s of my cds, cracks etc. You saved me, now i don't need to bring my disks with me everywhere on business trips :D

Anonymous said...

Seems to work, thank you very much!

Just one problem: is anybody else getting a mouse pointer which flickers non-stop? It's quite annoying and I wouldn't want to risk an epileptic attack if it can be avoided ;)

Anonymous said...

Hey, I got the thing to work, and u rock. BUT when I get outof the dunjeon fer the first level, it says 'Please Insert Disc 2 Into Drive (J:) This is really horrifying. CAN YOU HELP ME???

Anonymous said...

Hmmm...I've reinstalled the whole BG2 torrent and installed the patch, and it seems to be working so far, but I'll let you know if it has any other probs. MILO RULESZ!

Anonymous said...

Damn what can I say besides thank you so much for uploading such an awesome and easy to use game.
Once again, thanks. ;)

Anonymous said...

I maybe stupid but i can't see anything to download..can any1 help me pls
?

Anonymous said...

thanks works perfect.im glad i clicked that link.keep it up

Anonymous said...

huha

Anonymous said...

Thanks very much. Other downloads I tried kept crashing. But yours works perfectly for me.

Anonymous said...

It's not working for me.. I downloaded the patch.

I'm using the Baldur.exe that's where the ini's are.

Here's my ini file (Alias)

[Alias]
HD0:=C:\Program Files\Black Isle\BGII - SoA\
CD1:=C:\Program Files\Black Isle\BGII - SoA\CD1\
CD2:=C:\Program Files\Black Isle\BGII - SoA\CD2\;C:\Program Files\Black Isle\BGII - SoA\CD2\
CD3:=C:\Program Files\Black Isle\BGII - SoA\CD3\
CD4:=C:\Program Files\Black Isle\BGII - SoA\CD4\
CD5:=C:\Program Files\Black Isle\BGII - SoA\CD5\

I click on it, but when I go to install it, nothing comes up, no installer, and no error messages. Just the "You must install BG2:ToB before playing".

Any help? I'm running Vista and put the .exe as admin.

jediredeye said...

Great I did what you guys said...now I have to download the whole thing again...can someone plz give me some step by step directions?

Anonymous said...

I'm having the same problem that nuglo is. When I run the portable I get the error message:

"An Assertion failed in ChDimm.cpp at line number 628
Programmer says: Unable to Open BIF:data\Hd0GMosc.bif"

Any idea what my problem could be?

Kenshiro said...

everyone seems to install it like a walk in tha park.

But as i extract the patch, it ask about the the Bgmain.exe, is not found, would you like to copy everything, then i say yes. after it said (should the copied exectutables exe dll should be compressed with upx, after all this it said that the bgmain exe is missing.

please help

cheers

Kenshiro said...

its always about the bgmain exe. file missing, but its in the original winrar file, not the patch. how can i extract it or copy it in the patch, or vice-versa.

I reaaaally want to play this game pleez, never played it, not even the first BG, so you must know how i feel

Anonymous said...

I'm having the same problem that nuglo is. It also write -1 and i have to click ok.



«i should say i was really excited when i saw your throne of bhaal file on net..so i installed bg2:soa again and waited the download to finish..but sadly..i received the same error message as everybody else:"An Assertion failed in ChDimm.cpp at line number 628 Programmer says: Unable to Open BIF:data\Ho0gMosc.bif"

i downloaded the new patch..tried everything you said but still the same..i can run the soa that i have installed but tob does not seem to work..so can i kindly ask for a brief explanation on what to do? i'm a little lost.. i'm working on it for like 2 hours and lost my mind on it..
»









When I run the portable I get the error message:

"An Assertion failed in ChDimm.cpp at line number 628
Programmer says: Unable to Open BIF:data\Hd0GMosc.bif"

Any idea what my problem could be?

Richárd said...

Hi!

First of all: thank you.

I have this game, but the nocd crack I found will not patch a bgmain.exe which has been changed by modifications (widescreen, fixpack).

So I' tried your solution.

I had the game installed already, so the launcher copied everything to a new folder.

But when I run the launcher or the baldur.exe, I still get the same error message: 'A CD-ROM drive cannot be decected on your system. You cannot play Baldur's Gate 2 without a CD-ROM drive.'

I am using az Eee PC 1000HE, which doesn't have a CD-ROM drive. Is this a problem beyond this launcher?
I thought 'no CD check' means the game doesn't look for a CD-ROM at all...

Please help me with this!

(I have a solution in mind: daemontools for the ToB CD... but then I don't even need this portable version.)

julie said...

Hey Milo! Thank you for this marvelous game!! If only I could play it lol

I got the same problem as many : An Assertion failed in ChDimm.cpp at line number 628 Programmer says: Unable to Open BIF:data\Ho0gMosc.bif

I did overwrite with the patch & put the initial baldur.ini back into the BG folder but it's still not working...

You may want to write a step by step strategy for the noobs we are sometimes ^^

Thanks again for your work!

Anonymous said...

im having the same problem as everyone im a noob with this stuff and i wish someone would put a step by step or at least to get past the problems

Anonymous said...

hey austin just had the same problem (line 628)
1.just try to copy ur baldur.ini from the non portable version to your portable bg2.
(directory should be: #where u put ur portable version#\App\Baldurs Gate 2 and Throne of Bhaal)

2.then u have to change the .ini file to the correct directory:
in the .ini u should find 6 lines like this

HD0:=xxxxx\
CD1:=xxxxx\CD1\
CD2:=xxxxx\CD2\
CD3:=xxxxx\CD3\
CD4:=xxxxx\CD4\
CD5:=xxxxx\CD5\

if you found them just enter for "xxxxx" the right directory (#where u put ur portable version#\App\Baldurs Gate 2 and Throne of Bhaal)

Anonymous said...

Thanks for this, had to down the patch to get it to work, but it's fine.

Never got around to play this game.

Kudos :D

izhan said...

i am izhan

hi milor


i seem to be getting this error. An Assertion failed in ChDimm.cpp at line number 628 Programmer says: Unable to Open BIF:data\Ho0gMosc.bif

how do i fix this problme?

from 4 hours
i am trying to play this and getting irritation


pls try to make a VIDEO tutorial on it so that it would be very useful
to......your fans
i am seeding it from 6 days continuously

i want you to make a VIDEO tutorial for this
pls
3 steps to play
1)downloade your game
2)download patch
3)see video tutorial
it would be nice.......pls make it

Leon said...

Why isn't my Baldur's Gate working??? It kept on saying "An Assertion failed in ChDimm.cpp at line number 628. Programmer says: Unable to Open BIF:data\Hd0GMosc.bif"... Am i missing a file or is this file broken? URGENTLY NEED HELP!

Milo said...

people with assertion errors:

check your "baldur.ini" file in your game files folder and make sure all paths are correct for your current path. afterwards, the updater should correctly adjust them in the future.

I hope this helps!

Jake said...

Thanks for everything! after downloading bg2 and patch everything works great! this is great because i have two copies of the games, but everytime i try to install it there are always problems.

thunderjacob said...

so, i feel rather stupid. i cannot seem to figure out how to download the patch. i got the game off pirate bay and the comment section led me here. but there is no download button and i've been clicking every link for a half hour... am i missing something?
any help would be awesome. thank you

Anonymous said...

Yea the download link is hard to see.
It's the word 'here' in the last paragraph. The sentence is "Download the patch here."

thunderjacob said...

thank you very much!

Anonymous said...

I accidentally deleted some important files for bg2. How do I delete the rest to do a reinstall?

Anonymous said...

It says it can't delete certain files cause they are in use but I don't have anything but the bare bones running and I don't know what is using these files.

ledgebutta said...

By the beard of Zeus, it works!
I'm looking forward to losing many hours of my life behind the old laptop, pumping out magic missiles and such. thanks for the patch to this classic game guys.

you just made a geek very happy

Anonymous said...

I think the link is broke can you plz fix. I love this game!

Anonymous said...

feb 2010 - Link is Broken. Can you Re-upload somewhere?

Anonymous said...

The link is still broken, could somene upload it again please.

Unknown said...

Anyone getting an assertion error in ChTlkTbl.cpp at line 97? I cant figure out the solution, or find the file.

Side note: I had 12 "U_U" files in my folder that were "not found" when I tried to copy it from my usb key onto my windows partition. Don't know what that means, anyone else see that?

nate said...

guys
for it to work (at least for me)
what you need to do is overwrite the original portable BGII with the patch

lots of you are dragging in the ini file, dont! just leave it there next to the launcher and it should work.

Designed by Posicionamiento Web | Bloggerized by GosuBlogger | Blue Business Blogger