Merged in swgnoobs/swg-src (pull request #6)

Dev VM Download Links and Readme
This commit is contained in:
Code Codon
2015-11-20 11:27:10 -06:00
2 changed files with 102 additions and 1 deletions

View File

@@ -55,4 +55,17 @@ Git: http://repo.or.cz/w/swg-src.git
Static (only at initial commit): https://mega.nz/#F!mZw2BLJJ!-vcXi2_NN-WoslIjiY32Gw
Feel free to fork and mirror yourself with caution. Please share useful changes you make on Reddit.com/r/swg or Voat.co/v/swg if the git repos are ever taken down.
Feel free to fork and mirror yourself with caution. Please share useful changes you make on Reddit.com/r/swg or Voat.co/v/swg if the git repos are ever taken down.
### Developers VM Download Links
SID(testing):
https://docs.google.com/uc?export=download&confirm=k1dz&id=0Bw5QxmhEYpyzdFVPV2x3LVYzWUE
https://docs.google.com/uc?export=download&confirm=sfMW&id=0B8qYSmfamAxsalhBNG5xSjR1QTg
Comes with newest libs and buildtools, and no prebuilded server/empty db with precreated users.
You have to build your own server first before you can start it. Follow the instructions of the sid_readme.md

88
sid_readme.md Executable file
View File

@@ -0,0 +1,88 @@
# Debian SID SWGMasters Developer VM
## System Requirements
* Virtualbox 5.0.x
* 4GB RAM minimum (The VM supports 64GB RAM)
* 30GB Harddisk Space
Recommended:
* SSH-Client (Putty in Windows)
* SCP-Client (WinSCP)
* more RAM if you want to run more then 1-2 Zones
* SSD as VM Storage
## Whats included in the VM
* Debian SID/Testing 32Bit
* OracleDB 11g Release 2
* Oracle Enterprise Manager https://<vmip>:1158/em/console (User: SYSTEM Pass: swg)
* Clientfiles needed to start the server /home/swg/clientdata/
* Appearance Files needed to start the server /home/swg/appearance/
* Copy of https://bitbucket.org/swgmasters/swg-src/ /home/swg/swg-src/
* All dependencies installed to compile your own server
* Samba preinstalled pointed to /home/swg/ (You can use editors/IDEs or/and your git in Windows)
Default Password: swg
## What do you need todo to get a server running
Import the Appliance to Virtualbox.
* CPU Setting PAE
* Network Setting: Bridge Network
Change the /etc/hosts file to the right ipaddress.
nano /etc/hosts
Change the 192.168.2.x to the IP of the Virtual Machine
<yourip> swg
Restart the server:
shutdown -r now
Download Putty and point it to the IP of your VM
Login as user swg with password swg.
cd swg-src/
git pull (optional updating repo content)
./build_linux.sh
!! Ignore the install dependencies PART !!
## Buildingphases
Follow the instructions on your screen. The binary building phase will take roughly 1h/1Core.
The Script Building Phase will throw errors if you skip the configphase, do configs first, then scriptbuilding.
### Configphase
use local
Database DSN:
//127.0.0.1/swg
Database User:
swg
Database Password:
swg
### Scriptbuilding
Scriptbuilding will take about 6hours the first time. You can later just recompile single scripts or tab files, look at the
utils/build_ and the build_linux.sh files to see the syntax of the mocha, javac and compilertools.
### Database
The Clustername has to be the same you used in the configphase. The same for the nodeip. The other settings are self-explaining.
## Clientdata and Appearance Files
cd /home/swg/
rsync -av /home/swg/clientdata/sku.0/ /home/swg/swg-src/data/sku.0/
rsync -av /home/swg/clientdata/sku.1/ /home/swg/swg-src/data/sku.1/
rsync -av /home/swg/clientdata/sku.2/ /home/swg/swg-src/data/sku.2/
rsync -av /home/swg/clientdata/sku.3/ /home/swg/swg-src/data/sku.3/
cp -R /home/swg/appearance /home/swg/swg-src/
## First start
./start_Server.sh
Point your login.cfg to the IP of the Virtualmachine.