Jump to content


Photo

BiG World Install is assuming CDX folder structure


  • Please log in to reply
5 replies to this topic

#1 i30817

i30817
  • Member
  • 611 posts

Posted 19 August 2011 - 11:16 PM

I used md5sum to check that the duplicated folders in each CDX folder from the original cds is indeed, byte for byte equal to their duplicates.

So i just merged all the CDX folders into one CD folder. Now, this works fine with the game (that uses Baldur.ini to check - if the file is edited before hand ofcourse), but it will not work for BiG World Install.
You might think this is useless, since after all, i'd need to do this whenever i install since the folder location could change, but this is not a problem for me, since i use sed (i'm on linux) to edit the folder location to the current dir on Baldur.ini whenever i run the game.

I'm asking if a fallback to check for a merged folder structure would be possible in the next version (naturally, named CD or something else you want).

If BiGWInstall worked on a pure linux evn, i wouldn't need to ask, since i could make a symlink to the CD folder - but it doesn't due to wine cmd emulation bugs, so i need to run it in a virtual machine.

If the script had a fallback for a merged HD0,CD1,CD2,CD3,CD4,CD5 dir, it would make my life easier (and maybe others that keep the games zipped, instead of installing since they'd be able to eliminate the duplicate files).

Edited by i30817, 19 August 2011 - 11:18 PM.


#2 i30817

i30817
  • Member
  • 611 posts

Posted 19 August 2011 - 11:29 PM

Heh, i was thinking of using the bat file only, until i realized i would have to download things manually, and then i read the BiG World Setup readme.

"- For digital users only, you have an additional step to do. In the BG2 - SoA folder, make the following folder CD5\movies\. Now copy the 25movies.bif file from your data\movies folder and paste it into the CD5\movies\ folder."

You already have this problem.
i'd recommend 3 checks

if(file in CD5 dir)

else if (file in data\movies)

else if (file in merged folder location)

else error.



Am i going to find new and exciting dependencies on that folder structure beyond this file?



Why do you need to quicksave?

Regardless, i edited the file and instead and got further.

Edited by i30817, 19 August 2011 - 11:42 PM.


#3 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 19 August 2011 - 11:46 PM

You already have this problem.

You know, the copy'ing is there for integrity check... that the BGII - ToB is installed. And creating/renaming a file to be the "BG2-ToBPatchReadMe.txt" is there to check that the patch is installed. It's not a fall-less system, but it's better than to not do them.
Should you know, the "25movies.bif" file can be an empty file that the game doesn't even use.

Why do you need to quicksave?

The game doesn't always set all the files before you actually start a game in it. Say how would one modify the game when you don't have a baldur.ini at all in the game directory... :new_thumbs:
And the player is meant to check their game and make sure most of it works... so there's no crashes to desktop, the fog of war and the GUI "works", and that there is no black boxes in the statistic animation spots. And correct them if necessary as they are not the fault of modifying the game, but their own setup.

Edited by Jarno Mikkola, 19 August 2011 - 11:48 PM.

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


#4 i30817

i30817
  • Member
  • 611 posts

Posted 19 August 2011 - 11:50 PM

Doh.

Isn't it much better to only check for BG2-ToBPatchReadMe only? I mean, if the patch is installed, then ToB is installed.

In fact, even better would be to check the md5 of the executable.

Thanks about the 0 size "25movies.bif" idea though.

#5 i30817

i30817
  • Member
  • 611 posts

Posted 20 August 2011 - 12:33 AM

Actually, though the 0 length file thing works for the bat file, it doesn't work for bw setup

Edit: because this one actually needs the correct file location in the baldur.ini files - no prob.

Edited by i30817, 20 August 2011 - 12:38 AM.


#6 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 20 August 2011 - 01:04 AM

Isn't it much better to only check for BG2-ToBPatchReadMe only? I mean, if the patch is installed, then ToB is installed.

Well, the patch can be installed even when the ToB is not fully installed. The checks have these internal safety precautions, that are carefully considered. That were standard when the first major versions came out...

And if you check, the answer 2Q.3 here, gives the exact instructions what you need to have in your case...

Edited by Jarno Mikkola, 20 August 2011 - 01:07 AM.

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