Skip to content

NEED HELP TO FIX iF-22 PERSIAN GULF V5.0 D3D GRAPHICAL ISSUE #565

Open

Description

@faiznaaman

iF-22 Persian Gulf V5.0 is so far playable via DDrawCompat. My specs are Intel Celeron 2.1Ghz N2840 + Intel HD Graphics + 8GB DDR3 L RAM. Running natively on Windows 8.1 (and should work the same on Windows 10 & 11).

I've managed to solve the controller part by using a combination of x360ce (to hide the USB controller via the HIDGuardian function) and DS4Windows (with ViGEm + Bluetooth DS4). I am also using a specific DxWnd version & an imported profile (from the SourceForge forum discussing about iF-22) to make the game run on a single core-affinity processor with some colorkey fix. The only compatibility settings I used on the game .EXE is "run as administrator".

It still has multiple problems ranging from occasional freezes (after jet crashes/ exiting a mission), missing transparency effects & textures (becoming black boxes) when using Direct3D rendering, and the menu... which is accessible and working fine but the graphics are broken with white background at the supposedly black button/ link/ text area.

I want to know, could dxwrapper do something about the Direct3D rendering issue of this game? I mean the missing transparency effects & textures (becoming black boxes). What is your advice, Elisha?

Activity

  1. elishacloud commented on Jun 12, 2026

    @elishacloud
    Owner

    The version of DDrawCompat that comes with dxwrapper is a very old version. It's possible if you use a newer version it will fix the issue.

    If you want to try and use dxwrapper, here is the latest build: dxwrapper.zip

    Try just enabling the Dd7to9 option. If you are having freezing and/or crashing you can try enabling the SingleProcAffinity option also.

    Other options you could try in addition to those two are: DdrawEmulateSurface, DdrawLimitTextureFormats and DdrawLimitDisplayModeCount. Note: I would only keep DdrawEmulateSurface enabled if it actually helps. It could have undesired effects.

  2. faiznaaman commented on Jun 15, 2026

    @faiznaaman
    Author

    I've tried your suggestion above. It fixes the issue of missing transparency effects & textures (becoming black boxes) when using Direct3D rendering (with/ without DdrawEmulateSurface, DdrawLimitTextureFormats and DdrawLimitDisplayModeCount enabled).

    But the menu is still messed up (it seems that the menu window/ frame is split into two with one is totally black and the other is just showing images + text/ links/ buttons without a background when look at the Windows' thumbnail preview at the taskbar), and the game still freezes when quitting the gameplay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions