Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
Page 1 of 3 1 2 3
#3584654 - 06/02/12 08:52 AM Comanche Gold Antialiasing Solution  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
Since this is my first post here, hello to all! wave
I´m glad I found the Comanche Gold Win7 fixes and graphic mods here since I always loved the series.

Background:
As most of the CG fans here will know this game runs in directdraw-mode and therefore bypasses hardware rendering of the graphic card. That means activating antialiasing in the graphic card's driver doesn´t work. I found a way to get a sort of antialiasing to work, improving the image quality even further together with the graphic mods posted here by Reticuli and MixedupJim! It´s all done with a nvidia card, so I don't know if it works with ati cards, maybe someone could try it and post the results.

Workaround to get Comanche hardware rendered and antialiased:

1. Download and install DXGL wrapper by William Feely.
This program will translate the directdraw calls into opengl. It´s in an very early stage of development but seems to work fine. You have to create a profile for the WC3.exe file and that´s it. I experimented with some of the settings in a hurry to get it into fullscreen, the built in filtering options seem to have no effect by now but I didn't look much into this. A quite nice side effect is that I got completely rid off the weird colors bug which I still got randomly.
Click to reveal.. (screenshot)

2. Download and install the latest nvidia driver 301.42, there is an option for a new postprocess antialiasing mode called FXAA. Just make a profile in the driver panel for the WC3.exe and activate this option. The other FSAA and filtering options seem to have no effect, only FXAA does the trick for me. They may work with other systems, give it a try and post your results.
Click to reveal.. (screenshot)

3. Enjoy an even more good looking Voxel ride copter

Here are 2 screenshots to compare the effect. It's quite nice particularly on the models as you can see on the cannon for instance, but the edges of the landscape do also look better. Everything gets a bit blurry but not too much. There´s a noticable drop in fps but still runs smooth at my system with a Core2Duo E4500 @ 3.1 ghz + Geforce 9600GT.
It was a bit of a hassle to get screenshots, the normal methods didn´t work so I tried some capture programs. There are no artifacts ingame and no black bars, couldn't get rid of that in the screenshots.

Click to reveal.. ( FXAA off )

Click to reveal.. ( FXAA on)


Hope you enjoy it.

Inline advert (2nd and 3rd post)

#3584847 - 06/02/12 04:31 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Hello and welcome to the forums, S3ti! Wow, what a way to make an entrance!

It's always cool when new people come out of the woodwork with new mods after they have been experimenting behind-the-scenes.

I really like the look of this, but can't test it myself as I have an ATI card and it doesn't look as though I have anything like FXAA in my settings.

Really nice find though! I'll add this to my Comanche Gold website if that's OK, where you will be fully credited.

#3585289 - 06/03/12 01:10 PM Re: Comanche Gold Antialiasing Solution [Re: Flyboy]  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
Thank you, ofc you may add this to your site!

After looking a bit deeper into this it seems that there is more to discover.
There are so called FXAA injectors around with more settings, apparently I couldn't find one which works with opengl, only direct3D 9/10/11.
I have no idea about programming such stuff, maybe someone who knows more about coding these things takes a look at this.

Regarding AMD/ATI cards, there should be a equivalent setting called MLAA (morphological-antialiasing) which works the similar way like FXAA. The setting is called 'morphological filtering'. Though I don't know if that is also officially available in their driver panel for all types of cards I think it should be possible to make it work. Can't test it myself, maybe you give it a shot and post your results here smile2

#3585310 - 06/03/12 02:03 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Hello again!

I have a relatively old ATI Mobility Radeon HD 3670 graphics card, but am now downloading the latest drivers so I'll see if I have this MLAA option after updating.

EDIT: Nope, still no option to enable MLAA. And after doing a quick Google search, it seems that this feature is in the 6xxx series of ATI/AMD cards and upwards only. It can be hack enabled in 4xxx and 5xxx series cards but not the 3xxx or earlier. frown

#3585695 - 06/04/12 02:40 AM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Jun 2005
Posts: 2,132
Reticuli Offline
Member
Reticuli  Offline
Member

Joined: Jun 2005
Posts: 2,132
Dayton, OH, USA
Amazing. I thought Comanche Gold was a kernel-level software rendering system and not Direct3D or DirectDraw or anything like that. Is everything in Windows technically DirectDraw?


The term "necroposting" was invented by a person with no social memory beyond a year. People with a similar hangup are those o.k. with the internet being transient vapor.

http://www.openfuelstandard.org/2011/12/methanol-wins-open-wager.html

Saitek X65 and X52, Glide, Winx3D, and GlovePIE Profiles http://library.avsim.net/search.php?SearchTerm=reticuli&CatID=miscmisc

http://library.avsim.net/register.php

X52 + Silicone Grease = JOY stick
#3585736 - 06/04/12 05:26 AM Re: Comanche Gold Antialiasing Solution [Re: Reticuli]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
in Catalyst control Centre there is an opion for morphological-antialiasing



also
The ATI Radeon™ HD 5000 Graphics Series now supports the new Catalyst™ AI user interface that was previously only available on the AMD Radeon™ HD 6800 Graphics Series
The ATI Radeon™ HD 5000 Graphics Series now supports Morphological Anti-Aliasing
Fixed cases where Morphological Anti-Aliasing was intermittently not being correctly applied to games.
OpenGL 4.1 beta support
Support for the new Morphological Anti-Aliasing feature
Dead Rising 2 – AMD CrossFireX™ profile (Resolves negative scaling)
AMD CrossFireX™ Performance Improvement for:
o Metro 2033
o F1 2011 - (Direct X9 version)
o Fallout New Vegas
Performance optimizations for systems with an AMD Radeon™ HD 6870 and AMD Radeon™ HD 6850 series of graphics products installed
o Aliens versus Predator performance enhancements
o StarCraft 2 performance enhancements
o OpenGL performance enhancements for Prey, Quake Wars: Enemy Territories, and Heaven v2
Support for additional Stereo 3D-capable displays:
o Viewsonic V3D241wm-LED
o 3D Projectors

Last edited by ufolev; 06/04/12 10:51 AM.
#3585855 - 06/04/12 01:16 PM Re: Comanche Gold Antialiasing Solution [Re: Reticuli]  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
Originally Posted By: Reticuli
Amazing. I thought Comanche Gold was a kernel-level software rendering system and not Direct3D or DirectDraw or anything like that. Is everything in Windows technically DirectDraw?


I don't really know tbh, maybe there are even differences between the original Comanche 3 for DOS and Comanche Gold. I just noticed that Comanche Gold somehow utilizes the ddraw.dll. I always wondered why it was not possible to apply any advanced graphic effects like Antialiasing and that stuff. Though, even with DXGL this doesn't work except FXAA.

According to Wikipedia DirectDraw is a 2D API that does not support 3D hardware acceleration.

I'm trying to get in contact with the creator of DXGL, maybe he can help us out to get this game even more shiny!

@ufolev: Did you try the morphological-filtering and does it work for you?

Last edited by S3ti; 06/04/12 01:19 PM.
#3586114 - 06/04/12 08:22 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Jun 2005
Posts: 2,132
Reticuli Offline
Member
Reticuli  Offline
Member

Joined: Jun 2005
Posts: 2,132
Dayton, OH, USA
Hmm... ddraw.dll. I wonder if that's the same one used by Win3D, DirectZ, and VR Caddy stereoscopic drivers. CG was stereo for some devices.

Originally Posted By: S3ti
Originally Posted By: Reticuli
Amazing. I thought Comanche Gold was a kernel-level software rendering system and not Direct3D or DirectDraw or anything like that. Is everything in Windows technically DirectDraw?


I don't really know tbh, maybe there are even differences between the original Comanche 3 for DOS and Comanche Gold. I just noticed that Comanche Gold somehow utilizes the ddraw.dll. I always wondered why it was not possible to apply any advanced graphic effects like Antialiasing and that stuff. Though, even with DXGL this doesn't work except FXAA.

According to Wikipedia DirectDraw is a 2D API that does not support 3D hardware acceleration.

I'm trying to get in contact with the creator of DXGL, maybe he can help us out to get this game even more shiny!

@ufolev: Did you try the morphological-filtering and does it work for you?


The term "necroposting" was invented by a person with no social memory beyond a year. People with a similar hangup are those o.k. with the internet being transient vapor.

http://www.openfuelstandard.org/2011/12/methanol-wins-open-wager.html

Saitek X65 and X52, Glide, Winx3D, and GlovePIE Profiles http://library.avsim.net/search.php?SearchTerm=reticuli&CatID=miscmisc

http://library.avsim.net/register.php

X52 + Silicone Grease = JOY stick
#3586387 - 06/05/12 06:11 AM Re: Comanche Gold Antialiasing Solution [Re: Reticuli]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Positive feedback about ATI users

with these adjustments:










with some limitations you can get this result:





you can compare this wideo with other videos about comanche gold in my youtube channel made without MLAA


some screens from the above video:







Last edited by ufolev; 06/05/12 09:24 AM.
#3586474 - 06/05/12 12:48 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
Ufolev those screenshots and the video don't look like antialiased at all. You can see very clear steps at the horizontal and vertical stabilizer frown
I've read that this postprocess antialiasing isn't always visible on screenshots depending on how the screenshots are grabbed off the system...Or it's just not activated, try it with all other settings off and only activate morphological-filtering then compare it with everything at default. But after all DXGL seems to work too for ATI cards!

BTW how do you get this screenshots ingame?

Edit: I've tried to do a video and screenshots with fraps and guess what smile FXAA doesn't show up for both, it just looks like it is not activated but ingame it is antialiased!
I've taken the ingame screenshots in my first post with snagit, a screen capture program. It seems that does the trick and grabs exactly what you see on the monitor...

Last edited by S3ti; 06/05/12 01:08 PM.
#3587042 - 06/06/12 11:14 AM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
I knew we could count on ufolev to test this further, but I have to agree that it doesn't look as though the MLAA is working, at least from the screenshots.

I think that ufolev may have got the screenshots by using the in-game screenshot facility that can be enabled from a small menu hack. In which case, it is very unlikely that any postprocessing effects would be grabbed.

I find these third-party postprocessing programs quite interesting, there is one out there which enables all sorts of effects in many modern games (not just one), but can't think what it's called. There's also one specifically for the Dark Engine games such as Thief 1 & 2 and System Shock 2, which is more along the lines of this as those games are from the same era. But unfortunately, most of these kind of programs are graphic card-specific, and at that, driver-specific, and even then may not work for everyone depending if they 'hook' it into the game successfully or not.

#3587077 - 06/06/12 01:29 PM Re: Comanche Gold Antialiasing Solution [Re: Flyboy]  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
I have all your hacks enabled but what`s the key binding to take screenshots ingame please?

Yes, actually FXAA and MLAA are not visible in fullscreen screenshots, only when taken from windowed modes. Maybe my first screenshots were somehow in windowed mode because of those black bars...

Last edited by S3ti; 06/06/12 01:30 PM.
#3587097 - 06/06/12 02:03 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
I actually have no idea what key it is to take a screenshot! I've just taken a look back at the documentation for the hacks but it doesn't say anywhere.

#3587206 - 06/06/12 04:50 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Mar 2008
Posts: 353
ufolev Offline
Member
ufolev  Offline
Member

Joined: Mar 2008
Posts: 353
Dear Friends,

I do not know whether MLAA works here or not - I only saw that with these tunings on MAX



I have this result


with FRAPS

ufo :-)


Last edited by ufolev; 06/06/12 04:53 PM.
#3587256 - 06/06/12 06:17 PM Re: Comanche Gold Antialiasing Solution [Re: ufolev]  
Joined: Jun 2012
Posts: 17
S3ti Offline
Junior Member
S3ti  Offline
Junior Member

Joined: Jun 2012
Posts: 17
As I said already, Fraps and other usual screenshot methods can't show FXAA/MLAA. The screenshots are taken from a buffer in the graphics card where the effect isn't yet applied if I got that correctly.

If it looks exactly that way ingame like on your screenshot, it doesn't seem to work. You can see the effect quite good at the two screenshots that I posted in the beginning of the thread. wink

#3592263 - 06/15/12 05:24 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
I've put a link to this topic on my CG website. smile

#3621506 - 08/06/12 09:20 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Aug 2012
Posts: 3
BFeely Offline
Junior Member
BFeely  Offline
Junior Member

Joined: Aug 2012
Posts: 3
Hello. I'm the developer of DXGL. (it's called "DXGL" not "DXGL Wrapper") I'd like to say I like what I see. And so you understand, DXGL currently only supports DirectDraw to any significant amount. Direct3D7 (and below) support is currently at the beginning of development, and Direct3D support caps are not currently advertised in Release builds.

Also, I would agree the reason you don't see MLAA/FXAA is because of your video capture software. The reason those methods work on software rendered games under DXGL is because these antialiasing methods are post-processing effects that work without the scene geometry.

Last edited by BFeely; 08/06/12 09:25 PM.
#3621571 - 08/06/12 11:22 PM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2006
Posts: 3,453
Flyboy Offline
Senior Member
Flyboy  Offline
Senior Member

Joined: Nov 2006
Posts: 3,453
England, UK
Hi BFeely, thanks for joining the forums, for introducing yourself, and for the explanations. I'm sure that when the other guys see your post they will have some questions for you!

How did you know that we had talked about your program here?

#3622131 - 08/07/12 11:17 PM Re: Comanche Gold Antialiasing Solution [Re: Flyboy]  
Joined: Aug 2012
Posts: 3
BFeely Offline
Junior Member
BFeely  Offline
Junior Member

Joined: Aug 2012
Posts: 3
I found your post because there was a screenshot of the DXGL config program in Google Images that wasn't mine, so I decided to take a look. By the way, how does DXGL work for you, performance-wise?

#3622965 - 08/09/12 07:42 AM Re: Comanche Gold Antialiasing Solution [Re: S3ti]  
Joined: Nov 2010
Posts: 133
ADHS Offline
Member
ADHS  Offline
Member

Joined: Nov 2010
Posts: 133
Australia
Any attempt (signatures) for an Open Source Comanche Gold yet? ahoy

Page 1 of 3 1 2 3

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0