Skip to content

Cheats sheet: say that cheats are turned off on iPhone and iPad - #257

Merged
v0lumehi merged 1 commit into
mainfrom
v0lumehi/ios-cheats-note
Oct 30, 2026
Merged

v0lumehi merged 1 commit into
mainfrom
v0lumehi/ios-cheats-note

Conversation

@v0lumehi

Copy link
Copy Markdown
Collaborator

What and why

Cheats do not work on iPhone and iPad: the engine's writable-alias path is compiled out on iOS and mprotect on signed code pages returns EACCES, so every entry is turned off at start (#252). The engine fix belongs upstream (seedds/nxnative#724, reported by @tomcatcoffee, thank you for the thorough report). Until it lands, the Mac launcher's Cheats sheet let a player switch cheats on for a game built for an iPhone or iPad and said nothing.

The sheet now shows a calm note when the game has an iOS build (built IPA or installed on a device): "Cheats work in the Mac app. On iPhone and iPad they are turned off when the game starts, because iOS does not allow changing the game's code (seedds/nxnative#724)." in English, Chinese and Swedish (no German table exists). The switches stay usable, because the same game may also have a Mac build. The Qt front end has no cheats UI, so nothing changes there.

Refs #252 (the issue stays open until a sync brings the engine fix).

Checked

  • Tests: cd frontend && swift test (471 run, 0 failures) with a new test for when the note shows and for its three translations, python3 scripts/patches.py check ok
  • Visual QA: not captured
  • Run on a device or Mac: not run, the app was not launched

Screenshots

None.

Scope

  • No vendored file (dm/, scripts/, docs/, ref/, AGENTS.md) is edited directly
  • The engine fix is a PR at seedds/nxnative (Keep build progress and logs across launcher windows #724 is the report), this PR changes only the launcher
  • No keys, game files or data extracted from a game in the change or the attachments

The engine cannot change the game's code on iOS (seedds/nxnative#724), so every
entry is turned off at start. The sheet now says so for a game with an iOS build
and leaves the switches usable for a Mac build. Refs #252.
@v0lumehi v0lumehi added bug Something isn't working launcher The NX2Apple launcher app ios iPhone or iPad labels Oct 30, 2026
@v0lumehi
v0lumehi merged commit 536510f into main Oct 30, 2026
10 checks passed
@v0lumehi
v0lumehi deleted the v0lumehi/ios-cheats-note branch October 30, 2026 15:58
v0lumehi added a commit that referenced this pull request Oct 30, 2026
…ests

Lang.DE joins the Qt language cycle and Lang.initial() (saved choice, Windows ISO code, locale name). Adds the German text of cheats.iosNote (#257), regenerates the Qt table, and lets the German tests' placeholder pattern match %.0f and %.1f.
v0lumehi added a commit that referenced this pull request Oct 30, 2026
… and combo box styles

Also regenerates localization.py (cheats.iosNote from #257 was missing on main).
v0lumehi added a commit that referenced this pull request Oct 30, 2026
… and combo box styles

Also regenerates localization.py (cheats.iosNote from #257 was missing on main).
v0lumehi added a commit that referenced this pull request Oct 30, 2026
… and combo box styles

Also regenerates localization.py (cheats.iosNote from #257 was missing on main).
v0lumehi added a commit that referenced this pull request Oct 31, 2026
… and combo box styles

Also regenerates localization.py (cheats.iosNote from #257 was missing on main).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ios iPhone or iPad launcher The NX2Apple launcher app

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant