You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+35-19
Original file line number
Diff line number
Diff line change
@@ -21,37 +21,35 @@ Prerequisites
21
21
- Floppy disk assets are an older version that we can't load currently
22
22
23
23
24
-
Downloads
24
+
Running
25
25
=======
26
26
27
-
We have CI systems in place building [distributable packages](https://github.com/Interrupt/systemshock/releases/) out of tagged commits for Linux, Mac and Windows.
27
+
## From a prebuilt package
28
28
29
-
Compiling / Running
30
-
============
29
+
Find a list of [downloadable packages](https://github.com/Interrupt/systemshock/releases/) for Linux, Mac and Windows. 32 and 64 bit versions are available for Linux and Windows.
30
+
31
+
## From source code
31
32
32
-
## Prerequisites
33
-
- SDL2, 32 bit
34
-
- SDL2_mixer, 32 bit
33
+
Step 1. Build the dependencies:
34
+
* Windows: `build_win32.sh` or `build_win64.sh` (Git Bash and MinGW recommended)
35
+
* Linux/Mac: `build_deps.sh` or the CI build scripts in `osx-linux`
36
+
* Other: `build_deps.sh`
35
37
36
-
## Building SDL
37
-
### Linux/Mac
38
-
You can use the included `build_deps.sh` shell script to build the required versions of SDL2 / SDL2_mixer or use system ones.
39
-
Here brief options list:
38
+
Step 2. Build and run the game itself
39
+
```
40
+
cmake .
41
+
make systemshock
42
+
./systemshock
43
+
```
40
44
45
+
The following CMake options are supported in the build process:
41
46
*`ENABLE_SDL2` - use system or bundled SDL2 (ON/BUNDLED, default BUNDLED)
42
47
*`ENABLE_SOUND` - enable sound support (requires SDL2_mixer, ON/BUNDLED/OFF, default is BUNDLED)
43
48
*`ENABLE_FLUIDSYNTH` - enable FluidSynth MIDI support (ON/BUNDLED/OFF, default is BUNDLED)
44
49
*`ENABLE_OPENGL` - enable OpenGL support (ON/OFF, default ON)
45
50
46
-
### Windows
47
-
See [the Windows readme](windows/readme_windows.md).
51
+
If you find yourself needing to modify the build script for Shockolate itself, `CMakeLists.txt` is the place to look into.
48
52
49
-
## Build and run
50
-
```
51
-
cmake .
52
-
make systemshock
53
-
./systemshock
54
-
```
55
53
56
54
Command line parameters
57
55
============
@@ -71,3 +69,21 @@ Run a fan mission from specific files:
71
69
```
72
70
./systemshock my-archive.dat my-strings.res
73
71
```
72
+
73
+
Control modifications
74
+
=======
75
+
76
+
## Movement
77
+
78
+
Shockolate replaces the original game's movement with WASD controls, and uses `F` as the mouselook toggle hotkey. This differs from the Enhanced Edition's usage of `E` as the mouselook hotkey, but allows us to keep `Q` and `E` available for leaning.
Copy file name to clipboardexpand all lines: osx-linux/readme_osx_linux.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@ Shockolate - Portable System Shock
2
2
============
3
3
4
4
1. Copy `res/` folder of original System Shock to this directory
5
-
2.Shockolate depends on SDL2. Install SDL2and SDL2_mixer by running `./install_sdl.sh`. Linux needs sudo for this script.
5
+
2. Install SDL2, SDL2_mixer and Fluidsynth by running `./install_<bits>bit_sdl.sh` where `<bits>` is 32 or 64, depending on your system capabilities. Linux needs `sudo` for this script.
0 commit comments