-
Notifications
You must be signed in to change notification settings - Fork 244
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
battleye: Add support for -exe command line argument. #145
base: proton_7.0
Are you sure you want to change the base?
Conversation
Thanks for the patch, what game/s use this? |
game_cmd = cmdline; | ||
|
||
/* Check if -exe argument was passed, which will override .ini entry */ | ||
cmd_exe_arg = wcsstr(cmdline, L"-exe "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This check comes after we read from BELauncher.ini, and if we don't find the file, the launcher fails. Are we sure that the .ini file is needed if an -exe arg is passed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I don't know. The .ini file is still present in my case, where executable is overriden by -exe argument.
Games can use this argument to override executable entries from BELauncher.exe. Change-Id: I53bed6c1591d77d5a382d50dfc692bfc90321846
Thank you for taking the time to review my patch! Please take a look at the updated version - I've incorporated your feedback. I've written some local tests to make sure different variants are supported, see the output below:
|
Games can use this argument to override executable entries from BELauncher.ini.