Commit Graph

47 Commits

Author SHA1 Message Date
Louis Gombert
164f102368 Split README between README, BUILD and USAGE files.
Prepare those files to be shipped with the pre-built assets.
2024-08-15 01:02:10 +02:00
Louis Gombert
10de36c0e4
Merge pull request #469 from tophyr/vcpkg-all-thethings
Use vcpkg on all presets
2024-08-04 14:10:09 +02:00
Chris Sarbora
e5dcce3c9f
Use vcpkg for all platform presets 2024-08-03 23:38:01 -05:00
Louis Gombert
0d7ad92c61 Use standard temporary directory to store cache data instead of custom/cache 2024-07-26 01:22:32 +02:00
Louis Gombert
d0a464979b Update Windows README instructions for 64bit win preset 2024-06-29 18:28:23 +02:00
Jason Yundt
aa213980b8 Document how to build the editor
Technically, users only need to install the “C++ MFC for latest v143
build tools (x86 & x64)” component if they’re going to build the editor.
This commit tells users to install that component regardless of whether
or not they’re going to build the editor. This commit could have added
another step that said “install this component if you’re going to build
the editor”, but I thought that adding an additional step would make
things slightly harder for users with little benefit. After all, users
only need to install the MFC component once, and there’s a chance that
they’ll already have it installed.

Fixes #472.
2024-06-29 06:06:14 -04:00
Jason Yundt
38e5332b90 Revamp build instructions
Before this change was made, I had tried building Descent 3 on Windows
for the first time. The instructions for building Descent 3 on Windows
were unclear, inaccurate and they messed up my installation of Windows.
(See #332 for details).

I started working on this commit in order to prevent that situation from
happening again. I ended up revamping the entire build instructions
section.

The biggest change that I made was making it so that users only need to
look at the instructions for their own platforms. Before this change,
you had to look at the “Building” heading and read the sentence that was
directly beneath it. If you don’t do what that sentence says, then the
instructions won’t work. Unfortunately, the way that the instructions
were laid out drew the reader’s eye away from that sentence.
Specifically, the instructions would draw the reader’s attention towards
the subheading for their specific platform. This commit makes it so that
each platform-specific subsection contains everything that users of that
platform need to know.

Another change that I made has to do with Git. Previously, the
instructions said “Build steps below assume you have already cloned the
repository and entered it locally.” They never told users how to make
sure that Git is installed or how to create a clone of the repository.
They also didn’t tell Windows users that the clone of Descent3 should
not be entered until after VCPKG_ROOT has been set. In other words, if a
Windows user had followed the instructions exactly as they were written,
then they would have ended up with a clone of vcpkg inside of their
clone of Descent3 (not using submodules!). This commit adds explicit
instructions for installing Git and cloning Descent3. It also makes sure
that Descent3 is only cloned after all dependencies have been installed.

I also made a Visual Studio-related changes in this commit. Previously,
the instructions for Windows said “Requires Visual Studio 2022 and C++
Tools (cmake and vcpkg)”, but the instructions never told users how to
make sure that they had those things. This commit adds explicit
instructions for how to make sure that you have Visual Studio and the
required components installed.

Another change that this commit makes has to do with vcpkg. Before this
commit, the Windows build instructions had you manually set up vcpkg.
This was redundant because the instructions also had you install Visual
Studio 2022 with the “Desktop development with C++” workload. That
workload comes with vcpkg [1], so setting up vcpkg manually was
unnecessary. This commit removes the parts about installing vcpkg.
(Thanks to @Lgt2x for this idea [2].)

The commit also adds sentences to the ends of the platform-specific
build instructions that tell users where the built files get put. This
is technically redundant since the Usage instructions already tell users
where to find the built files. Even though those sentences are
redundant, I still included them because they make the instructions
easier to use.

This commit also makes a minor capitalization-related change.
Previously, the build instructions said “Building - MacOS”. The official
capitalization has been “macOS” since 2016 [3][4].

Another minor change that this commit makes has to do with the Ubuntu
and Fedora build instructions. This commit adds the sentence “Run these
commands:” to each of those sections. I only added that sentence in
order to make the Ubuntu and Fedora sections more consistent with the
Windows and macOS sections. The Windows and macOS sections use that
sentence as part of a numbered list.

[1]: <https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2022#desktop-development-with-c>
[2]: <https://github.com/DescentDevelopers/Descent3/pull/413#discussion_r1624974614>
[3]: <https://www.businessinsider.com/wwdc-2016-os-x-becomes-macos-2016-6>
[4]: <https://www.apple.com/macos>
2024-06-18 06:57:36 -04:00
Louis Gombert
82c04f8fb9 Windows CMake preset: use ninja generator 2024-06-07 19:20:07 +02:00
Azamat H. Hackimov
95caa7b6c3 Remove ncurses enabled console
This type of console is enabled only with `-svgalib` and `-dedicated` options. Since there no svgalib direct support (which is pretty old and too specific to Linux tech), it's better completely remove this code for simplicity and reducing external dependencies.
Removed `-svgalib` option as unused now.
2024-05-31 13:12:28 +03:00
JeodC
ec59c6f63e Update README.md 2024-05-22 07:57:34 -04:00
Jason Yundt
e246c01fb3 Revamp usage instructions
This commit revamps the usage instructions in order to accomplish two
goals:

1. Make the instructions easier to follow by turning them into a
   numbered list.
2. Make sure that macOS and Linux users install all of the built
   libraries for their platforms.
2024-05-20 13:32:10 -04:00
Louis Gombert
959da14ff5 Remove spdlog dependency, keep the logging module 2024-05-14 14:12:03 +02:00
Louis Gombert
0e69bf465f
Merge pull request #241 from icculus/ryan-sdl2-port
Initial SDL2 port
2024-05-06 08:57:20 +00:00
Ryan C. Gordon
bd3a596975
sdl2: Updated README for SDL2 changes.
Update SDL 1.2 references, remove SDL_image references.
2024-05-05 10:27:48 -04:00
Kevin Caccamo
f289fce0e8
Add links to Steam and GOG store pages 2024-05-04 03:00:08 -04:00
Jeod
b90566ab03 Rewrite Windows usage instructions 2024-05-02 10:04:48 -04:00
Jason Yundt
67ecea0577 Fix variable name in Linux build instructions
0b41a1b (CMake: expose BUILD_TESTNG option, rename LOGGER to
ENABLE_LOGGER, 2024-04-29) had originally introduced this change. It
looks like d132a1c (Merge pull request #251 from
winterheart/pstring-unittests, 2024-05-01) unintentionally removed this
change.
2024-05-02 07:56:21 -04:00
Jason Yundt
1ce01c95f8 Remove unused 32-bit libXext dependency
When the compilation instructions were first written [1], it made sense
to tell users to install the 32-bit version of libXext. At the time,
compiling Descent 3 on Linux required running a pre-compiled
hogUtils-i686 binary, and that binary depended on libXext.

As of 1765d07 (Remove now unused hogUtils-i686, 2024-04-21), the
hogUtils binary no longer exists, so there’s no need to install a 32-bit
version of libXext.

[1]: f929310 (Update README.md, 2024-04-20)
2024-05-02 06:42:41 -04:00
Jason Yundt
a3229d4964 Fix package name
Fixes #267.
2024-05-02 06:42:41 -04:00
Jeod
7607593958
Merge branch 'main' into cmake-options 2024-04-30 17:57:58 -04:00
Louis Gombert
0b41a1b963 CMake: expose BUILD_TESTNG option, rename LOGGER to ENABLE_LOGGER 2024-04-30 20:41:45 +02:00
Bryan Perris
b0e5754e96 Introduce spdlog logging system
* The game version is now printed via the log system rather than from within the loki_initialize function.
remove this line
2024-04-30 14:27:38 -04:00
Jeod
b26193f603
Update README.md 2024-04-28 09:41:15 -04:00
JeodC
ea1a60e260 Add vcpkg steps to windows build instructions. 2024-04-27 19:24:10 -04:00
Thomas Otto
00a847ef9f README: cmake defines must be passed to --preset
cmake --build will ignore them
2024-04-24 20:36:40 +02:00
Jeod
d3312b7f57
Update README.md - consistency 2024-04-24 14:18:40 -04:00
Louis Gombert
aab8fbb3c9
Merge pull request #170 from eslutz/readme-update
Fix typo in README
2024-04-24 07:49:58 +00:00
Oskar Strengbohm
132a725daa unzip: Link against real zlib. 2024-04-24 08:22:13 +02:00
Eric Slutz
ac9d81d27a
Update README.md 2024-04-24 00:59:03 -04:00
Jacob Coby
96ce6d2c73 Logging updates:
* Adds CMake Option
 * Adds LOGGER to the README
 * Removes MONO define in favor of LOGGER
2024-04-23 13:53:00 -04:00
Jeod
c0fb3a3f02
Update README.md 2024-04-22 17:54:07 -04:00
Jeod
74b7956787
Add logo to readme 2024-04-22 17:27:29 -04:00
scivision
62cd52de54
readme: note location of newly build Descent3 binary 2024-04-22 00:20:17 -04:00
Jason Yundt
423dfdb249 Remove unnecessary build dependency
2d4d82d (Accurately find the linux artifacts (#80), 2024-04-19) made it
so that make no longer gets used as a part of the build process, but it
didn’t remove make from the list of build dependencies.
2024-04-21 08:59:56 -04:00
Dan Raviv
f142a65a15 Add cmake to Brewfile, simplify instructions 2024-04-20 20:28:38 -07:00
Jeod
fea041475e
Add missing prerequisite 2024-04-20 18:03:55 -04:00
Jeod
76ae823250
Correct typos 2024-04-20 18:02:06 -04:00
Jeod
f929310f9d
Update README.md 2024-04-20 16:04:14 -04:00
Jeod
bff9cc8eb3
Update README.md 2024-04-17 14:06:30 -04:00
Jason Yundt
170baba975 Simplify link to Discord server
Before this change, the README included a Discord invite link using
CommonMark’s regular link syntax [1]. When a link’s text and destination
are the same, you can use an autolink [2] to avoid repeating yourself.
This change replaces the regular link with an autolink.

[1]: <https://spec.commonmark.org/0.31.2/#links>
[2]: <https://spec.commonmark.org/0.31.2/#autolinks>
2024-04-17 07:20:05 -04:00
Kevin Bentley
84024c0a53
Update README.md 2024-04-16 18:40:59 -06:00
Kevin Bentley
9a864dba4a
Update README.md 2024-04-16 18:26:53 -06:00
Kevin Bentley
d931b77e2b
Update README.md 2024-04-16 16:50:23 -06:00
Kevin Bentley
61bb9a337d
Update README.md
Added a missing a word.
2024-04-15 23:05:56 -06:00
Kevin Bentley
815583d85d Update README 2024-04-15 21:46:00 -06:00
Kevin Bentley
df209742fc Initial import 2024-04-15 21:43:29 -06:00
Kevin Bentley
637df31ca1
Initial commit 2024-04-15 21:35:45 -06:00