Skip to main content

Posts

Showing posts from 2017

Medal of Honor: Allied Assault on Modern Linux

Medal of Honor: Allied Assault contains the original MOH and the two expansion packs, Spearhead and Breakthrough. MOH was first released in 2002.

There is a Linux installer, released by Iculus, for the game, but it is for the original version and is a beta release. The libraries it needs are not available in a modern Linux.

There is a standalone Linux binary available here. To use it, install the game on a Windows computer, patch it up to the latest level. Copy the installed game to a Linux computer.
Unpack this downloaded archive in the root of the MOH directory. Run the game with ./mohaa_lnx.

An attempt to use Crossover to install the game failed as it was not possible to switch to the second DVD disc.

There is a possible solution to this by creating a single DVD installation disk for MOH:AA. This process is described here.
Reminder:DVD5 = 4.70 GBDVD9 = 7.95 GB Better yet would be to create a single DVD that would encompass the original MOH:AA along with the two expansion packs. That…

Index of Games for Modern Linux

Recover Data From a Damaged CD/DVD

This is just a convenient place for me to bookmark this information as it is just a copy of James Litten's excellent page about data rescue.

The steps are simple. All commands are to be run on a single line.

1. Clean the disc.
If the disc is cracked, it may come apart in the drive. I might try a small dab of superglue on the very outside of the crack to hold it together.

2. First pass (runs about 30 minutes).
$ ddrescue -n -b 2048 /dev/sr0   ~/recovered/mystuff.iso 
~/recovered/mystuff.log

3. Mount the image and see how we did.

4. Take a second pass if we need it (about 24 hours).
$ ddrescue -d -b 2048 /dev/sr0  ~/recovered/mystuff.iso 
~/recovered/mystuff.log

5. Take a third pass maybe with the CD/DVD in a different drive (24+ hours).
$ ddrescue -d -r 3 -b 2048 /dev/sr1  ~/recovered/mystuff.iso 
~/recovered/mystuff.log



Wolfenstein: Enemy Territory for WINE

WINE Version
(The native Linux version is here.)
Wolfenstein: Enemy Territory
has always rocked as an on-line game.
Trying to capitalize on their success with the online part of Return to Castle Wolfenstien, they developed an online component for RtCW and farmed out the single-player mode. Turns out, the SP mode sucked, so they ditched that and gave away the online game. The Game's PAK files remained proprietary (as always) and they released the source code for the game engine.

The original release had a Linux version as well as Mac and Windows version and can still be downloaded from SplashDamage. The problem with the Linux version is that Linux changed sound subsystems (OSS, ALSA, PULSEAUDIO) and the sound component of the game is no longer compatible with a modern Linux.

Wolf:ET debuted with a native Linux version that can still be installed, but there have been unofficial game engines that have upped the ante for the game. The original version is available for Linux Mac…

Call of Duty: United Offensive

The installation of Call Of Duty: United Offensive should be easier that that of Call of Duty since I could swap out discs. And I say "should" because there's no way to install it since it depends on the un-installable Call of Duty.

Where this all gets fsck'd is that the installer will prompt you for CD2, you can eject CD1 and then successfully mount CD2 as the installer proceeds normally. However, you are then prompted to insert CD1 for a second time. This procedure is part of the stupid Copy Protection scheme where the installer creates the Windows Registry entries, so you can't really skip it, and for whatever reason, Crossover can't accommodate this final swap.

It should be possible to copy both CDs to a directory named "COD" and use the crossover option to treat the directory as the installation media, but that also fails to work.

It should be possible to create a single install DVD from the two CDs, so look here for that. I have not yet attem…

Getting the Xbox 360 controller to work in WINE Games

This comes from the Crossover Support Forums, contributed by Silviu Cojocaru.

The steps in here should apply to any controller as long as your (linux) system has a driver for it. I'm using an xbox360 controller and it is recognized out of the box in Ubuntu 12.04.

So what's the problem and how can we solve it? Well, the xbox360 controller is an xinput device but wine has implemented support for dinput. The workaround is to use a wrapper that "translates" xinput to dinput. Enter xbox360ce . Here's what to download and how to use it (at least, what worked for me):

I've downloaded these files: x360ce_lib32_r766.zip, x360ce.App-2.1.2.191.zip from this page, getting the appropriate 32- or 64-bit version.

The first zip file contains the libs that actually do the translating and the other is a program that allows you to configure your gamepad (map buttons, joystick axes, d-pad buttons, etc.)

To install the game, you will need to prepare your bottle by installing .NET…

Unreal Tournament 3 Arena for Modern Linux

Unreal Tournament 3 Arena , the successor to Unreal Tournament 2004, was intended to have a Linux release, but that was late arriving. The Linux installer is on DISC3. If you want to run the Linux installer, you have some lying to do.

Mount UT3 DISC3 and change to that directory and 'sudo su' to root. Then enter:
# export SETUP_LIBC=glibc-2.1
# linux32 ./setup.sh


Scroll through the license agreement and agree to it. Since you are running as root, you can install the game in /usr/local. If you want it installed only for your use, change the paths presented to you, like ~/games and ~/bin. Choose the base install and pass on the server install (unless you really want to install the server rather than the client ... but that's another post). Don't go wild and install all the optional drivers (maybe you have a Voodoo video card handy that you want to use, more old-school power to you). Just answer no to that stuff. Why? Why, indeed.

Now you get to read the README. If you hav…

Installing cheat on Mageia6

Tecmint recently ran an article about a new way to obtain information about an application using cheat, an open-source interactive cheat-sheet  application. What the application does is provide a means of showing examples for a command. If none exist in the cheat database, cheat creates a blank cheat file in that name and opens it in a text editor of your choice so that you may add examples.

Instructions for installing it on "Linux Systems" assumes that "Linux" means "Debian" or "Redhat". Please read the article linked above and follow the installation instructions below to install cheat on Mageia6.

Mageia6 offers the choice of Python version 2 and Python version 3. Since cheat uses version 2, we'll be installing the version 2 python files. Python will already be installed on Mageia6, but if it is not, install it.

Install Python:
# urpmi python

Install Pip:
# urpmi python-pip

Install the dependencies for cheat:
# urpmi python-docopt python-pygment…

HOWTO Install Word Perfect 5.1, a DOS Application, using Crossover

Codeweaver's Crossover, now at version 17, does an excellent job of making most MS Windows applications run reliably on a modern Linux installation.DOS

But what if you have an old DOS-based game or application? Crossover doesn't do DOS in a way that enables it to run these old DOS applications and the smart money is on installing and using DOSBox as a native Linux application and running those apps from there. Using it is pretty straightforward, but you must read the documentation to get started.

But if you just installed the native Linux version of DOSBox you would miss out on several very nice features of Crossover such as easily accessing the apps from your desktop menu, and being able to archive and restore the DOS application. You can do all of this without Crossover, but if you use Crossover for Windows apps, it would be nice to use Crossover with DOS apps.

Fortunately, Crossover does offer and easy way to install the Windows version of DOSBox. You can also add DOSShell…

Trouble Finding Your Linux Game Libraries?

Some Linux games, especially the older Linux games, are installed with the versions of libraries that they need. The problem arises when the specific libraries are unknown to your system and the game won't launch.

The old Loki game installers attempted to fix this with some shell scripting. Maybe that works, maybe it doesn't. Here's an easy way to fix this problem.
First, we use a kernel utility, ldd, to see what shared libraries the binary expects to see.

$ ldd /full/patch/to/application/binary
You will get a list of libraries needed and a clear indication of whether they are present or not.

Trick #1

Assuming your system reports them missing, but you can see them in the directory where you installed the game, rather than fix the script that launches the game, we'll simply tell the system where to look.

Become root, and change directory to /etc/ldd.so.conf.d. Once there, create a file, name_of_game.conf and in that file enter  /full/path/to/the/game/libraries.
Run the ld…

Hexen on Modern Linux

There is a Linux binary housed at Hexen II: Hammer of Thyrion. It is in the Mageia repositories and can be installed using urpmi. The binary gets installed in /usr/bin and the rest of the game files and documents can be found in /user/games/hexen2.

I have not yet experienced Hexen2 since I don't have the retail version. The installer only installs the game engine, so I've purchased an original game CD from eBay.


RESOURCES

Hexen II Wikipedia

Hexen Wiki

Doomworld Wiki

Hexen II: Hammer of Thyrion

Linux-x86

Linux-AMD64

Install HOWTO

Hexen II Linux Demo

nVidia Triple-head Display

What with the price of older-but-decent video cards and monitors being very reasonable, I decided to move from the dual-head display I have been using in various forms for the past 15 years to triple-head. I was currently running dual-head using a single vNidia 9800GT card and two monitors. I added a second vNidia 9800GT and a third Samsung SyncMaster 930b 17" monitor which was attached to the new video card.

After some aggravation, I got it working, except that the Google-Chrome browser goes wonky in the display, but Firefox and other apps seem to be unaffected. If you want to see the wonky behavior, a video is available. As it was, it was mostly unusable for daily work and completely useless for games.

After much tweaking and swearing, I chose the path of least resistance and purchased a newer video card that would work out-of-the-box with three monitors, a 4GB nVidia GeForce GTX 1050 Ti.

There's a lot of help with this setup when using MS Windows as well as special extern…

Converting Game CDs to DVDs

Once you start installing MS-Windows games in a Linux OS, you run into some difficulties. One is that sometimes your game has multiple CDs (this was before DVD drives were ubiquitous) and for whatever reason you cannot get the installer to allow you to eject the CD. Or, fumbling through six install CDs to install the game, plus patches and updates, plus search for no-cd cracks and hi-res textures or game mods. It's possible to place all that on a DVD to make our installation less painful.

File Forums is a community that deals with creating game backups and CD/DVD Conversions. It's a friendly community with an easy registration and it offers a wealth of information about the nuts and bolts of how game installers work. Go ahead and join now so the following links will work for you.

What we want for this discussion is the PC Games-CD/DVD Conversions forum. There, user Joe Forster has listed links for applications needed for editing the databases for game installers. Download thos…

Medal of Honor: Pacific Assault on Modern Linux

Installation using Codeweavers Crossover from the DVD version found no problems for the installation or running the game. Of course, the DVD must be in the drive due to SafeDisc v3 DRM.  You can avoid that hassle and get a no-cd version of the game executable from GameCopyWorld.com. The game played without any issues (36FPS), but became unplayable (12FPS) after installing the v1.2 patch, so don't install it.

I also installed, again using Codeweavers Crossover, the GOG.com version which is very useful considering that this version of the game is DRM free. However, I received error messages during the install:  "Runtime Error (at 181:806): Out Of Stack Range" and "Out of Global Vars range" messages. Still, the game launched, so I'm guessing that the errors were  from the GOG game installer, not the game itself. Even though the game would install and run, it was very slow (12FPS) which is due to the version of the game engine that GOG installs being the probl…

Call of Duty on Modern Linux

What a pain in the ass to install using Crossover from the two-CD version, and by pain in the ass I mean it won't install at all.

Call of Duty, a first person shooter released in 2003, spawned an entire franchise of COD games that persist to this day. Installing using Codeweaver's Crossover should be easy, but it's not. COD: United Offensive is an expansion pack for COD and the COD game must be installed before COD:UO can be installed.

Crossover expects you to install the game through Steam, which works. I own the original discs and shouldn't have to pay for it again, but the copy-protection method keeps it from installing. As I understand it, the third step of the install where you must re-insert the first CD causes a Windows registry entry to be written that the game looks for to verify it was "installed". Without this entry, the game will not run.

I found some info about registry entries for COD2 here. Maybe they can be applied to COD.

And there you have it…

Doom for Modern Linux

DOOM was released in 1993 and is considered a pioneer in 3D gaming. Previous games from id Software were 2D.

While the original game might be playable in DosBox, There are more modern ports with greater stability and wide platform support. One of the ports, prboom, is available for Mageia6 (and MS-Windows and many other platforms). Based on the release of the original source code; it uses the SDl library.

prboom is one of those rare Linux things that has been fixed enough that everything works. It offers a true-to-the-original gameplay rather than updating the game with modern features like ZDoom, EDGE, and Eternity Engine. prboom emulates the games engines from the different versions of DOOM; it is also compatible with the demo version of DOOM.

$ sudo urpmi prboom 

installs the game in  /usr/games and run the first time with no arguments creates .prboom in your home directory, which is where you will place your *.wad files (referred to as IWADs.

Mageia6 also provides the man freedoom