VisualGuideToBuildingStendhalStep5: Difference between revisions
imported>Oslsachem No edit summary |
imported>Oslsachem m Quick and dirty update for the guide to reflect directory path changes |
||
| Line 1: | Line 1: | ||
==Step 5. Move compiled files to server and client folders== |
==Step 5. Move compiled files to server and client folders== |
||
Look for the 3 client and 3 server generated files at the ''C:\development\stendhal\lib\'' folder |
Look for the 3 client and 3 server generated files at the ''C:\development\stendhal\build\lib\'' folder |
||
'''Warning:''' I really mean ''C:\development\stendhal\lib\'' and not ''C:\development\libs\'' |
'''Warning:''' I really mean ''C:\development\stendhal\build\lib\'' and not ''C:\development\libs\'' |
||
Generated server files: |
Generated server files: |
||
| Line 27: | Line 27: | ||
'''Warning:''' Copy these files and don't remove them from ''/lib'' because this way the next time you recompile Stendhal with <tt>ant</tt>, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process. |
'''Warning:''' Copy these files and don't remove them from ''/lib'' because this way the next time you recompile Stendhal with <tt>ant</tt>, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process. |
||
==How to become admin== |
==How to become admin== |
||
Revision as of 23:36, 22 March 2007
Step 5. Move compiled files to server and client folders
Look for the 3 client and 3 server generated files at the C:\development\stendhal\build\lib\ folder Warning: I really mean C:\development\stendhal\build\lib\ and not C:\development\libs\
Generated server files:
- stendhal-xmlconf-0.47.jar
- stendhal-maps-0.47.jar
- stendhal-server-0.47.jar
Generated client files:
- stendhal-data-0.47.jar
- stendhal-0.47.jar
- stendhal-sound-data-0.47.jar (this file is not strictly necessary to play the game, only to hear sounds)
Copy the 3 server files to C:\marauroa-1.31.1\ folder
Copy the 3 client files (or 2 without stendhal-sound-data) to C:\stendhal-0.47\ folder (the client folder)
Warning: Copy these files and don't remove them from /lib because this way the next time you recompile Stendhal with ant, the compiler will only generate the changed files and not all the 6 files everytime, spending much less time in the process.
How to become admin
Go to C:\Development\stendhal\data\conf\ folder
Edit admins.list file:
Add your user name there:
Save the changes:
Copy this file to C:\Development\stendhal\build_server\data\conf
Recompile, move the new generated binary files to their appropiate place, run the server and client and behold! That user has admin superpowers!