Skip to content

Commit

Permalink
Update README to mention other R136s
Browse files Browse the repository at this point in the history
  • Loading branch information
rbergen committed Aug 5, 2024
1 parent 9f1a400 commit 08e4b1d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This is a text adventure a friend and I created all the way back in 1998.

After initially developing the game in what must have been QuickBASIC, it seems that I ported it to the C language I was just getting comfortable with at the time.

The C version of the game was developed for MS-DOS using the Borland C++ IDE, including the proprietary functions it provided. This repository holds a Windows console conversion
of that version, developed in Visual Studio 2019 Community Edition. You will need to install the "Desktop development with C++" workload to be able to build it. The original 1998
BASIC and C sources are included in the repo for the purposes of preserving history and general entertainment.
The C version of the game was developed for MS-DOS using the Borland C++ IDE, including the proprietary functions it provided. This repository holds a Windows console conversion
of that version, developed in Visual Studio 2019 Community Edition. You will need to install the "Desktop development with C++" workload to be able to build it. The original 1998 BASIC and C sources are included in the repo for the purposes of preserving history and general entertainment.

With the original DOS console long gone, I've refactored the game to use [ncurses](https://invisible-island.net/ncurses/announce.html) on \*nix-like systems, and [PDCurses](https://pdcurses.org/) on Windows. This enables some basic console manipulation, whilst not resorting to Windows-specific console functions. (Originally I used my own [PDCurses-sources-turned-Visual-Studio-project](https://github.com/rbergen/PDCurses) version of PDCurses, but I have since then switched to the PDCurses package supplied by the excellent [vcpkg tool](https://github.com/microsoft/vcpkg).)

After that, for non-Windows platforms, I've added a CMake build configuration. With this, R136 has been verified to build and run on at least:

* Windows using Visual Studio 2019, both as a VC++ solution and using CMake
* Windows with MSYS2/MinGW64 using GCC and PDCurses
* Windows with MSYS2/MinGW64 using GCC and ncurses
Expand All @@ -28,11 +28,20 @@ The game was originally only available in the Dutch language, but has now been t
* Machiel Keizer - tester

## Building
Due to the fact that a CMake build configuration is included, you should be able to build R136 from source code on all systems that have installed:

Due to the fact that a CMake build configuration is included, you should be able to build R136 from source code on all systems that have installed:

* CMake version of 3.15 or newer
* a C/C++ build toolchain that is supported by CMake (which includes all "common" ones)
* a version of (n/PD)curses with wide-character support

On Windows, I recommend using the PDCurses version provided by vcpkg. Installation instructions for vcpkg can be found [on Microsoft's website](https://docs.microsoft.com/en-us/cpp/build/vcpkg).

## Other versions of R136

Also available are:

* A version of R136 developed in C#.NET, that includes both a console and a WebAssembly in-browser web application version. You can find that in the [R136.NET](https://github.com/rbergen/R136.NET) repository.
* An _updated_ version of the original 1998 procedural C++ version that requires Borland C++ 5.02 to build, and using that can be compiled to work on the original Intel 8086 CPU. That can be found in the [R136-8086](https://github.com/rbergen/R136-8086) repo.

_- Rutger van Bergen - [github.com/rbergen](https://github.com/rbergen)_

0 comments on commit 08e4b1d

Please sign in to comment.