VisualGuideToBuildingStendhalStep3: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Oslsachem
No edit summary
imported>Dukes
No edit summary
 
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Step 3. Install TortoiseGit==
==Step 3. Install Stendhal-server packaged sources or CVS updated sources with the map editor package==
TortoiseGit is a Git client that will be used to get the latest Stendhal source files before they are available in the official release.
You can choose between simply getting the zipped Stendhal-server source file or alternativelly getting CVS from the map editor file to get the latest sources and stay updated between releases. It is recommended that you get the more updated source files using the anonymous CVS client from the map editor file.


First, go to the TortoiseGit website:
===CVS updated sources with the map editor package===
Unzip stendhal_mapeditor-1.20.zip


https://tortoisegit.org/download/
Rename ''\stendhal_mapeditor\'' folder to ''\Development\''


Sorry, no nice screenshots here, yet.
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor01.png


Restart your computer so that all the installation changes can take effect.
Move ''\Development\'' folder under ''C:\''


Go to [[VisualGuideToBuildingStendhalStep4|Step 4. Get the Stendhal source using TortoiseGit]]
http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor02.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor03.png

Edit the ''update.bat'' file:

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor04.png

Delete <tt>/tiled</tt> (from <tt>co stendhal/tiled</tt> to <tt>co stendhal</tt>)

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor05.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor06.png

Save the changes:

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor07.png

Double-click or open the ''update.bat'' file and a window is opened:

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor08.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor09.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor10.png

The window is closed automatically when the process finishes.

===In any case do the following===

Create a ''\libs\'' folder under ''C:\Development'' (that is, at the same level as ''C:\Development\stendhal'')

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase01.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase02.png

If you are using the CVS updated sources from the map editor package move down ''tiled.jar'' from ''C:\Development''

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step32CVSfromMapEditor/Step32CVSfromMapEditor02.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase03.png

to ''C:\Development\libs\''

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase01.png

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase04.png

Copy the 3 files:
*''jython.jar''
*''marauroa.jar''
*''log4j.jar''

from ''\marauroa-1.31.1\'' folder

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase05.png

to ''\development\libs\''

http://arianne.sourceforge.net/wiki_images/visual_guide_build/Step3ServerSourceOrMapEditorInstall/Step33InAnyCase/Step33InAnyCase06.png

Note: You could remove the 3 stendhal server binary ''*.jar'' files inside the ''\marauroa-1.31.1\'' folder:
*''stendhal-xmlconf-0.47.jar''
*''stendhal-maps-0.47.jar''
*''stendhal-server-0.47.jar''

But it is better to keep them in that folder and just overwrite them with the new compiled files when needed. This is a good way of assuring you are copying the new files to the right folder.

Go to [[VisualGuideToBuildingStendhalStep4|Step 4. Compile Stendhal using ant]]

Latest revision as of 13:48, 8 May 2016

Step 3. Install TortoiseGit

TortoiseGit is a Git client that will be used to get the latest Stendhal source files before they are available in the official release.

First, go to the TortoiseGit website:

https://tortoisegit.org/download/

Sorry, no nice screenshots here, yet.

Restart your computer so that all the installation changes can take effect.

Go to Step 4. Get the Stendhal source using TortoiseGit