Downloads Forums IESDP
Downloads Forums IESDP
4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Discussion: Multiple BG2 Installations
Grim Squeaker
post Jan 20 2004, 12:09 PM
Post #1


Utter Bastard
Group Icon

Group: Gibberling Poobah
Posts: 3010
Joined: 19-September 03
From: Bonnie Scotland
Member No.: 25



The problem comes if you already have a seriously modded install and you want a second clean install.  Obviously you could repeat the method and then uninstall all the mods from the second install but you could end up with the infamous 'Stroke Anomen's thigh' bug.


--------------------
"Leave me be, I don't want to argue.
I just get confused and I come all undone.
If I agree, well it's just to appease you,
'Cause I don't remember what we're fighting for."
Go to the top of the page
 
+Quote Post
CamDawg
post Feb 19 2004, 08:21 AM
Post #2


alassafanfanfan
Group Icon

Group: Gibberling Poobah
Posts: 7913
Joined: 18-September 03
From: Lexington, KY
Member No.: 8



It appears this may become obsolete. Fred Richardson has built a few of the WeiDU components and is now working on a utility to do this automatically. The bonus is that the secondary installs may be even smaller than ones you can create yourself.

Multiple Install Tool Therad at FWS


--------------------
A man writing an opera about a woman? Oh sera, how deliciously absurd! I shall see you at the premiere.
Go to the top of the page
 
+Quote Post
igi
post Mar 28 2004, 04:38 PM
Post #3


IESDP Guardian
Group Icon

Group: Gibberlings
Posts: 1016
Joined: 7-March 04
Member No.: 106



Heres a (possibly) simpler way, resulting in each clone installation being about 60mb (including the 34mb from the override folder).


How to Create a Minimal BG2 Clone for Modding

1) Complete a full install of BG2:SoA (and install the latest SoA patch, if ToB is not to be installed)
2) Complete a full install of BG2:ToB (if required) (and install the latest TOB patch)
3) Make new directory, e.g. "clone1"
4) Copy the following to "clone1"
Directories
  • \characters
  • \override
  • \portraits
  • \save
  • \scripts
  • \sounds
Files
  • baldur.ico
  • baldur.ini
  • bgconfig.exe
  • bgdxtest.exe
  • bggltest.exe
  • BGMain.exe
  • Chitin.key
  • dialog.tlk
  • Keymap.ini
  • Language.txt
5) Edit bgmain.exe at 0x00705E04, from "hd0:\dialog.tlk" to ".\dialog.tlk..."
"6864303A5C6469616C6F672E746C6B00" to "2E5C6469616C6F672E746C6B00000000"

------------------------------------------------------------------------------------------------

How it works
The common files are stored in the initial install directory.
The core files (unique to each clone) are copied into each clone dir.
The .exe patch is to tell the .exe to search for the dialog in the local dir, as opposed to the \data dir.

This has the usual downsides:

I dont know how it will affect games which place new biffs in the chiten.key (likely all clones will be affected, since theres only 1 chiten.key). Same goes for new music (though this can easily be altered, by .exe patching the music entry from hd0:\music to .\music).

The registry entry only points to the initial install. So this will be the one runby the autorun feature, and wil be the one listed under add/remove (hence we dont need the uninstall files in our unique copied data).

I havent extensively tested this method. It's not been tested at all on non-english versions of the game. I suspect it would work fine, as long as the right offset is changed for the dialog.tlk reference.

Anyway, I hope it works, and helps.
Any questions, just ask.

/igi
ps. I know it involves .exe patching (generally bad), but weidu is capable of this, andit only needs to be done once (once the patch is done, the .exe looks in the local dir. So you can copy that .exe into another clone dir, and it will look in there). This could be distributed as a weidu component maybe, if we get enough game version offsets.

EDIT: Added language.txt to the list of files needing to be copied. - Idobek
EDIT: Switched the bgmain.exe to and from values. - Idobek

This post has been edited by Idobek: May 9 2004, 04:21 AM


--------------------
Visit the TeamBG forums
Visit the IESDP www.iesdp.info
Go to the top of the page
 
+Quote Post
Idobek
post Mar 29 2004, 02:02 AM
Post #4


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



This is cool, thanks igi. Would creating a local data directory containing dummy files cause problems? Lots of mods do REQUIRE_FILE checks for ToB biffs, creating dummy 25blah biffs would be the easiest way to deal with this.


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
igi
post Mar 29 2004, 03:22 AM
Post #5


IESDP Guardian
Group Icon

Group: Gibberlings
Posts: 1016
Joined: 7-March 04
Member No.: 106



You can make a local \data dir if you want, and place any files you think wil be REQUIRE'd in there, it will make no difference to the game.

(I think smile.gif


--------------------
Visit the TeamBG forums
Visit the IESDP www.iesdp.info
Go to the top of the page
 
+Quote Post
Idobek
post Mar 29 2004, 04:37 AM
Post #6


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



Ooooo. I just got Hex Workshop. I think this:
QUOTE
5) Edit bgmain.exe at 0x00705E04, from "hd0:\dialog.tlk" to ".\dialog.tlk..."
"2E5C6469616C6F672E746C6B00000000" to "6864303A5C6469616C6F672E746C6B00"
Should read:
QUOTE
5) Edit bgmain.exe at 0x00705E04, from "hd0:\dialog.tlk" to ".\dialog.tlk..."
"6864303A5C6469616C6F672E746C6B00" to "2E5C6469616C6F672E746C6B00000000"
Also you would have to change the dialogf.tlk reference as well (directly after this in my exe). This should do the job:
CODE
BEGIN ~Multiple Install BGMain Hack~

COPY_EXISTING ~BGMain.exe~ ~BGMain.exe~
  WRITE_ASCII 0x00705e04 ~.\dialog~
  WRITE_ASCII 0x00705e0c ~.tlk~
  WRITE_LONG  0x00705e10 0x00000000
  WRITE_ASCII 0x00705e14 ~.\dialog~
  WRITE_ASCII 0x00705e1c ~f.tlk~
  WRITE_LONG  0x00705e21 0x00000000
  WRITE_ASCII 0x007069b4 ~.\music~
  WRITE_LONG  0x007069bb 0x00000000


This post has been edited by Idobek: Mar 29 2004, 06:12 AM


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
igi
post Mar 29 2004, 05:51 AM
Post #7


IESDP Guardian
Group Icon

Group: Gibberlings
Posts: 1016
Joined: 7-March 04
Member No.: 106



Yeah, your probably right, you spotted the deliberate mistake :-) And yes, the dialogf.tlk needs changing too, for non-english versions.


--------------------
Visit the TeamBG forums
Visit the IESDP www.iesdp.info
Go to the top of the page
 
+Quote Post
Idobek
post Mar 29 2004, 06:00 AM
Post #8


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



QUOTE (igi @ Mar 29 2004, 02:56 PM)
Yeah, your probably right, you spotted the deliberate mistake :-) And yes, the dialogf.tlk needs changing too, for non-english versions.

Moving slightly off-topic, I suspect the english versions could use a dialogf.tlk if one were present. If implemented we could have Enchanters and an Enchantresses etc, instead of the dull masculine world we have now. smile.gif I must try this one day.


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
Idobek
post Mar 30 2004, 06:17 AM
Post #9


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



Note1: For igi's method you also need to copy language.txt to the new folder.

Note2: BG1Tutu doesn't like igi's method.

This post has been edited by Idobek: Mar 30 2004, 06:52 AM


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
Bren
post Mar 30 2004, 08:17 AM
Post #10





Group: Members
Posts: 87
Joined: 30-March 04
From: USA
Member No.: 125



I do something a little different to create multiple installations for TDD, TS and beta testing. I will say first off that I have a 250 gig hd, so space was not an issue for me and my OS is WinXP.

Base installation: A Manual full install SoA, a full install of ToB, Official Patch-(latest release), Baldurdash fixes-(latest release). Then configure how you like, tweak baldur.ini if desired, and add any portraits, scripts, characters, etc. to the appropriate folders. (Bioware has instructions on thier site for doing a full manual install if you are having problems getting it to work on WinXP - http://www.bioware.com/games/shadows_amn/s.../known_issues/)

Game path: C:\Program Files\Black Isle\BG II - SoA. I made multiple copies of the main BG II - SoA folder. I have in the Black Isle folder now BG II - SoA, Original BG II - SoA, TDD BG II - SoA, TS BG II - SoA, and several others for the romance mods I'm beta testing. All I have to do is rename two folders to install/test a new mod or to switch games. This has worked for me without any complications. Haven't had to reinstall the game in a long time and if a mod messes up the game, I just delete that folder. Make more copies of the main installation as needed. About your post above - I'm glad to see a tool that will create multiple installations is being considered.
Go to the top of the page
 
+Quote Post
igi
post Mar 30 2004, 10:41 AM
Post #11


IESDP Guardian
Group Icon

Group: Gibberlings
Posts: 1016
Joined: 7-March 04
Member No.: 106



Idobek: I tried getting something from dialogf.tlk, but it didnt show in the game. Still, it might not have been the correct circumstance, I'm not 100% sure when it's actually used.

As for bg1tutu, yeah, I doubted it would work, but it was worth trying.

Bren: Yeah, thats a good method, but we dont all have 250gb HDDs. We're trying to use as little space as possible for each install (well, I am a least).


--------------------
Visit the TeamBG forums
Visit the IESDP www.iesdp.info
Go to the top of the page
 
+Quote Post
Idobek
post Mar 30 2004, 02:34 PM
Post #12


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



QUOTE (igi @ Mar 29 2004, 12:27 PM)
You can make a local \data dir if you want, and place any files you think wil be REQUIRE'd in there, it will make no difference to the game.
It makes no difference to the game or WeiDU but NI and DLTCEP don't like it

This post has been edited by Idobek: Mar 30 2004, 02:38 PM


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
igi
post Mar 30 2004, 03:13 PM
Post #13


IESDP Guardian
Group Icon

Group: Gibberlings
Posts: 1016
Joined: 7-March 04
Member No.: 106



QUOTE
It makes no difference to the game or WeiDU but NI and DLTCEP don't like it


Maybe they could be modified in some way, to read the data from where we put it, rather than assuming its where its meant to be? I'll ask go suggest it.
This method seems to cause a quite bit of trouble sad.gif Still, you can save like.. 200 entire MB!! Or something. Anyway, I like it smile.gif


--------------------
Visit the TeamBG forums
Visit the IESDP www.iesdp.info
Go to the top of the page
 
+Quote Post
Idobek
post Mar 30 2004, 03:34 PM
Post #14


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



QUOTE
This method seems to cause a quite bit of trouble  sad.gif  Still, you can save like.. 200 entire MB!! Or something. Anyway, I like it  smile.gif
Its more like a gig. I like it as well. At 200megs (including music) per install its hard to argue against. It has a couple of drawbacks but nothing that can't be overcome or worked around (except the tutu thing).


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post
Idobek
post Mar 30 2004, 03:38 PM
Post #15


Dust Bunny
Group Icon

Group: Retired Gibberlings
Posts: 1001
Joined: 28-February 04
From: England
Member No.: 100



Clarification: NI and DLTCEP only have a problem if you have dummy files in a dummy data folder (just the folder is okay) otherwise they work like a charm.

This post has been edited by Idobek: Mar 30 2004, 03:38 PM


--------------------
<SimDing0> Did you know G3 has secret forum rules?
<CamDawg> Yep. They're generally of the nature 'don't annoy Idobek.'
Go to the top of the page
 
+Quote Post

4 Pages V   1 2 3 > » 
Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 8th February 2010 - 08:24 PM