ACM Screenshot ACM: Air Combat Simulation

ACM is a LAN-oriented, multiplayer aerial combat simulation. The main design objective was to provide source code that could be easily compiled and executed on a wide variety of platforms.

To that end, acm is written entirely in C, exploiting the programming features of Unix, X11, and the BSD socket interface. A Windows/95 version is also available.

Players engage in air to air combat against one another using heat seeking missiles and cannons.

ACM is implemented as a distributed simulation. It communicates information via the IEEE Distributed Interactive Simulation protocol (IEEE 1278.1-1994). This should allow ACM to interoperate with other simulations that support that protocol.

License: free

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
noyesnoyesyesnoyes
Suggest an update

Comments

The play controls are very unfriendly with poor sound and graphics resolution.

I think the game is nominal at best (with potential) but development feels like its heading in the wrong direction.

Just great. It shows, how software could be: Small, half a MByte. Low Requirements, no hardware acceleration, special drivers etc. Portable. Open.
popo
doesn't compile on gentoo without changes to the code (changed something with malloc and something with some function in string.h.. strdup()... meh.. whatever..), and after i made changes, the acm executable bombed out with:

ACM version 5.0, Copyright (C) 1991-1998 Riley Rainey ([email protected])

ACM comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it under the
conditions described in the COPYING file.

xwud: Error => Visual type is not large enough to hold all colors of the image.

dunno. perhaps i screwed something up.. or perhaps it's my video card or something. 3d acceleration in x windows seems to be broken today too. ahh gentoo... it'd be nice to have an open source air combat game to play.. i miss chuck yeager's air combat sim :)
Re: compile probs posted by bakhtiar on Jul 21 2003 11:35 PM
Just comment line 454 in src/main.c
/* splashScreen(dpy, splash_file, 1, sargv);*/

This will skip the splash screen which usually have to use 24 bit color mode. Or put your X11 in 24 bit mode.
Eg. in XFree86 4.x
startx -- -depth 24
I also commented out the malloc in InitAWin.c as well as some other WIN32 specific code in ../V/lib/Vlib.h

removing line 454 in main.c removed the problem with the splash screen showing up.

I'm running in red hat 7.1

and have yet to fully test the game
Re: Linux ACM posted by anonymous on Aug 12 2005 2:57 PM
Were is the button to start this game in the ACM folder? i cant find it!
I don't know where to get this .rpm package of this game. I had problem compiling it in Mandrake 10.0.

[root@localhost root]# cd /mnt/hda2/home/hqa/Documents/acm/acm-5.0 [root@localhost acm-5.0]# ./configure loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for xdr_free in -lnsl... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for malloc.h... (cached) yes checking for unistd.h... (cached) yes checking return type of signal handlers... (cached) void checking for sigaction structure... (cached) yes checking for M_PI casted to long double... (cached) no checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for XdbeSwapBuffers in -lXext... (cached) yes Found X11 double buffering extension checking for XInitImage in -lX11... (cached) yes Found X11R6 XInitImage checking should the IEEE 1278 DIS protocol be used...... yes checking if DIS debugging should be compiled-in... no checking should DIS experimental request/grant control be used...... yes checking checking for an ACM-compatible audio library ... checking for AuCloseServer in -laudio... (cached) yes Found NCD Netaudio libraries checking for bind in -lsocket... (cached) no checking for main in -ldnet_stub... (cached) no checking for main in -lbsd... (cached) yes checking for strdup... (cached) yes checking for rand... (cached) yes checking for isnan... (cached) yes checking for sigvec... (cached) yes checking for copysign... (cached) yes creating ./config.status creating Makefile creating src/Makefile creating V/Makefile creating V/lib/Makefile creating V/test/Makefile creating objects/Makefile configuring in dis running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/time.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for fcntl.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for bind in -lsocket... (cached) no checking for xdr_free in -lnsl... (cached) yes checking for dbm_fetch in -lgdbm... (cached) no checking for msg_accrights in struct msghdr... (cached) no checking for msg_control in struct msghdr... (cached) yes checking for recvmsg system call... (cached) yes checking for elf_end in -lelf... (cached) yes checking for -ldnet_stub... (cached) no checking for -lbsd... (cached) yes checking for strdup... (cached) yes checking for dbm_fetch in -lc... (cached) no checking whether RPCGEN generates ANSI C function prototypes... prototyped checking for library containing dbm_fetch... (cached) no creating ./config.status creating Makefile creating lib/Makefile creating sdbm/Makefile creating server/Makefile creating data/Makefile creating test/Makefile configuring in disgen running /bin/sh ./configure --cache-file=../.././config.cache --srcdir=. loading cache ../.././config.cache checking for gcc... (cached) gcc checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether cross-compiling... (cached) no checking for ANSI C header files... (cached) yes checking for sys/file.h... (cached) yes checking for strings.h... (cached) yes updating cache ../.././config.cache creating ./config.status creating Makefile configuring in gedit running /bin/sh ./configure --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for XpSetAttributes in -lXp... (cached) yes checking for XmCreateBulletinBoard in -lXm... (cached) no checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking for strdup... (cached) yes updating cache .././config.cache creating ./config.status creating Makefile [root@localhost acm-5.0]# make Making all in ./V ... make[1]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/V' Making all in ./lib ... make[2]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/V/lib' gcc -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_SIGACTION=1 -DHAVE_X11_DBE=1 -DHAVE_DIS=1 -DUSE_REQUEST_CONTROL=1 -DNETAUDIO=1 -DHAVE_STRDUP=1 -DHAVE_RAND=1 -DHAVE_ISNAN=1 -DHAVE_SIGVEC=1 -DHAVE_COPYSIGN=1 -g -O2 -I/usr/X11R6/include -I. -I. -I../.. -c -o InitAWin.o InitAWin.c InitAWin.c:9: error: conflicting types for `malloc' /usr/include/stdlib.h:556: error: previous declaration of `malloc' make[2]: *** [InitAWin.o] Error 1 make[2]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/V/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/V' Making all in ./dis ... make[1]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis' Making all in ./disgen ... make[2]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/disgen' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/disgen'Making all in ./lib ... make[2]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/lib' Making all in ./sdbm ... make[2]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/sdbm' gcc -DSDBM -DDUFF -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_FCNTL_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_MSG_CONTROL=1 -DHAVE_RECVMSG=1 -DHAVE_STRDUP=1 -DHAVE_NEW_RPCGEN=1 -g -O2 -c -o sdbm.o sdbm.c sdbm.c:59: error: conflicting types for `malloc' /usr/include/stdlib.h:556: error: previous declaration of `malloc' make[2]: *** [sdbm.o] Error 1 make[2]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis/sdbm' make[1]: *** [all] Error 1 make[1]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/dis' Making all in ./src ... make[1]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/src' gcc -DSRCDIR=\".\" -DACM_LIBRARY=\"/usr/lib/games/acm\" -g -O2 -I/usr/X11R6/include -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_SIGACTION=1 -DHAVE_X11_DBE=1 -DHAVE_DIS=1 -DUSE_REQUEST_CONTROL=1 -DNETAUDIO=1 -DHAVE_STRDUP=1 -DHAVE_RAND=1 -DHAVE_ISNAN=1 -DHAVE_SIGVEC=1 -DHAVE_COPYSIGN=1 -I. -I. -I./../V/lib -I./../dis -I../dis -c -o main.o main.c In file included from pm.h:28, from main.c:31: ../V/lib/Vlib.h:320: error: syntax error before "__extension__" ../V/lib/Vlib.h:320: error: `__len' undeclared here (not in a function) ../V/lib/Vlib.h:320: error: initializer element is not constant ../V/lib/Vlib.h:320: error: syntax error before "if" ../V/lib/Vlib.h:320: error: conflicting types for `__retval' ../V/lib/Vlib.h:320: error: previous declaration of `__retval' ../V/lib/Vlib.h:320: warning: data definition has no type or storage class ../V/lib/Vlib.h:320: error: syntax error before '}' token make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/src' Making all in ./objects ... make[1]: Entering directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/objects' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/mnt/hda2/home/hqa/Documents/acm/acm-5.0/objects'

I don't know why. I don't know much of C programing. Please help me with details. Thank you!

Re: problem with acm posted by anonymous on Oct 21 2006 9:21 AM
I can hardly read that without formatting -- a pre tag would have helped -- but I would hazard a guess that ACM hasn't been maintained in a long time. Try compiling with an older GCC, a 2.9x version perhaps.
Reply to 'Reply to problem with acm' posted by anonymous on Nov 30 2006 3:46 AM
Thanks!
Reply to 'Reply to problem with acm' posted by anonymous on Nov 30 2006 3:50 AM
Thanks! I am now not familiar with Linux, but I latter will try to learn about formatting text to talk more clearly. You make me know what I need. Thanks again.
I found some audio files in acm source code package but I couldn't compile whole the game. I found an acm binary package, too; but I could play it on Mandrake 10.0, which has sound, with NO SOUND, however. How can I make it "speak" something? Did it need any more packages? Thanks!
12/2007 and still doesn't build

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