Getting started on Win (old)¶
All steps for Windows users are outlined in great detail in these four guides:- Installing Mercurial
- Setting up SSH (obsolete)
- Configuring TortoiseHg
- Using TortoiseHg
- Setting up a Compile Environment
If you're new to all this, just start with the first one and follow them in given order.
How to setup a useful development environment on windows¶
You need MinGW and MSys in order to get everything nicely setup.
A quick recap:- Install MinGW via installer.
Defaults are fine, just click install: MinGW 1.5.4 installer - Install MSysBaseSystem.
Also just click install, defaults are fine: MSys 1.0.10 base system installer - Install MSysDTK
Also just click install, defaults are fine: MsysDTK installer - Install grfcodec and nforenum
Create a new direcory, let's call it C:\ottd-dev
Get grfcodec and renum from openttd.org (renum / codec) and copy them into that directory - Adjust you environment and path settings
When you install command line tools, such as MinGW, or GnuWin32 tools, you have to tell the command line interpreter where to find them; this is usually accomplished by adding the appropriate directory names to the PATH variable in your environment. Typically, it is your responsibility to do this; please do not expect the installer, (if you used one), to do it for you.
Warning: Adding entries to the PATH is normally benign. However, if you delete, you may mess up your PATH string, and you could seriously compromise the functioning of your computer. Please be careful: * (German Screeenshots)
Alternative Guides / full installer¶
- MinGW Getting started
- MSys setup
- wiki.openttd.org
- BuildOTTD (doesn't work on Vista)