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

[4.x] Mod Hooks: Investigate if we can "pre hook" scripts with the self setup. #506

Open
KANAjetzt opened this issue Jan 1, 2025 · 1 comment

Comments

@KANAjetzt
Copy link
Member

KANAjetzt commented Jan 1, 2025

Basically what the export plugin does but on the setup stage of a self setup.
Maybe by creating a new .pck with GDRETools?

Without this feature we can't hook into preloaded scripts.

@Qubus0
Copy link
Collaborator

Qubus0 commented Jan 8, 2025

so we'd

  1. --script self setup
  2. process all preloaded scripts
  3. create a pack with those
  4. patch the processed pack into the game, and the mod loader while we're at it
    • with an outside tool, since we can't do it during runtime because preloads always go first
    • options are gdre and deltapatching i assume
  5. replace the pck with the new one?
  6. load mods like usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants