Posted: Mon Jun 15, 2009 8:49 pm
:: Change this only! Must be the same as the subfolder name
@Set mod=Ergo's_Fixpack
::--------------------------------------------------------------
:: Nothing needs to be changed below
::--------------------------------------------------------------
@set backup=%mod%.bak
:: Title of the mod when the batch starts
@echo == Installing Modification: %mod% ==
@echo off
echo.
set pfad=.
set dsroot=.
SET dsroot=c:\Program Files\drakensang\export\
SET pfad=%dsroot%export\db
if exist %pfad%\static.db4 goto okay
Echo The path to "Drakensang\export\db\static.db4"
Echo couldn't be read from the Registry!
Echo.
Echo To install, please copy all the mod's files and folders
Echo to the folder "Drakensang\export\db\", and start
Echo "Install-English.bat" again there.
Goto End
kay
SET version=1.03
Echo Drakensang v%version%
Echo Drakensang installation folder found:"%pfad%"
echo.
echo Creating backups...
if not exist %pfad%\static.db4.(%version%)%backup% copy %pfad%\static.db4 %pfad%\static.db4.(%version%)%backup%
if not exist %pfad%\locale.db4.(%version%)%backup% copy %pfad%\locale.db4 %pfad%\locale.db4.(%version%)%backup%
if not exist %pfad%\game.db4.(%version%)%backup% copy %pfad%\game.db4 %pfad%\game.db4.(%version%)%backup%
echo Updating %pfad%\static.db4...
%mod%\sqlite3 %pfad%\static.db4<%mod%\static.sql
echo Updating %pfad%\locale.db4...
%mod%\sqlite3 %pfad%\locale.db4<%mod%\locale.sql
echo Updating %pfad%\game.db4...
%mod%\sqlite3 %pfad%\game.db4<%mod%\game.sql
echo Copying new icons...
mkdir %dsroot%export\textures\icons
mkdir %dsroot%export\textures\armor
copy %mod%\textures\icons\*.* %dsroot%export\textures\icons /Y
copy %mod%\textures\armor\*.* %dsroot%export\textures\armor /Y
copy %mod%\game.ico %dsroot%\ /Y
echo.
Echo Installation finished.
:End
echo.
pause
Ok this is my .bat file and it's not installing. Any help? I tried the manual install too.. wouldn't work. I wanna try this mod so badly!
@Set mod=Ergo's_Fixpack
::--------------------------------------------------------------
:: Nothing needs to be changed below
::--------------------------------------------------------------
@set backup=%mod%.bak
:: Title of the mod when the batch starts
@echo == Installing Modification: %mod% ==
@echo off
echo.
set pfad=.
set dsroot=.
SET dsroot=c:\Program Files\drakensang\export\
SET pfad=%dsroot%export\db
if exist %pfad%\static.db4 goto okay
Echo The path to "Drakensang\export\db\static.db4"
Echo couldn't be read from the Registry!
Echo.
Echo To install, please copy all the mod's files and folders
Echo to the folder "Drakensang\export\db\", and start
Echo "Install-English.bat" again there.
Goto End
kay
SET version=1.03
Echo Drakensang v%version%
Echo Drakensang installation folder found:"%pfad%"
echo.
echo Creating backups...
if not exist %pfad%\static.db4.(%version%)%backup% copy %pfad%\static.db4 %pfad%\static.db4.(%version%)%backup%
if not exist %pfad%\locale.db4.(%version%)%backup% copy %pfad%\locale.db4 %pfad%\locale.db4.(%version%)%backup%
if not exist %pfad%\game.db4.(%version%)%backup% copy %pfad%\game.db4 %pfad%\game.db4.(%version%)%backup%
echo Updating %pfad%\static.db4...
%mod%\sqlite3 %pfad%\static.db4<%mod%\static.sql
echo Updating %pfad%\locale.db4...
%mod%\sqlite3 %pfad%\locale.db4<%mod%\locale.sql
echo Updating %pfad%\game.db4...
%mod%\sqlite3 %pfad%\game.db4<%mod%\game.sql
echo Copying new icons...
mkdir %dsroot%export\textures\icons
mkdir %dsroot%export\textures\armor
copy %mod%\textures\icons\*.* %dsroot%export\textures\icons /Y
copy %mod%\textures\armor\*.* %dsroot%export\textures\armor /Y
copy %mod%\game.ico %dsroot%\ /Y
echo.
Echo Installation finished.
:End
echo.
pause
Ok this is my .bat file and it's not installing. Any help? I tried the manual install too.. wouldn't work. I wanna try this mod so badly!