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
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
*The Cortex Command Community Project is Free/Libre and Open Source under GNU AGPL v3*
3
3
4
-
This is a community-driven effort to continue the development of Cortex Command. Stay up to date in our [discord channel](https://discord.gg/SdNnKJN).
4
+
This is a community-driven effort to continue the development of Cortex Command.
5
+
Stay up to date in our [Discord channel](https://discord.gg/SdNnKJN).
5
6
6
7
***
7
8
8
-
## Setup Process ##
9
-
9
+
# Windows Build Instructions
10
10
First you need to download the necessary files:
11
11
12
12
1. Install the necessary tools.
13
-
You'll probably want [Visual Studio Community Edition](https://visualstudio.microsoft.com/downloads/) (we mostly use 2017 but 2019 should be fine).
13
+
You'll probably want [Visual Studio Community Edition](https://visualstudio.microsoft.com/downloads/) (build supports both 2017 and 2019 versions).
14
14
You also need to have [Visual C++ Redistributable for Visual Studio 2017 (x86)](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) installed in order to run the compiled builds.
15
15
You may also want to check out the list of recommended Visual Studio plugins [here](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Source/wiki/Information,-Recommended-Plugins-and-Useful-Links).
16
16
17
17
2. Clone this Source Repository and the [Data Repository](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data) in neighboring folders.
18
18
**Do Not** change the folder names unless you want to make trouble for yourself.
19
19
20
-
3. Copy the following libraries from `Cortex-Command-Community-Project-Source\external\lib\` into the Data Repository:
20
+
3. Copy the following libraries from `Cortex-Command-Community-Project-Source\external\lib\` into the **Data Repository**:
21
21
*`lua51.dll`
22
22
*`fmod.dll`
23
23
*`liblz4.dll`
24
24
*`zlibwapi.dll`
25
25
26
-
4. Copy `Scenes.rte` and `Metagames.rte` from your purchased copy of Cortex Command into the Data Repository.
26
+
4. Copy `Scenes.rte` and `Metagames.rte` from your purchased copy of Cortex Command into the **Data Repository**.
27
27
28
28
Now you're ready to build and launch the game.
29
29
Simply open `RTEA.sln` with Visual Studio, choose your configuration, and run the project.
30
30
31
-
* Use "`Debug Open Source`" configuration to debug (this runs very slowly)
32
-
* Use "`Minimal Debug Open Source`" configuration to debug with all visual debug elements disabled (this runs slightly faster)
33
-
* Use "`Final Open Source`" configuration to build release .exe
31
+
* Use `Debug Full` for debugging with all visual elements enabled (builds fast, runs very slow).
32
+
* Use `Debug Minimal` for debugging with all visual elements disabled (builds fast, runs slightly faster).
33
+
* Use `Debug Release` for a debugger-enabled release build (builds slow, runs almost as fast as Final).
34
+
* Use `Final` to build release executable.
34
35
35
36
The first build will take a while, but future ones should be quicker.
36
37
37
-
##Linux Build Instructions ##
38
+
# Linux Build Instructions
38
39
The Linux build uses the meson build system, and builds against system libraries
39
40
40
-
Dependencies:
41
+
### Dependencies:
41
42
42
43
*`g++>=8.1` (needs to support c++17 filesystem)
43
44
*`allegro4`
@@ -52,43 +53,39 @@ Dependencies:
52
53
*`boost>=1.55`
53
54
*`xorg-misc-fonts`
54
55
55
-
Building:
56
+
### Building:
56
57
57
-
1. Install Dependencies (see below for some distro-specific instructions)
58
+
1. Install Dependencies (see below for some distro-specific instructions).
58
59
59
60
2. Clone this Source Repository and the [Data Respository](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data)
60
61
61
-
3.open a terminal in the Source Repository
62
+
3.Open a terminal in the Source Repository.
62
63
63
64
4.`meson builddir`
64
65
65
66
5.`cd builddir`
66
67
67
-
For `meson` versions `>=0.54` (check `meson --version`):
68
+
For `meson` versions `>=0.54` (check `meson --version`):
68
69
69
-
6.`meson compile` for debug build, or `meson compile CCCP` for a release build. If the build fails because of memory shortage you may need to reduce the number of build threads (meson will use all available threads by default) using the `-j<number of threads>` option, if this doesn't help increase your swap size to at least 6Gb
70
+
6.`meson compile` for debug build, or `meson compile CCCP` for a release build.
71
+
If the build fails because of memory shortage you may need to reduce the number of build threads (meson will use all available threads by default) using the `-j<number of threads>` option, if this doesn't help increase your swap size to at least 6Gb.
70
72
71
73
For `meson` versions `<0.54`
72
74
73
-
6.`ninja` for debug builds, or `ninja CCCP.x86_64` for release builds. Using the `-j<number of threads>` option will also work here.
74
-
75
-
76
-
Running:
75
+
6.`ninja` for debug builds, or `ninja CCCP.x86_64` for release builds.
76
+
Using the `-j<number of threads>` option will also work here.
77
77
78
-
1. Copy (or link, might be preferable for testing builds) `builddir/CCCP_debug.x86_64` or `builddir/CCCP.x86_64` (depending on if you made a release build) into the **Data Repository**
78
+
### Running:
79
79
80
-
2. Copy `Scenes.rte` and `Metagames.rte` from your purchased copy of Cortex Command into **Data Repository**
80
+
1. Copy (or link, might be preferable for testing builds) `builddir/CCCP_debug.x86_64` or `builddir/CCCP.x86_64` (depending on if you made a release build) into the **Data Repository**.
81
81
82
-
3. Run `./CCCP.x86_64` or `./CCCP_debug.x86_64` in the **Data Repository**
82
+
2. Copy `Scenes.rte` and `Metagames.rte` from your purchased copy of Cortex Command into **Data Repository**.
3. Run `./CCCP.x86_64` or `./CCCP_debug.x86_64` in the **Data Repository**.
89
85
90
-
### Troubleshooting ###
91
-
Until borderless windows are implemented, you might seem get stuck in fullscreen mode. Try Alt-Return, or if that doesn't work kill CC with ctrl-alt-end.
86
+
### Troubleshooting:
87
+
Until borderless windows are implemented, you might seem get stuck in fullscreen mode.
88
+
Try Alt-Return, or if that doesn't work kill CC with ctrl-alt-end.
92
89
93
90
On X11 media keys and such don't work in fullscreen, this is a known issue (this does not happen on Wayland).
For more information and recommendations, see [here](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Source/wiki/Information,-Recommended-Plugins-and-Useful-Links).
109
+
For more information and recommendations, see [here](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Source/wiki/Information,-Recommended-Plugins-and-Useful-Links).
0 commit comments