Repository navigation
feat(windows): add the Windows build for ARM64 and x64 - #2
Merged
Merged
Conversation
Installed with TrollStore, the app was killed the moment it started on an iPhone 12 with iOS 16.3.1: no log, no folder in Files, and no crash report in Analytics Data. TrollStore grants every entitlement an app asks for, and its README says that on iOS 15+ with an A12 or later dynamic-codesigning, com.apple.private.cs.debugger and com.apple.private.skip-library-validation cannot be had without a PPL bypass, so apps signed with them crash on launch. Our entitlements asked for dynamic-codesigning, on the belief that it was ignored where it was not honoured. The game runs from the converted libraries and makes no executable memory, and the JIT fallback gets it through get-task-allow, so nothing loses anything. The iOS build now refuses an entitlements file that names any of the three, and the AltStore source no longer lists it.
The Mac app would not open on macOS 15 ("cannot be opened with this version of
macOS") although its Info.plist asked for 12.0. Nothing set a deployment target:
the host was compiled with a bare clang and the converted libraries and the shim
with "-target arm64-apple-macos", and clang then takes the build machine's own
version. CI builds on macos-26, so every Mach-O in the app required macOS 26.
Pin one minimum everywhere: MACOS_TARGET (arm64-apple-macos14.0) in the converter,
used by the conversion, the shim build and the shim's libSystem probe; MACOS_MIN
(14.0) in build-macos-app.sh for the host, the settings window and
LSMinimumSystemVersion. The minimum is 14, not 12, because the SwiftUI settings
window was already built for 14 (@observable, toolbar(removing:)), so the app
never could run on 12 or 13; README and the release footer now say so.
So it cannot drift again, the Mac build now fails if any Mach-O in the bundle
asks for a newer macOS than the minimum, and an unguarded call to a newer API in
the host is a compile error.
…hedule and live code changes
…the loading screen
The game view never turned multi-touch on, so a tap made while another finger was down never arrived, and each touch event numbered its fingers from 1 again, so a second finger would have taken over the first. Each finger now keeps its own id (2 to 7; 1 stays the shortcuts') from press to let-go, and the touch queue keeps each finger's previous position.
…oss trimming) into the AltVerZ port
The Windows names, OBB, CDN host and path, package and mod library now come from the profile's generated header, and build-win.sh takes PROFILE (default altverz).
… block that will not hold still The Windows finder took any plausible size pair, so on x86-64's larger heap it settled on a block of repeated 2x1 values and searched again every second. It now looks for the size it was given, skips its own scan buffer, and stops after a few failed rounds.
…s from the profile The zip and installer names, the setup's identity (its own AppId), the data folders, the update feed writer, the ANGLE fetch, the smoke test's program and OBB folder, check-repo.sh and the exe icon all come from the profile now, so AltVerZ ships as itself.
…their smoke test The Windows ARM64 programs cross-build on a Mac, the x64 programs, the setup and the zips on Windows in MSYS2 with the pinned ScarletNX, and the smoke test starts each zip twice. The CDN archive comes from the build-inputs draft, since the mod's host no longer serves it.
…BB too The art loader reads AltVerZ's zlib parts and ETC1 atlases with an alpha plane, as the Mac's does; 304 pictures load in about 170 ms on ARM64.
… the game picks the plant
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.
What
Adds the Windows build (ARM64 and x64) to AltVerZ-Darwin, ported from Reflourished-Darwin, and merges Reflourished's main into this fork (iOS multi-touch fix, cross trimming).
How it works
data/profiles/altverz.json: app name, package, OBB, CDN archive, installer identity, update feed, smoke test.PROFILEdefaults toaltverz.scarletnx.patch) on first start and caches the result.powerups: falsehides the power-up keys in Settings.build.ymlnow builds Apple and Windows and publishes from one job.publish=falsemakes a build-only run.docs/windows-shipping.mdcover Windows.Fixes found on the way
guest_call3.-ExeFilter(PowerShell variable names are case-insensitive).Tested
Not covered
build-inputsdraft release holds the CDN archive and the ANGLE zips for CI.