forked from earlfogel/UltraRogue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
68 lines (44 loc) · 1.55 KB
/
INSTALL
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
This software builds on linux and windows. Probably other *nix's too,
but I haven't tried.
To build urogue, change to the rogue directory and type make:
cd rogue
make
Normally urogue stores any files it needs in the user's home directory,
but if you want, it can use a shared score file on multi-user systems.
To use a shared score file, edit tunable.c to set the file path, then
create an empty file at that location and make it writable by anyone who
will be playing urogue.
Building on Windows
-------------------
To build on Windows, I use msys2 and mingw.
Download msys2 from www.msys2.org and run the installer.
Run msys2 (from Start Menu). This gives you a unix-like shell window.
Now update msys2:
$ pacman -Syu
If needed, close the msys2 window and run it again.
Now update the packages included with msys2:
pacman -Su
To install additional packages:
pacman -S vim
pacman -S unzip
pacman -S diffutils file grep make mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-pdcurses
Now run a MinGW 64-bit shell (from Start Menu).
Build urogue:
cd UltraRogue-master
cd rogue
make -f Makefile.win
If all goes well, you can now run urogue:
./urogue.exe
Optional: copy urogue.exe to Windows along with any required DLLs:
mkdir /c/urogue
cp urogue.exe /c/urogue
cp ../extras/urogue.bat /c/urogue
cp /mingw64/bin/libwinpthread-1.dll /c/urogue
cp /mingw64/bin/libpdcurses.dll /c/urogue
Run it from a Windows command window:
cmd
c:
cd \urogue
urogue.bat
Edit urogue.bat to set options or change the window size.