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

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #255 on: November 17, 2019, 04:57:20 PM »
oh i apologize  :o  noone gave it to you...having to much fun but dump that in your war2 folder.

the files go where the war2.exe is the main folder...it should give you alt enter... to minimize the screen also.

Offline Available

  • Global Moderator
  • Grunt
  • *****
  • Posts: 180
  • We're smarter than you.
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #256 on: December 13, 2019, 11:31:19 AM »
Or report the problems so they can be fixed

Two issues:

Is there a way to ignore "Doubleclicking" on window header, so let window keep its normal size? Especially because no way to return in previous size. :/

Being in game Main menu and clicking "close" on window button resulting absolutely "lost/hang" mouse, hotkeys still working. Current solution: alt+enter then back to previous.

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #257 on: December 13, 2019, 12:54:27 PM »
Is there a way to ignore "Doubleclicking" on window header, so let window keep its normal size? Especially because no way to return in previous size. :/

Yeah I will disable it in the next version


Being in game Main menu and clicking "close" on window button resulting absolutely "lost/hang" mouse, hotkeys still working. Current solution: alt+enter then back to previous.

Doesn't happen for me (tested on win 10 and XP)

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #258 on: December 16, 2019, 12:25:51 PM »
@Available

New version is out with double click on title bar disabled.

I also tried to fix that other bug you reported some time ago where alt+tab didn't work on win7 if there was no other window on the screen, can you confirm that it works now for you?

https://github.com/FunkyFr3sh/Aqrit-DDraw-Hack/releases

Offline Available

  • Global Moderator
  • Grunt
  • *****
  • Posts: 180
  • We're smarter than you.
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #259 on: December 17, 2019, 02:43:46 PM »
New version is out with double click on title bar disabled.
Good news.

Tested last 1.6.4
Behaves slightly better than version 1.6.3. in common.
i didn't notice anything wrong with it, except same drawing bug in "resources" field after game type changing.

here is one common remark for both new 164 and old 163

in regular windows mode:
need to press alt+tab twice to set focus on desktop

when using DISABLEDWM compatibility parameter:
all ok, once to switch to desktop from fullscreen back and forth


But there is also bad news.
Some "laggy graphics" and black-screen issues reported by some players for 163 and almost same with 164.
Don't know about "black screen", but sad thing that last version not having "laggy graphics" problem is 1.6.2.  :(


Also, when testing there is a problem how to distinguish fast several different versions 0.1.6.3 for example,
maybe let resulting dll file size grow with every change by at least NN bytes? :)

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #260 on: December 17, 2019, 03:57:14 PM »
i didn't notice anything wrong with it, except same drawing bug in "resources" field after game type changing.

Got that fixed, attached new file below


here is one common remark for both new 164 and old 163

in regular windows mode:
need to press alt+tab twice to set focus on desktop

when using DISABLEDWM compatibility parameter:
all ok, once to switch to desktop from fullscreen back and forth

On what version on windows does that happen?


But there is also bad news.
Some "laggy graphics" and black-screen issues reported by some players for 163 and almost same with 164.
Don't know about "black screen", but sad thing that last version not having "laggy graphics" problem is 1.6.2.  :(


Also, when testing there is a problem how to distinguish fast several different versions 0.1.6.3 for example,
maybe let resulting dll file size grow with every change by at least NN bytes? :)


When does the blackscreen happen? Right when you start the game or while playing?

What do you mean with laggy graphics? Can you give me some more details about this so I can test it?


Yeah, I will now always change the version number when i publish a new test build somewhere so it's easier to know what changes the file got

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #261 on: December 17, 2019, 06:08:27 PM »
Here is another version with DISABLEDWM built in, does this also fix the "laggy graphics"? With "laggy graphics" you meant a delayed mouse cursor?


On windows 10 there is no difference, the cursor is always laggy with all versions because you can't disable DWM. That's why we need the OpenGL and Direct3d renderer for win10 to have a fast cursor, GDI can't do it on 10

On XP the cursor is always fast cause XP got no DWM
« Last Edit: December 17, 2019, 06:12:17 PM by fois »

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #262 on: December 17, 2019, 07:37:23 PM »
And here another test version (0.1.6.7) that restores the behavior from 0.1.6.2.

Do you notice any difference between 0.1.6.6 and 0.1.6.7 related to laggy graphics?

Offline Available

  • Global Moderator
  • Grunt
  • *****
  • Posts: 180
  • We're smarter than you.
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #263 on: December 17, 2019, 09:40:13 PM »
On what version on windows does that happen?
w7-64, but this is not a big problem.

When does the blackscreen happen? Right when you start the game or while playing
Yes, sometimes at game start, screen keeps black (win10)
On some computers when pressed join/create, black screen appears for several seconds, then continues in the normal mode (win7)
it's all about 1.6.3 version.
users with it was returned to 1.6.2

any difference between 0.1.6.6 and 0.1.6.7 related to laggy graphics?
Ok, we will test it


Offline Muz

  • Axe Thrower
  • ****
  • Posts: 304
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #264 on: December 26, 2019, 07:46:22 AM »
How to configure it to 1024x768 in full screen mode?

How to edit the source code for ddraw.dll? Use Visual Studio?
« Last Edit: December 26, 2019, 08:09:40 AM by Muz »

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #265 on: December 27, 2019, 10:45:07 PM »
@Available Any news? Does 0.1.6.7 work? Might have to release a new combat 4.6.1 soon with the fixed version...


@Muz Why would you want to do that? The game would still run at 640x480, the ddraw can only upscale it to 1024x768

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 304
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #266 on: December 28, 2019, 02:18:32 AM »
@Available Any news? Does 0.1.6.7 work? Might have to release a new combat 4.6.1 soon with the fixed version...


@Muz Why would you want to do that? The game would still run at 640x480, the ddraw can only upscale it to 1024x768
So that I can emulate like the old CRT monitor from the current modern monitors. The texture looks a bit unsmooth when increase from the original 640 with modern monitors. Why do CRT shows smooth display even though with larger resolutions?

Offline fois

  • Grunt
  • ***
  • Posts: 230
  • Chicken
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #267 on: December 28, 2019, 02:26:32 AM »
Oh ic.. You can use Warcraft II Config.exe in your game folder to configure upscaling + how it looks like. If you don't have Warcraft II Config.exe then either install the new combat or get the config from here: http://forum.war2.ru/index.php/topic,5015.0.html

Use the following settings:

Renderer       = OpenGL
DisplayMode = Stretched
Filter              = Try all of them until you found one you like

crt-lottes-fast will emulate a old CRT monitor, but you can also try the other ones

Offline Muz

  • Axe Thrower
  • ****
  • Posts: 304
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #268 on: December 28, 2019, 02:39:06 AM »
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?
« Last Edit: December 28, 2019, 02:53:13 AM by Muz »

Offline Available

  • Global Moderator
  • Grunt
  • *****
  • Posts: 180
  • We're smarter than you.
    • View Profile
Re: War2 graphics for Win Vista/7/8/8.1/10/2012 fixed
« Reply #269 on: December 28, 2019, 12:16:30 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.