format your thread better, it looks like a big wall of text
Preliminary shit:
|
One of the first barriers in getting me Apollo server up and running, was how to actually, err, get it up and running. Frae lads saying "Use ant on the thing" to "Import as a maven project and then run it", ya might as well be reading a Greek IKEA furniture manual.
Thanks to Major, I was able to get the whole shebang up and running. Big props ta that fella, and I figured I may as well share fer us novice lads the ol' steps.
Preliminary stuff:
Get the Apollo source code from Github here. To download it, click the "Clone or download" button, then choose "Download ZIP". Keep note of where this archive is, always good ta have it ready ta extract, in case you bugger something up.
Download and install the 1.8 Java Development Kit here. Simply choose the version for your operating system, download the .exe file, double click it and proceed on with the installer.
Get the IntelliJ IDE here. Install it.
Get the Runescape 317 cache here. Keep the archive for now, we'll be merging it into Apollo in a wee bit.
Main Stuff:
We'll assume everything is being kept in "C:\RSApollo", for ease of reading.
Extract the apollo .zip file we downloaded from Github to any subfolder. We'll use "C:\RSApollo\Servers\Apollo".
Open the 317 cache archive file. Inside should be 6 files, one ending in ".dat", and the others ending in ".idx0", ".idx1", ".idx2", etc.
Put these files in "C:\RSApollo\Servers\Apollo\data\fs\317". You will have to create the subfolder "317".
Start IntelliJ.
You'll be greeted with a window that has the options "Create New Project", "Import Project", "Open" and "Check out from Version Control".
Click "Import Project".
This will create a "Select File or Directory to Import" window. In the bar at the top, type in the path to our Apollo source folder, which is: C:\RSAppollo\Servers\Apollo
Click "OK".
"Import project form external model" -> Select "Maven" -> Click "Next" -> Click "Next" again -> Click "Next" AGAIN.
If all is going well so far, the JDK home path should look something like "C:\Program Files\Java\jdk1.8.0_51". If the last number is different, that's alright. The important part is that you must have a versin of jdk1.8.
Click "Next" -> Click "Finish".
Give IntelliJ a few seconds to load up the folders into the left panel.
On the left hand panel, navigate to "Apollo [org.apollo]\util\src\main\org.apollo.util\tools"
Right-click "RSAKeyGenerator" -> Run 'RSAKeyGenerator.Main()'
Wait for the rsa.pem file to generate.
Once it has, copy-paste the "public key" and "modulus" keys to a text file, for future reference.
Navigate to "Apollo [org.apollo]\game\src\main\org.apollo\game\Server"
Right-click "Server" -> Run 'Server.Main()'
If all is well, there will be no errors, and the server is running.
To stop the server, click the tab "Run" -> Choose the "Stop" option.
Last edited by FiftyTifty; 07-25-2016 at 09:02 PM. Reason: Added instructions about generating rsa.pem
format your thread better, it looks like a big wall of text
Preliminary shit:
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |