Author Topic: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed  (Read 264881 times)

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #270 on: December 28, 2019, 05:36:34 PM »
Notice the two screenshots, the original is 640 and the other is stretch larger than 640, which is close to 1024. Why the larger screenshot, looks a bit pixelated and unsmooth?


« Last Edit: December 28, 2019, 05:39:39 PM by Muz »

Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #271 on: December 28, 2019, 07:12:45 PM »
Does 0.1.6.7 work? Might have to release a new combat 4.6.1 soon with the fixed version..
Yes, 1.6.7 works good with win7.

cool

Which of those configs should I put it in? ddraw.ini or war2_ddraw.ini? Did you make the config using Visual Studio? Which ddraw file should I use?

Don't think I said anything about any ini files or ddraw files in my reply (nor is anything written about it in the link i posted!)

Notice the two screenshots, the original is 640 and the other is stretch larger than 640, which is close to 1024. Why the larger screenshot, looks a bit pixelated and unsmooth?




That's exactly what I explained you in my reply

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #272 on: December 28, 2019, 11:21:11 PM »
Ok, I have tried the shader. It looks bit like CRT. But I like to it to have 1024 x 768 pixel like the CRT monitor size in full screen mode. I can have it 1024 in Window mode though.

When I try to take screenshot of it in full screen, and I paste it into image editor, it shows black screen, so I cannot show the full screen screenshot here.

It does show 1024 when I first start the game, but when I switch between Window and full screen mode, it switches back to 640, in full screen. The only way to get 1024 in full screen is when first starting the game.

« Last Edit: December 28, 2019, 11:36:21 PM by Muz »

Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #273 on: December 28, 2019, 11:55:33 PM »
Yeah Alt+Enter doesn't remember upscaling with custom width/height at the moment
« Last Edit: December 29, 2019, 12:08:28 AM by fois »

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #274 on: December 29, 2019, 12:21:14 AM »
Yes. it reverts to the normal 640 after returning from Battle.net.




Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #275 on: December 29, 2019, 12:23:45 AM »
Oh right, battle.net is also using the Alt+Enter code... Anyways, I attached a fixed version for your special usecase

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #276 on: December 29, 2019, 12:37:56 AM »
Ok, now it shows 1024 in full screen, also whenever I return from Battle.net. How to edit the source code of ddraw.dll? Is there any particular software to view it?

Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #277 on: December 29, 2019, 12:42:18 AM »
Cool!

You can use visual studio community edition which is free https://visualstudio.microsoft.com/vs/community/

cnc-ddraw source: https://github.com/CnCNet/cnc-ddraw/archive/master.zip

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #278 on: December 29, 2019, 12:49:41 AM »
Do you prefer desktop or laptop for this kind of editing stuff?

I was wondering if there is CRT theme for whole Windows 10 itself. I mean Windows 10 displayed in CRT...

Is there any way to use the CRT shaders in DOSBox?
« Last Edit: December 29, 2019, 01:10:20 AM by Muz »

Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #279 on: March 01, 2020, 08:28:37 PM »
Just made a experimental version that fixes the laggy cursor (input lag) on windows 8 / 10


Note: OBS doesn't support this version
« Last Edit: March 01, 2020, 08:53:16 PM by fois »

Offline fois

  • Axe Thrower
  • ****
  • Posts: 254
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #280 on: March 04, 2020, 02:55:06 AM »
Here another experimental version of the other ddraw (cnc-ddraw) that also fixes the laggy cursor on win 8/10.

This version also adds support for the OBS "Game Capture" capture source so livestreaming without having to play with a disadvantage is now possible as well!
« Last Edit: March 19, 2020, 07:47:57 PM by fois »

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #281 on: November 14, 2020, 10:37:18 PM »
What is the best CRT shader currently?

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #282 on: November 15, 2020, 03:40:45 AM »
I have a question, how to set 640x480 in Windowed mode, and 1024x768 in Full Screen mode?

Offline Available

  • Global Moderator
  • Grunt
  • *****
  • Posts: 181
  • We're smarter than you.
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #283 on: November 15, 2020, 05:04:48 AM »
I have a question, how to set 640x480 in Windowed mode, and 1024x768 in Full Screen mode?

Windowed mode is already 640,
but if you fked it up, drag window border resize window to minimal possible = 640.

About 1024 (why?)
Use opengl-> fullscreen, then manually edit ddraw.ini file:
width=1024
height=768

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 312
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #284 on: November 15, 2020, 05:48:00 AM »
I have a question, how to set 640x480 in Windowed mode, and 1024x768 in Full Screen mode?

Windowed mode is already 640,
but if you fked it up, drag window border resize window to minimal possible = 640.

About 1024 (why?)
Use opengl-> fullscreen, then manually edit ddraw.ini file:
width=1024
height=768


To emulate CRTs...