-
Notifications
You must be signed in to change notification settings - Fork 26
bootstrap.xml parsing and handling #254
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
Conversation
| /* Read command line */ | ||
|
|
||
| options_init(&options); | ||
| options_read_early_cmdline(&options, argc, argv); |
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.
Might be good to have reasoning in the commit why this is required.
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.
Sure.
|
|
||
| #include "imports/avs.h" | ||
|
|
||
| struct bootstrap_startup_config { |
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.
Is this unified across all different games? Anything that only came with specific (newer/older) versions of bootstrap?
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.
A bunch of things came only with newer versions, that's why almost all psmap properties are _OPTIONAL with a sensible default.
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.
Defaults match with official bootstrap? If yes, that might be worth a comment in the code.
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.
They do, will do.
|
Closing as I picked up the work and continue driving it from a new PR: #272 |
This patchset adds full support for parsing and handling of
prop/bootstrap.xmlas alternative to the command-line parameter configuration of launcher itself.It adds the following command line options:
-C: path to bootstrap.xml (default:prop/bootstrap.xml)-Z: selector in bootstrap.xml to use. Required for bootstrap.xml parsing to take place.If given a valid bootstrap.xml and selector, launcher will:
avs-config.xmlpath from it by defaultea3-config.xmlpath from it by defaultapp-config.xmlAs indicated by the
@573ordinal number, allavs_fs_*imports need to be checked, except for AVS 2.15.8.This MR depends on #253 for its added property definitions.