Jump to content


A full install finding


  • Please log in to reply
8 replies to this topic

#1 -i30817-

-i30817-
  • Guest

Posted 09 November 2010 - 07:20 AM

While the baldur.exe file of the "Original Saga" install requires a registry key to work, a (with a no cd applied) BGMain2.exe file does not. The only thing that didn't work was the baldur.ini file paths. I managed to fool the game into making a relative path into a full path apparently:
[Alias]
HD0:=Data\..\
CD1:=.\
CD2:=.\
CD3:=.\
CD4:=.\
CD5:=.\
CD6:=.\

I only tested this on wine.

#2 -i30817-

-i30817-
  • Guest

Posted 09 November 2010 - 07:22 AM

And i'm using CacheSize=0 too so no copying takes place. Anyone had any problems with this setting (besides the config program being dumb and reseting it)?

#3 -i30817-

-i30817-
  • Guest

Posted 09 November 2010 - 09:25 AM

BTW anyone knows if it's possible to combine the CD(1,2,3,4,5) subdirectories in the BG2 install into one safely?

#4 -i30817-

-i30817-
  • Guest

Posted 09 November 2010 - 09:37 AM

I am comparing the md5sum one by one, but it goes slow. Surely someone has done it before?

#5 -i30817-

-i30817-
  • Guest

Posted 09 November 2010 - 12:06 PM

If i didn't do a mistake, they appear the same.

Also for BG2 setting the cache value to 0 doesn't appear to work for some reason...

Maybe if i move all files to there and set the cache size to a size larger than all files?

It seems risky. Likely the cache files may be deleted for some reason...
My paths right now for BG2:
HD0:=data\..\
CD1:=CD\
CD2:=CD\
CD3:=CD\
CD4:=CD\
CD5:=CD\

#6 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 10 November 2010 - 02:10 AM

My experience is based only on PC/Windows Infinity game experience, but...

If i didn't do a mistake, they appear the same.

Also for BG2 setting the cache value to 0 doesn't appear to work for some reason...

Maybe if i move all files to there and set the cache size to a size larger than all files?

It seems risky. Likely the cache files may be deleted for some reason...
My paths right now for BG2:
HD0:=data\..\
CD1:=CD\
CD2:=CD\
CD3:=CD\
CD4:=CD\
CD5:=CD\

I can say for sure that the cache files are totally unnessasary on todays computers, if you make a full install, as they were there to make the inserting the CDs and data loading unnessasary in the first place(ouh the days when one needed to do that)... you should be able to also go ahead and delete the files in the "cache" folder, the "temp" folder and the "tempsave" folders(just do that when you are not playing the game at the same time :doh: ). They can actually just cause problems(with mods).

Now, what comes to the CD folder, shouldn't that be in the game folder ? Not in a separate root folder... so the CD1's [Alias] would be:

CD1:=data\..\CD\

In which their united "data" and "movies" folders would be in. On BG2 this works wonders, on BG1 it doesn't, as the HD0 holds all the install info, and so the other CD's can be what ever they were(at least on Windows BG1/BGTotSC).
What comes to the risks of combinding the CDs etc, I can say that you can always restart the game after you make a clean re-install...
Unless, the Wine uses totally different folder model(I assume that the drive is not marked, but the rest is same as on the Windows).

Edited by Jarno Mikkola, 10 November 2010 - 02:14 AM.

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


#7 -i30817-

-i30817-
  • Guest

Posted 11 November 2010 - 05:39 PM

Actually, for BG2 the trick doesn't work. It appeared to (the initial movies play), but if i try to load a area it hangs - even if i use your suggestion of reusing the trick for the CD1(etc) folders - good catch that anyway.

I've been able to use "sed" (a command to replace regex patterns in files), to make it portable as long as i use the batch file.

About the cache, i probably explained what i wanted wrong.
There is a significant amount of time lost when you load a area ingame that is the game copying the area to the cache folder (i don't know if it also uncompresses or otherwise manipulates it).
If i could move these files to the cache folder AND make it so that the game never deletes anything from there AND make it sure that it doesn't edit the files into uselessness, i could speed up area loading by moving the files to the cache folder and increasing the cacheSize setting enough so it never deletes anything from the cache.

Problem is, i don't know if it eventually deletes it anyway.

#8 -i30817-

-i30817-
  • Guest

Posted 11 November 2010 - 05:45 PM

As for combining the CDs it doesn't appear risky at all. I used a tool called FSlint in linux to find duplicate (in the md5sum, so byte for byte duplicates). All the files that were named equal in the cd folders were duplicates (there were some more duplicates in the data folder and the cd folders, but i didn't try to merge those)).

I'd appreciate if someone could duplicate the findings (check the md5sum of the files and see if the duplicates are the same), because i'm trusting the tool. At the start i was doing it by hand and the 2 duplicate files (across all cds) i checked were the same.

It saves about 300mb.

#9 -i30817-

-i30817-
  • Guest

Posted 11 November 2010 - 06:15 PM

It's very strange. Any form of relative path in the first hardrive line (HD0), causes the CD lines not to work (but works for the movies, that don't play if it is not correct). But if the first line is a absolute path, you can put a relative path (for instance just "CD") in the CD lines.

It's possibly the no-cd that removes the check for "is it a absolute path" for the HD0 line but not for the others. Oh well, i can use a script, and move the dir around.

Only problem is renaming it - i keep the script one dir above, to find it easily.