A consolidated effort to get City of Heroes in development once again!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cattan 49c30d5b56 Merge branch 'taffer-100-existing-tests' of CoX/Source into develop 2 days ago
3rdparty Remove "forbidden" includes; most build now. 1 week ago
AccountServer Remove the _right_ outdated files this time 2 weeks ago
Accountserver_test Remove old VS2008 project files. 1 week ago
ArenaServer Remove the _right_ outdated files this time 2 weeks ago
Assets SQL Server 2017 schema adjustments 6 days ago
AuctionServer Remove the _right_ outdated files this time 2 weeks ago
AuthServer Change all x64-capable project output files to have "64" appended 2 weeks ago
ChatAdmin Remove old VS projects that have been replaced with newer versions 2 weeks ago
CmdRelay Remove old VS projects that have been replaced with newer versions 2 weeks ago
Common Add -unpackmap flag to MapServer 2 days ago
CostumeCreator Initial commit! 2 months ago
Game Ported Field of View slider from SCoRE to Volume 2 codebase. 1 week ago
Game_test Remove old VS2008 project files. 1 week ago
GetAnimation Remove old VS projects that have been replaced with newer versions 2 weeks ago
GetAnimation2 Remove old VS projects that have been replaced with newer versions 2 weeks ago
GetTex Fuzzy_c: Removed gettex's reliance on cjpeg.exe. 1 week ago
GetVrml Remove old VS projects that have been replaced with newer versions 2 weeks ago
Installer Initial commit! 2 months ago
LogParser Initial commit! 2 months ago
LogParserMon Initial commit! 2 months ago
LogSearch Initial commit! 2 months ago
MapServer Add flags -beacononepassonly and -beaconforcerebuild 2 days ago
MasterSolution VS doesn't save the solution until you close it or exit... 1 week ago
MissionServer Remove the _right_ outdated files this time 2 weeks ago
NovodeXWrapper Additional PhysX changes (#63) 3 weeks ago
PropertySheets Initial VS2019 conversion of Unit Test solution. 1 week ago
QueueServer Dead End Coders: Enable encryption between client and queue server. 2 weeks ago
RaidServer Remove the _right_ outdated files this time 2 weeks ago
ServerLib Code updates to make clamping to 1/0 clear. 1 week ago
ServerMonitor Remove the _right_ outdated files this time 2 weeks ago
ShardMonitor Initial commit! 2 months ago
StatServer Remove all c:/coh_data paths 1 week ago
StreamingClientPrototype Initial commit! 2 months ago
TestClient Remove the _right_ outdated files this time 2 weeks ago
TestClientLauncher Remove old VS projects that have been replaced with newer versions 2 weeks ago
TurnstileServer Remove the _right_ outdated files this time 2 weeks ago
Updater Initial commit! 2 months ago
Utilities Revert StructParser project to develop version to avoid conflicts with Cattan 1 week ago
UtilitiesLib_test Remove old VS2008 project files. 1 week ago
bin Remove unnecessary files from bin/ 2 weeks ago
chatclient Initial commit! 2 months ago
chatserver All existing unit tests compile now. 1 week ago
dbserver Rename MinVirtualMemory* for consistency 6 days ago
dbserver_test Remove old VS2008 project files. 1 week ago
html2smf Initial commit! 2 months ago
launcher Remove the _right_ outdated files this time 2 weeks ago
libs Remove all c:/coh_data paths 1 week ago
logParser3 Initial commit! 2 months ago
logfilter Initial commit! 2 months ago
mapserver_test Remove old VS2008 project files. 1 week ago
publink Initial commit! 2 months ago
unitTestCommon Initial commit! 2 months ago
.gitignore Fixed PhysX integration 1 month ago
1-start-servers.bat Added default configuration files as templates 1 month ago
2-start-game.bat Change all CityOfHeroes.exe references to Ouroboros.exe 1 month ago
Readme.md Change all CityOfHeroes.exe references to Ouroboros.exe 1 month ago

Readme.md

City of Heroes

A consolidated effort to get City of Heroes in development once again!

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. The setup guide describes what we call a fakeAuth setup, meaning no authentication server will be spun up but instead the database server (for short dbserver) will be configured such as to allow any user to log in.

Prerequisites

Quick Start Guide

Verify SQL Server is up and running by opening the SQL Server Configuration Manager and check if the MSSQLSERVER Icon in the left panel shows a green arrow overlay. Ensure MSBuild.exe has been added to the PATH environment variable. To test if MSBuild is properly set up, open a command line and type

msbuild

if you receive following error message

Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

then MSBuild is set up correctly.

Set up PowerShell’s execution policy by opening a PowerShell window as Administrator and type

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

Ensure git.exe is in the search path. Validate it by opening a command prompt and type

git

If you see a response similar to

usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)
   clone      Clone a repository into a new directory
   init       Create an empty Git repository or reinitialize an existing one

work on the current change (see also: git help everyday)
   add        Add file contents to the index
   mv         Move or rename a file, a directory, or a symlink
   reset      Reset current HEAD to the specified state
   rm         Remove files from the working tree and from the index

examine the history and state (see also: git help revisions)
   bisect     Use binary search to find the commit that introduced a bug
   grep       Print lines matching a pattern
   log        Show commit logs
   show       Show various types of objects
   status     Show the working tree status

grow, mark and tweak your common history
   branch     List, create, or delete branches
   checkout   Switch branches or restore working tree files
   commit     Record changes to the repository
   diff       Show changes between commits, commit and working tree, etc
   merge      Join two or more development histories together
   rebase     Reapply commits on top of another base tip
   tag        Create, list, delete or verify a tag object signed with GPG

collaborate (see also: git help workflows)
   fetch      Download objects and refs from another repository
   pull       Fetch from and integrate with another repository or a local branch
   push       Update remote refs along with associated objects

'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.

then your git is set up proper

Clone the repository to a local location of your choice by opening a command prompt and create the root directory in which to clone the repository. For example, if you like to clone the repository into D:\Ouroboros\ create the root directory executing following command on the command line:

mkdir D:\Ouroboros

then change into the newly created directory using following commands

D:
cd Ouroboros

and execute to clone command like

git clone --recursive https://git.ourodev.com/CoX/Source.git
TBD: Add guide on how to install the assets

After cloning the repository open a PowerShell window if you are not already in one, switch into the MasterSolution subdirectory and execute the build script by typing

Build.ps1

A build from scratch takes around 40 minutes on an average machine so please be patient.

Set up a shortcut to start up the City of Heroes client by creating a new shortcut to Ouroboros.exe in D:\Ouroboros\Source\bin (assuming you used D:\Ouroboros as you clone root folder) and add following arguments to Target filed in the shortcut dialog

-db 127.0.0.1 -console

so the whole command would look like

D:\Ouroboros\Source\bin\Ouroboros.exe -db 127.0.0.1 -console

Start the dbserver by typing or setting up a shortcut to dbserver.exe in D:\Ouroboros\Source\bin like

dbserver

Start the launcher by typing or setting up a shortcut launcher.exe in D:\Ouroboros\Source\bin like

launcher

Start the City of Heroes client by double clicking the shortcut to CityOfHeroes previously set up

Log in by typing whatever you like when prompted for account name and password

Set up your test character and enter the game

Welcome home!