# Xenoblade Chronicles 3 2.2.1 (SDK 12.3.9, Monolith engine, NVN). Opening gameplay tested on Mac.
# See README.md for measured status and the build-gated allocator changes.

# ---- Identity ----
title_id	010074F013262000
program_id	010074F013262000

# ---- App ----
name	Xenoblade Chronicles 3
ipa	XenobladeChronicles3.ipa
app_category	public.app-category.role-playing-games
pad_layout	full

# ---- Versions ----
build	v720896	2.2.1	main=82d187fe9ef9be921b8e1b1cddf7bd28	subsdk0=be1ee79a9968a35a6b63fc8f1036a6d4	sdk=e8cdceb1e77a8465fe20f21928e8d296
package	v720896
shader_versions	v720896

# ---- Files ----
# every module main imports from
modules	main subsdk0 sdk
romfs_marker	bf3.ard
zip_store	.ard:.arh:.pck:.webm:.metallib

# ---- Memory ----
# the NPDM declares 32 MB of system resource (virtual address memory) and main never sets a heap: a 5 GB block with a 4.375 GB alias region, where the game maps its memory itself
mem_reserve	0x140000000
mem_alias	0x118000000
mem_stack	0x10000000
app_pool	0xCD500000
# the NPDM declares 32 MB of system resource
sys_resource	0x2000000

# ---- Shader split ----
shader_groups	/movie/=movie /sound/=sound
shader_note	Xenoblade Chronicles 3 shaders

# The allocator probes the physical-memory budget by mapping until failure.
mem_map_limit	on
