narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
880 stars 67 forks source link

Mig Alley CTD with DDrawCompat Version 0.3.1 #250

Closed TheSilkMan closed 7 months ago

TheSilkMan commented 7 months ago

Hi Narzoul, getting this Access violation which results in a CTD when panning around in 3D. You may view the dumplog using windbg. I have not used later versions of DDrawCompat because this one worked so well.

dumplog.dmp DDrawCompat-MigAlley.log DDrawCompat-MigAlley[2].log ddraw.log

narzoul commented 7 months ago

Quoting from the readme:

Only the latest release is supported.

TheSilkMan commented 7 months ago

Hi Narzoul, I can't seem to get the latest version to work. It crashes during loading.

On Wed, Nov 8, 2023, 4:02 AM narzoul @.***> wrote:

Quoting from the readme:

Only the latest release is supported.

— Reply to this email directly, view it on GitHub https://github.com/narzoul/DDrawCompat/issues/250#issuecomment-1801361458, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZ3NDY5T6TNKKSKOOWALLTYDNDEFAVCNFSM6AAAAAA7CGT4LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBRGM3DCNBVHA . You are receiving this because you authored the thread.Message ID: @.***>

narzoul commented 7 months ago

Try adding this to DDrawCompat.ini: SupportedResolutions=640x480,800x600,1024x768

If that doesn't solve it, get a crash dump and debug logs.

TheSilkMan commented 7 months ago

Hi Narzoul, thanks that worked. I added the additional resolutions I normally use. 2d is crystal clear but 3D seems to be at a much lower resolution than selected in the in game menu. Also, I noticed that if the DisplayFilter setting in the config file doesn't match the in game setting(e.g., bilinear, trilinear, All), it crashed to desktop. How can I get the equivalent of trilinear/All to work? Right now, I only see an option for bilinear(0-7) in DDrawCompat.

On Wed, Nov 8, 2023, 11:18 AM narzoul @.***> wrote:

Try adding this to DDrawCompat.ini: SupportedResolutions=640x480,800x600,1024x768

If that doesn't solve it, get a crash dump and debug logs.

— Reply to this email directly, view it on GitHub https://github.com/narzoul/DDrawCompat/issues/250#issuecomment-1802224296, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZ3ND237RLF7I6VFKWREQDYDOWFRAVCNFSM6AAAAAA7CGT4LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGIZDIMRZGY . You are receiving this because you authored the thread.Message ID: @.***>

narzoul commented 7 months ago

DisplayFilter doesn't have anything to do with texture filtering. It's just a scaling filter used for upscaling or downscaling from the game's resolution to the actual display resolution selected by the DisplayResolution setting. I think the crash you are having is this issue: https://github.com/narzoul/DDrawCompat/issues/176#issuecomment-1372867706 As it says there, just set PalettizedTextures=off in DDrawCompat.ini, then it won't crash.

The 3D resolution is whatever you selected in game, plus potential upscaling applied by the ResolutionScale setting. Then the final rendered image is scaled using DisplayFilter to match DisplayResolution. DDrawCompat v0.3.1 didn't support display scaling, so it always used your GPU's or monitor's scaling (depending on your GPU driver's settings). Maybe that had a nicer scaling filter. You can use that instead of DisplayFilter by setting DisplayResolution=app in DDrawCompat.ini.

TheSilkMan commented 7 months ago

Hi Narzoul, thanks for the reply. That did the trick. However, the graphics are blurry no matter what settings I try. With 3.1, the were crisp and clear. I tried adjusting things using the overlay(great feauture!), however I just haven't had success. Any thoughts on that?

Also, any plans to enable mipmaps?

On Thu, Nov 9, 2023, 2:59 PM narzoul @.***> wrote:

DisplayFilter doesn't have anything to do with texture filtering. It's just a scaling filter used for upscaling or downscaling from the game's resolution to the actual display resolution selected by the DisplayResolution setting. I think the crash you are having is this issue: #176 (comment) https://github.com/narzoul/DDrawCompat/issues/176#issuecomment-1372867706 As it says there, just set PalettizedTextures=off in DDrawCompat.ini, then it won't crash.

The 3D resolution is whatever you selected in game, plus potential upscaling applied by the ResolutionScale setting. Then the final rendered image is scaled using DisplayFilter to match DisplayResolution. DDrawCompat v0.3.1 didn't support display scaling, so it always used your GPU's or monitor's scaling (depending on your GPU driver's settings). Maybe that had a nicer scaling filter. You can use that instead of DisplayFilter by setting DisplayResolution=app in DDrawCompat.ini.

— Reply to this email directly, view it on GitHub https://github.com/narzoul/DDrawCompat/issues/250#issuecomment-1804564554, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALZ3NDZN7ZPDUVFENOEFIADYDUYZ5AVCNFSM6AAAAAA7CGT4LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBUGU3DINJVGQ . You are receiving this because you authored the thread.Message ID: @.***>

narzoul commented 7 months ago

If you're only using the settings I recommended above (SupportedResolutions, DisplayResolution=app and PalettizedTextures=off) and everything else is on default, then it should look the same as in v0.3.1. Maybe you changed some settings in game and forgot to change it back? Have you checked v0.3.1 again to see if it still looks different? Can you post screenshots from both versions?

Unfortunately I can't test this game myself anymore, because it crashes on my system at startup now. I suspect this has something do with the recent Windows 11 23H2 update.

Mipmaps are supported. Only palettized mipmaps aren't, but I'm not aware of any game that needs them, so I don't wanna waste time adding support until there's a proven need.