Overview
Atlassian Sourcetree is a free Git and Mercurial client for Windows.
Atlassian Sourcetree is a free Git and Mercurial client for Mac.
Introduction
This is the Star Wars Galaxies server emulator for the Java Virtual Machine. The vision for this software is:
- Providing an experience that's reasonably close to the original game servers
- Easily expandable with new functionality
- Good amount of configuration options for in-game features
- Highly efficient use of system resources and solid performance
The way we perform code reviews should reflect these points.
You can find detailed information on the wiki.
Setting up a development environment
Ready to help bring back an awesome MMORPG with your programming skills?
The following assumes that you're familiar with:
- Installing applications on your machine
- Command line interfaces
- VCSs, Git in particular
- Programming in general
Java Development Kit
In order to compile the source code, you need a JDK installation on your machine. The JAVA_HOME
environment variable
should point to the directory of the JDK! It should be version 9 as minimum. You can see your installed Java version
by running java -version
.
Clientdata
This application reads a lot of information from the original game files. An installation of the game is therefore
required. Create a folder called clientdata
in the root project directory. Extract the following folders of every
sku#_client.toc file to the clientdata
folder:
- abstract
- appearance
- creation
- customization
- datatables
- footprint
- interiorlayout
- misc
- object
- quest
- snapshot
- string
- terrain
Note that every TOC file won't necessarily have all of these folders! If they're present, extract them. A tool such as TRE Explorer is capable of opening the files and extracting their contents.
You should end up with a structure that looks something like this:
holocore/ clientdata/ abstract/ appearance/ creation/ customization/ datatables/ footprint/ ... gradle/ res/ serverdata/ src/ .gitignore .gitmodules LICENSE.txt ...
Gradle
This project uses Gradle as its build tool of choice. You must install Gradle on your machine in order to build the source code.
Compile and run Holocores unit tests using Gradle: gradle test --info
(Might fail if you haven't extracted clientdata yet)
Compile and run Holocores main code using Gradle: gradle run
Forwarder
Holocore uses TCP for network communications, whereas SWG was programmed for UDP. This adds numerous efficiencies with long distance communications, but requires that a little more work is done on the client side. If you are using the launcher, you do not have to worry about this. If you are not using the launcher, follow the guide here.
Credentials
Default credentials are currently created. Your username is holocore
and your password is password
. This user has the
highest admin level assigned to it.
Contributing
- Fork this repository
- Clone the fork you just created, using
git clone
- Get the submodules using
git submodule update --init
- Find something to do in our issues list that is unassigned => https://bitbucket.org/projectswg/holocore/issues?status=new&status=open
- Create a new branch on your fork of holocore
- Write code, commit and push it to your branch
- Once ready, create a pull request with destination branch
quality_assurance
and source branch<your_branch_name>
- Your changes are reviewed and are merged, unless something is wrong
- Once merged, your changes will be available in future builds
- If you want to work on something else, go back to step 4