VOGONS

Common searches


Reply 25 of 57, by aqrit

User metadata
Rank Member
Rank
Member

back on topic...

The DirectDraw\\MostRecentApplication value almost never updates (for me)

but a quick google shows that the "ID" value is just the TimeDateStamp in the PE header of the target executable

So this program could be greatly simplified/improved...

Reply 26 of 57, by mudlord

User metadata
Rank Newbie
Rank
Newbie

Okay,
I stopped making this ever since Sol_HSA made the proper ddhack emulator/hack, but what exactly do you want done.

I might get off my ass to fix, or update this. If I am motivated enough. 😦

Reply 28 of 57, by Good Ol' TarviS

User metadata
Rank Newbie
Rank
Newbie
aqrit wrote:

something like this?
http://users.cjb.net/aqrit/ddraw_color_fixer.zip (includes source)
*** not tested on x64 ***

As far as I know, this does the exact same thing as the program in the OP.

Reply 29 of 57, by aqrit

User metadata
Rank Member
Rank
Member

It gets the 'ID' value in a way less prone to failure.
Though the program itself is probably less reliable. (because it was written in a hurry)

Good Ol' TarviS wrote:

As far as I know, this does the exact same thing as the program in the OP.

Did you read the posts in your own thread?

specifically these three:
mudlord's Windows 7 DDraw Compatability Fix (Fixes Garbled Colors)
mudlord's Windows 7 DDraw Compatability Fix (Fixes Garbled Colors)
mudlord's Windows 7 DDraw Compatability Fix (Fixes Garbled Colors)

Reply 31 of 57, by achillies000

User metadata
Rank Newbie
Rank
Newbie

1) App gets HWND/process IDs of application being run.
2) App runs the application.
3) It kills its threads as soon as a HWND and thread ID is gathered.
4) From there, the most recent DirectDraw application ID is gathered. Since it was the app to be patched, it copies it to a variable.
5) This variable, along with the needed flags makes a compatibility profile in the Registry for Windows Vista/7 to use with that application, only. It won't affect other parts of your registry. The key name used comes from the application's window class name/IDs.

Reply 32 of 57, by aqrit

User metadata
Rank Member
Rank
Member

Read my comments in this thread... seriously

the first 4 steps are not optimal ->
and almost never work for me (and others)

a better method:

1) Get TimeDateStamp from target executable
2) Add key to registry (the key name can be anything)

Reply 33 of 57, by feda

User metadata
Rank Member
Rank
Member

Both ddraw color fixes given in this thread work only partially with UFO Defense collector's edition. The colors are correct for everything except the intro movie which still looks like a tie-dye.

They both work well with TFTD, though (except the initial language selection screen, but that's not a problem).

Thank you to both fixers.

Reply 34 of 57, by dosmax

User metadata
Rank Newbie
Rank
Newbie

For some (many?) games that have color palette problems there is a very simple fix that doesn't require any extra files, manual editing of the registry or tinkering with the Application Compatibility Toolkit:

Disabling Desktop Composition (Aero) in a programs Compatibility Settings might very well be enough. At least on my Win7/32.

So if you use a 32bit Windows, before trying anything else, try this. Works quite often. In general for everything that works with the infamous "open the Screen Resolution window" workaround.

Reply 35 of 57, by Good Ol' TarviS

User metadata
Rank Newbie
Rank
Newbie
dosmax wrote:

For some (many?) games that have color palette problems there is a very simple fix that doesn't require any extra files, manual editing of the registry or tinkering with the Application Compatibility Toolkit:

Disabling Desktop Composition (Aero) in a programs Compatibility Settings might very well be enough. At least on my Win7/32.

So if you use a 32bit Windows, before trying anything else, try this. Works quite often. In general for everything that works with the infamous "open the Screen Resolution window" workaround.

This does work sometimes, but it's less convenient and does not work for many games.

Reply 36 of 57, by dosmax

User metadata
Rank Newbie
Rank
Newbie
Good Ol' TarviS wrote:

This does work sometimes, but it's less convenient and does not work for many games.

My guess is, that this is highly system dependent. I have a Win7/32 desktop pc and a Win7/64 notebook. On the desktop machine this works for all games I tried so far. On the 64bit machine it doesn't work at all. Maybe some graphics cards/drivers still have the ability to do Ddraw correctly and others don't. Who knows?

Which method is more convenient is a matter of taste, isn't it? Personally I think, clicking a checkbox is much more convenient then downloading and running a program.

Reply 37 of 57, by Good Ol' TarviS

User metadata
Rank Newbie
Rank
Newbie
dosmax wrote:

Which method is more convenient is a matter of taste, isn't it? Personally I think, clicking a checkbox is much more convenient then downloading and running a program.

True, but with the latter, you only need to run it once per program, and not have to launch Screen Resolution every time.

Besides, Screen Resolution didn't work for Descent Freespace, Quake II, Hexen II, and Jedi Knight. Not for me anyways.

Reply 38 of 57, by dosmax

User metadata
Rank Newbie
Rank
Newbie
Good Ol' TarviS wrote:

Besides, Screen Resolution didn't work for Descent Freespace, Quake II, Hexen II, and Jedi Knight. Not for me anyways.

That only confirms that this is indeed system dependent. Besides Descent Freespace, which I don't have, everything else you mention runs fine here

Besides: I was not talking about the screen resolution workaround, which, you are right, one would have to do every time. But instead disabling desktop composition in the compatibility settings of a program.

Reply 39 of 57, by aqrit

User metadata
Rank Member
Rank
Member

amusingly...

all the registry garbage boils down to...

if( SUCCEEDED( DirectDrawCreate( lpGUID, lplpDD, pUnkOuter ) )  )
(*((DDRAWI_DIRECTDRAW_INT**)lplpDD))->lpLcl->dwAppHackFlags |= 0x800;

Reply 40 of 57, by NViousGK

User metadata
Rank Newbie
Rank
Newbie

All of this sounds great. I have an old game that noone's ever, ever heard of and was wondering if anytone has gotten it to work with anything higher than Windows 98 using the standard VGA driver? The game is "Ripper" I know, great game. But I haven't been able to play it for years until I was given an old Windows 98 computer with only VGA graphics onboard. I would love to pay this on my Win 7 machine.

Nudists have nothing to hide!

Reply 44 of 57, by collector

User metadata
Rank l33t
Rank
l33t

Malwarebytes IDs that as a threat, too. I am perfectly willing to assume that this is a false positive, but Google will not.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers