47 lines
2.8 KiB
Plaintext
47 lines
2.8 KiB
Plaintext
# Game profile of ROMANCE OF THE THREE KINGDOMS 8 REMAKE (Switch, update v851968 = 1.1.3, with its four DLC). Plays on the Mac and on the iPhone
|
||
# Format: see dm/games/README.md
|
||
# Koei Tecmo's KTGL engine on NVN, SDK 17.5.3 (Ace Attorney Investigations Collection's SDK). Modules main + subsdk0 (NintendoSDK_movie: the WebM logo and story movies) + sdk.
|
||
# RomFS: a newer RDB than Hyrule Warriors: Age of Calamity's: 0002/root.rdb and system.rdb (indexes, with .rdx beside them) over 296 .fdata files named by KTID (a PDRK header, then
|
||
# IDRK entries) and 0002/data/*.file, 12.6 GB; each entry is LZ4 or zlib in 16 KB chunks (shader_split.py idrk_data). Scenarios, messages and movies sit in loose folders beside it.
|
||
# The update is a multi-program patch: beside the game's patch it carries a whole second program (title ID 0100C2A01A730001, 34 MB, its own control data), which main starts with
|
||
# nn::oe::ExecuteProgram(1) (main+0xa31910); the host runs only program 0 (nx_extract picks program index 0's NCAs)
|
||
|
||
# ---- Identity ----
|
||
title_id 0100C2A01A730000
|
||
program_id 0100C2A01A730000
|
||
|
||
# ---- App ----
|
||
# Game name: only a label for profile listings and the Mac window title; the iOS app name is the game name in the base NSP, and the bundle ID comes from the base game title ID (build_ipa.sh / NSP script)
|
||
name ROMANCE OF THE THREE KINGDOMS 8 REMAKE
|
||
ipa RomanceOfTheThreeKingdoms8Remake.ipa
|
||
app_category public.app-category.strategy-games
|
||
# Menus and maps by D-pad or left stick; the dialogue boxes' auto and log buttons are the right stick and R3 (the 3D layout's). The game reads no touch screen (main imports no
|
||
# GetTouchScreenState), only a USB mouse, which the host does not provide
|
||
pad_layout full
|
||
|
||
# ---- Versions ----
|
||
build v851968 1.1.3 main=3c737e2d67d57d03ced6019f17f6e47d subsdk0=2f9e7f4ec017bb00e214af7c2fd70f4b sdk=311deab1f062b504f3d646a49ddcd4e8
|
||
package v851968
|
||
shader_versions v851968
|
||
|
||
# ---- Files ----
|
||
# load order as on Horizon: main, subsdk*, sdk (subsdk0 = NintendoSDK_movie)
|
||
modules main subsdk0 sdk
|
||
romfs_marker 0002/root.rdb
|
||
zip_store .fdata:.file:.rdb:.webm:.metallib
|
||
|
||
# ---- Memory ----
|
||
# The NPDM declares no system resource (META +0x14 = 0): nninitStartup sets a heap of the pool − used memory (3.13 GB here). The 4 GB block of the other games without virtual
|
||
# address memory (256 MB in front + 256 MB alias region + 256 MB stack region + 3.25 GB heap region)
|
||
mem_reserve 0x100000000
|
||
mem_alias 0x10000000
|
||
mem_stack 0x10000000
|
||
app_pool 0xCD500000
|
||
sys_resource 0x0
|
||
# The rewritten modules take more than the default 64 MB of used memory (Age of Calamity: 66.6 MB → 72 MB), which SetHeapSize checks the request against
|
||
mem_used 0x5000000
|
||
|
||
# ---- Shader split (shader_split.py; KTGL G2S and _DOK containers in the RDB entries, GLSLC outputs in main) ----
|
||
shader_groups /0002/=rdb
|
||
shader_note ROMANCE OF THE THREE KINGDOMS 8 REMAKE shaders
|