Repository navigation
Fork setup says what a dtk hash mismatch means - #125
Merged
Merged
Conversation
Some public dtk projects are set up from files the retail disc doesn't have (a main.dol made from an ELF, a .rel module), and dtk stops at its hash check. Setup now says the user's dump is likely fine, points to the project's README, and offers starting the game from their own copy, before dtk's own output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Puyodead1
added a commit
to Puyodead1/decompdecomp
that referenced
this pull request
Nov 1, 2026
…n, turns per function It took near misses of 400 instructions at most, a minute per turn, four turns: a PC game's near misses are often far bigger, and stayed with agents. Settings sets each, within its range, from the next turn on. (Seen in RetroReversing's fork, n-delic#125.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGuayjEgmxyBFPme1S6JNB
Puyodead1
added a commit
to Puyodead1/decompdecomp
that referenced
this pull request
Nov 1, 2026
…n, turns per function It took near misses of 400 instructions at most, a minute per turn, four turns: a PC game's near misses are often far bigger, and stayed with agents. Settings sets each, within its range, from the next turn on. (Seen in RetroReversing's fork, n-delic#125.) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGuayjEgmxyBFPme1S6JNB
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.
Closes #97.
Some public dtk projects are set up from files the retail disc doesn't have (a
main.dolmade from an ELF, a.relmodule), and dtk correctly stops at its hash check. The user only saw ninja's tail. When a setup step fails with dtk'sHash mismatch: expected …, but was …afterWhile loading object '<file>', setup now says: your copy's<file>isn't the one this project was built against (both hashes), your dump is likely fine, check the project's README for where that file comes from, or start the game from your own copy (New project → Open a game file). dtk's output follows.Where:
forks/project.py(_hash_mismatch, used byForkProject.setup). It reads dtk's output, so it applies to any dtk project (GameCube, Wii); other setup failures keep the old message.Tests: two in
tests/test_forks.py(main.dol and a .rel module; and a non-hash failure keeps the plain message); the first fails without the change.uv run pytest tests/test_forks.py -q: 39 passed; ruff clean.Not done (from the issue): a button to start a scratch project from the same disc, and recognising the
.sbsssection-count error. Whether the scratch import handles that disc is a separate question.Open PRs: merges cleanly with all of them (#114 also edits
forks/project.py).🤖 Generated with Claude Code