Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Orlando Andico , KaRNaGE , djgpp AT delorie DOT com, alan DOT wilson AT wilshire DOT com Date: Fri, 28 Feb 1997 17:17:28 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Quake Source Code > > I got that quake source. What needs to be done for me to compile it under > > djgpp v2.01??? > > I am sorry to say, A LOT 8( > I also got that code, and it compiles perfectly, out of the > illegal-product-box, on my Linux PC. It uses X, unfortunately.. a big > problem. However, I checked the Makefile, and there's an option to make an > `squake' executable -- I suppose this is the one for SVGAlib. I haven't > had the time to check it out yet, but if that Makefile option is > functional, all you have to do is get a copy of SVGAlib for DJGPP.. and > you're (mostly) done! Hmmm... I made Quake at home but is a little tricky isn't just a little change. > Another problem is gonna be the sound -- the Linux quake binary forks off > a sound server and talks to it using Unix Domain Sockets to give commands. > Since DJGPP don't have a working fork or sockets, you'll have to integrate > the sound server code into the main binary. Forget that all the sound stuff for DOS is in the package, you don't need to do any strange thing. > Another problem (ick) is that Linux presents a uniform programming > interface to the sound card (the wave DAC is /dev/audio and you set > sampling rate, bit length, etc using ioctl()). Since DOS/DJGPP don't have > that, you'll have to hack together some sound code.. maybe you can recycle > some Allegro code here, I don't know.. The same again the support for SB and GUS is in these files. > The moral of the story (if you're using DOS) is: There ain't no free ride > :) Naaaa. > However, if like me you have a Linux box, and you have the Quake CD, you > can play all the levels on your Linux box, with sound, etc. The speed is > acceptable on a 16MB Pentium/100 (all I had for testing). And that's > running under X. But you can create the DOS version just with files in the .tgz and with DJGPP v2!!! SET --------------- 0 -------------------------------- Salvador Eduardo Tropea (SET). Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013