Two thumbs up for the idea, but because modding is generally in flux, it would be best not to do patched-up mega-mods like big-world. Intuitively, that approach would give rise to a lot of maintenance work and likely a lot of bugs. Since the
weidu-format is already robust and stable, a simple command-line clean auto installer would be effective enough. Seriously, I dont really care if i'm using
weidu 2.00 or 2.01 as long as the job gets done.
Perhaps, if you are gog to do it anyway, it would be less painful to design like this:
The autoinstaller comprises 3 basic files, nothing fanciful:
[a] autosetup.bat - command-line driven file that performs the tasks below
[b] modlist-ver1245.txt - stores (1) list of mods in sequence (2) MD5hashes (3) mod-components to install for each mod
[c] checksum.exe - performs the MD5 hash-checking using file modlist-ver1245txt
First the user has to install
BG+TOSC,
BG2+
TOB & the official patches.
Directory structure is something like this:
+ <Program Files>
----+ <Baldur's Gate>
----+ <Shadows of Amn>
--------+ <MODS>
--------+ <BACKUP>
--------+ <data>
--------+ <override>
--------+ dialog.tlk
--------+ ......
The user should dump all the relevant mods into <MODS> directory
Using winrar's command-line interface, the auto installation tasks by autosetup.bat would be:
[a] run checksum dialog.tlk to ensure that it is a clean installation.
[b] run checksum all the mods in <MODS> using MD5-hash in modlist-ver1245.txt
[c] any other verification tasks, if necessary.
[d] run WINRAR-COMPRESS <data>, <override>, dialog.tlk and other relevant files to <BACKUP> directory
[e] For each mod in modlist-ver1245.txt
----{
run WINRAR-EXTRACT <Shadows of Amn>\<MODS>\modfile to <Shadows of Amn>
run
weidu's "--force-install-rest X Y..." command based on modlist-ver1245.txt
----}
To uninstall:
[a] delete any file/folder that is not supposed to be in a clean installation
[b] delete
weidu.log
[c] run WINRAR-EXTRACT <data>, <override>, dialog.tlk from <BACKUP>
Maintainability:
[a] only revisions required for modlist-ver1245.txt
[b] no mega-mod patching. Leave the patching to modders. Add only compatible mods into the mega-list.
Kudos to whoever does a simple installer like this, rather than one like BigWorld where I have to read 150 pages to install the mega-mods. I love
BG, but haven't much time to play nowadays
Edited by bigmoshi, 04 December 2007 - 07:16 AM.