This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server:windows_guide [2014/09/11 02:29] 127.0.0.1 external edit |
server:windows_guide [2020/09/17 18:09] (current) leaf [Crossfire Server] FIXME - warning about launching via interactive session vs as a service |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Windows Crossfire Server Installation Guide ===== | ===== Windows Crossfire Server Installation Guide ===== | ||
- | If you are using windows and wish to run your own server locally, or setup a public server you will need to install a Crossfire Server. The server is dependent on, [[#Python v2.5.1]] installed, a copy of the [[#Crossfire Maps|maps]] and a copy of the [[#Crossfire Server]] executable. | + | This page has been updated for instructions on installing the server on Windows 10. |
+ | |||
+ | If you are using windows and wish to run your own server locally, or setup a public server you will need to install a Crossfire Server. The server is dependent on, [[#Python v2.6.5]] installed, a copy of the [[#Crossfire Maps|maps]] and a copy of the [[#Crossfire Server]] executable. | ||
For information about building the crossfire server from source on windows see [[server:server_compiling#Microsoft Windows Compile Guide]] | For information about building the crossfire server from source on windows see [[server:server_compiling#Microsoft Windows Compile Guide]] | ||
- | ==== Python v2.5.1 ==== | + | ==== Python v2.6.5 ==== |
- | First, we need to install Python v2.5.1 - this is a scripting language that is used by the server for such things as the Post Office, Message Boards and Banking system. | + | First, we need to install Python v2.6.5 - this is a scripting language that is used by the server for such things as the Post Office, Message Boards and Banking system. |
- | 1. Click [[http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi|here]] to begin the install process of Python v2.5.1 | + | It is highly recommended to install Python first so that the server installation will automatically detect the install and implement Python access to the server & maps. |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:01_python.png}} | + | 1. Click [[http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi|here]] to begin the install process of Python v2.6.5 |
- | 2. The initial setup screen should appear, select Install for all users and click on Next | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:01_win10_python.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:05_python.png}} | + | 2. If prompted about opening the Executable File, click on the OK button to proceed |
- | 3. When asked on a Destination Directory, stay with the default (C:\Python25\) unless you have a reason to use a different directory, click on Next | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:02_win10_python-exe.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:06_python.png}} | + | 3. The initial setup screen should appear, select Install for all users and click on Next |
- | 4. On the Customize screen, stay with with default options, click on Next | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:03_win10_python_setup.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:07_python.png}} | + | 4. When asked on a Destination Directory, stay with the default (C:\Python26\) unless you have a reason to use a different directory, click on Next |
- | 5. Wait for Python to finish installing, like the screen says - this could take several minutes | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:04_win10_python-destination.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:08_python.png}} | + | 5. On the Customize screen, stay with with default options, click on Next |
- | 6. Python has now finished installing, click on Finish | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:05_win10_python-customize.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:09_python.png}} | + | 6. If prompted from User Access Control to allow this app to make changes to your device, click on the Yes button to approve |
- | 7. Restart your computer to complete the install and setup process | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:06_win10_python-uac.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:10_python.png}} | + | 7. Wait for Python to finish installing, like the screen says - this could take several minutes |
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:07_win10_python-installing.png}} | ||
+ | |||
+ | 8. Python has now finished installing, click on Finish | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:08_win10_python-finish.png}} | ||
==== Crossfire Maps ==== | ==== Crossfire Maps ==== | ||
Line 41: | Line 49: | ||
The map set is a separate file and is required installation in order to play Crossfire. | The map set is a separate file and is required installation in order to play Crossfire. | ||
- | 1. Click [[http://sourceforge.net/projects/crossfire/files/crossfire-server-windows/1.70.0/crossfire-server-bigworld-maps-1.70.exe/download|here]] to begin the install process of Crossfire Maps | + | 1. Click [[https://sourceforge.net/projects/crossfire/files/crossfire-server/snaspshot/crossfire-server-bigworld-trunk-18572.exe|here]] to download the Crossfire Maps installer |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:01_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:09_win10_maps-download.png}} |
- | 2. Click Next in the Install Wizard | + | 2. If prompted from User Access Control to allow this app to make changes to your device, click on the Yes button to approve |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:06_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:11_win10_maps-uac.png}} |
- | 3. Read through the License agreement, and if you accept, click on I Agree | + | 3. Click Next in the Crossfire maps setup |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:07_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:10_win10_maps-setup.png}} |
- | 4. Chose which components to install - it is recommend to use the defaults (Unlinked maps, Test Maps and Python Scripts) and click Next | + | 4. Read through the License agreement, and if you accept, click on I Agree |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:08_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:12_win10_maps-license.png}} |
- | 5. Use the default install destination directory (C:\Program Files\Crossfire Server) - the rest of the instructions assume you're going to do this - click Install | + | 5. Chose which components to install - it is recommend to use the defaults (Unlinked maps, Test Maps and Python Scripts) and click Next |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:09_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:12_win10_maps-license.png}} |
- | 6. Wait for the maps to install - this could take several minutes - click on Next | + | 6. Use the default install destination directory (C:\Program Files (x86)\Crossfire Server) - the rest of the instructions assume you're going to do this - click Install |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:10_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:13_win10_maps-components.png}} |
- | 7. The maps are now installed, click on Finish | + | 7. Use the default install destination directory (C:\Program Files (x86)\Crossfire Server) - the rest of the instructions assume you're going to do this - click Install |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:11_maps.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:14_win10_maps-destination.png}} |
+ | |||
+ | 8. Wait for the maps to install - this could take several minutes - click on Next | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:15_win10-maps-installing.png}} | ||
+ | |||
+ | 9. The maps are now installed, click on Finish | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:16_win10-maps-finish.png}} | ||
==== Crossfire Server ==== | ==== Crossfire Server ==== | ||
Line 73: | Line 89: | ||
Now we are going to install the server - which is also a required component for playing Crossfire. The server is installed last so that it will automatically detect the installation of the map files and Python - which will streamline the install process. | Now we are going to install the server - which is also a required component for playing Crossfire. The server is installed last so that it will automatically detect the installation of the map files and Python - which will streamline the install process. | ||
- | 1. Click [[http://sourceforge.net/projects/crossfire/files/crossfire-server-windows/1.70.0/crossfire-server-1.70.exe/download|here]] to begin the install process of Crossfire Server | + | 1. Click [[https://sourceforge.net/projects/crossfire/files/crossfire-server/snaspshot/crossfire-server-trunk-18572.exe/download|here]] to begin the install process of Crossfire Server |
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:17_win10_server-download.png}} | ||
+ | |||
+ | 2. If prompted from User Access Control to allow this app to make changes to your device, click on the Yes button to approve | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:19_win10_server-uac.png}} | ||
+ | |||
+ | 3. Click Next in the Crossfire maps setup | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:20_win10_server-setup.png}} | ||
+ | |||
+ | 4. Read through the License agreement, and if you accept, click on I Agree | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:20_win10_server-setup.png}} | ||
+ | |||
+ | 5. Chose which components to install - it is recommend to use the defaults (Crossfire Server, Python plugin and Menu Shortcuts) and click Next | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:21_win10_server-components.png}} | ||
+ | |||
+ | 6. Use the default install destination directory (C:\Program Files (x86)\Crossfire Server) - the rest of the instructions assume you're going to do this - click Install | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:22_win10_server-destination.png}} | ||
+ | |||
+ | 7. Wait for the install to finish, it may take a couple of minutes | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:23_win10_server-installing.png}} | ||
+ | |||
+ | 8. You should now see a prompt (Register Crossfire server as a Windows service?) - click Yes | ||
+ | |||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:24_win10_server-winservice.png}} | ||
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:04_server.png}} | + | 9. Click on Finish |
- | 2. Click Next in the Install Wizard | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:25_win10_server-finish.png.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:05_server.png}} | + | 10. Even though the Release Notes indicate to download the latest maps version from subversion, that is no longer recommended. So many changes have taken place with the map archetypes (new items, graphics, et al.) they are no longer compatible with this version of the server. |
- | 3. Read through the License agreement, and if you accept, click on I Agree | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:26_win10_server-releasenotes.png}} |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:06_server.png}} | ||
- | 4. Chose which components to install - it is recommend to use the defaults (Python plugin and Menu Shortcuts) and click Next | + | FIXME - Steps 11 and beyond are currently under review based on feedback in regards to potential problems of launcing/starting the server as a service or in interactive session; progress and other player file updates were not working when launched via interactive session. So, use that method with extreme caution! |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:07_server.png}} | + | 11. To launch the server, click on Start and scroll until you see Crossfire Server and then click on Install as a Windows service |
- | 5. Use the default install destination directory (C:\Program Files\Crossfire Server) - the rest of the instructions assume you're going to do this - click Install | + | NOTE: the server tends to run more reliably this way vs selecting the Crossfire Server launch option |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:08_server.png}} | + | {{:server:27_win10_server-launch.png|}} |
- | 6. Wait for the install to finish, it may take a couple of minutes | + | 12. If presented with an alert from Windows Defender Firewall select Private networks, such as my home or work network and click on Allow access button |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:09_server.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:28_win10_server-defender.png}} |
- | 7. You should now see a prompt (Register Crossfire server as a Windows service?) - click Yes | + | 13. After the initial or first launched, there will be some setup information listed in the command window - this is normal and what you what you want to watch for is the text "waiting for connections..." |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:10_server.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:29_win10_server-initial_launch.png}} |
- | 8. Click on Finish | + | 14. Launching the server after the initial launch will display different information, again the important info you want to see is the text "waiting for connections..." |
- | {{http://wiki.metalforge.net/lib/exe/fetch.php/images:11_server.png}} | + | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:30_win10_server-additional_launch.png}} |
+ | 15. To exit or close out the server, click on the X in the upper right corner of the interface window | ||
+ | {{http://wiki.metalforge.net/lib/exe/fetch.php/server:31_win10_server-exit.png}} |