New Projects - Fresh from the Labs
If you remember last month's column, I was excited about a particularly cool-looking submarine simulator, Danger from the Deep. This month, I'm proud to feature it as one of the main projects. According to its Web site:
Danger from the Deep (known as dangerdeep or DftD) is a free (as in free speech), open-source World War II German submarine simulator....This game is planned as tactical simulation and will be as realistic as our time and knowledge of physics allows. Its current state is alpha, but it is playable.
DftD currently is being developed on Linux (i386 and AMD64) and Windows. There are binaries available for Linux (i386 and AMD64) and Windows (32-bit), and there are some old packages for Mac OS X. Danger from the Deep makes use of SDL/OpenGL and, thus, should be portable to other operating systems or platforms.
DftD has even been reported to work on Windows (2000/XP/98), Linux (i386/x86-64/SPARC64) and FreeBSD (x86-64/SPARC64/IA64).
In terms of hardware requirements, you'll need the following:
An OpenGL 1.5-compliant graphics card (OpenGL 2.0 or greater is recommended).
A fairly fast CPU (anything from 1.0GHz up should be okay).
256MB RAM (512MB is recommended).
The Web site provides a lovely binary installer that feels much like that of a commercial game. You can compile the game from source if you want, but would you really do that when you can simply click Next, Next, Next?
The binary installer runs most things by itself, but as is the usual way with these things, you need to flag it as executable. If you're running this through a file manager, you probably need to right-click and choose executable in whatever properties section is available, but I'll leave this part up to you. For those who prefer to run things from the command line, you can flag it as executable with the following:
$ chmod u+x dangerdeep-0.3.0-linux-installer.bin
Then, run the installer with:
(Note: do this as root or sudo if you're installing it system-wide.)
The installer will go through the usual Next, Next, Next...Finish process, and once it's done, you can run the game with:
As soon as you're at the main screen, you'll be flooded by a wave of romantic nostalgia that never lets up! From the sepia-colored menus, German-labeled controls and wartime background imagery to the crackly WWII-era music, this game wears its heart on its sleeve.
Assuming you have a decent graphics card, you'll want to crank up the video resolution in the Options menu, as the graphics in this game actually are quite impressive at times.
Because this game is currently in alpha stage, the number of gaming options are limited. Nevertheless, several kinds of missions are available in single-player mode. For those wanting something to blast at from the get-go, try Historical Mission first under the menu Play single mission.
Before you embark on any voyages, however, I suggest that you print out the game's PDF manual, which is downloadable at the Web site. This game's controls are extensive (hey, you're piloting a submarine), and each key often is assigned to something different between other view modes. Here are a few basic universal controls to get you started though.
F1 through F12 all have a different view or function on the ship. Some keys bring you to actual locations within the submarine, such as the torpedo room or captain's quarters, and others bring up equipment, such as the ship's sonar. Of particular joy and amusement is the control screen on F1 and the torpedo screen on F6. The gauges and dials are in German, and as far as I know, there's no option to have them in English, so you'll have to find out what HalbeFarht and Lagenwinkel mean on your own.
Now, I'm sure at this stage you'll be keen to blast at something, so let's cover that. You may want to try surfacing for this, as it makes the above-water enemies easier to spot using more view modes, but it also shows off some of the cool graphics this game has.
Press the S key to surface, and when you're up there, have a look around with various different view modes (check out that deck for starters, and, yes, you can man that surface gun). If a target is somewhere in sight, press I to identify the target. Pressing the spacebar selects it, and T fires a torpedo.
I could go on and on, but it's been a privilege to see a project with such polish and passion as this one. In the hands of your average open-source team, a submarine simulator like this could be a bland, grey, blobby mess, and spending several hours with it might be a guaranteed cure for insomnia. This, on the other hand, is a colorful world of fine touches and authenticity that's guaranteed to bring a smile to your face.
Considering this game is in the alpha stage, it's an extraordinary effort with nice graphics, a brilliant installer and even a small soundtrack! Submarine buffs, do yourself a favor, and check out this game.
John Knight is the New Projects columnist for Linux Journal.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Managing Linux Using Puppet
- Non-Linux FOSS: Caffeine!
- SuperTuxKart 0.9.2 Released
- Doing for User Space What We Did for Kernel Space
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Rogue Wave Software's Zend Server
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide