No-Xcode route: older devices (A16 and earlier) are supported - give the packaging tool a Legacy Device Pack with D2RM_ASTC_PACK

This commit is contained in:
jhaizhou
2026-10-13 19:52:03 +08:00
parent b50b976523
commit eab0fada7c
5 changed files with 57 additions and 5 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ Afterwards `$D/pack` contains:
- **The pack and the App are a matched pair.** The App checks the pack on the phone against the SHA-256 in `pack.json`; if you regenerate the pack, rebuild the App with the new `$D/pack`. The same game files, the same astcenc version and the same preset (`--preset thorough`) produce a byte-identical pack, so normally there is nothing to redo.
- If the folder was not copied completely, is in the wrong place, or does not match the App, the App says which it is in the dialog.
- The game resource folder is still needed as usual (see [GAME_FILES.md](GAME_FILES.md)); the pack is an additional folder, not a replacement.
- This route currently needs a Mac and Xcode. The no-Xcode shell does not carry the older-device part in this version yet.
- The above describes the "with a Mac" route. On the no-Xcode route (shell plus packaging tool) the three commands that make the pack are the same and only the way it goes into the install package differs; see the "Older devices" section of [NO_XCODE.md](NO_XCODE.md). On Windows the prebuilt astcenc executable from the upstream release page is all you need.
## What it does (if you are curious)