Visual Setup for Stendhal in Eclipse: Difference between revisions

Content deleted Content added
imported>Kymara
imported>Hendrik Brummermann
No edit summary
Line 76:
[[Image:Eclipse 17.png]]
 
== GenerateINIStarting the server ==
 
'''Note: The following images show the configuration of a MySQL connection. But in most cases you don't need a database server and can use H2 instead. Just hit enter two times.
 
 
This tutorial does NOT cover installation of MySQL database. It is assumed that if you are going to install server from within Eclipse, you will install MySQL and set up the required database. If you are going to run the server from within Eclipse, you will need to create the server.ini file. These are the steps needed for that:
 
[[Image:Eclipse 18.png]]
Line 87 ⟶ 82:
[[Image:Eclipse 19.png]]
 
Search for StendhalServer.
 
Once you have located GenerateINI.java, double click it to open in code window.
 
[[Image:Eclipse 20.png]]
 
Then click Run =>
Line 99 ⟶ 91:
At this point you have to enter the appropriate data to attach to your running database. Your responses are shown below in green.
 
'''Note: In most cases you just want to hit enter twice.
[[Image:Eclipse 22.png]]
 
 
To start the client, search for games.stendhal.client.update.Starter.
Once you hit enter on the password, it will ask you to specify RSA key. Take default (press enter).
 
Give it a couple minutes, and your server.ini is done.
 
[[Image:Eclipse 23.png]]
 
== Map Editor ==
 
Now we will set up map editor to run from within Eclipse. Click the black arrow beside green bug and follow through.
 
http://img87.imageshack.us/img87/8991/vissetup23bv0.png