The time now is Tue 19 Jan 2021, 01:15
All times are UTC - 4 |
Author |
Message |
muggins
Joined: 20 Jan 2006 Posts: 6759 Location: hobart
|
Posted: Thu 16 Aug 2007, 06:19 Post subject:
digger: SDL game |
|
This is an old-style game ported to SDL. There is only 1 file included in the archive, the actual game, digger, so you can extract it to wherever you want, (possibly /usr/bin?), and play by typing ./digger on the commandline, or clicking on the file. Of course the game requires SDL libs to run.
digger -h generates:
Code: | DIGGER [[/S:]speed] [[/L:]level file] [/C] [/B] [/Q] [/M] [/P:playback file]
[/E:playback file] [/R:record file] [/O] [/K[A]] [/G[:time]] [/2]
[/A:device,port,irq,dma,rate,length] [/V] [/U] [/I:level]
/Q = Quiet mode (no sound at all) /M = No music
/R = Record graphics to file
/P = Playback and restart program /E = Playback and exit program
/O = Loop to beginning of command line
/K = Redefine keyboard
/G = Gauntlet mode
/2 = Two player simultaneous mode
/A = Use alternate sound device
/U = Allow unlimited lives
/I = Start on a level other than 1 |
So starting with digger /A enables sound. Also it's probably a good idea to re-define the keys as the default keys for firing are either <Tab> or <F1>.
Description |
|

Download |
Filename |
digger.bz2 |
Filesize |
63.15 KB |
Downloaded |
1730 Time(s) |
Description |
|
Filesize |
10.52 KB |
Viewed |
1221 Time(s) |

|
Last edited by muggins on Sat 18 Aug 2007, 04:25; edited 1 time in total
|
Back to top
|
|
 |
HairyWill

Joined: 26 May 2006 Posts: 2946 Location: Southampton, UK
|
Posted: Thu 16 Aug 2007, 06:31 Post subject:
|
|
cool
minor point
it won't run just by extracting and then clicking, you need to set the permission to executable first
chmod 700 digger
_________________ Will
contribute: community website, screenshots, puplets, wiki, rss
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6759 Location: hobart
|
Posted: Thu 16 Aug 2007, 06:49 Post subject:
|
|
thanks hairywill,
i always assume that if it works on my computer, then it must work for everybody else...
it's a pity the size seems restricted to 600x480. i had a quick look at the source but couldn't find an easy way yo resize. i might have another look later.
|
Back to top
|
|
 |
gdemonta

Joined: 19 Feb 2007 Posts: 190 Location: Paris, France
|
Posted: Fri 17 Aug 2007, 10:02 Post subject:
|
|
thanks a lot Muggins,
I used to play digger with an old NCR PC4 (4,7Mhz, 10Mb HDD, 128Kb of ram, do you think it could handle Puppy?!!!), so many memories!!! As well as Sid meier's Pirates, Big top, Double dragon,... with those 5"1/4 disks which always had problem being read!!
I'll try this for sure!!
_________________ Dumbledore: "The evidence of the Dark Lord's return is incontrovertible"
IBM X31 - Puppy 2.16 Hard disk install with EZpup
|
Back to top
|
|
 |
Sektor
Joined: 17 Aug 2007 Posts: 2
|
Posted: Fri 17 Aug 2007, 15:22 Post subject:
|
|
There is a memory leak in the original Digger/SDL source. If no one fixed it in this version then you need to make the following changes:
open sdl_vid.c.
Find the end of the vgawrite function and add:
free(copy);
|
Back to top
|
|
 |
muggins
Joined: 20 Jan 2006 Posts: 6759 Location: hobart
|
Posted: Sat 18 Aug 2007, 04:27 Post subject:
|
|
thanks sektor,
i didn't know of any memory leak probs, but i've re-compiled as you suggested, & re-uploaded.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|