DUGL and FreeDoom (Announce)
> I've been playing a lot of FreeDoom
> lately, and all the DOS ports of Boom-compatible engines are old and
> bitrotted, hard to compile, buggy, etc. They all use Allegro (except one),
> and Allegro 4.22 (last DOS version before DOS support was dropped) is buggy
> as hell, many regressions (pat2dat, packed files, SB 2.0 mixing). Most of
> them use older Allegro 3.12, which works okay (patches.dat, vbeaf.drv),
> e.g. on my P166 (ATI Mach64 1 MB VRAM, AWE64) or DOSBox.
>
> In short, DUGL is a games lib, no? So it could probably be used instead.
> Not that I'm volunteering, mind you, but it should be possible and
> probably is a good idea. I mean, it can't be that hard. 
Yes DUGL is a games lib, but no game was released yet using it 
I started working on a 2D game, but it will take time as i don't want to reproduce what was already done on the past.
I made look to the source code of FreeDoom yesterday, and i think that we need
a volunteer that have good knowledge of the source code. And he will be helped by me. We need a list of graphic functions needed by FreeDoom and see if DUGL is able to provide them all.
By first look DUGL is missing :
- Perspective corrected texture mapping : solution is to split near/big triangles into several triangles to reduce the bad effect.
- Texture wrapping : we have two solutions, make bigger textures with replicated image, or again detect texture wrapping and split the triangle into several triangles.
- VGA : not all VESA give access to low resolution graphic mode (320x200..)
I'm not sure if freedom require low res mode, but if so we need to emulate them, by rendering to small RAM Surf and then resizing into 640x400 or so.
- Sound : What are the sound requirement of FreeDoom ? Currently only SB16 and SBPro are supported, does this cover enough PC ? each driver has an internal mixer capable of mixing up to 32 voice, i guess enough ?
Now come the legal issue. As DUGL is a free but not GPL and closed source. Can we use it into a GPL software ? maybe it's covered by the the system library exception ?
By the way i'm curious to know how much fps you get with "fog16" demo on your
P166 (ATI Mach64 1 MB VRAM, AWE64)
does the sound work for you ?
Complete thread:
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 12.08.2009, 12:58 (Announce)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- DUGL 1.15 + DUGL Plus 0.3 - Rugxulo, 12.08.2009, 17:30
- DUGL and FreeDoom - FFK, 13.08.2009, 14:37
- DUGL and FreeDoom - Rugxulo, 15.09.2009, 10:48
- DUGL and FreeDoom - FFK, 17.09.2009, 04:25
- DUGL and FreeDoom - Rugxulo, 15.09.2009, 10:48
- DUGL and FreeDoom - FFK, 13.08.2009, 14:37
- DUGL 1.15 + DUGL Plus 0.3 - Khusraw, 12.08.2009, 23:12
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 13.08.2009, 15:16
- DUGL 1.15 + DUGL Plus 0.3 - Laaca, 14.08.2009, 13:45
- DUGL roadmap - FFK, 15.08.2009, 15:07
- DUGL roadmap - Laaca, 15.08.2009, 21:06
- DUGL Sound drivers - FFK, 15.09.2009, 00:58
- DUGL Sound drivers - RayeR, 23.10.2009, 17:50
- DUGL Sound drivers - Khusraw, 23.10.2009, 18:50
- TIFF | DUGL Sound drivers - DOS386, 24.10.2009, 03:31
- TIFF | DUGL Sound drivers - Khusraw, 24.10.2009, 09:41
- TIFF | DUGL Sound drivers - Rugxulo, 24.10.2009, 15:23
- TIFF | DUGL Sound drivers - Rugxulo, 24.10.2009, 15:18
- TIFF | DUGL Sound drivers - FFK, 24.10.2009, 19:22
- DUGL Sound drivers - DOS386, 30.10.2009, 06:45
- DUGL Sound drivers - Khusraw, 30.10.2009, 14:11
- DUGL Sound drivers - ecm, 30.10.2009, 14:25
- DUGL Sound drivers - FFK, 31.10.2009, 11:04
- DUGL Sound drivers - Khusraw, 30.10.2009, 14:11
- DUGL Sound drivers - DOS386, 30.10.2009, 06:45
- TIFF | DUGL Sound drivers - Khusraw, 24.10.2009, 09:41
- TIFF | DUGL Sound drivers - DOS386, 24.10.2009, 03:31
- DUGL Sound drivers - FFK, 24.10.2009, 14:01
- DUGL Sound drivers - Rugxulo, 24.10.2009, 15:22
- DUGL Sound drivers - FFK, 24.10.2009, 17:42
- DUGL Sound drivers - RayeR, 25.10.2009, 01:48
- DUGL Sound drivers - Rugxulo, 24.10.2009, 15:22
- DUGL Sound drivers - Khusraw, 23.10.2009, 18:50
- DUGL Sound drivers - RayeR, 23.10.2009, 17:50
- DUGL roadmap | TIFF vs PNG | emu10k1 - DOS386, 23.10.2009, 05:36
- DUGL roadmap | TIFF vs PNG | emu10k1 - Khusraw, 23.10.2009, 09:34
- DUGL roadmap | TIFF vs PNG | emu10k1 - Rugxulo, 23.10.2009, 09:51
- DUGL Sound drivers - FFK, 15.09.2009, 00:58
- DUGL roadmap - Laaca, 15.08.2009, 21:06
- DUGL roadmap - FFK, 15.08.2009, 15:07
- DUGL 1.15 + DUGL Plus 0.3 - Laaca, 14.08.2009, 13:45
- DUGL 1.15 + DUGL Plus 0.3 - FFK, 13.08.2009, 15:16
- DUGL 1.15 + DUGL Plus 0.3 update download link - FFK, 15.09.2009, 00:46
- DUGL 1.15 + DUGL Plus 0.3 - Rugxulo, 12.08.2009, 17:30
Mix view