Repository navigation
Port TOTK UltraCam ExeFS patch and cheats to game version 1.4.3 - #330
Closed
cloakedkeys wants to merge 1 commit into
Closed
cloakedkeys wants to merge 1 commit into
cloakedkeys wants to merge 1 commit into
Conversation
PatchInfo already listed 1.4.3 as supported, but the bundled subsdk3 only resolved its hooks for 1.1.0-1.4.2 and crashed on 1.4.3 with an Unmapped Read at 0x0. subsdk3 (UltraCam by MaxLastBreath, CC BY-NC as per this repo's license) was rebuilt for 1.4.3: the 1.4.2 version literal is aliased to 1.4.3, the ten code offsets and one vtable offset in the inline version tables were re-resolved against the 1.4.3 main binary by signature matching, three byte-signature patterns were regenerated, and the BlackScreenFix140 handler now reads the register the 1.4.3 build uses (X24 instead of X25). Verified in-game on Eden with update 1.4.3. Cheats.json gains a 1.4.3 block (Build ID 277178B7DBA1B6D4) with all 65 cheats from the 1.4.2 block; code caves relocated to 0x2BB9C00.
Owner
|
I mean it's pointless if u have seen the changes up on my discord, there's a much bigger update ready but the exefs is in the discord itself. |
Author
|
@MaxLastBreath The public repo PatchInfo.json says 1.4.3 is supported. but the bundled binary did not work. |
Author
Closing per |
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.
Summary of Changes
Fixed 1.4.3 Crash:
PatchInfopreviously claimed 1.4.3 support, but the bundledsubsdk3lacked the required hooks (only supporting 1.1.0–1.4.2). This caused a crash (Unmapped Read at0x0) on startup.Patched
subsdk3for 1.4.3: Same module as currently shipped, with 140 bytes changed. The file is ~180 KB smaller only because it was recompressed with a more efficient LZ4 encoder; the decompressed segments are identical in size and layout.Changes:
Aliased the 1.4.2 version literal to 1.4.3.
Re-resolved 10 code offsets and 1 vtable offset in the inline version tables via signature matching against the 1.4.3 main binary.
Regenerated three byte-signature patterns.
Updated the
BlackScreenFix140handler to read from registerX24instead ofX25.Updated
Cheats.json:277178B7DBA1B6D4).0x2BB9C00, since the 1.4.2 cave address is not free on 1.4.3.