I25 Community Virtual Machines: Difference between revisions

From OuroDev
No edit summary
Line 1: Line 1:
Take a look at the [[i25_FAQ|Frequently Asked Questions]] to configure your server once it's up.
Take a look at the [[i25_FAQ|Frequently Asked Questions]] to configure your server once it's up.


== i26 Production VM ==
==i26 Production VM==
=== VM containing a game server, source, data and development tools ===
===Hyper-V VM containing a game server, source, data and development tools===


* [magnet:?xt=urn:btih:dcc5041c6b0b39f9d149a5d1383a4ece4e120459&xt=urn:btmh:1220c47406fcbaa385937b89ed94221930b6f07c4c4adcf061f6ec5328ab4433a7ee&dn=I26ProductionHyperV.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce i26 Production VM]
*[magnet:?xt=urn:btih:dcc5041c6b0b39f9d149a5d1383a4ece4e120459&xt=urn:btmh:1220c47406fcbaa385937b89ed94221930b6f07c4c4adcf061f6ec5328ab4433a7ee&dn=I26ProductionHyperV.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce i26 Production VM]


== Version Three ==
==Version Three==
=== Community VM v3 (SCoRE/i26) Windows 2012 R2 Images ===
===Community VM v3 (SCoRE/i26) Windows 2012 R2 Images===
[[File:I26 community vm v3.jpg|thumb]]
[[File:I26 community vm v3.jpg|thumb|link=Special:FilePath/I26_community_vm_v3.jpg]]


* [magnet:?xt=urn:btih:fdf01e5351979ba742ca01e1be60b353730eb9f8&dn=COH%20Server%202012r2%20i26%20VM3%20-%20Hyper-V.7z&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce Community VM v3, Hyper-V (SCORE/i26)]
*[magnet:?xt=urn:btih:fdf01e5351979ba742ca01e1be60b353730eb9f8&dn=COH%20Server%202012r2%20i26%20VM3%20-%20Hyper-V.7z&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce Community VM v3, Hyper-V (SCORE/i26)]
<pre>
<pre>
[MD5] efbd6402d7cdb38b0fca419a1faf4ff0
[MD5] efbd6402d7cdb38b0fca419a1faf4ff0
Line 18: Line 18:
</pre>
</pre>


* [magnet:?xt=urn:btih:23cc7088150db5dafc58a9e6adb48db1c9700a7b&dn=COH%20Server%202012r2%20i26%20VM3%20-%20VMWare.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce Community VM v3, VMWare (SCORE/i26)]
*[magnet:?xt=urn:btih:23cc7088150db5dafc58a9e6adb48db1c9700a7b&dn=COH%20Server%202012r2%20i26%20VM3%20-%20VMWare.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce Community VM v3, VMWare (SCORE/i26)]
<pre>
<pre>
[MD5] 27be326f980078940b8cf3c58dc0e2df
[MD5] 27be326f980078940b8cf3c58dc0e2df
Line 28: Line 28:
This is an update to the v2 Community VMs that updates the server to the latest publicly available i26 data and binaries.
This is an update to the v2 Community VMs that updates the server to the latest publicly available i26 data and binaries.


== Version Two ==
==Version Two==
=== Community VM v2 (SCoRE/i25) Windows 2012 R2 Images ===
===Community VM v2 (SCoRE/i25) Windows 2012 R2 Images===
[[File:I25 Community Server.png|thumb]]
[[File:I25 Community Server.png|thumb|link=Special:FilePath/I25_Community_Server.png]]


* [magnet:?xt=urn:btih:fe43bcae764f81c4090a5ea1d0114c18e0f4411d&dn=Win%202012%20R2%20-%20City%20of%20Heroes.7z Windows 2012 R2 HyperV Image]
*[magnet:?xt=urn:btih:fe43bcae764f81c4090a5ea1d0114c18e0f4411d&dn=Win%202012%20R2%20-%20City%20of%20Heroes.7z Windows 2012 R2 HyperV Image]
<pre>
<pre>
[MD5] EBCBF234CCAD4D1DE84164E397B43C8D
[MD5] EBCBF234CCAD4D1DE84164E397B43C8D
Line 40: Line 40:
</pre>
</pre>


* [magnet:?xt=urn:btih:eea1111447a96909b027d590f047c9b9b6db7a8f&dn=Win%202012%20R2%20-%20City%20of%20Heroes%20-%20VMWare.7z Windows 2012 R2 VMWare Image]
*[magnet:?xt=urn:btih:eea1111447a96909b027d590f047c9b9b6db7a8f&dn=Win%202012%20R2%20-%20City%20of%20Heroes%20-%20VMWare.7z Windows 2012 R2 VMWare Image]
<pre>
<pre>
[MD5] 1CCA24A1CF03C00161F79CA43D9E748B
[MD5] 1CCA24A1CF03C00161F79CA43D9E748B
Line 50: Line 50:
This is a full deployment of the i25 server with an XAMPP instance for Tequila and several useful tools. It is based on Windows Server 2012 R2 Standard. The default login is {{ms|Administrator}} and {{ms|coh123!}}
This is a full deployment of the i25 server with an XAMPP instance for Tequila and several useful tools. It is based on Windows Server 2012 R2 Standard. The default login is {{ms|Administrator}} and {{ms|coh123!}}


=== VM v2 Setup ===
===VM v2 Setup===
----
----
: These steps are common between both version of the v2 VM.
 
:: If your {{ms|Start It Up.bat}} is in C:\COH\bin then your AuthServer will not start. Make sure to place it in C:\COH. Cutting and pasting it in Windows Explorer will update the shortcuts on the desktop appropriately.
:These steps are common between both version of the v2 VM.
:: {|{{ms|Start It Up.bat}}
::If your {{ms|Start It Up.bat}} is in C:\COH\bin then your AuthServer will not start. Make sure to place it in C:\COH. Cutting and pasting it in Windows Explorer will update the shortcuts on the desktop appropriately.
<syntaxhighlight lang="bat">  
::<syntaxhighlight lang="bat">  
@echo off
@echo off
echo Starting Auth Server
echo Starting Auth Server
Line 68: Line 68:
echo Everything should be launched! Go enjoy COH.
echo Everything should be launched! Go enjoy COH.
TIMEOUT 10
TIMEOUT 10
</syntaxhighlight>  
</syntaxhighlight> {| {{ms|Start It Up.bat}}  |}
|}
:On your system, create a shortcut to the client's score.exe with the following parameters in the Target line {{ms|-patchdir score -patchversion 2019.04.19 -auth <VM IP> -noversioncheck}}
: On your system, create a shortcut to the client's score.exe with the following parameters in the Target line {{ms|-patchdir score -patchversion 2019.04.19 -auth <VM IP> -noversioncheck}}


:* You'll need to update the database for your public IP Address. Open the SQL Manager from the shortcut on the desktop, right click on the database, select New Query, paste the following query and execute it (change {{ms|YOURPUBLICIP}}):
:*You'll need to update the database for your public IP Address. Open the SQL Manager from the shortcut on the desktop, right click on the database, select New Query, paste the following query and execute it (change {{ms|YOURPUBLICIP}}):
:** {{ms|1 = UPDATE cohauth.dbo.server SET ip = 'YOURPUBLICIP' WHERE ID = 1;}}
:**{{ms|1 = UPDATE cohauth.dbo.server SET ip = 'YOURPUBLICIP' WHERE ID = 1;}}
:* You'll also need to update C:\COH\data\server\db\servers.cfg
:*You'll also need to update C:\COH\data\server\db\servers.cfg
:** {{ms|RouteIp YOURPUBLICIP}}
:**{{ms|RouteIp YOURPUBLICIP}}
:* If you're feeling frisky update C:\COH\data\server\db\loadBalanceShardSpecific.cfg, however this is optional:
:*If you're feeling frisky update C:\COH\data\server\db\loadBalanceShardSpecific.cfg, however this is optional:
:** {{ms|HostRange 192.168.1.0 192.168.1.255}}
:**{{ms|HostRange 192.168.1.0 192.168.1.255}}


=== Included Community Tools ===
===Included Community Tools===
----
----
; @DarkSynopsis - COHDBTools (accessible at https://localhost/CoHDBTool/ in the VM)
 
: {|
;@DarkSynopsis - COHDBTools (accessible at https://localhost/CoHDBTool/ in the VM)
<syntaxhighlight lang="text">  
:<syntaxhighlight lang="text">  
  Manage Shards
  Manage Shards
   
   
Line 95: Line 94:
   Import character
   Import character
   Change character access level
   Change character access level
</syntaxhighlight>  
</syntaxhighlight> {|  |}
|}




; @Crust Fire - Config Generation
;@Crust Fire - Config Generation
: {|
:<syntaxhighlight lang="text">  
<syntaxhighlight lang="text">  
  MakeAccount (accessible at https://localhost/CrustFire/MakeAccount.php in the VM)
  MakeAccount (accessible at https://localhost/CrustFire/MakeAccount.php in the VM)
   Generates SQL for making accounts.
   Generates SQL for making accounts.
Line 107: Line 104:
  MakeConfigs (accessible at https://localhost/CrustFire/MakeConfigs.php in the VM)
  MakeConfigs (accessible at https://localhost/CrustFire/MakeConfigs.php in the VM)
   Generates basic configuration files.
   Generates basic configuration files.
</syntaxhighlight>  
</syntaxhighlight> {|  |}
|}




; @Aleena - Account Portal (accessible at https://localhost/ in the VM)
;@Aleena - Account Portal (accessible at https://localhost/ in the VM)
: {|
:<syntaxhighlight lang="text">  
<syntaxhighlight lang="text">  
  Allow users to sign up for their own account with custom password.
  Allow users to sign up for their own account with custom password.
   Users can also change their password on the portal.
   Users can also change their password on the portal.
Line 122: Line 117:
   
   
  Displays needed command line parameter to clients.
  Displays needed command line parameter to clients.
</syntaxhighlight>  
</syntaxhighlight> {|  |}
|}


== Version One ==
==Version One==
=== Community VM v1 (SCoRE/i25) "Freedom" Windows 10 LTSB Image ===
===Community VM v1 (SCoRE/i25) "Freedom" Windows 10 LTSB Image===


* [magnet:?xt=urn:btih:B82416B2F87ABA9805AAECAE099B47DEBF0249E9&dn=Freedom.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce 'Freedom' Virtual Machine]
*[magnet:?xt=urn:btih:B82416B2F87ABA9805AAECAE099B47DEBF0249E9&dn=Freedom.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce 'Freedom' Virtual Machine]


<pre>
<pre>
Line 136: Line 130:
</pre>
</pre>


=== v1 Solo Play Instructions ===
===v1 Solo Play Instructions===
# Download [https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html VMWare Player]
# Add the VM to VMWare Player
# Once inside of Windows on the VM
#*    - Start Menu -> start dbserver -> start launcher
#*    - Right click the Start Menu, open a command prompt, and run the following<syntaxhighlight>powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</syntaxhighlight>
# On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck


== Setting Up a VM From a Downloaded Image ==
#Download [https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html VMWare Player]
=== HyperV Instructions ===
#Add the VM to VMWare Player
#Once inside of Windows on the VM
#*- Start Menu -> start dbserver -> start launcher
#*- Right click the Start Menu, open a command prompt, and run the following<syntaxhighlight>powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</syntaxhighlight>
#On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck
 
==Setting Up a VM From a Downloaded Image==
===HyperV Instructions===
----
----
# Add the VM to HyperV
 
## Add new Virtual Machine
#Add the VM to HyperV
## Select Next and name the Name. Click Next
##Add new Virtual Machine
## Select Generation 2 and next.
##Select Next and name the Name. Click Next
## Set memory to 8192 or higher and click next.
##Select Generation 2 and next.
## Select your HyperV LAN connection and click next.
##Set memory to 8192 or higher and click next.
## Choose "Use Existing Virtual Hard Disk" and navigate to the supplied VHDX. Click Finish.
##Select your HyperV LAN connection and click next.
## Right click on the new Virtual Machine and pick settings.
##Choose "Use Existing Virtual Hard Disk" and navigate to the supplied VHDX. Click Finish.
## Increase the number of processors supplied to the VM to at least 4. Click Ok.
##Right click on the new Virtual Machine and pick settings.
## Right click on the virtual machine and click start.
##Increase the number of processors supplied to the VM to at least 4. Click Ok.
# Once inside of Windows on the VM
##Right click on the virtual machine and click start.
## Follow the ReadMe on the desktop.
#Once inside of Windows on the VM
## Once finished with the ReadMe. Click "Start Up The Server" on the desktop. It should start up all the required programs.
##Follow the ReadMe on the desktop.
##Once finished with the ReadMe. Click "Start Up The Server" on the desktop. It should start up all the required programs.
<!-- could use a visual guide like the VMWare guides for Hyper-V but I ain't about that life today -->
<!-- could use a visual guide like the VMWare guides for Hyper-V but I ain't about that life today -->


==== Setup HyperV Virtual Switch ====
====Setup HyperV Virtual Switch====


: Setting up a virtual switch in HyperV is pretty straight forward.
:Setting up a virtual switch in HyperV is pretty straight forward.
:# Select "Virtual Switch Manager" and you'll have the choice to create a new virtual switch.
:#Select "Virtual Switch Manager" and you'll have the choice to create a new virtual switch.
:# Select "External" from the list and then "Create Virtual Switch".
:#Select "External" from the list and then "Create Virtual Switch".
:# Set the name of this new switch to "HyperV-LAN"
:#Set the name of this new switch to "HyperV-LAN"
:# Select a network adapter from "External Networks". The important part here is if the NIC is dedicated or shared on the machine.  
:#Select a network adapter from "External Networks". The important part here is if the NIC is dedicated or shared on the machine.  
:## If you plan to share the NIC then check "Allow management operating system to share this network adapter".
:##If you plan to share the NIC then check "Allow management operating system to share this network adapter".
:## If you plan to dedicate a NIC to the switch then do no check "Allow management operating system to share this network adapter" and it will disappear from the host.
:##If you plan to dedicate a NIC to the switch then do no check "Allow management operating system to share this network adapter" and it will disappear from the host.
:# Typically if your NIC can support it you want to enable SR-IOV.
:#Typically if your NIC can support it you want to enable SR-IOV.
:# Click OK and the window will disappear.  
:#Click OK and the window will disappear.
: Now you can pick this network in the settings of Any VM under Network Adapter -> Virtual Switch.
:Now you can pick this network in the settings of Any VM under Network Adapter -> Virtual Switch.


=== VMWare Instructions ===
===VMWare Instructions===
----
----
: The steps for creating a VM differ depending on your version of VMWare
 
:* [[I25 Create VMWare 14 Pro Virtual Machine]]
:The steps for creating a VM differ depending on your version of VMWare
:* [[I25 Create VMWare 15 Virtual Machine]]
:*[[I25 Create VMWare 14 Pro Virtual Machine]]
:*[[I25 Create VMWare 15 Virtual Machine]]

Revision as of 08:36, 13 January 2022

Take a look at the Frequently Asked Questions to configure your server once it's up.

i26 Production VM

Hyper-V VM containing a game server, source, data and development tools

Version Three

Community VM v3 (SCoRE/i26) Windows 2012 R2 Images

Error creating thumbnail: File missing
[MD5] efbd6402d7cdb38b0fca419a1faf4ff0
[SHA-1] ac619a17d6abfdbe168fef21acbed1de1026d0fb
[SHA-256] fc2f4c6e241a385e96f1c705453d2a0d42c0522467eb1767612d239c87a5befb
[SHA-512] ecd7b31d55e9392b6d55c92e3efe84cdd9eeabff31e59251a46a042fefc31e29a866d8d335373276aa005f73b246a786040a27ec6e1ebe779bbce487a2822798
[MD5] 27be326f980078940b8cf3c58dc0e2df
[SHA-1] dc9c3d6e79e1cbc47c59a5d9f48803ca57c77072
[SHA-256] 8ba9f84175f17bd204592a7084aa1398f0f0856c1059d4767588954e741b9319
[SHA-512] 77ac74f4fa9ae9149df9b2a39ef76810ef48766836a606e5687209c3503bfccffcb0ed7c00d3c35c8094abc25c5fdc3e1bd7129afdb4978958ee6b944db154ab

This is an update to the v2 Community VMs that updates the server to the latest publicly available i26 data and binaries.

Version Two

Community VM v2 (SCoRE/i25) Windows 2012 R2 Images

Error creating thumbnail: File missing
[MD5] EBCBF234CCAD4D1DE84164E397B43C8D
[SHA-1] B0BECE5F11DB0ABA18AEDF509A809DAF5A74ACA0
[SHA-256] 7A10B09602A8CB3A4D3EB0705B0F14AC2DF46CA056FD98B8ECFE66D27A2CE41A
[SHA-512] 53A1F64C8496B539249F707B25EAC70AE53E84529C0450C36F6E82985725021E043D6BDC190F530B8273E5D7C14FA66F31D9AF25827DD3DC3F8F19F341F89DEF
[MD5] 1CCA24A1CF03C00161F79CA43D9E748B
[SHA-1] 4F949B101CC564886538D0067F274A85091713DE
[SHA-256] 33D2810D5D06A050E0267879E689DE9B4AF643D66B20430F511693243254A544
[SHA-512] E5B95919465C613FC43454C0B9F36914B93464F8D95AC59FD12DD3224D1EA83FAB49DF286439A48E692371CAAD6E64DEF24501D0A30323C0A17833EA812198A3

This is a full deployment of the i25 server with an XAMPP instance for Tequila and several useful tools. It is based on Windows Server 2012 R2 Standard. The default login is Administrator and coh123!

VM v2 Setup


These steps are common between both version of the v2 VM.
If your Start It Up.bat is in C:\COH\bin then your AuthServer will not start. Make sure to place it in C:\COH. Cutting and pasting it in Windows Explorer will update the shortcuts on the desktop appropriately.
 
@echo off
echo Starting Auth Server
START bin\authserver.exe
TIMEOUT 2
echo Starting DB Server
START C:\coh\bin\dbserver.exe -zonelaunchers 1
TIMEOUT 2
echo Starting Launcher Server
START C:\coh\bin\launcher64.exe -noversioncheck
TIMEOUT 2
echo Everything should be launched! Go enjoy COH.
TIMEOUT 10
{| Start It Up.bat |}
On your system, create a shortcut to the client's score.exe with the following parameters in the Target line -patchdir score -patchversion 2019.04.19 -auth <VM IP> -noversioncheck
  • You'll need to update the database for your public IP Address. Open the SQL Manager from the shortcut on the desktop, right click on the database, select New Query, paste the following query and execute it (change YOURPUBLICIP):
    • UPDATE cohauth.dbo.server SET ip = 'YOURPUBLICIP' WHERE ID = 1;
  • You'll also need to update C:\COH\data\server\db\servers.cfg
    • RouteIp YOURPUBLICIP
  • If you're feeling frisky update C:\COH\data\server\db\loadBalanceShardSpecific.cfg, however this is optional:
    • HostRange 192.168.1.0 192.168.1.255

Included Community Tools


@DarkSynopsis - COHDBTools (accessible at https://localhost/CoHDBTool/ in the VM)
 
 Manage Shards
 
 Manage Accounts
   See Account ID / Username
   Create New Accounts
   
 Manage Characters
   Change character owner
   Backup character
   Import character
   Change character access level
{| |}


@Crust Fire - Config Generation
 
 MakeAccount (accessible at https://localhost/CrustFire/MakeAccount.php in the VM)
   Generates SQL for making accounts.
   
 MakeConfigs (accessible at https://localhost/CrustFire/MakeConfigs.php in the VM)
   Generates basic configuration files.
{| |}


@Aleena - Account Portal (accessible at https://localhost/ in the VM)
 
 Allow users to sign up for their own account with custom password.
   Users can also change their password on the portal.
   
 Display current number of accounts and characters on the server.
 
 Supplies client download via Tequila and custom manifest.xml
 
 Displays needed command line parameter to clients.
{| |}

Version One

Community VM v1 (SCoRE/i25) "Freedom" Windows 10 LTSB Image

[MD5]     6980039CA6E929FD8AB548733AAC8034
[SHA-1]   D99D68D8CE31694EDB8D47EAD325D3F016D0ACC6
[SHA-256] 69881CA5582AAC7D348326A6390641D698B5B9046259544078F38F305794E84B

v1 Solo Play Instructions

  1. Download VMWare Player
  2. Add the VM to VMWare Player
  3. Once inside of Windows on the VM
    • - Start Menu -> start dbserver -> start launcher
    • - Right click the Start Menu, open a command prompt, and run the following
      powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
  4. On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck

Setting Up a VM From a Downloaded Image

HyperV Instructions


  1. Add the VM to HyperV
    1. Add new Virtual Machine
    2. Select Next and name the Name. Click Next
    3. Select Generation 2 and next.
    4. Set memory to 8192 or higher and click next.
    5. Select your HyperV LAN connection and click next.
    6. Choose "Use Existing Virtual Hard Disk" and navigate to the supplied VHDX. Click Finish.
    7. Right click on the new Virtual Machine and pick settings.
    8. Increase the number of processors supplied to the VM to at least 4. Click Ok.
    9. Right click on the virtual machine and click start.
  2. Once inside of Windows on the VM
    1. Follow the ReadMe on the desktop.
    2. Once finished with the ReadMe. Click "Start Up The Server" on the desktop. It should start up all the required programs.

Setup HyperV Virtual Switch

Setting up a virtual switch in HyperV is pretty straight forward.
  1. Select "Virtual Switch Manager" and you'll have the choice to create a new virtual switch.
  2. Select "External" from the list and then "Create Virtual Switch".
  3. Set the name of this new switch to "HyperV-LAN"
  4. Select a network adapter from "External Networks". The important part here is if the NIC is dedicated or shared on the machine.
    1. If you plan to share the NIC then check "Allow management operating system to share this network adapter".
    2. If you plan to dedicate a NIC to the switch then do no check "Allow management operating system to share this network adapter" and it will disappear from the host.
  5. Typically if your NIC can support it you want to enable SR-IOV.
  6. Click OK and the window will disappear.
Now you can pick this network in the settings of Any VM under Network Adapter -> Virtual Switch.

VMWare Instructions


The steps for creating a VM differ depending on your version of VMWare