Compile eligible shader-pair bases on the Mac with metal-tt, package one archive per selected iPhone GPU, and use a matching bundle before falling back to on-device preparation. Carry the profile depth mode through packing and include the pulling libraries required by the bundled bases. Integrate PR #226 with four confirmed fixes: validate archive container bounds before invoking Metal; require at least one actual successful bundle probe; hash consumed library bytes into offline cache keys; and emit device remainder lists for constant-only plans instead of aborting packaging. Keep game measurements in the game note and document the general findings. Validation on current main: 52 real Metal bundle checks, 57 archive checks, 79 prewarm checks on each pipeline path, 73 Python regressions covering offline tools, packaging, documentation and chain checks, and compilation of all 133 iOS source files. No new iPhone gameplay validation. The archive guard validates container structure, not private Metal payloads. Co-authored-by: v0lumehi <aljic.zijad@gmail.com>
1.6 KiB
1.6 KiB
| 1 | # Game profile of 13 Sentinels: Aegis Rim, Asian release (Japanese, Korean, Chinese), base game 1.00 (v0), SDK 11.4.3: the same engine and subsdk0 / sdk builds as the western release 01003FC01670C000, whose note explains the memory keys | |||||
|---|---|---|---|---|---|---|
| 2 | # Generated by scripts/build_ipa_from_nsp.py (dm/games/profile_guess.py) with the western profile's alloc_big_align, then played on the Mac | |||||
| 3 | # ---- Identity ---- | |||||
| 4 | title_id | 01008D7016438000 | ||||
| 5 | program_id | 01008D7016438000 | ||||
| 6 | # ---- App ---- | |||||
| 7 | name | 13 Sentinels: Aegis Rim (Asia) | ||||
| 8 | ipa | 13SentinelsAsia.ipa | ||||
| 9 | app_category | public.app-category.role-playing-games | ||||
| 10 | # ---- Versions ---- | |||||
| 11 | build | v0 | 1.00 | main=311947020f64f5742ce3c16162c4d87f | subsdk0=507f19d1240d09d00992248e8a0fd77e | sdk=2d369d9999e3e10e665106f840ffff9b |
| 12 | package | v0 | ||||
| 13 | shader_versions | v0 | ||||
| 14 | # ---- Files ---- | |||||
| 15 | # every module main imports from | |||||
| 16 | modules | main subsdk0 sdk | ||||
| 17 | romfs_marker | ROBO_CN.CPK | ||||
| 18 | zip_store | .cpk:.metallib | ||||
| 19 | # ---- Memory ---- | |||||
| 20 | # main sets a heap of at most the pool − 64 MB: a 3328 MB heap region | |||||
| 21 | mem_reserve | 0x100000000 | ||||
| 22 | mem_alias | 0x10000000 | ||||
| 23 | mem_stack | 0x10000000 | ||||
| 24 | app_pool | 0xCD500000 | ||||
| 25 | # the NPDM declares 0 MB of system resource: IsVirtualAddressMemoryEnabled is false, as on Horizon (Big Brain Academy: Brain vs. Brain sets a heap only then) | |||||
| 26 | sys_resource | 0x0 | ||||
| 27 | # ---- Shader split ---- | |||||
| 28 | shader_groups | /=romfs | ||||
| 29 | shader_note | 13 Sentinels: Aegis Rim (Asia) shaders | ||||
| 30 | # from the western 13 Sentinels profile: Vanillaware engine needs 64 KB aligned big allocations | |||||
| 31 | alloc_big_align | on | ||||
| 32 | # the NVN depth mode the game sets (nvnDeviceSetDepthMode near = 0): the pipeline archive made offline holds the main0_z vertex entries (dm/gfx/tools/pso_offline.py) | |||||
| 33 | depth_mode | zero |