Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

November 01 2010

My Little Menu

One of the main reasons I was looking for a launch bar was that I created a menu for all my DOS games, using mygtkmenu. Once you create this menu, it just cries out for somewhere to attach it, and wbar fits the bill perfectly.

I have a bunch of old DOS (redundant much?) games that I decided to install. In addition to the ones I own (including the priceless Definitive Wargame Collection), the wonderful Good Old Games site ships several of theirs using DOSBox and even Steam uses it for classics like "X-COM : UFO".

First I would create a short script file to run the game. Due to a bug in the X.org driver, it required a work around; namely, telling SDL (the library used by DOSBox) to not "DGA" mouse (or draw directly to video memory). It seems to be fixed so i took it out.

#! /bin/bash
#export SDL_VIDEO_X11_DGAMOUSE=0
cd /mediax/games/MAGIC
dosbox -conf dosbox.conf

Then I would either grab a screenshot from the game (using Ctrl-F5) or search the web for an icon. And then edit my gamemenu.xml file and add an entry like this:

item = Master of Magic
cmd = "/home/jdarnold/bin/mom"
icon = /home/jdarnold/icons/masterofmagic.jpg
dosboxmenu1.pngFor my Definitive Wargame Collection, I created a slightly more generic batch file:

#! /bin/bash
cd /mediax/games/WARGAMES
dosbox -conf dosbox.conf $1/$2 -c "cd $1" -exit

Here I cd into the WARGAMES folder and it gets passed a directory and an executable, so mygtkmenu entry looks like this:

SUBMENU = Definitive Wargame Collection #1
icon = /home/jdarnold/icons/CompleteWargameCollection.jpg

item = Complete Games Menu
cmd = "/home/jdarnold/bin/wargames"
icon = /home/jdarnold/icons/CompleteWargameCollection.jpg

item = Decisive Battles of the Civil War
cmd = /home/jdarnold/bin/wargame1 ACW DB.EXE
icon = /home/jdarnold/icons/DecisiveBattles.png

So I've created a sub-menu off the main menu and I pass in the sub-directory and the executable for the app. In a later installment, I'll talk a little more about DOSBox, which is a really nice program. Here's a couple of shots of the final product:

dosboxmenu2.png

Related articles
Enhanced by Zemanta

October 14 2010

XTCabandonware.com

This site is dedicated to the DOS games from the past.

July 27 2009

DOSBoxWiki

DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, joystick, modem, etc., necessary for running many old MS-DOS games that simply cannot be run on modern PCs and operating systems, such as Microsoft Windows XP, Windows Vista, Linux and FreeBSD. However, it is not restricted to running only games. In theory, any MS-DOS or PC-DOS (referred to commonly as "DOS") application should run in DOSBox, but the emphasis has been on getting DOS games to run smoothly, which means that communication, networking and printer support are still in early development.
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.