Visual Setup for Stendhal in Eclipse on Windows - Map Editor (tiled) and server.ini Setup Included

From Arianne
Jump to: navigation, search


TODO: Check if the map editor instructions at the bottom are still valid

Contents


Creating the Project from CVS

First of all, from the view Package Explorer in Eclipse...

Eclipse 01.png

Eclipse 02.png

Eclipse 03.png

Note: To use an developer account with write access, you need to select extssh instead of pserver and enter your Sourceforge username.

Eclipse 04.png

Eclipse 05.png

Eclipse 06.png

Eclipse 07.png

Eclipse 08.png

Eclipse 09.png

At this point, you will be downloading files from CVS.

Configuring the project

Once code has been downloaded, you must create your classpath. Right click on project directory and select Properties.

Eclipse 10.png


This step sets up the proper text encoding.

File:Eclipse 11.png


Then click on Java Build Path. Remove any directories that show up in the Source tab.

Eclipse 12.png


Then click Add Folder.

Eclipse 13.png


Select src and tests directories and click OK.

Eclipse 14.png


Next click Add JARs button.

Eclipse 15.png


Click open the directories and select all the files within the libs directory and click OK.

Eclipse 16.png


At this point, you have finished setting up your classpath, so click OK.

Eclipse 17.png

Starting the server

Eclipse 18.png

Search for StendhalServer.


Then click Run => Run.

Eclipse 21.png

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.


To start the client, search for games.stendhal.client.update.Starter.

Map Editor

Now we will set up map editor to run from within Eclipse. Click the black arrow beside green bug and follow through.

Vissetup23bv0.png

Vissetup24mv2.png

Vissetup25cc7.png

Vissetup26nx8.png

Vissetup27ix0.png

Vissetup28cj5.png

Vissetup29wc8.png

Vissetup30ok1.png

At this point, map editor (tiled) should start.

Personal tools
Namespaces
Variants
Actions
Navigation
stendhal for players
portal
resources
Toolbox