Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Freelancer (2003)] Splash screen flickering since latest dxwrapper release #343

Open
BC46 opened this issue Feb 11, 2025 · 7 comments
Open

Comments

@BC46
Copy link
Contributor

BC46 commented Feb 11, 2025

When starting the game Freelancer (2003), a splash screen appears briefly before the game's main menu is loaded. This video shows what the splash screen looks like normally:

2025-02-08.15-39-57.mp4

If I start Freelancer with dxwrapper v1.2.7500.25 with the config

[Compatibility]
D3d8to9                    = 1

then the splash screen flickers multiple times, seemingly switching between different gamma values (WARNING: flashing images):

2025-02-08.15-30-04.mp4

This issue wasn't present in the previous dxwrapper release. Considering the different gamma values, I assume it has to do with the new gamma shader introduced in the latest dxwrapper release.

Side note, if I use AntiAliasing = 1 under [d3d9], then the flickering only occurs twice and doesn't seem to be as bad as in the video above:

2025-02-08.15-57-14.mp4
@elishacloud
Copy link
Owner

I think the latest check-in should fix this issue. If not please upload an updated log file using the build with the fix.

@BC46
Copy link
Contributor Author

BC46 commented Mar 4, 2025

The issue seems to have been fixed for fullscreen mode. If I launch the game in windowed mode however, there is still a little bit of flickering which behaves similarly to how it did previously with AntiAliasing = 1. Here's the log file: dxwrapper-freelancer.log.

@elishacloud
Copy link
Owner

The issue seems to have been fixed for fullscreen mode.

Ok, that means the issue is almost certainly related to the gamma shader.

If I launch the game in windowed mode however, there is still a little bit of flickering

Ok, thanks for the logs I will check this out and see what is going on. Are you using in-game window mode or are you using dxwrapper's window mode?

@BC46
Copy link
Contributor Author

BC46 commented Mar 4, 2025

I used in-game window mode.

@elishacloud
Copy link
Owner

I added an option in the latest build to enable/disable the gamma shader. You can disable it by adding WindowModeGammaShader to the ini file and setting it to 0. Let me know if that fixes the issue.

@BC46
Copy link
Contributor Author

BC46 commented Mar 20, 2025

It does! Adding WindowModeGammaShader = 0 under [d3d9] completely eliminates the flickering in windowed mode with the latest build.

@elishacloud
Copy link
Owner

Thanks for testing. I need to figure out what is happening with the shader that causes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants