elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.15k stars 82 forks source link

Indiana Jones and the Emperor's Tomb (Steam version): cinematics not scaled #276

Closed legluondunet closed 3 weeks ago

legluondunet commented 4 weeks ago

Hello Elisha, when you use dxwrapper with "Indiana Jones and the Emperor's Tomb" (Steam version), the cinematics are not scaled. I enabled D3D8to9 but videos are still to small and not screen centered. A screen capture of how intro videos played: image

Do you know if it is fixable with dxwrapper? Thank you for your help.

legluondunet commented 4 weeks ago

Another more important issue: Alt Tab could crash the game...

elishacloud commented 4 weeks ago

The videos in this game are done with GDI not with Direct3D. GDI is not easy to scale.

elishacloud commented 4 weeks ago

Another more important issue: Alt Tab could crash the game...

Are you sure this is related to d3d8to9? It seems like you are using some tool to scale the game. Maybe remove that and just use d3d8to9. It is probably whatever tool your using to scale the game causing this crash.

legluondunet commented 4 weeks ago

Are you sure this is related to d3d8to9?

I didn't say that, I just wanted to share my experience with you about this game and dxwrapper on my computer. The main object here is to know if dxwrapper can play this game cinematics scaled and centered in fullscreen.

elishacloud commented 4 weeks ago

What dxwrapper settings are you using when you see the Alt+Tab crash? Are you using other wrappers or plug-ins besides dxwrapper?

legluondunet commented 4 weeks ago

What dxwrapper settings are you using

I tested again with game + dxwrapper fresh install , I only activated D3D8to9 option.

Now the cinematics played centered: image On the previous screen capture, it was not centered, I used

[d3d9]
EnableWindowMode           = 1
FullscreenWindowMode       = 1

Are you using other wrappers or plug-ins besides dxwrapper?

I'm using Wine on Linux, but no other wrappers or plugins, only dxwrapper d3d8 dll

new: alt-tab crash happened only if you alt+tab during cinematics, not during playing.

elishacloud commented 3 weeks ago

I tested again with game + dxwrapper fresh install , I only activated D3D8to9 option.

Now the cinematics played centered:

The resolution of the videos remains constant at 640x480. However, when you increase the resolution of the game then the videos look smaller and smaller. If you change the game's resolution back to 640x480 then you will see the videos cover the whole screen. Since the game uses GDI for the videos I don't plan to do anything there.

new: alt-tab crash happened only if you alt+tab during cinematics, not during playing.

I suspect it is because when you alt+tab the window is minimized and then when the video play tries to draw to the screen it has a bug that causes it to crash because it cannot find the correct window rect.

However, on my device I am not seeing a crash because the game does not allow me to switch apps while playing a video. Not sure it is being block by bink or by Windows. You could try using the bink player I am using: binkw32.zip

legluondunet commented 3 weeks ago

Since the game uses GDI for the videos I don't plan to do anything there.

Ok Elisha, thanks anyway.