Skip to main content

Converting Game CDs to DVDs Using Linux

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  you must fumble 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 those applications. There are three versions of Orca, which is the GUI editor for editing game install databases. These are MS-Windows apps of course, and I will need to get them working in Codeweaver's Crossover.

If you need some step-by-step instructions on a particular conversion, this page acts as the index of conversions for the site.

Install Orca.msi into a new Windows 7 bottle using WINE, PlayOnLinux or Crossover; I choose Crossover. Since there is no Crossover Crosstie file for this to tell WINE what extra applications are needed to run this program, we need to do some detective work. After the installation of Orca, we discover that it won't run. What could be the problem? Using the newly-created Orca bottle, select "Run Command" to run Orca.exe;  tick the "Create log file" box; then run the application and the app will again fail to launch, but now we have a log file to examine. Check the log file and you will see that it can't find mfc4u.dll. That file is part of Visual Studio Service Pack 6 (that package contains asycfilt.dll, atl.dll, comcat.dll, mfc42.dll, mfc42u.dll, msvcirt.dll, msvcp60.dll, msvcrt.dll, oleaut32.dll, olepro32.dll and stdole2.tlb in case you need any of those), so install that non-package package. It's also easy enough to find a download of that file on the Internet. If you do, just place it in the windows/system32 directory of the Orca bottle. Now Orca now runs!

In the thread about Orca, there are links to apps that will convert .reg entries into an Inno script. Inno Setup is a free (source code available) installer for MS-Windows applications. Being free, you can use it to create your own installer and distribute legal software to your friends, or you can create custom installations of your games that include all the extra files you like. For Linux, you can create functionally the same thing with makeself.

Another excellent site is CD-2_DVD. While registration is required, it is at no cost. That site also supplied downloads for several utilities used for CD to DVD conversions, as well as DV9 to DV5 conversions. What are those? DV9 is a dual layer format that holds roughly 8 GB of data; DV5 is the more familiar 4 GB DVD.

There are some interesting tools for "splitting" archives so that they may fit the size of the medium. One such tool is UltraARC. That page provides links to download the application.

Now to start using some of these tools. I have the 6CD version of Call of Duty 2. It would be nice to have this on a single DVD. Looking in the Games Converted Index I found the link to the conversion recipe for COD2. It seems there are 2 ways, one way combines the install disks, the second makes an installer from the installed and patched game. Let's do the first way.

From the more detailed directions from the forum and adjusted for Linux, we proceed:

1. Create a temporary directory in your home directory with a specific name.
$ mkdir ~/cod2

2. Beginning with CD6 and continuing in reverse order, copy the files from the CD to the temporary directory allowing them to be overwritten if need be.

3. Change permissions on ~/cod2/ to change it from read-only to be as accessible as possible. It will become read-only again when you burn the DVD.

$ chmod 777 ~/cod2/COD2.msi

4. Install Orca as directed above.

5. Launch Orca from its Crossover bottle, then navigate to ~/cod2 and click on COD2.msi  to open it in Orca.

Scroll down to "media" in the left-hand pane and click on it. In the right pane, click on the second row and delete it and do likewise for all rows except the first so that all that is left is the media named COD2DVD which will be the Volume ID of the DVD we will create.

To be honest, I had difficulty successfully modifying the .msi database. After posting a request for assistance on FileForum, the moderator supplied me with a modified version to use. Thanks, Grumpy!

5. Create a directory to contain all your updates, patches, mods and so on so they will be handy when you install the game. You can find "no-cd" patches at GameCopyWorld. Just  get the version that matches the version of the game as updated (or not, as long as they match).

6. Burn the contents of ~/cod2 to a DVD with the label "cod2dvd".

$ growisofs -Z /dev/sr0 -r -J -V COD2DVD /home/username/cod2

It works nicely, but Crossover needs to launch setup.exe and not launch.exe to begin the install.

RESOURCES

There is another site that can provide useful information. CD-2-DVD is dedicated to converting CD-based games to DVD and offers the necessary software to do that.

Regshot
Another useful application is the open-source Regshot that can compare a snapshot of the Windows Registry before and after installing an application, so you can see what is changed. Some installers require you to re-insert the first CD and then make changes to the Windows registry. Regshot will allow you to see what those are. It might be possible to examine the files generated with the meld application, an excellent application to compare two or more text files. It is also available for MS-Windows.


Comments

Popular posts from this blog

DOS4GW.EXE Version 2.01a and Alternative DOS Extenders

DOS4GW.EXE The Tenberry DOS extender DOS4GW.EXE was used by many early DOS games. I still enjoy playing many of these games and DOS4GW.EXE is usable with DOSBox , so they can be played on Linux. However, the version of DOS4GW.EXE that was included with the game was whatever was current at the time. The most recent version that includes many bugfixes that possibly affected the games when used with DOSBox have been fixed in the latest version, 2.01a. It's not free at US$49, but you can downloaded it here . Simply substitute it for whatever version of DOS4GW.EXE your game provided and enjoy the bug-fixed goodness. Tenberry also makes a "high-performance" "pro" version of DOS4GW.EXE, but it costs $300. I think that they could sell quite a few of these to hobby users (since, you know, DOS is dead) for US$5. Open Souce to the Rescue There are better performing, free and Open Source alternatives available and worth a look. DPMI Explained Let's unders

Return to Castle Wolfenstein for Modern Linux

Return to Castle Wolfenstein is a first-person shooter originally released on November 19, 2001. The game, like many other classic games, is available at GOG.com and costs only US$5.99. iortcw for Linux Don't bother with old and crusty Linux binaries offered by idsoft; they are problematic and it's painful to use them on a modern Linux. Fortunately for us, there are more modern GPL-licensed Linux binaries available for 32- and 64-bit systems as well as high resolution textures packages. The project at GitHub provides source code that can also be compiled for MS Windows using MinGW. iortcw for Windows and Mac You can download pre-compiled binaries for 32- and 64-bit Linux, MS Windows and Mac from here . Let's put our files in /usr/local/games/rtcw . As root, extract the downloaded .ZIP file for your architecture to  /usr/local/games/rtcw . All we are missing are the game data files. I purchased them from GOG.com. The game installer downloaded from GOG.com can be

Unreal Tournament GOTY/UT99 for Modern Linux

Released on November 16, 1999, Unreal Tournament (also known as UT99) is an arena first-person shooter for Multiplayer on-line competition or you can play against bots off-line. It features several game types, with more details provided at Wikipedia . The game was re-released on February 25, 2000 as Unreal Tournament Game of the Year Edition (GOTY) which included the three bonus packs released previously and additional mods, or game modifiers that had become popular. It is the GOTY version that is available from STEAM or  GOG.com . The GOG version for Windows installs in Linux and plays well using WINE , PlayOnLinux or Codeweaver's Crossover . There is a Linux binary available in two versions, one for the original game and one for the GOTY edition . Also provided at that site is the Official Bonus Pack with a Linux installer. All these Linux installers are created with makeself . There are some issues using such a crusty old Linux binary. Let's see why getting a Lin