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

minor: CoF: always return a positive result for -launchapp or -nolaunchappwarn in 'hudCheckParm' engine function #495

Open
SmileyAG opened this issue Jan 25, 2024 · 0 comments
Assignees

Comments

@SmileyAG
Copy link
Collaborator

SmileyAG commented Jan 25, 2024

Every time you launch the mod. version of Cry of Fear not through a launcher, but directly like regular GoldSrc mods, then every time a MessageBox window will pop up and asking you that it is better for you to use their launcher for optimization

But this is complete nonsense, code of this game itself is so terribly optimized, that getting stable 100 fps on half of maps is so rare and this is literally true for everyone who played, despite if you used launcher or not
And besides, their launcher is broken on some configurations, and from the option there you can only set color depths, but what’s stopping us from doing this by using -16bpp, -24bpp or -32bpp in launch options?

Simply put, it’s completely useless to use their launcher; it’s better to skip this check by intercepting the hudCheckParm function in the engine and returning a positive result for -launchapp or -nolaunchappwarn option (yes, thank to them that they at least added options to ignore that pseudo-warning)

Checks for this happen inside client.dll, and I can also assure you that among these options there are no other references in the code other than to disable this message box, so it safe

@SmileyAG SmileyAG self-assigned this Jan 25, 2024
@SmileyAG SmileyAG changed the title CoF: always return a positive result for -launchapp or -nolaunchappwarn in 'hudCheckParm' engine function CoF: minor: always return a positive result for -launchapp or -nolaunchappwarn in 'hudCheckParm' engine function Jul 29, 2024
@SmileyAG SmileyAG changed the title CoF: minor: always return a positive result for -launchapp or -nolaunchappwarn in 'hudCheckParm' engine function minor: CoF: always return a positive result for -launchapp or -nolaunchappwarn in 'hudCheckParm' engine function Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant