Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

Return to Part 1: Dumpster Diving

Continued from Part 14: Return to Na Pali

John Carmack's generosity in releasing his older source code resulted in a proliferation of free first person shooters in the 2000s with almost all of them based on some variation of the Quake engine. This proved to be a boon to Linux gamers, but Dutch programmer Wouter van Oortmerssen rejected this path to forge Cube based in the same "just for fun" spirit with which Linus Torvalds first began work on the Linux kernel.

Unlike Torvalds though Cube was helped by Oortmerssen's deliberate rejection of the open source model, which often clashes with the auteur nature of independent game development. The source code is available under the zlib License for anyone to modify, but the distributed game itself is his own curated creation, with his singular vision proving to be what happens when you mix Doom, Quake, and Serious Sam in a blender.

In the end I had to use the oldest binaries still available from SourceForge, those contained in the cube_2002_10_20.zip archive, as every later packaged version of the game was built against libstdc++5 which is too new for my Red Hat Linux 7.3 installation. This places me in the curious position of being on the opposite end of the glibc 2.3 compatibility problem, as this is the main library which causes issues when running certain Loki Software games on newer systems.

I did try building the final Cube source code myself on Dianoga, but was not able to provide the ENet development libraries that Cube requires. The last released binaries do still run on my modern Arch Linux computer, although I had to modify the launch script or it would complain "Your processor does not have a supported Cube client" upon discovering I was starting the game under x86_64. Overriding the check resolved this, but it still suffers from a video memory leak.

While Cube never became the slickest game, this early version from 2002 is even rougher around the edges. I actually found the game easier to play after familiarizing myself more with the final release and then going back, as the monsters in their earlier incarnations do not telegraph their attacks as much and simply transform into meaty chunks when killed, not giving me as much feedback to aid in developing viable counters.

 

Single player consists of two modes, "SP" which plays like a standard first person shooter campaign where you progress through levels unlocking areas until all the monsters are killed, and "DMSP" which takes the form of a horde mode but with there still being a finite number of enemies to eliminate on a map. These work, but it is way too easy to end up with just one or two monsters left on a level, forcing you to scour the entire map again in search of them.

Limitations like this make "DMSP" more enjoyable than the "SP" mode, as the tighter formula of stock up, hold your ground, then hunt down the stragglers, rinse and repeat, plays more to the game's strengths with the chaotic gunplay and monster infighting. More remarkable than Cube itself is the engine that powers it, due to its advanced in-game level editing abilities but also the engine's conspicuous simplicity.

Levels are actually displayed using a 2D height map similar to that of the original Doom, having most of the same restraints such as no rooms over other rooms, but with Cube also supporting slopes and 3D modeled polygonal assets. The result is a delightful blend of both the old and the new, which along with all the map data being interpreted on the fly makes for an easy yet powerful creative tool for constructing levels or even entire new games.

The performance of the Cube engine was also quite acceptable, feeling fluid for me except for in the most intense situations even when using default settings. There were some graphical glitches, mostly along the seams of walls, floors, skyboxes, as well as the edges of water, and there were a few broken transparencies with projectile sprites. Overbright lighting also gets disabled, which is odd as the game documentation states that my video card should support it.

The flexibility of the engine resulted in a number of forks, the most notable being AssaultCube, a standalone tactical spin off which still sees active development. There is also the sequel Cube 2Sauerbraten, which brings the same editing features of Cube to a full 3D game engine, and was last updated in 2020. Having put my Rage 128 Pro through its paces running three different OpenGL game engines on Linux, let us now try to exercise my Sound Blaster 16 instead.

Carrying on in Part 16: We Are All Doomed

Return to Part 1: Dumpster Diving

Article taken from GamingOnLinux.com.
15 Likes
About the author -
author picture
Hamish Paul Wilson is a free software developer, game critic, amateur writer, cattle rancher, shepherd, and beekeeper living in rural Alberta, Canada. He is an advocate of both DRM free native Linux gaming and the free software movement alongside his other causes, and further information can be found at his icculus.org homepage where he lists everything he is currently involved in: http://icculus.org/~hamish
See more from me
The comments on this article are closed.
4 comments

Hamish Mar 7, 2022
The Cube homepage is hosted here:
http://cubeengine.com/cube.php

Older Cube releases can be download from here:
https://sourceforge.net/projects/cube/files/cube/

A review by Howard Wen for LinuxDevCenter.com is archived here:
https://web.archive.org/web/20070930160850/http://linuxdevcenter.com/pub/a/linux/2002/10/10/cube3d.html?page=1

And a review of Cube on Linux Games is archived here:
https://web.archive.org/web/20040430131313/http://www.linuxgames.com/?dataloc=/reviews/cube/


Last edited by Hamish on 7 February 2023 at 6:08 am UTC
rea987 Mar 7, 2022
QuoteThe flexibility of the engine resulted in a number of forks, the most notable being AssaultCube, a standalone tactical spin off which still sees active development.

AssaultCube is still quite fun. I have just noticed that AssaultCube has been released on Google Play for Android for free. Interesting...

https://play.google.com/store/apps/details?id=net.cubers.assaultcube&pcampaignid
Drakker Mar 8, 2022
Ahhh, Cube, good old times. I made quite a few levels for this game that made it into the official releases. I loved the simplicity and elegance of this engine, it's so much fun to make levels with it. It has a lot of restrictions, but in my book, that's a good way to spark creativity. Sauerbraten / Cube 2 was very fun to make levels for too, but you had so many possibilities that making levels took much longer than with the original Cube.
Calinou Mar 8, 2022
Cube recently celebrated its 20th anniversary! Someone made a page that hosts the very first version available (no Linux binary, but runs well in WINE): http://cubeengine.com/forum.php?action=display_thread&thread_id=2763
I only played the last Cube release (20050829) before trying out the first version, so it's interesting to see how it evolved over time. It's interesting to note that the old shotgun sound is very similar to the super shotgun sound currently used in Freedoom: Phase 2.

Fun fact: In February 2022, the game's source code was relicensed to Zlib (after using a modified Zlib license that made it GPL-incompatible.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.
Buy Games
Buy games with our affiliate / partner links: