Posted by: Cahir
« on: April 09, 2014, 07:39:45 AM »I install all my mods manually:) Unpack them to game folder first and then fire up the setups. But hey, I'm oldschool:p
Now that we've got BG2EE and BG2EE versions of the mods for our players, I've been wondering - is it possible to make NSIS install the mod straight into BG2EE directory? And is it possible to insert several regpaths to NSIS installer, so it could choose BG2EE or BG2(if BG2EE isn't installed and regular good old BG2 is)?You know, you could just go and package the mods to a .zip format as the unarchiving tool comes in all the Windows'es... and you wouldn't need to package them into hostile combat formats. The Assassinations_v10.zip package is probably the stupidest packaged mod ever... why is it packaged in a two layers ? The two readme's ... the one should be in the mod folder and opened with the .tp2 action at the start of the install if so desired ... its saving grease is that it doesn't contain an ALWAYS block. Including one in a NSIS installer is a capital offense. Well, unless it's there just to make sure the weidu.exe is updated, but for anything else... it's like a death sentence.
# [Finding the BGII install path]
# This will scan your registry for the BG2Main.exe entry, and thus find the path to BG2. I'm sure BioWare has the registry keys for the other games online somewhere. IWD and BG1 and whatnot.
InstallDirRegKey HKLM \
"Software\Microsoft\Windows\CurrentVersion\App Paths\BG2Main.Exe" \
"Path"
@echo off
cd MyMod\Audio
oggdec a#cr*.ogg
move *.wav ..\..\override