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

Allow Postload to be used with modded rpaks properly #230

Closed

Conversation

ASpoonPlaysGames
Copy link
Contributor

@ASpoonPlaysGames ASpoonPlaysGames commented Jul 31, 2022

Closes #229
This allows Postload to use relative paths for the target rpak, meaning modded rpaks can be used as valid Postload targets.

This is now valid, and will cause the following rpak load order: common.rpak -> betapulse_preload.rpak -> betapulse.rpak
"Postload": { "betapulse_preload.rpak": "common.rpak", "betapulse.rpak": "./betapulse_preload.rpak" }

Importantly, common.rpak is still a valid Postload target, making this not a breaking change for rpak mods

"betapulse.rpak": "betapulse_preload.rpak" would also work in this example, however it would load the rpak if another mod loaded an rpak called betapulse_preload.rpak which could cause problems.

@ASpoonPlaysGames
Copy link
Contributor Author

Testing: (ignore example.rpak, thats just another rpak mod i had enabled when i took the screenshot)

unknown
unknown

@GeckoEidechse GeckoEidechse added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code almost ready to merge Apart from any small remaining other issues addressed by other labels, this would be ready to merge labels Jul 31, 2022
@Alystrasz Alystrasz added the merge conflicts Blocked by merge conflicts, waiting on the author to resolve label Apr 17, 2023
@Alystrasz
Copy link
Contributor

Is this still an issue?
If yes, could you describe a way to reproduce it with current build + verify that this PR fixes it?

@ASpoonPlaysGames
Copy link
Contributor Author

Is this still an issue?
If yes, could you describe a way to reproduce it with current build + verify that this PR fixes it?

Kinda? I don't think anyone actually runs into it in practice, but being unable to load an rpak specifically after another modded rpak is annoying in theory.

For testing, see the above comments, nothing about that stuff has changed

@ASpoonPlaysGames ASpoonPlaysGames removed merge conflicts Blocked by merge conflicts, waiting on the author to resolve almost ready to merge Apart from any small remaining other issues addressed by other labels, this would be ready to merge labels Aug 25, 2023
@github-actions github-actions bot added the merge conflicts Blocked by merge conflicts, waiting on the author to resolve label Dec 27, 2023
@ASpoonPlaysGames ASpoonPlaysGames deleted the modded-postload branch January 4, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge conflicts Blocked by merge conflicts, waiting on the author to resolve needs code review Changes from PR still need to be reviewed in code needs testing Changes from the PR still need to be tested
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Post load rpak paths not relative to the folder they are in
3 participants