Skip to content

Add a bring-up profile for Dragon Quest Monsters: The Dark Prince 1.0.0 - #253

Closed
tapionallanaire wants to merge 4 commits into
igawa6:mainfrom
tapionallanaire:pr/dqm-dark-prince
Closed

tapionallanaire wants to merge 4 commits into
igawa6:mainfrom
tapionallanaire:pr/dqm-dark-prince

Conversation

@tapionallanaire

@tapionallanaire tapionallanaire commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Needs manual testing and validation.

Refs #244. Adds the retail base application (0100A77018EA0000, package v0, display version 1.0.0) as an Android bring-up target, not a supported release title.

The AArch64 main is 221c19c45e821e7ce155f734e979a800; the SDK identifies 13.3.5. Unity 2020.3.32f1 uses a Shader layout already recognized by the reader. No reader, host, shader chain or release listing changes.

Source checks: The owner-supplied package's five content-addressed NCAs matched their identifiers. The imported base package verified all 6,934 files. The normal split from that package found 35,020 unique keys (17,479 vertex, 17,483 pixel, 2 geometry and 56 compute), 17,482 vertex/pixel pairs and 1,990 shader-bearing RomFS files. The full split logged no omitted-file errors. Only text profile data and provenance notes are included.

Physical test: Two launches on Odin 2 (Android 13, Turnip v27.0.0-R1) stalled at startup while suspending an IL2CPP worker in a native wait; the process stayed alive. No title screen, gameplay, save, audible game sound or driver comparison is claimed. Observed thread states and retest criteria. The initial virtual-memory layout has not been measured at runtime. No update or DLC is registered.

Independent Thor test: The same suspension recurred in the foreground after genuine focus and console-mode events. Native frame 1 was black; the replay reached frame 6, not a title or gameplay. Physical evidence and limits.

Register the 1.0.0 executable and its matching SDK and movie modules. The existing Unity reader locates 35,020 shader keys in the retail base game without changes to the reader or the host.
Keep the game out of the release catalog until hardware testing establishes gameplay.
@tapionallanaire

Copy link
Copy Markdown
Contributor Author

The base 1.0.0 Android pack built from 4c33459. All 35,020 shader keys translated (56 compute, 2 geometry, 17,483 pixel, 17,479 vertex). All 43,542 resulting SPIR-V modules passed spirv-val --target-env vulkan1.3. The packed library identifies title 0100A77018EA0000, input stamp 671c13435bbb and Vulkan chain dfebef5d68a9. The separate test APK assembled and contains exactly this title’s runtime profile. These are host checks, not gameplay evidence.

@tapionallanaire

Copy link
Copy Markdown
Contributor Author

Physical run, 1.0.0, Odin 2 / Android 13 / Adreno 740 / Turnip v27.0.0-R1: hang, not process exit, on two launches. AAudio started at 48 kHz and the guest opened Vulkan. No title screen, New Game, battle, or player control observed; no native screenshot arrived and the isolated save stayed empty. The process remained alive until stopped by the tester. A startup state dump after 33 seconds showed tick 0: the main thread was inside SetThreadActivity (SVC 0x32); target 0x102d, IL2CPP Threadpool worker, was not runnable, in native wait depth 1, with a game pause requested but not acknowledged. In hle_thread.c:1207–1232 the pause waits for an in-SVC or signal-saved state; on_pause_sig at 438–458 declines host PCs, and dm_thread_native_wait at 203–213 records native waits without acknowledging an individual pause. The exact blocking host routine was not established; this is not evidence of missing shaders. Retest the same title/build and matched pack when native-wait suspension can report a valid guest context without returning through a pending pause; then verify title, New Game and distinct controlled battle actions. Keeping draft, bring-up only.

@tapionallanaire

Copy link
Copy Markdown
Contributor Author

A third isolated Odin 2 launch identified the previously unknown native wait. A 40-second, own-process on/off-CPU trace captured 511,674 samples (0 lost). The live guest dump mapped the stalled IL2CPP worker 0x102d to host TID 8379; 99.8% of its sampled time included h_oe_PopMsg → pthread_cond_wait (hle_oe.c:347), the loop while the system-notification queue is empty. The main guest backtrace contains sdk+0x378134 in the retail SDK symbol nn::os::detail::ThreadManager::SuspendThread; its host samples contain dm_gate → gate_dispatch → svc_dispatch → svc_thread_impl (hle_thread.c:1226) → pthread_cond_timedwait. This is a wait for an individual pause acknowledgement, not a process exit, graphics timeout or Android lock-screen conclusion. A guest frame request never completed, and the isolated save remained empty. No product change or playability claim. Regression condition: pause and read valid guest context for a thread asleep in blocking oe::PopNotificationMessage, without consuming/fabricating a notification; if a real notification arrives, guest execution must remain stopped until resumed. Then physically verify first frame, title, New Game and controlled actions on the same base build.

@tapionallanaire

Copy link
Copy Markdown
Contributor Author

One normal Android Home/return test advanced the same live process past the previously measured stall. Before Home: tick 0 / stage startup, worker 0x102d in native wait with the game pause outstanding. On the real activity focus change, the game popped OE message 15; Vulkan began submitting work, and the later dump read stage present frame with no outstanding pause on that worker. The app logged a 4.5-second background stay, briefly returned to the foreground, then backgrounded again. The queued guest screenshot did not complete; no title screen, New Game or battle was verified. The isolated save stayed empty. This was not a fix or reliable gameplay workaround: no synthetic notifications, renderer changes, pause bypasses, or OS/console setting changes were used.

@tapionallanaire

Copy link
Copy Markdown
Contributor Author

Independent Thor / Turnip v27.0.0-R1 run with this exact 1.0.0 game and shader bank, an unlocked focused GameActivity and an empty isolated save. The same worker 0x102d failed to acknowledge suspension. Normal Home and a return through Recents delivered OE focus message 15 and produced a 1920×1080 native Vulkan capture (all RGB channels zero), followed by another suspension. Docked → Handheld in the real in-game panel delivered message 31; Vulkan stats reached frame 6, then the same pause recurred. Restoring Docked delivered another real message, but no menu appeared. No title, New Game or battle; the app remained alive until stopped. No debug skips, OS changes or save modifications. The issue is recurrent, not specific to the Odin lock screen.

@igawa6

igawa6 commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Closing this in favour of #576, which has these four commits rebased onto main, plus the nxGames entry and the updated line reference. The traces and retest criteria in the comments here stay linked from #576. Thanks.

@igawa6 igawa6 added the duplicate This issue or pull request already exists label Nov 24, 2026
@igawa6 igawa6 closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants