-
Notifications
You must be signed in to change notification settings - Fork 49
WindowsSource
The following section will guide you through getting cuwo up and running in Windows.
-
Either checkout the cuwo project from GitHub, or download a zip file of the project.
-
Extract the zip file’s contents to your desired location.
-
Install Python 2.7.5
-
For 32 bit systems, use: python-2.7.5.msi
-
For 64 bit systems, use: python-2.7.5.amd64.msi
-
-
Install pywin Build 218
-
For 32 bit systems, use: pywin32-218.win32-py2.7.exe
-
For 64 bit systems, use: pywin32-218.win-amd64-py2.7.exe
-
-
Install Twisted
-
For 32 bit systems, use: Twisted-13.1.0.win32-py2.7.msi
-
For 64 bit systems, use: Twisted-13.1.0.win-amd64-py2.7.msi
-
-
Install zope.interface 4.0.5
-
For 32 bit systems, use: zope.interface-4.0.5.win32-py2.7.exe
-
For 64 bit systems, use: zope.interface-4.0.5.win-amd64-py2.7.exe
-
-
You can either edit your environment variable to allow you to launch python by typing in cmd, or you can edit the run_server.bat and/or run_mitm.bat file in your cuwo folder to look like this:
-
run_server.bat: C:\Python27\python -m cuwo.server
-
run_mitm.bat: C:\Python27\python -m cuwo.mitm
-
This assumes that Python 2.7 installed in C:\Python27 (which is the default installation path).
-
-
If you want to run the MITM server, you need to edit your server.exe (that came with Cube World) to accept connections on port 12346 instead of 12345 (which is the default). To do this, open your server.exe in a hex editor such as HxD, and find the integer "12345" (30 39 in hex) and change it to "12346" (3A 30 in hex).
-
Edit config/base.py to your liking. You should perhaps edit 'server_name' and the 'PASSWORDREPLACEME' key, which is the default password for administration purposes.
-
Run run_server.bat or run_mitm.bat and enjoy!
-
If you run the batch file and it opens and immediately closes, click Start, run cmd, navigate to the folder where you extracted the cuwo files, and run run_server.bat or run_mitm.bat from the command prompt to see what errors it gives.
-
-
If you have any problems, [come talk to us on #cuwo on EsperNet IRC](http://webchat.esper.net/?channels=cuwo&prompt=1), or [open an issue](https://github.com/matpow2/cuwo/issues/new) if you can reproduce the problem.