Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Graphics wizardry
#30
Hey guys, has any of you tried the "magic" ddraw.dll on Windows 7? Comedy.

1. INI Controls
I implemented the INI controls now, but the surfaces are created before the rules are even read, so I can't really put them there. And I can't put them in RA2MD.ini, since that is rewritten from scratch on every exit. Writing the data into ra2md manually is an option, but the next time you run plain YR without Ares, guess what will happen to these new settings. So I had another thought: are there any objections to me creating an ares.ini instead, and sticking them there? I'm sure we'll come across more settings that only make sense on a global scope like this.
Some mods might want to force specific settings on the user, and mod-switching needs to be aware of that eventually...

2. Windows 7
At least on Windows 7, the ddraw.dll draws nothing, and switching it to hardware accel only crashes real hard. So in there, the DirectX.Force= setting will be ignored and the game will run as it used to. Yeeeeaaaaah.
Edit: Rereading the ddraw.dll thread, I found mention of it also being useless on Vista. Not surprising.

3. Other info related to drawing
Thanks to Westwood's way of drawing, you should actually prefer the surfaces in system RAM, not GPU.
This means disabling the VideoBackBuffer is the right thing to do... maybe I should actually make YR default to that mode? Who knows...

Note for clarity's sake: contrary to wthigon's claim in the old ddraw.dll thread, that dll and VideoBackBuffer are two different things.
ddraw.dll tells DirectX to not use any hardware acceleration on graphics.
[Video]VideoBackBuffer = no (not default) and AllowVRAMSidebar = no (default) tell the game to place all the surfaces in system memory.

Blit counter: It only works when the Tile surface is in VRAM (GPU) , and the Alternate surface is not. That is the default config...

In a short while the testers will get the new build with the options from first post available, even though I should advise you not to expect miracles, we'll see what results we get back.

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
Graphics wizardry - by DCoder - 31.03.2009, 17:46:47
RE: Graphics wizardry - by MRMIdAS - 31.03.2009, 18:59:11
RE: Graphics wizardry - by hogo - 01.04.2009, 12:43:20
RE: Graphics wizardry - by MRMIdAS - 01.04.2009, 16:25:15
RE: Graphics wizardry - by hogo - 01.04.2009, 23:47:48
RE: Graphics wizardry - by MRMIdAS - 02.04.2009, 02:06:01
RE: Graphics wizardry - by DCoder - 01.04.2009, 17:50:42
RE: Graphics wizardry - by MRMIdAS - 01.04.2009, 18:57:43
RE: Graphics wizardry - by DCoder - 01.04.2009, 20:35:09
RE: Graphics wizardry - by Renegade - 02.04.2009, 05:56:37
RE: Graphics wizardry - by Guest - 02.04.2009, 11:39:34
RE: Graphics wizardry - by Bobingabout - 15.04.2009, 11:56:34
RE: Graphics wizardry - by hogo - 15.04.2009, 12:02:05
RE: Graphics wizardry - by Tempest - 02.04.2009, 13:17:13
RE: Graphics wizardry - by hogo - 02.04.2009, 14:02:00
RE: Graphics wizardry - by Beowulf - 23.04.2009, 07:29:06
RE: Graphics wizardry - by hogo - 23.04.2009, 13:22:39
RE: Graphics wizardry - by Renegade - 23.04.2009, 18:15:16
RE: Graphics wizardry - by Bobingabout - 24.04.2009, 10:48:28
RE: Graphics wizardry - by Guest - 24.04.2009, 19:01:01
RE: Graphics wizardry - by Marshall - 25.04.2009, 12:35:51
RE: Graphics wizardry - by Guest - 25.04.2009, 13:35:09
RE: Graphics wizardry - by DCoder - 25.04.2009, 15:24:10
RE: Graphics wizardry - by Bobingabout - 27.04.2009, 10:19:28
RE: Graphics wizardry - by hogo - 27.04.2009, 11:24:53
RE: Graphics wizardry - by Tempest - 26.04.2009, 14:26:59
RE: Graphics wizardry - by MRMIdAS - 26.04.2009, 16:31:47
RE: Graphics wizardry - by Beowulf - 04.05.2009, 06:53:29
RE: Graphics wizardry - by hogo - 18.06.2009, 17:13:41
RE: Graphics wizardry - by DCoder - 15.11.2009, 19:14:45
Whats new? - by Ojisan Boy - 16.11.2009, 01:03:06
RE: Graphics wizardry - by Marshall - 16.11.2009, 15:23:13
RE: Graphics wizardry - by DCoder - 16.11.2009, 18:50:27
RE: Graphics wizardry - by Guest - 16.01.2010, 23:25:48
RE: Graphics wizardry - by DCoder - 17.01.2010, 09:14:14
RE: Graphics wizardry - by ,, - 17.01.2010, 17:36:54
RE: Graphics wizardry - by DCoder - 17.01.2010, 23:26:20
RE: Graphics wizardry - by Guest - 18.01.2010, 17:43:37
RE: Graphics wizardry - by DCoder - 18.01.2010, 20:12:45
RE: Graphics wizardry - by Beowulf - 19.01.2010, 00:12:06
RE: Graphics wizardry - by Guest - 19.01.2010, 17:49:58



Users browsing this thread: 1 Guest(s)