Skip to content

Manual installation (advanced)

thevisad edited this page Mar 3, 2013 · 1 revision
  1. Run setup_perl.bat. If you are prompted to provide a schema path, press enter to continue. If you are prompted Yes/No to run tests, type "n" and press Enter.

  2. Run perl build.pl --world <world> --instance <id> in Repository, replacing <world> with a valid world name and <id> with an integer representing the instance ID. If you only run one server, you may omit the --instance parameter from the command. If --world is omitted, the default is Chernarus. Use perl build.pl --list to get a list of available worlds and optional packages and run perl build.pl --help for additional information on how to use build.pl.

  3. Copy all files from Repository\deploy into ArmA2\

  4. For this step, you will need to use one of several MySQL administrative utilities to execute some SQL queries. These utilities include the MySQL Command Line Interface (which is bundled with the MySQL Server install for Windows) and various free and commercial GUI utilities. We recommend HeidiSQL if you want a graphical interface (http://www.heidisql.com/). Once you have connected to your database as the root user (you set the password for this user when you installed MySQL Server), execute the following SQL queries (be sure to change the password in the second query from CHANGEME):

     create database dayz;
     create user 'dayz'@'localhost' identified by 'CHANGEME';
     grant all privileges on dayz.* to 'dayz'@'localhost';
    
  5. Run perl db_migrate.pl --password CHANGEME from the Repository directory. Replace CHANGEME with the password you chose in the previous step. Use the --help flag to get more information on how to set the hostname, username, or database name to suit your needs.

  6. Ensure that the database information in Config\HiveExt.ini match the database details you used in the previous step.

  7. If you would like to customize the server time, change the pertinent options in Config\HiveExt.ini.

  8. Adjust server name/passwords as desired in Config\config_deadbeef.cfg. (deadbeef is a randomly generated string)

  9. If you would like to customize the starting loadout, it is highly recommended that you use the Reality Inventory manager located here http://opendayz.net/index.php?threads/reality-dayz-inventory-manager-c.6835/ You may also run perl db_utility.pl loadout <inventory> <backpack>, replacing <inventory> with a valid inventory string and <backpack> with a valid backpack string. We will NOT support users who attempt to manually create inventory or backpack strings due to complexity of the strings. Some examples:

Description Inventory Backpack
Default [] ["DZ_Patrol_Pack_EP1",],[,],[]
Survival "ItemMap","ItemCompass","ItemMatchbox","FoodCanBakedBeans","ItemKnife","FoodCanBakedBeans"],["ItemTent","ItemBandage","ItemBandage" ["DZ_Patrol_Pack_EP1",],[,],[]
PvP "Mk_48_DZ","NVGoggles","Binocular_Vector","M9SD","ItemGPS","ItemToolbox","ItemCompass","FoodCanBakedBeans","ItemMap","ItemWatch"],[["100Rnd_762x51_M240",47],"ItemPainkiller","ItemBandage","15Rnd_9x19_M9SD","100Rnd_762x51_M240","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine" ["DZ_Backpack_EP1",],[,],[]
10. Ensure the required client mods are present in **ArmA2**\\. Refer to the following table for specific information based on your desired world.
World World Name (Database) World ID Mod Folders Version Download
Chernarus chernarus 1 @dayz 1.7.6.1 RAR
DayZ Lingor Island lingor 2 @dayzlingorskaro 2.1 RAR
Utes utes 3 @dayz 1.7.6.1 RAR
DayZ Invasion 1944 i44.chernarus 17 @DayZ_i44 @I44 @CBA @CBA_A2 @CBA_OA @CBA_CO 0.2.0 ZIP
11. If you are using a world other than Chernarus, run `perl db_utility.pl setworld `, where `` is the name of the world you specified when running `build.pl`. 12. Run **ArmA2**\\Restarter.exe to start the server.