Difference between revisions of "GgiDoom"

From DoomWiki.org

[checked revision][checked revision]
m (Removed the historical category as that, as i found out, more applicable for more significant historical endeavors, like Linux Doom.)
m (Automated edit - avoid redirect)
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|initialversion = Version 1
 
|initialversion = Version 1
 
|initialdate = 1997-12-24
 
|initialdate = 1997-12-24
|programming language = [[Wikipedia:C (Programming Language)|C]]
+
|programming language = [[Wikipedia:C (programming language)|C]]
 
|status = Discontinued
 
|status = Discontinued
 
|platform = Linux
 
|platform = Linux
 
|license = [[Doom Source License]]
 
|license = [[Doom Source License]]
 
}}{{DISPLAYTITLE:ggiDoom}}
 
}}{{DISPLAYTITLE:ggiDoom}}
'''ggiDoom''', Also called GGIDoom, was an early [[source port]] of Doom by [[Uwe Maurer]] to the GGI (General Graphic Interface) library, based on the [[Linux Doom]] source release. It was released one day after [[John Carmack]] released the [[Doom source code]]. GGI was meant to run on any computer system that supported it, and was considered a competitor to the X Window System. It supports resolutions higher than 320x200, e.g. ggidoom -mode 640 400.  
+
'''ggiDoom''', Also called GGIDoom, was an early [[source port]] of Doom by [[Uwe Maurer]] to the {{wp|General Graphics Interface|GGI (General Graphics Interface)}} library, based on the [[Linux Doom]] source release. It was released one day after [[John Carmack]] released the [[Doom source code]]. GGI was meant to run on any computer system that supported it, and was considered a competitor to the X Window System. It supports resolutions higher than 320x200, e.g. ggidoom -mode 640 400.  
  
 
ggiDoom's source code and binary as released contained no license whatsoever. However, in ggiDoom's TODO file referenced below, it is explictly mentioned that Maurer planned on using the [[Doom Source License]].
 
ggiDoom's source code and binary as released contained no license whatsoever. However, in ggiDoom's TODO file referenced below, it is explictly mentioned that Maurer planned on using the [[Doom Source License]].
Line 55: Line 55:
 
- threaded sndserver? SHM mixing buffer? Or internal, timer-based?
 
- threaded sndserver? SHM mixing buffer? Or internal, timer-based?
 
</pre>
 
</pre>
 +
 
== Version history ==
 
== Version history ==
 
'''Note:''' Taken directly from Uwe Maurer's homepage.
 
'''Note:''' Taken directly from Uwe Maurer's homepage.
Line 60: Line 61:
 
* February 17, 1998 - Updated
 
* February 17, 1998 - Updated
 
* December 24, 1997 - Initial release
 
* December 24, 1997 - Initial release
 +
 
== External links ==
 
== External links ==
*[https://web.archive.org/web/20050206190319/http://home.t-online.de:80/home/uwe_maurer/ggidoom.htm Uwe Maurer's homepage], by Archive.org
+
* {{Archived link|http://home.t-online.de:80/home/uwe_maurer/ggidoom.htm|Uwe Maurer's homepage|https://web.archive.org/web/20050206190319/http://home.t-online.de:80/home/uwe_maurer/ggidoom.htm |archive.org}}
*[https://www.doomworld.com/3ddownloads/ports/ggidoom.tar.gz ggiDoom release and source code], dated 1998-02-17, hosted by Doomworld
+
* {{Doomworld3d|id=ports/ggidoom.tar.gz|title=ggiDoom release and source code}}, dated 1998-02-17
*[https://www.stacken.kth.se/~mackan/ggi/files/i_ggi.c GGI Driver by Marcus Sundberg for use with Linux Doom and Linux Heretic], version 1.3 dated 1999-02-09, on Marcus Sundberg's homepage
+
* [https://www.stacken.kth.se/~mackan/ggi/files/i_ggi.c GGI Driver by Marcus Sundberg for use with Linux Doom and Linux Heretic], version 1.3 dated 1999-02-09, on Marcus Sundberg's homepage
*[https://ibiblio.org/ggicore/screenshots.html Multihead screenshot of the port through a perl script and running on an iPAQ PDA], at Ibiblio
+
* [https://ibiblio.org/ggicore/screenshots.html Multihead screenshot of the port through a Perl script and running on an iPAQ PDA], at Ibiblio
*[https://en.wikipedia.org/wiki/General_Graphics_Interface General Graphics Interface] [[Wikipedia]] entry on GGI
+
* {{wp|General Graphics Interface}} [[Wikipedia]] entry on GGI
  
 
{{s-start}}
 
{{s-start}}

Revision as of 13:01, 8 August 2022

ggiDoom
Codebase Linux Doom 1.10
Developer(s) Uwe Maurer
Initial release Version 1 (1997-12-24, 26 years ago)
Latest release Version 3 (2001-11-30, 22 years ago)
Development status Discontinued
Written in C
Target Platform Linux
License Doom Source License

ggiDoom, Also called GGIDoom, was an early source port of Doom by Uwe Maurer to the GGI (General Graphics Interface) library, based on the Linux Doom source release. It was released one day after John Carmack released the Doom source code. GGI was meant to run on any computer system that supported it, and was considered a competitor to the X Window System. It supports resolutions higher than 320x200, e.g. ggidoom -mode 640 400.

ggiDoom's source code and binary as released contained no license whatsoever. However, in ggiDoom's TODO file referenced below, it is explictly mentioned that Maurer planned on using the Doom Source License.

Marcus Sundberg provided a LibGGI driver for use with Linux Doom and Linux Heretic on February 9, 1999. It is however unknown if ggiDoom made use of this driver in the November 30, 2001 build as the latest released version of ggiDoom is dated February 17, 1998, despite Maurer's reference entry on his home page.

As GGI as a display standard became increasingly outpaced and outdated in the Linux space as compared to the X Window System, development eventually ceased.

Maurer's TODO file

One interesting historical aspect is Maurer's TODO file. Dated January 11, 1998, It contained a lot of planned features on where he wanted to go with the port. Aside the plan to use the Doom Source License, it showed a look at incorporating features from glDoom. The full TODO list is as follows, converted to readable text format:

- create Web repository for sources, patches, news, and pointer to doom-editing mailing list.
- get DOOM Public License from id-----------------------------------------------
- remove m_fixed, switch to floating point. More stable, and prolly even faster.
- make SCREENWIDTH/HEIGHT work at startup?
  Well, the HUD/STBar stuff is tied to the scales implied by the graphics. Rather do GLDOOM and use texture mapping.
- fix aspect ratio? 320x200 is nothing viable nowadays. A 320x240 base (4:3) would be a lot better. See above on width/height.
- limited look up/down by y-shearing? Prolly not worth it, rather switch to GLDOOM.
- switch to C++? The action function pointers have varying argument lists (no parameter, one, etc.). C++ doesn't like that much. A major rewrite.
- switch to doommain.c plus libdoom? Have libref, libgame etc.? Another major rewrite.
- use XFree86 DGA, prolly not that much faster than MIT SHM, but allows for directly sampled mouse (and even freelook). Recommended for GLDOOM.
- put together an accompanying developer toolkit source distribution: DEU, RMB, BSP for Linux/X.
- move info.h, info.c, sounds.h, sounds.c and other data to a separate lump in the WAD, or into a libgame.so, to separate the generic stuff (refresh, I/O) from the DOOM specifics.
- decide whether precaching all sounds is better than retrieving and releasing every so often. DOOM seems to do that frequently (8bit stuff, originally for DOS), and the Linux sound is 16bit (conversion in the mixing, requires some padding) 
- we prolly got the memory to spare.
- 16bpp CLUT. The lightmaps and the framebuffer could be changed to switch to 64K colors. Prolly better to do GLDOOM right away.
- remove checks for commercial etc., in non-essential issues (enabling PWAD's). 
- change (simplify) determination of sky texture (done by game version). Explicit?
- remove all game version checks
- different handling of Demo 
- don't exit on "different game version"
- how about shareware/retail "You are here" intermission animation? Wasn't in commercial (DOOM 2).
- double shotgun in DOOM1, all weapons with shareware
- checks for required lumps. We need fallbacks for lumps that are not present, that is, default sounds etc. to be used instead, or removing THINGS w/o sprites etc.
- client/server? I'd suggest ripping off some stuff from the abandoned IBM WebView project
- Blockmap. The BLOCKMAP lump might be (partly) redundant, as the BSP allows for clipping (except certain LineDefs that will not spawn Segs).
- LOS REJECT and intersection based LOS checking could be done using the BSP. In case of REJECT, certain monster AI special effects would be lost, though.
- correct handling of height in collision. This is not done, and the checks are scattered around in many places. It does require handling of "player on top of monster" situations, too 
- we have to make sure the players falls off far enough to avoid getting "stuck in monster".
- remove obsolete menus (Detail. Music Volume?)
- clip explosion range damage (and sprites) using REJECT? That is, if one Sector/SSector not visible from the other, do not apply damage, not render sprite if player in other sector. Hmmm 
- explosion behind small pillar might not be visible at all, but do we care?
- Ungraceful and untimely demise of Linuxdoom (core instead of I_Error) will leave idle sndserver processes in your system, blocking /dev/bsp. A timeout on lack of input for "sndserver"?
- threaded sndserver? SHM mixing buffer? Or internal, timer-based?

Version history

Note: Taken directly from Uwe Maurer's homepage.

  • November 30, 2001 - ggiDoom works with the latest libggi version again.
  • February 17, 1998 - Updated
  • December 24, 1997 - Initial release

External links

Source code genealogy
Based on
Linux Doom
ggiDoom Base for
None