Add option to force game updates by overriding title's remaster version#2170
Open
ViridianViridian wants to merge 1 commit intoLumaTeam:masterfrom
Open
Add option to force game updates by overriding title's remaster version#2170ViridianViridian wants to merge 1 commit intoLumaTeam:masterfrom
ViridianViridian wants to merge 1 commit intoLumaTeam:masterfrom
Conversation
If game patching is enabled, read a 16-bit value from luma/titles/<titleID>/remaster.bin. Set the game's remaster version to 0 if it is higher than this value. This forces a specific game update to be loaded, if it is present.
Author
|
While implementing this I noticed that the existing implementation for using an external exheader blocks game updates from being applied; since the exheader is applied to both the base game and update, they'll both have the same remaster version. I'm not familiar enough with the use case for external exheaders to be sure this is a bug, but it seems like something that should at least be documented. |
Author
|
Bumping this just in case it got missed |
Member
|
I did not miss it - I think it looks fine, I'll have another look when I'm closer to making a new release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If game patching is enabled, read a 16-bit value from luma/titles//remaster.bin. Set the game's remaster version to 0 if it is higher than this value. This forces a specific game update to be loaded, if it is present.
Closes #2159.
I explained the rationale in the linked issue, but to summarize: it is possible for certain games that two copies can be the "most recent version" and nonetheless contain different binaries. I know for sure this affects Tomodachi Life, but it may be an issue for other games as well.
With this feature, modders can target a single version of the game (the most recent downloadable update) that they know is legally accessible to all players.