qbWinQuakeDX : qbism bjp WinQuake with DirectX video driver
Moderator: InsideQC Admins
23 posts
• Page 1 of 2 • 1, 2
qbWinQuakeDX : qbism bjp WinQuake with DirectX video driver
[ Edited: better (or at least more unique) name; DirectX driver; readme included! And wow, I totally was able to change the name of this topic... Slightly less of a 'hack' now ]
An unofficial and slightly "modernized" exe and source package of Bengt Jardrup's enhanced WinQuake: qbWinQuakeDX.zip
This is a slightly repackaged mod of Bengt Jardrup's "Win/GLQuake Mapper Version".
- Only WinQuake.exe has been produced (located in Release folder)
- Includes source code and project file for Codeblocks Advanced with mingw from Reckless
http://sourceforge.net/projects/cbadvanced/
- uses C rendering functions rather than ASM
- uses mh's DirectX vid_win.c replacement
- faster drawspans replacement by mh, Manoel Kasimer, and qbism
- a few efficient macros from LordHavoc and John Fitz
- other minor changes as commented, mostly to soothe compiler.
WHY DO SUCH A THING???
- Robust and large-capacity Quake in a software renderer package.
- Classic engine updated to work with current weird-resolution laptops.
- Ported to an updated open-source IDE and compiler suite.
- Makes a good reference for testing big maps and comparing other engines.
This is a one-off. If anyone wants to add glquake and/or winquake with ASM I hereby pass the reigns to that person.
The original source is glquakebjp.zip from http://user.tninet.se/~xir870k/. The thing is that it's not a complete set of sources, just the ones that have changed from original ID source.
An unofficial and slightly "modernized" exe and source package of Bengt Jardrup's enhanced WinQuake: qbWinQuakeDX.zip
This is a slightly repackaged mod of Bengt Jardrup's "Win/GLQuake Mapper Version".
- Only WinQuake.exe has been produced (located in Release folder)
- Includes source code and project file for Codeblocks Advanced with mingw from Reckless
http://sourceforge.net/projects/cbadvanced/
- uses C rendering functions rather than ASM
- uses mh's DirectX vid_win.c replacement
- faster drawspans replacement by mh, Manoel Kasimer, and qbism
- a few efficient macros from LordHavoc and John Fitz
- other minor changes as commented, mostly to soothe compiler.
WHY DO SUCH A THING???
- Robust and large-capacity Quake in a software renderer package.
- Classic engine updated to work with current weird-resolution laptops.
- Ported to an updated open-source IDE and compiler suite.
- Makes a good reference for testing big maps and comparing other engines.
This is a one-off. If anyone wants to add glquake and/or winquake with ASM I hereby pass the reigns to that person.
The original source is glquakebjp.zip from http://user.tninet.se/~xir870k/. The thing is that it's not a complete set of sources, just the ones that have changed from original ID source.
Last edited by qbism on Tue Sep 20, 2011 1:54 am, edited 4 times in total.
-
qbism - Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Re: BJP Enhanced WinQuake - hack
Grrrrr. You call it WinQuakeBJP here, the zip is called QuakeBJP, but it is neither, it is a modification by qbism. Please use a better filename and please guys, even if you just change a variable name, DO INCLUDE A README. Even if it just says the same like what you post here, it makes the zip file self-contained and self-explanatory.
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
Re: BJP Enhanced WinQuake - hack
Both good points. And growling shows passion for the subject matter. But did anyone actually try it?
One change is planned, the only real core change: span loop optimization. I think this will be a win-win.
One change is planned, the only real core change: span loop optimization. I think this will be a win-win.
-
qbism - Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Re: BJP Enhanced WinQuake - hack
hehe try coding for the gnu fellows
your going to breathe changelogs and perfect naming conventions
(or else) 
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
qng .... qbism's not gnu.
But the package is straightened up a bit, original post is updated :p
But the package is straightened up a bit, original post is updated :p
-
qbism - Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
Hmm neat
my realm engine has pretty much all the enhancements of the glbjp engine + a few other things, and uses codeblocks by default.
Feel free to use it. It has bumpmapping but only on surfs (i newer got around to making the code working on alias models) besides that it has pk3 support and stainmaps and uses vertex lighting.
The renderer uses vertex arrays extensively. It might need some love in some places though. One that comes to mind is a very early version of MH's hud system (later versions were quite a bit cleaner).
Also it needs vissed maps since it newer had the r_wateralpha var but that should be easy to reimburse.
Feel free to use it. It has bumpmapping but only on surfs (i newer got around to making the code working on alias models) besides that it has pk3 support and stainmaps and uses vertex lighting.
The renderer uses vertex arrays extensively. It might need some love in some places though. One that comes to mind is a very early version of MH's hud system (later versions were quite a bit cleaner).
Also it needs vissed maps since it newer had the r_wateralpha var but that should be easy to reimburse.
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
qbism wrote:The thing is that it's not a complete set of sources, just the ones that have changed from original ID source.
Off-topic, but I wish Bengt wouldn't do that. There are a few cases where the original source is obscure, hard-to-find and/or lost. Bad habit.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
no 320x240 / 400x300 / 512x384 T_T
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
i got a copy of the original source somewhere if anyone needs it ?
hmm actually i got a load of sources for older engines for reference maybe i should upload them to my realm site ?.
small list of my head.
mrglquake (the one with rscript) a few versions.
tomazquake (all of em i think).
qure (pre spike version of a multiquake client. newer got it working though heh, supposedly had quake3 support years before anyone else, also has a terrain engine).
tenebrae 1.0 (yup i think im the only one with that hehe very early version but maybe good for peeps who want to toy with bumpmapping / shadow volumes).
mhquake 6.01 mhquake 7 mhquake 8 /newer got a hold on mhquake 5 :/)
nightmare on elm street quake engine (mrglquake with modifications).
fiendhunter (two versions i think).
also got some Q2 sources floating around like Q2max gloom etc.
if you need anything specific let me know i might have it on my backup drive.
hmm actually i got a load of sources for older engines for reference maybe i should upload them to my realm site ?.
small list of my head.
mrglquake (the one with rscript) a few versions.
tomazquake (all of em i think).
qure (pre spike version of a multiquake client. newer got it working though heh, supposedly had quake3 support years before anyone else, also has a terrain engine).
tenebrae 1.0 (yup i think im the only one with that hehe very early version but maybe good for peeps who want to toy with bumpmapping / shadow volumes).
mhquake 6.01 mhquake 7 mhquake 8 /newer got a hold on mhquake 5 :/)
nightmare on elm street quake engine (mrglquake with modifications).
fiendhunter (two versions i think).
also got some Q2 sources floating around like Q2max gloom etc.
if you need anything specific let me know i might have it on my backup drive.
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
Everything (Quake 1) that's not in http://www.quaddicted.com/engines/ would be highly appreciated. 
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
leileilol wrote:no 320x240 / 400x300 / 512x384 T_T
I tried to change that. Maybe not supported by DDraw.
- Code: Select all
if ((devmode.dmPelsWidth <= MAXWIDTH) &&
(devmode.dmPelsHeight <= MAXHEIGHT) &&
(devmode.dmPelsWidth >= 320) && //qbism was 640
(devmode.dmPelsHeight >= 200) && //qbism was 480
(nummodes < MAX_MODE_LIST))
Shouldn't be hard for someone to plug in MH's DIB vid_win.c instead. But that won't work on some laptops in native res.
-
qbism - Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
reckless wrote:i got a copy of the original source somewhere if anyone needs it ?
it's always on the id ftp. it's also always on idgames/ and mirrors
qbism wrote:I tried to change that. Maybe not supported by DDraw.
Quake2 still does it
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
Ok spirit ill check what i might have thats missing on quadicted 
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
Ok checked the list and seems to be missing any mrglquake engines so i can upload these.
Also not sure about the tenebrae version there if its the latest ill up the old 1.0 and tenebrae 2.0 (somewhat newer uses Q3 bsp's)
I couldnt find any upload button on the site so ill up them on my realm server unless you got a link ?.
Should probably make an easy to find link to ID's ftp somewhere on this site
Also not sure about the tenebrae version there if its the latest ill up the old 1.0 and tenebrae 2.0 (somewhat newer uses Q3 bsp's)
I couldnt find any upload button on the site so ill up them on my realm server unless you got a link ?.
Should probably make an easy to find link to ID's ftp somewhere on this site
Productivity is a state of mind.
-

revelator - Posts: 2567
- Joined: Thu Jan 24, 2008 12:04 pm
- Location: inside tha debugger
Re: qbWinQuakeDX : qbism bjp WinQuake with DirectX video dri
Awesome!
No upload function at Quaddicted, I am a benevolent control freak.
If they have original timestamps from their release date, it would be great if you could host them with those intact. Otherwise you could also mail them to my nick at quaddicted com. Whatever is most convenient for you!
No upload function at Quaddicted, I am a benevolent control freak.
If they have original timestamps from their release date, it would be great if you could host them with those intact. Otherwise you could also mail them to my nick at quaddicted com. Whatever is most convenient for you!
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
- Spirit
- Posts: 1031
- Joined: Sat Nov 20, 2004 9:00 pm
23 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest