Automated Installation added
This commit is contained in:
parent
0b23e69936
commit
448857545b
47
Install.bat
Normal file
47
Install.bat
Normal file
@ -0,0 +1,47 @@
|
||||
@echo off
|
||||
title ExtDB3 Automatic Installer
|
||||
echo Welcome, This cmdline applet will automaticaly download and install the ExtDB3 upgrade for exile.
|
||||
echo Welcome, This DOES NOT update your mission file, that must be done by you.
|
||||
pause
|
||||
set mypath=%cd%
|
||||
mkdir @ExileServer\sql_custom\
|
||||
mkdir @ExileServer\logs\
|
||||
powershell -command "& { iwr https://bitbucket.org/torndeco/extdb3/downloads/extDB3-1028.7z -OutFile tmp.7z }"
|
||||
7z x tmp.7z -o*
|
||||
xcopy /Y tmp\@extDB3\* @ExileServer\ /e /i /C
|
||||
del tmp\*.txt
|
||||
xcopy /Y tmp\*.dll "%mypath%"
|
||||
@echo off
|
||||
cls
|
||||
title Extdb3 Auto Configuration Utility.
|
||||
echo Welcome, this tool will help you configure your copy of extdb3
|
||||
set /p ip=Database ip ;
|
||||
set /p dbn=Database Name (SchemaName) ;
|
||||
set /p user=Database Username ;
|
||||
set /p pass=Database Password ;
|
||||
echo [Main] > "@ExileServer\extdb3-conf.ini"
|
||||
echo Version = 1 >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Randomize Config File = false >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Randomizes Config File after loading. >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Recommend to turn on, if you have enabled filepatching on arma. >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Allow Reset = false >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Allows 9:RESET, usefull for development work >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Thread = 0; >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Option to force number of worker threads for extDB3. >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Min = 2, Max = 6 >> "@ExileServer\extdb3-conf.ini"
|
||||
echo [Log] >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Flush = true; >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Flush logfile after each update. >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; Option really only usefull if running DEBUG BUILD >> "@ExileServer\extdb3-conf.ini"
|
||||
echo [exile] >> "@ExileServer\extdb3-conf.ini"
|
||||
echo IP = %ip% >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Port = 3306 >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Username = %user% >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Password = %pass% >> "@ExileServer\extdb3-conf.ini"
|
||||
echo Database = %dbn% >> "@ExileServer\extdb3-conf.ini"
|
||||
echo ;; This File was automaticaly generated durring the install of extdb3 >> "@ExileServer\extdb3-conf.ini"
|
||||
del tmp.7z
|
||||
rmdir /Q /S tmp
|
||||
echo Install complete, Please ensure you have updated your mission file and your sql_custom file to match the requirements.
|
||||
echo Refer to the install guide automated installation section for further installation steps.
|
||||
pause
|
24
README.md
24
README.md
@ -1,4 +1,5 @@
|
||||
# Exile 64bit Edition How to install FOR EXILE 1.0.3
|
||||
Before you begin: If you are running a dedicated Exile Server ON WINDOWS, and have full rdp access, Read the #automated install section of this readme
|
||||
1. Open your @ExileServer Folder and delete the following files : extDB2.dll , extDB2.so , extDB2-conf.ini , XM8.dll , XM8.so
|
||||
2. Download the git release of the Exdb3 Exile patch (https://github.com/BrettNordin/Exile) Press the clone/download button.
|
||||
3. Copy the Exile server file into the server directory
|
||||
@ -27,4 +28,25 @@ class CfgExileCustomCode
|
||||
11. Run the Mysql Querys in the "Exile_Database_Update_64x.sql" file to properly update your database.
|
||||
12. Boot up your server and see if it works. If it does not work then go to your logs folder and find the error code and leave a message here and I'll get to you.
|
||||
|
||||
If you run into trouble you can look in the Examples folder and see what the mission file should look like with just the overrides installed.
|
||||
#Automated Installer (Still in Testing)
|
||||
You can download this git and copy all the files into the ROOT server folder, then run install.bat. Once you have finished going through the installation you may now follow the steps below:
|
||||
1. Open your @ExileServer Folder and delete the following files : extDB2.dll , extDB2.so , extDB2-conf.ini , XM8.dll , XM8.so
|
||||
2. Copy the exile mission folder CONTENTS INTO your mission file.
|
||||
3. open your config.cpp and do the following:
|
||||
|
||||
In your config.cpp
|
||||
Add: #include "CfgExileCustomCode.cpp"
|
||||
Into:
|
||||
class CfgExileCustomCode
|
||||
{
|
||||
};
|
||||
|
||||
It will look like this in the end:
|
||||
class CfgExileCustomCode
|
||||
{
|
||||
#include "CfgExileCustomCode.cpp"
|
||||
};
|
||||
4. Exit the Exile.ini file to match any changes in your older exile.ini
|
||||
SIDENOTE: the new exile.ini no longer contains the lines with "Number of Inputs = #" (# is refering to any number within the file on this line)
|
||||
5. Run the Mysql Querys in the "Exile_Database_Update_64x.sql" file to properly update your database.
|
||||
6. Boot up your server and see if it works. If it does not work then go to your logs folder and find the error code and leave a message here and I'll get to you.
|
Loading…
Reference in New Issue
Block a user