CDogs SDL Port Screenshot A port of the classic DOS action game C-Dogs using SDL

C-Dogs SDL is a port of the old DOS arcade game C-Dogs to modern operating systems utilising the SDL Media Libraries.

C-Dogs is an arcade shoot-em-up which lets players work alone and cooperatively during missions, and against each other in the "dogfight" death-match mode. The DOS version of C-Dogs came with several built in campaigns and dogfight maps, and C-Dogs SDL does too.

The author of the DOS version of C-Dogs was Ronny Wester.

This game was listed as missing in action: it was no longer available when the site closed.

License: free
Requirements: SDL 1.2.x, SDL Mixer (optional)
Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesyesyesnonoyes
Suggest an update

Comments

This is one of my favorite games, and I'm so glad to see it alive again, and ported to Linux.
Re: CDogs SDL Port posted by poundsmack on Mar 27 2006 10:41 PM
yes this is a great game. i cant wait to see how this goes
Re: CDogs SDL Port posted by lmartinking on Mar 28 2006 1:31 AM
If you can, please test this out. It works pretty well here, but I don't think it has been given enough testing, under different conditions. Please don't hesitate to provide (helpfull) feedback =)

-Lucas Martin-King

Re: CDogs SDL Port posted by komakino on Mar 28 2006 1:48 AM
Awww! I loved this game back in my DOS days. Kudos to whoever ported it!
Re: CDogs SDL Port posted by bart9h on Aug 18 2006 2:43 PM
Kudogs indeed! :P
Re: CDogs SDL Port posted by anonymous on Oct 19 2006 11:35 AM
Shame about the lack of comments in the code.
The game runs way too fast here, 2000+ fps :( Has anybody got an idea what could be causing this?
Re: CDogs SDL Port posted by anonymous on Mar 28 2006 12:36 PM
Your computer isn't slow enough. Please run some more emacs.

Ooops :)

Re: CDogs SDL Port posted by Draconishinobi on Mar 28 2006 1:27 PM
Dammit .... that's why they have FPS caps :( ... but emacs might work too.
Re: CDogs SDL Port posted by sparr on Mar 28 2006 2:26 PM
the fps is not the problem. it runs too fast, yes, but if the fps was the problem then when it ran at 50fps back in the old DOS days it would have been 1/40th as fast, which is unthinkable. i think perhaps just a timing constant is incorrectly calculated somewhere.
Re: CDogs SDL Port posted by anonymous on Mar 30 2006 10:09 AM
You can throttle game play with the following patchlet: (Unfortunately, this is the Wrong Way to do so, but it makes it playable)

--- ../src/game.c~      2006-03-27 01:21:11.000000000 -0500
+++ ../src/game.c       2006-03-29 19:14:18.000000000 -0500
@@ -131,6 +131,8 @@ int Synchronize(void)
        int ticks = 1;
        TActor *actor;

+ while (gameTicks <= 1); + while (gameTicks > GAMETICKS_PER_FRAME) { ticks++; if (!gameIsPaused) {

Re: CDogs SDL Port posted by jnmbk on Jun 8 2006 7:37 PM
That patch works fine on: Linux 2.6.14.4-15 running KDE 3.5.0, CPU: Intel(R) Pentium(R) M processor 1.73GHz at 1729 MHz
The game hangs(infinite loop?) on AMD 64 bit machines running on 32 bit mode with this patch, without patch it's very fast(non-playable)... Any suggestions?
Re: CDogs SDL Port posted by anonymous on Jul 11 2007 3:29 AM
"while (gameTicks <= 1);" in above patch is an infinite loop.
$ ./cdogs
C-Dogs v1.06, (SDL Port v0.01)
Original Code Copyright Ronny Wester 1995
Game Data Copyright Ronny Wester 1995
SDL Port by Jeremy Chin and Lucas Martin-King, Copyright 2003-2006

C-Dogs SDL comes with ABSOLUTELY NO WARRANTY;
see the file COPYING that came with this distibution...
This is free software, and you are welcome to redistribute it
under certain conditions; for details see COPYING.

Data directory: OME/Cdogs/share/games/cdogs/
-> Missions: OME/Cdogs/share/games/cdogs/missions/
-> Dogfights: OME/Cdogs/share/games/cdogs/dogfights/
-> Sounds: OME/Cdogs/share/games/cdogs/sounds/
-> Graphics: OME/Cdogs/share/games/cdogs/graphics/
Config directory: /home/Draconishinobi/.cdogs
Unable to read CDOGS.PX (OME/Cdogs/share/games/cdogs/graphics/cdogs.px)

The following files are in the graphics directory
cdogs2.px cdogs.px font.px
Re: Strange error posted by sparr on Mar 28 2006 2:25 PM
OME/CDogs/etc ??
Re: Strange error posted by Draconishinobi on Mar 28 2006 6:11 PM
Nevermind ... I fixed it ... yeah, please don't give instructions to modify the Makefile, n00bs like me will screw it up and then ask you to fix it. :)
This is incredible that this game is native to linux now! It would be great if network play was added to this. Co-op and Deathmatch too!
Re: Net Play! posted by lmartinking on May 13 2006 7:41 PM
Net play may be added in a future version. I'm considering whether it'd be better to split it into a client server architecture, or just do P2P netplay....

Co-op and deathmatch are available already =)

Yeeeesss, this is one of those games that never deserved to die.
This is what I had to do to the start of the Makefile to make it compile and run on Slackware 10.2:
-------------------------------------------
### Variables ###
DESTDIR=~/
PREFIX=.cdogs/
BINDIR=$(PREFIX)bin/
DATADIR=$(PREFIX)data/

CC=gcc

#CFLAGS=-O2 -Wall `sdl-config --cflags` -std=c99 -funroll-loops CF_OPTIMISE=-O2 -march=pentium2 -------------------------------------------

And then to run it,

~/.cdogs/bin/cdogs -fullscreen

anyone know the code?
this are good news!
It was already a very nice game back then, it could turn into something great if improved.
It's very oldschoolish but fun;)
This is just great! I haven't been able to play this for some time!

Log in or register to rate this game or post a comment.