Files
@ r14120:cd7f96d8a95a
Branch filter:
Location: cpp/openttd-patchpack/source/docs/Readme_OS2.txt - annotation
r14120:cd7f96d8a95a
4.9 KiB
text/plain
(svn r18677) -Update from WebTranslator v3.0:
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r3398:74a201cda6e3 r3398:74a201cda6e3 r3398:74a201cda6e3 r844:9477b526246d r3398:74a201cda6e3 r3398:74a201cda6e3 r3398:74a201cda6e3 r1849:a94c28350473 r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r7045:31669c6e99e1 r7045:31669c6e99e1 r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r5591:5085a131bcc8 r5591:5085a131bcc8 r844:9477b526246d r7045:31669c6e99e1 r7045:31669c6e99e1 r7045:31669c6e99e1 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r5591:5085a131bcc8 r844:9477b526246d r844:9477b526246d r5591:5085a131bcc8 r844:9477b526246d r844:9477b526246d r3398:74a201cda6e3 r3398:74a201cda6e3 r844:9477b526246d r5591:5085a131bcc8 r5591:5085a131bcc8 r1524:1fcae7f9f80e r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r5591:5085a131bcc8 r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r844:9477b526246d r5591:5085a131bcc8 r5591:5085a131bcc8 r7045:31669c6e99e1 | OpenTTD: OS/2 version
=====================
OpenTTD has been ported to work on OS/2 4.x or later (including
eComStation). The game should work as well as it does on Windows
or other platforms: the main issues you may encounter are graphics
card problems, but that is really the fault of SDL.
=========================
USING OPENTTD FOR OS/2
=========================
LIBRARIES REQUIRED FOR END USERS
--------------------------------
SDL.DLL (SDL 1.2.7) and FSLib.dll are required to use this program:
these can be downloaded from the Files section at
http://sourceforge.net/projects/openttd/ - see "os2-useful-v1.1.zip".
Version 20051222 of SDL or later is required. This can be found at
http://sdl.netlabs.org/.
Please note that earlier SDL releases will probably NOT work with
OpenTTD. If you experience problems with OpenTTD, please check
your SDL and FSLib.dll versions (both must match).
Note that to actually play the game, I have found in my own
experience that a version of the Scitech Display Drivers or its later
incarnation (see www.scitech.com) are necessary for it to work. If
you have trouble with your native drivers, try the Scitech drivers
and see if they help the problem.
KNOWN ISSUES
------------
- If an error occurs during loading, the OS/2 error message window
is not always displayed.
A NOTE ABOUT MUSIC
------------------
OpenTTD includes a music driver which uses the MCI MIDI system. Unfortunately,
due to the lack of proper MIDI hardware myself, I have been unable to test it,
but during testing, I found that when MIDI was enabled, I got no sound
effects. I therefore decided to DISABLE music by default.
To enable music, start OpenTTD with the command line:
openttd -m os2
If I hear enough responses that both music and sound work together (it might
just be my system), I'll have the defaults changed.
Please note also that the GCC version does not currently support the MCI MIDI
system.
A NOTE ABOUT DEDICATED MULTIPLAYER SERVERS
------------------------------------------
To start a dedicated multiplayer server, you should run the dedicated.cmd
file. This enables OpenTTD to open up a VIO console window to display
its output and gather any necessary input. Running "openttd -D"
directly will result in the console not being displayed. You may
still pass any other parameters ('-D' is already passed) to
dedicated.cmd.
You can find the dedicated.cmd file in the os/os2 directory.
=========================
BUILDING THE OS/2 VERSION
=========================
Compiler
--------
Innotek GCC, an OS/2 port of the popular GCC compiler, was used to build OpenTTD.
See www.innotek.de for more information. You WILL need a reasonably UNIX-like
build environment in order to build OpenTTD successfully - the following link
may help to set one up (although some of the links from that page are broken):
http://www.mozilla.org/ports/os2/gccsetup.html
Alternatively, Paul Smedley's ready-to-go GCC build environment has been known to
successfully build the game:
http://www.smedley.info/os2ports/index.php?page=build-environment
To build, you should, if your environment is set up well enough, be able to just
type `./configure' (or `sh configure' if you're using the OS/2 shell) and `make'.
You may have to manually specify `--os OS2' on the configure command line, as
configure cannot always detect OS/2 correctly.
A note on Open Watcom
---------------------
Open Watcom C/C++ was previously used to build OpenTTD (version 0.4.x and earlier).
However, due to advanced C++ features used in the YAPF portion of OpenTTD 0.5
in particular, the compiler is no longer able to build the game at the moment.
Hopefully one day Open Watcom will be able to catch up and we will be able to build
the game once again (it's easier than getting an OS/2 UNIX-like environment set up
in my opinion!), but until then, OpenTTD 0.5 and later can only be built with GCC.
Libraries Required
------------------
The following libraries are required. To build zlib and libpng, I
simply added the required files (watch out for sample programs, etc)
to an IDE project file and built a library. Do not use the makefiles
provided, they are not designed for Watcom (apart from SDL):
- zlib
http://www.zlib.org/
- libpng
http://www.libpng.org/
- SDL for OS/2
ftp://ftp.netlabs.org/pub/sdl/sdl-1.2.7-src-20051222.zip used for
0.4.7
- Freetype
http://freetype.sourceforge.net/
Currently, there are no pre-built libraries available for GCC. If you manage to get
OpenTTD working on Watcom though (do let us know if this is the case!), pre-built
versions can be downloaded from the Files section at
http://sourceforge.net/projects/openttd/ - see "os2-useful-v1.1.zip".
Contact Information
-------------------
If you have any questions regarding OS/2 issues, please contact me
(owen@owenrudge.net) and I'll try to help you out. For general OpenTTD
issues, see the Contacting section of readme.txt.
Thanks to Paul Smedley for his help with getting OpenTTD to compile under GCC on OS/2.
- Owen Rudge, 24th June 2007
|