refactor(launcher): Major re-work of launcher #296

Open
icex2 wants to merge 13 commits from pr296 into master
icex2 commented 2024-02-23 19:43:03 +03:00 (Migrated from github.com)

refactor(launcher): Major re-work of launcher

Kudos to Shiz for providing the groundwork for this.

Fundamentally re-think how launcher operates and
bootstrapping the games is managed and configured.

This brings it significantly closer to how the original
bootstrap is doing the job: launcher now utilizes the
data (structures) provided by the bootstrap.xml configuration
file. This creates compatibility with vanilla data dumps
and original stock images. Note that bemanitools does not
include any code or means to run DRM'd data, only decrypted.

But, this allows users to keep decrypted dumps as stock as
possible which means:

  • No copying around of property files anymore
  • Keep the modules/ folder with the binaries
  • Have bemanitools binaries separate in the data
  • No need to edit/customize the original configuration files

A list of key features of the "new" launcher:

  • Boostrap games by following the configuration provided by
    stock game's bootstrap.xml files
  • Custom launcher.xml configuration file that adds further
    launcher configurable features, composability of
    bootstrap.xml configuration(s) as well as configuration
    overriding/stacking of selected types of configurations,
    e.g. eamuse config, avs-config. The latter eliminates
    the need for modifying stock config files in the prop/
    folder
  • Unified logging system: launcher and AVS logging uses
    the same logger, all output can now be in a single file
  • Original features such as various hook types still
    available

Due to the significant architectural changes, this also
breaks with any backwards compatibility to existing
launcher setups. Thus, users need to migrate by re-applying
the new configuration format and migrating their config
parameters accordingly.

Further migration instructions and updated documentation
will be provided upon release.

Co-authored-by: Shiz hi@shiz.me


Stack created with Sapling. Best reviewed with ReviewStack.

refactor(launcher): Major re-work of launcher Kudos to Shiz for providing the groundwork for this. Fundamentally re-think how launcher operates and bootstrapping the games is managed and configured. This brings it significantly closer to how the original bootstrap is doing the job: launcher now utilizes the data (structures) provided by the bootstrap.xml configuration file. This creates compatibility with vanilla data dumps and original stock images. Note that bemanitools does not include any code or means to run DRM'd data, only decrypted. But, this allows users to keep decrypted dumps as stock as possible which means: * No copying around of property files anymore * Keep the modules/ folder with the binaries * Have bemanitools binaries separate in the data * No need to edit/customize the original configuration files A list of key features of the "new" launcher: * Boostrap games by following the configuration provided by stock game's bootstrap.xml files * Custom launcher.xml configuration file that adds further launcher configurable features, composability of bootstrap.xml configuration(s) as well as configuration overriding/stacking of selected types of configurations, e.g. eamuse config, avs-config. The latter eliminates the need for modifying stock config files in the prop/ folder * Unified logging system: launcher and AVS logging uses the same logger, all output can now be in a single file * Original features such as various hook types still available Due to the significant architectural changes, this also breaks with any backwards compatibility to existing launcher setups. Thus, users need to migrate by re-applying the new configuration format and migrating their config parameters accordingly. Further migration instructions and updated documentation will be provided upon release. Co-authored-by: Shiz <hi@shiz.me> --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/djhackersdev/bemanitools/pull/296). * #298 * #297 * __->__ #296 * #295 * #294 * #293 * #292 * #291 * #290 * #289 * #299 * #288 * #287 * #286 * #285
This pull request has changes conflicting with the target branch.
  • Module.mk
  • src/main/camhook/cam.c
  • src/main/hook/table.c
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin pr296:pr296
git checkout pr296
Sign in to join this conversation.