author | bjarni |
Mon, 09 Oct 2006 21:42:18 +0000 | |
changeset 4788 | 76ed308037b1 |
parent 3398 | f4c7427ffe9e |
child 5591 | 51e4c59c31dd |
permissions | -rw-r--r-- |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
1 |
OpenTTD: OS/2 version |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
2 |
===================== |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
3 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
4 |
OpenTTD has been ported to work on OS/2 4.x or later (including |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
5 |
eComStation). The game should work as well as it does on Windows |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
6 |
or other platforms: the main issues you may encounter are graphics |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
7 |
card problems, but that is really the fault of SDL. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
8 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
9 |
========================= |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
10 |
USING OPENTTD FOR OS/2 |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
11 |
========================= |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
12 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
13 |
LIBRARIES REQUIRED FOR END USERS |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
14 |
-------------------------------- |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
15 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
16 |
SDL.DLL (SDL 1.2.7) and FSLib.dll are required to use this program: |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
17 |
these can be downloaded from the Files section at |
3398
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
18 |
http://sourceforge.net/projects/openttd/ - see "os2-useful-v1.1.zip". |
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
19 |
Version 20051222 of SDL or later is required. This can be found at |
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
20 |
http://sdl.netlabs.org/. |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
21 |
|
3398
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
22 |
Please note that earlier SDL releases will probably NOT work with |
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
23 |
OpenTTD. If you experience problems with OpenTTD, please check |
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
24 |
your SDL and FSLib.dll versions (both must match). |
1849 | 25 |
|
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
26 |
Note that to actually play the game, I have found in my own |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
27 |
experience that a version of the Scitech Display Drivers or its later |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
28 |
incarnation (see www.scitech.com) are necessary for it to work. If |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
29 |
you have trouble with your native drivers, try the Scitech drivers |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
30 |
and see if they help the problem. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
31 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
32 |
KNOWN ISSUES |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
33 |
------------ |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
34 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
35 |
- If an error occurs during loading, the OS/2 error message window |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
36 |
is not always displayed. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
37 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
38 |
A NOTE ABOUT MUSIC |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
39 |
------------------ |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
40 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
41 |
OpenTTD includes a music driver which uses the MCI MIDI system. Unfortunately, |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
42 |
due to the lack of proper MIDI hardware myself, I have been unable to test it, |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
43 |
but during testing, I found that when MIDI was enabled, I got no sound |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
44 |
effects. I therefore decided to DISABLE music by default. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
45 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
46 |
To enable music, start OpenTTD with the command line: |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
47 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
48 |
openttd -m os2 |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
49 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
50 |
If I hear enough responses that both music and sound work together (it might |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
51 |
just be my system), I'll have the defaults changed. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
52 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
53 |
A NOTE ABOUT DEDICATED MULTIPLAYER SERVERS |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
54 |
------------------------------------------ |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
55 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
56 |
To start a dedicated multiplayer server, you should run the dedicated.cmd |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
57 |
file. This enables OpenTTD to open up a VIO console window to display |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
58 |
its output and gather any necessary input. Running "openttd -D" |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
59 |
directly will result in the console not being displayed. You may |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
60 |
still pass any other parameters ('-D' is already passed) to |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
61 |
dedicated.cmd. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
62 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
63 |
========================= |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
64 |
BUILDING THE OS/2 VERSION |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
65 |
========================= |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
66 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
67 |
Compiler |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
68 |
-------- |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
69 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
70 |
Open Watcom 1.3 was used to build OpenTTD (earlier versions will |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
71 |
NOT work). See http://www.openwatcom.org/ to download it. It may |
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
72 |
also be possible to build OpenTTD with GCC: I attempted this |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
73 |
before using Open Watcom, but found the tools available for OS/2 |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
74 |
at the time to be a bit more tricky to get working. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
75 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
76 |
Due to complexities in my set-up, I actually used the Win32 version |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
77 |
of Open Watcom to initially compile OpenTTD for OS/2. There should |
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
78 |
be no reason of course why the OS/2 version cannot be used, and I |
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
79 |
have subsequently built OpenTTD successfully this way. |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
80 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
81 |
Libraries Required |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
82 |
------------------ |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
83 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
84 |
The following libraries are required. To build zlib and libpng, I |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
85 |
simply added the required files (watch out for sample programs, etc) |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
86 |
to an IDE project file and built a library. Do not use the makefiles |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
87 |
provided, they are not designed for Watcom (apart from SDL): |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
88 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
89 |
- zlib |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
90 |
http://www.zlib.org/ - contains a makefile for OS/2, but is out |
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
91 |
of date and uses EMX, ignore this |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
92 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
93 |
- libpng |
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
94 |
http://www.libpng.org/ - contains an EMX/gcc makefile, ignore this |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
95 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
96 |
- SDL for OS/2 |
3398
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
97 |
ftp://ftp.netlabs.org/pub/sdl/sdl-1.2.7-src-20051222.zip used for |
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
98 |
0.4.7 |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
99 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
100 |
If you do not wish to build the libraries yourself, pre-built versions |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
101 |
can be downloaded from the Files section at |
3398
f4c7427ffe9e
(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!
orudge
parents:
1849
diff
changeset
|
102 |
http://sourceforge.net/projects/openttd/ - see "os2-useful-v1.1.zip". |
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
103 |
|
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
104 |
A Note About Subversion Revision Numbers |
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
105 |
---------------------------------------- |
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
106 |
|
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
107 |
The project file uses a bit of a hack to find out the SVN revision number and |
1528
94e532d0a921
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
Celestar
parents:
1524
diff
changeset
|
108 |
create an appropriate rev.c file. You'll need the SVN tools in your path |
94e532d0a921
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
Celestar
parents:
1524
diff
changeset
|
109 |
(specifically, "svnversion"). If "svnversion" can't be found, a generic rev.c |
94e532d0a921
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
Celestar
parents:
1524
diff
changeset
|
110 |
with the revision set to "norev000" will be created. To specifically force a |
94e532d0a921
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
Celestar
parents:
1524
diff
changeset
|
111 |
version number, set the environment variable "RELEASE" to the number (eg, "0.3.6") |
94e532d0a921
(svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge)
Celestar
parents:
1524
diff
changeset
|
112 |
-before- starting the Open Watcom IDE (which must be launched from the same shell |
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
113 |
session). Also, beware, as you WILL cause incompatibilities if you try to |
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
114 |
play a multiplayer game with a different version. |
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
115 |
|
844
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
116 |
Compiling |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
117 |
--------- |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
118 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
119 |
To compile, open the os/os2/openttd.wpj file in the IDE and first build |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
120 |
the strgen.exe target. This will build the .lng file generator, and will |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
121 |
also attempt to build all the language files (plus the table\strings.h |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
122 |
file which is required for openttd.exe to be built). Once strgen.exe and |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
123 |
the language files are built successfully, you can build the openttd.exe |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
124 |
target. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
125 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
126 |
Contact Information |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
127 |
------------------- |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
128 |
|
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
129 |
If you have any questions regarding OS/2 issues, please contact me |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
130 |
(owen@owenrudge.net) and I'll try to help you out. For general OpenTTD |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
131 |
issues, see the Contacting section of readme.txt. |
3b23ea71b711
(svn r1325) -Fixed eol-style properties on new files. Please before adding a new file to svn use: "svn propset svn:eol-style native <filename's>"!!
darkvater
parents:
818
diff
changeset
|
132 |
|
1524
d5cb3a8cfddc
(svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge)
celestar
parents:
844
diff
changeset
|
133 |
- Owen Rudge |