Volume 2 VMs & Self Installer

From OuroDev

Ouroboros v2i2.01 self installer and VM images

Download links

These are torrent links, you will need a bittorrent client such as qbittorrent to download these.
  1. Self installer
  2. Installer for Windows 7
  3. XAMPP with user portal and manifest file pre-configured for self installer

Self installer

Introduction

This package has been created in response to the need for an easy to deploy version of COH server which can be set up on an existing system. This has been developed and actively tested on Server 2012r2, Server 2016 and Windows 10. The installer should work on any server version 2012 and above, and any windows Version 8 and above, it will work with 64bit operating systems only.
It is based on Ouroboros v2i2.01

How to install

Within the COH directory you will find this ReadMe.txt file along with an InitialSetup.bat script, unzip the whole contents of the zip file into a folder on your computer. Run the InitialSetup.bat to start the installation process.

What Initial Setup does

InitialSetup.bat is a script that will prepare your computer to run the COH server, it calls Script.ps1 which performs the following actions.
  1. Installs SQL Local DB
  2. Installs ODBC v13 for SQL
  3. Installs ODBC v17 for SQL
  4. Installs SQL command line tools
  5. Installs C++ Runtimes (2015 - 2019)
  6. Creates the SQL databases for COH
  7. Creates a default instance of COH called Ouroboros
  8. Adds firewall rules for the server

After install

In the COH folder after install you will find shortcuts to:
Configure_Your_Server
This allows you to set / change the IP address and Server name for your server, by default this is set for local computer play, but this can be changed to LAN or Internet play through this menu, the default server name is Ouroboros
Account_Tool
This launches a slightly modified version of the COHDBTool10 which allows you to create accounts for your server and manage existing accounts, characters and petitions. Note: This will only work after you have loaded the server for the first time as the server builds the database this application needs.
Startup_Server
This script launches the server without any maps pre-loaded. Users may experience a short delay on entering into a new zone for the first time as the server loads the requested map.
Startup_Server_All_Maps
This script launches the server with all of the listed maps. This enables your players to zone more quickly, but uses a lot more memory in your server, recommended for systems with 32GB of RAM or more.
Stop_Server
This script shuts down the server applications.
Client
This script launches the client and connects it to your server.

Playing on other computers

Share the Client directory with anyone you would like to be able to connect to your server, they will need to create a shortcut to ouroboros.exe with -auth <yourip> -patchdir ouro -noversioncheck in the target path.

SQL Details

The connection string of your DB is (LocalDB)\MSSQLLocalDB with a trusted connection.

Upgrading the Self Installer

Download the new verion of the self installer
From your current COH folder delete the Client and Server folders only, leave the shortcuts, setup, and COHDBTool folders as they are
Copy the Client and Server folders from the new download into the COH folder
Run the Configure My Server shortcut from the COH folder and re-select your correct settings
Share the client folder with anyone who has the old version so they can replace it
Play COH with the new version

Installer for Windows 7

Introduction

This is a patcher to get the Ouroboros v2i2 installer up and running on a Windows 7 machine. As there are significant differences in powershell and compatible SQL versions between Windows 7 and later versions of Windows the self installer cannot work with Windows 7. This package, whilst less elegant than the self installer, will at least get you up and running without too much work.

Pre-requsites

This assumes that you have already downloaded and extracted the self installer (Ouroboros_v2i201_self_installer.7z) onto your computer.

Installation Steps

  1. Unpack the contents of this 7z into the COH folder so you should then have:
    • Server
    • Client
    • CPHDBTool10
    • Setup
    • COHWindows7
  2. Open the COHWindows7 folder, you will find three scripts:
    • 1 - Install apps.bat
    • 2 - Setup DB.bat
    • 3 - Firewall rules (run as admin).bat
  3. Run the "1 - install apps.bat" file, you will need to follow through each prerequsite installer accepting the default options.
  4. Once that is complete you can run "2 - Setup DB.bat"
  5. At this point you may need to modify the shortcut files, the files have been generated with a base install location of c:\COH, you will need to modify these to your chosen folder path.
  6. If you plan to only play locally then you are done at this point and you can use the server as you would have following the ReadMe that came in the original zip.

Network Setup

If you want to go for network play then you will need to run "3 - Firewall rules (run as admin).bat", run this as Administrator by right clicking on it and choosing the "Run as Administrator" option.

XAMPP with user portal and manifest file pre-configured for self installer

Introduction

This is a basic setup of an XAMPP installation with a COH user portal and manifest file for the Ouroboros v2i2.01 self installer. You will receive messages about the site being insecure, these can be ignored, however it is recommended you look into setting up SSL, to do this you can follow the guide on the followning link https://wiki.ourodev.com/view/Account_Portal

Pre-requsites

This assumes that you have already downloaded and installed the self installer (Ouroboros_v2i201_self_installer.7z) onto your computer.

Installation Steps

  1. Extract the xampp_for_V2_Self_Installer.7z file onto your computer, it is recommended that you don't use the "program files" directories or any other protected locations as these have special permissions which can cause problems with XAMPP.
  2. Open the XAMPP folder and run setup_xampp.bat, choose option 1 to refresh settings.
  3. Run xampp-control.exe
  4. On the line for Apache, press start
You should now be able to browse to the portal page at http://127.0.0.1

Further Configuration

There is a folder xampp\htdocs, within this folder you will find a file called manifest.xml, this is a manifest file which you can configure for your users.

You will need to copy the client files to the location you specify in this file.

You may also want to add creamsoda and/or tequila to this folder and edit index.php to reflect the connection options your users will need to use.

Windows 7

This setup will need modifying to work with Windows 7, you will need to edit the functions.php, change the line:
$serverName = "(localdb)\mssqllocaldb";
to read:
$serverName = "(localdb)\v11.0";

Network Configuration

In the case of Internet access for this site, you will need to open or redirect ports on your computer and router, and forward them to the LAN IP of the VM. Unfortunately, we cannot script the opening of the ports for you as the procedure will vary on the make and model of your router.
The ports you will need to open / forward are
tcp 80
tcp 443