File: README.win32

package info (click to toggle)
exult 0.98rc1-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 6,924 kB
  • ctags: 8,928
  • sloc: cpp: 83,768; sh: 7,643; ansic: 4,328; makefile: 890; yacc: 618; lex: 255; xml: 19
file content (128 lines) | stat: -rwxr-xr-x 4,183 bytes parent folder | download
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
Exult instructions for Windows
------------------------------------


To play
---------
Copy exult.exe into your Ultima 7 directory.
If you are currently playing a game of Ultima 7, be sure 
 to remove the gamedat directory. (don't forget to back
 it up first...)
Run exult.exe
Have fun!


Notes
------
* Exult generates the files 'stdout.txt' and 'stderr.txt'.
These may give you some idea of what is going on
under the hood. When Exult suddenly quits, sometimes
these files can help.

* If you're interested in building Exult for windows yourself, 
there are two sections below describing how.


To build in Windows using MinGW
-----------------------------------
(Thanks to Travis Howell)

Download MinGW 1.0 or later from (for example):    (one line)
http://prdownloads.sourceforge.net/mingw/MinGW-1.1.tar.gz

Extract the files to a mingw directory in root directory of drive
(ie C:\mingw\ )

Get the zlib binaries & headers from:
http://exult.sourceforge.net/snapshots/exult_zlib_win32.zip
Unzip this file into the MinGW directory. 

Get the SDL binaries & headers from:
http://exult.sourceforge.net/snapshots/exult_sdl_win32.zip
Unzip this file into the Exult directory. (it should add a SDL subdirectory)

If you want to compile the Exult Tools get the bison, flex and libpng binaries & headers from:
http://exult.sourceforge.net/snapshots/exult_bison_win32.zip
http://exult.sourceforge.net/snapshots/exult_flex_win32.zip
http://exult.sourceforge.net/snapshots/exult_libpng_win32.zip
Unzip these files into the MinGW directory.

Open Command Prompt or MS-DOS Prompt

Type 'PATH=drive:\mingw\bin;%PATH%' where drive is the letter of the hard disk you installed mingw on to, without quotes to add mingw to the path
(ie PATH=C:\mingw\bin;%PATH% )

Change to the directory where you unpacked the Exult source code.
(cd C:\exult\)

Open makefile.win32 from the Exult directory in a text editor and change C:\\Ultima7 to the directory you want Exult to be installed to.
(ie C:\\Games\\Ultima7 )

Type 'make -f makefile.win32 install' without quotes to compile and install Exult for Windows

Type 'make -f makefile.win32 toolsinstall' without quotes to compile and install the Exult Tools for Windows

Once compile has finished and been installed exit the Command Prompt or MS-DOS Prompt

Run Exult.exe and enjoy the game :-)



To build in Windows using MSVC 6.0
----------------------------------

1) Download SDL and ZLib for Win32/MSVC6. Add their Include and Library
directories to MSVC's Search Directories (Tools->Options->Directories).

SDL: http://www.libsdl.org/
ZLib: http://www.gzip.org/zlib/

2) Set The environment variable EXULT_INSTALL_PATH to the directory where you
want the Exult binaries to be copied to when doing an Install Build. This is
optional and is only required for when doing an Install build.

3) Load the Exult Project Workspace "msvcstuff/Exult.dsw" in MSVC 6.0
(File->Load Workspace)

4) If required, enter the correct "Working Directory" in the "Debug tab" of the
Exult project settings for all Configurations.

5) Select and Build Exult using one of the 4 Configuration (Win32 Debug,
Win32 Release, Win32 Debug Install or Win32 Release Install).

6) Have Fun!


To cross-build from Linux
---------------------------
(Note: this hasn't been tested recently, and may or may not work)

Exult is originally a Linux project, using a platform
independent API called SDL. (Simple DirectMedia Layer)

Because of this, the Windows version has been built in
Linux, using the cross-compiler Mingw32.

Please note it is not necessary to build Exult yourself,
since the Windows executable is already included.

1) get and install Mingw32 and SDL.

SDL: http://www.devolution.com/~slouken/SDL/

Mingw32: http://www.devolution.com/~slouken/SDL/Xmingw32/

Installation instructions can be found on the same pages.
(make sure to get the DirectX headers, and build SDL for the cross compiler)

2) build exult:

configure --host=i386-linux --target=i386-mingw32 --enable-win32
make

3) copy exult.exe to your U7 directory, and run it from windows
If you are currently playing a game of Ultima 7, be sure
to make a backup of the gamedat directory.
 
4) Have fun :-)