Skip to content

TrigsC/MySWGEmuRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

SWGEmu Core3

What is SWGEmu?

Star Wars Galaxies was a massively multi-player online role playing game introduced by Sony Online Entertainment in the year 2003 and shut down in 2011. It is this game the SWGEmu project focuses to recreate at a specific milestone referred to as Pre-CU, or Pre-Combat Upgrade. The Combat Upgrade was a set of game changes which radically changed the game-play, to the dislike of thousands of players. These changes led to the founding of this project, in an attempt to "recreate" the game as it was during the Pre-CU era. At SWGEmu, Emulator refers to the software the SWGEmu team is building. This Emulator is meant to imitate Sony Online Entertainment's server-side software, which hosted the galaxies of Star Wars Galaxies during the Pre-CU era.

How to build

Dependencies
  • CMake 3.1.0 or higher
  • BerkeleyDB 5.3
  • MySQL (libmysqlclient20)
  • OpenSSL libraries
  • pthreads
  • Lua 5.3 libraries
  • Zlib libraries
  • g++ 5+
  • engine3
  • java jre 1.7+

Debian 9+ or Ubuntu 16.04+

  • Install dependencies

    sudo apt-get install -y build-essential default-libmysqlclient-dev default-mysql-server liblua5.3-dev libdb5.3-dev libssl-dev cmake git default-jre gcc g++ git gdb automake make libreadline-dev libncurses5-dev libneon27 libaprutil1-dev libtool openjdk-7-jre openjdk-7-jre-headless libgtest-dev screen lua5.1 mysql-server mysql-workbench libmysqlclient-dev libssl-dev libboost-dev libdb5.3-dev 
    
  • Setup Directories

    sudo apt-get update && sudo apt-get install -y -q git && git clone https://github.com/TrigsC/MySWGEmuRepo.git && cp -i /home/swgemu/DevEnv/README.md /home/swgemu/Documents && mkdir setup && cp -i /home/swgemu/DevEnv/setup/* /home/swgemu/setup/ && mkdir run && cp -r /home/swgemu/DevEnv/run/* /home/swgemu/run/ && chmod -v +x /home/swgemu/DevEnv/bin/* && cat ~/DevEnv/bin/pathto &>> ~/.bashrc
    
  • Clone core3 repository somewhere (~/git)

    git clone https://review.swgemu.com/Core3
    
  • Clone engine3 repository somewhere (~/git)

    git clone https://review.swgemu.com/PublicEngine
    
  • Enter repository and run make

    cd PublicEngine/MMOEngine && make
    
  • Symlink MMOEngine in Core3 where MMOCoreORB resides

    cd ../../Core3
    ln -s ../PublicEngine/MMOEngine MMOEngine
    
  • Build Core3 with 8 threads

    cd MMOCoreORB
    git checkout origin/unstable
    make build-cmake -j8
    

How to Run

cd ~/git/Core3/MMOCoreORB/bin
./core3

License

Copyright (C) 2017 SWGEmu

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program.  If not, see <https://www.gnu.org/licenses/>.

For more information, see https://review.swgemu.com.