README.INSTALL
1INSTALLATION:
2
3--------- NOTE:
4If you have a version less than 0.95 installed on your system, you MUST
5 ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^
6remove the following symlinks with:
7 rm /usr/local/bin/lin-city
8 rm /usr/local/bin/xlin-city
9You should also get rid of the old source tree (although this isn't strictly
10necessary), with
11 rm -r /usr/local/games/lin-city
12---------
13
14To install LinCity, (as root) untar the file lincity-1.11.tar.gz
15
16 tar -xzvf lincity-1.11.tar.gz
17
18This will unpack the game into the directory ./lincity-1.11
19
20If you want to compile the source (you will usually have to do this.)
21=================================
22
23 make clean
24 make lincity (or, make [ xlincity | hpux | solaris ])
25 make install
26
27 [ you can type 'make' on its own to see what options you have and
28where the files will be installed. ]
29
30If you got a binary release and want to only install, go into the directory
31./lincity-1.11 and type
32
33 make install This will install the Linux SVGA and X elf binaries
34 if you got the elfbin version. If you got the source
35 only version, (or you are non-elf or non-Linux)
36 you will have to compile the program.
37
38This will install the binaries in /usr/local/bin/ and the library/data files
39in /usr/local/lib/lincity/ . If you want to install the -libraries- to a
40different place, you will have to edit the Makefile and recompile. (The
41binaries can go anywhere on your path.)
42
43You might also want to edit the first few lines of lin-city.h to change some
44of the user configurable options, such as mouse sensitivity.
45
46Installing to a different directory
47===================================
48Binaries:
49 Edit the Makefile and change LC_BINDIR the where you want the
50 binaries installed. Then simply make install.
51Library/data files:
52 Edit the Makefile, changing LC_LIBDIR
53 Then compile the source (make clean; make lincity; make install)
54
55
56
57 NOTE: If you don't run an ELF system, you will have to compile the source.
58
59
60Running LinCity.
61===============
62
63As a user, run the game with the command
64
65 lincity (or, xlincity)
66
67Press space to get past the opening screen, then select an option from the
68large window. See the README for some command line options.
69
70If you need to claw back some HD space, you can delete the source tree after
71you have installed.
72
73
74NOTES FOR X VERSION
75===================
76
77When playing in 256 colour (8bbp) display modes, when you go over the edge
78of your window, the window manager changes the colour palette back to the
79'normal' one, then back to the game's one when the mouse reenters the
80window. This is what is supposed to happen, but can be a bit annoying when
81trying to click on areas close to the edge and overshooting. For this
82reason, I have added an extra border around the game to give players a bit
83of 'breathing space'.
84
85You can disable this feature by starting the game with a '-b' switch. ie.
86
87 xlincity -b
88
89There is now a button that enables you to confine the mouse pointer within
90the X window. ( xlincity -b, then confining the pointer and changing the
91screen res to 640x480 gives you a 'full screen' game. :) )
92
93Istalling picedit
94=================
95
96picedit is a simple drawing program that was used to draw all the icons
97found within the game. You are free to play with this, and even send me
98new icons that you have designed - although I cannot guarantee that any
99icons sent to me will be included in later versions. If you intend to design
100some that you feel should be included, please e-mail me first, this may save
101a lot of wasted effort.
102
103 make picedit (or make xpicedit)
104
105will compile *and install* picedit to /usr/local/bin, and its data files
106to /usr/local/lib/lincity. If you want these installed somewhere else
107edit the Makefile as for lincity.
108
109
README.aix
1
2AIX support for LinCity
3
4Andrew Costa seagull@osiris.isys.ca
5
6reports that LinCity compiles 'out the box' with a simple
7
8 make xlincity (then make install)
9
10on the following machine:-
11
12- IBM Thinkpad-850
13- PowerPC-603e (100 MHz), 64 megs memory
14- X11R5 with the Common Desktop Environment
15- gcc-2.7.2, gas-2.7.?, make-3.74
16
17
18
README.freebsd
1
2 **** README.freebsd for lincity ****
3
4Lincity is known to compile cleanly and start up on FreeBSD-2.1.0, but it is
5not thoroughly tested.
6
7GNUmake is required.
8
9To compile and install:
10
11 make clean
12 make freebsd
13 make install
14
15Run the game with 'xlincity'
16
17Have fun...
18
README.irix
1
2 **** README.irix for lincity ****
3
4This is ALPHA. Frederic Roussel sent me the patches but this
5hasn't been tested on any other machines.
6
7To compile and install:
8
9 make clean
10 make irix
11 make install
12
13Run the game with 'xlincity'
14
15Have fun...
16
README.os2
1 README for OS/2 (XFree86) port of Lincity
2
3
4Ronald Van Iwaarden (rvaniwaa@cs.hope.edu) did the port
5of Lincity to XFree86 for OS/2 using EMX gcc. His changes
6in the source have been included before 1.0.
7
8Alexander Mai (st002279@hrzpub.tu-darmstadt.de) supplied the new
9Makefile.os2 and a few new patches.
10
11Note: To compile under OS/2 use:
12 x11make -f makefile.os2
13The command above will show you the available targets.
14
15
README.sco
1 **** README.sco for lincity ****
2
3 Lincity uses 'gzip' to compress and uncompress saved games. Gzip is
4 not a standard SCO OpenServer utility, but you can get it from the
5 'SCO Skunkware' archive; currently
6
7 ftp://ftp.sco.com/Skunk/bin/gzip
8
9
10
11To compile under SCO OpenServer 5.0:
12
13 make clean
14 make sco
15
16If the CC link fails, with the message
17
18 undefined first referenced
19 symbol in file
20 gettimeofday(timeval*,timezone*) main.o
21
22then you need to make a small edit to the file /usr/include/sys/time.h
23to make it C++-clean. To do this, add the encapsulation
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29before the line
30
31 #if !defined(_INKERNEL)
32
33and
34
35 #ifdef __cplusplus
36 }
37 #endif
38
39after the line
40
41 #endif /* !defined(_INKERNEL) */
42
43to the file. Here's a patch input that will do it on SCO OpenServer
445.0.0 and 5.0.2:
45
46 57a58,61
47 > #ifdef __cplusplus
48 > extern "C" {
49 > #endif
50 >
51 68a73,76
52 >
53 > #ifdef __cplusplus
54 > }
55 > #endif
56
57(but be VERY careful applying this on other releases). Now run
58
59 make clean
60 make sco
61
62and everything should be OK. Assuming that it is, install with
63
64 make install
65
66You may need to create /usr/local, /usr/local/lib, and/or
67/usr/local/bin if they aren't there already.
68
69Run the game with 'xlincity'
70
README.win32
1
2 **** README.win32 for lincity ****
3
4Welcome to the WIN32 version of Lin City.
5This README corresponds to Lin City version 1.11A.
6
7
8INSTALLATION
9============
10 Simply unpack the archive, and double click on the LINCITY.EXE icon.
11 Be sure to use a program such as UNZIP which preserves long filenames.
12 You can get your free copy of UNZIP from the INFO-ZIP web page at
13 http://www.cdrom.com/pub/infozip/UnZip.html.
14
15RELEASE NOTES
16=============
17 LinCity for Win32 automatically chooses whether or not to add a border
18 and/or perform pix doubling, depending on your resolution. Furthermore,
19 it will automatically maximize the window or even go into full screen
20 mode. Here is what you should see for some of the more popular
21 resolutions:
22
23 Resolution Window Style Border Pix Doubling
24 ------------ ------------ ------------ ------------
25 640 x 480 Full screen None No
26 800 x 600 Window Yes No
27 1024 x 768 Window Yes No
28 1152 x 864 Window Yes No
29 1280 x 1024 Window None Yes
30
31 If you are running 1280x1024, you may need to autohide the taskbar
32 in order to see pix doubling.
33
34 Lin City now uses a real windows font to draw text. This fix gave me
35 a speed improvement of 20% at year 800.
36
37 If you get a message such as "Can't open the font file", this probably
38 means that the long file names did not get unzip'd correctly. Go to the
39 C:\LINCITY???\OPENING directory, and look for the file winfont_8x8.fnt.
40 If this file does not exists (or if it is called winfont_.fnt), then
41 is definitely the problem. Reinstall the archive using the UNZIP program.
42
43 If you get a message such as "Error. Can't find LINCITY_HOME", this
44 means that LinCity can't find it's home directory. The program searches
45 for the file "Colour.pal" in the following three directories (in order):
46 The current working directory
47 The directory pointed to by the $LINCITY_HOME environment variable
48 The default directory C:\LINCITY111A
49
50 Multi-transport is now supported. Simply shift-click at the beginning
51 and shift-click at the end, and you'll get a whole line of track, road,
52 rail or power lines. Look for the blue border around the main window to
53 confirm that you are in multi-transport mode.
54
55 Save files are not binary compatible with the UNIX version of LinCity.
56 You will need to gzip/gunzip the save files when you transfer them to/from
57 your UNIX box.
58
59 You can now scroll the main screen using the arrow keys. Furthermore, you
60 can do a "fast scroll" with the SHIFT+ARROW key. Double doubleplus good!
61
62 The source code is now distributed together with the binary distribution,
63 in the file source.tgz.
64
65
66HISTORY
67=======
68 1.11
69 - See CHANGES file for more recent changes.
70 1.09
71 - Added full screen capability for VGA resolution.
72 - Fixed windows menus (open/save/help).
73 - Added "fast scroll" (SHIFT+ARROW KEY).
74 - Fixed bug for placing multiple random villages in first year.
75 - Added help screen for Windows keys.
76 1.08
77 - Chaged font drawing routines to use windows fonts.
78 - Fixed mouse offset problems (square cursor not centered under mouse).
79 1.07
80 - (UNIX only release)
81 1.06
82 - Merged in mouse click fix from Unix version.
83 1.05d
84 - Fixed 1/2 second delay between clicking and placing item.
85 - Fixed decreased performance when mouse is in main screen.
86 1.05c
87 - Initial beta release.
88
89
90KNOWN BUGS
91==========
92 o Your OS must support long file names.
93
94 o No mail sent when you win. You can find your winning statistics
95 in the following file:
96 $LINCITYHOME/SAVED_GAMES/results
97
98 o See the file BUGS for more bugs.
99
100
101COMPILATION
102===========
103I am using MS VC++ 4.0 under Win95. LinCity is reported to compile
104under MS VC++ 6.0 also. If you are using MSVC, you might
105be able to unpack the archive, and type something like this:
106
107 c:lincity???> nmake /f lincity.mak
108
109I have also included the 4.0 workspace file, Lincity.mdp. This may
110or may not be helpful for you.
111
112If you are using a different compiler, you may need to generate your own
113Makefile. You need to compile the following files:
114
115 ENGINE.CXX
116 HELP.CXX
117 LCWIN32.CXX
118 MAIN.CXX
119 MARKET.CXX
120 MOUSE.CXX
121 MPS.CXX
122 SCREEN.CXX
123 TRANSPORT.CXX
124 TYPEINIT.CXX
125 WINMAIN.CXX
126
127And link with the following libraries (in addition to the standard WIN32
128libraries):
129
130 VERSION.LIB
131
132
133COMMENTS?
134=========
135Any bugs or comments, send email to Greg Sharp at gregsharp@geocities.com.
136
137Have fun...
138