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

[Bug] "Edit the hex" achievement doesn't unlock #1846

Open
1 task
BobSmun opened this issue Aug 13, 2024 · 2 comments
Open
1 task

[Bug] "Edit the hex" achievement doesn't unlock #1846

BobSmun opened this issue Aug 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@BobSmun
Copy link

BobSmun commented Aug 13, 2024

Operating System

Windows

What's the issue you encountered?

Modifying a byte by double-clicking on it and then entering the new value does not unlock the "Edit the hex" achievement

How can the issue be reproduced?

  • open any file
  • ensure that the prerequisite achievement ("You and you and you") has been completed, but "Edit the hex" has not
  • double-click on a byte in the 'Hex Editor' view
  • type a different value, such that the byte shows red as modified
  • single-click elsewhere in the 'Hex Editor' view to finalize modifying

Alternatively, use enter (not num-pad enter) to start or finish the edit

ImHex Version

1.35.4

ImHex Build Type

  • Nightly or built from sources

Installation type

MSI

Additional context?

In the code, it looks like EventPatchCreated is subscribed to, to unlock the achievement, but a search does not show the event being posted / raised anywhere

@BobSmun BobSmun added the bug Something isn't working label Aug 13, 2024
@paxcut
Copy link
Contributor

paxcut commented Aug 13, 2024

I can confirm issue on dev branch 1.36.0-wip as well, but I think EventPatchCreated may be for the ROM hacks achievement. If so and it is not posted maybe that one doesn't work either.

@BobSmun
Copy link
Author

BobSmun commented Aug 13, 2024

EventPatchCreated certainly sounds like it would be intended for the 'ROM hacks' achievement, but it unlocks "hex.builtin.achievement.hex_editor.modify_byte.name", whereas the exportIPSPatch and exportIPS32Patch functions call unlockAchievement (with "hex.builtin.achievement.hex_editor.create_patch.name") directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants