Repository navigation
Add The Hundred Line -Last Defense Academy- (010093C0215B4000) for Android - #752
Open
buinghia98 wants to merge 2 commits into
Open
buinghia98 wants to merge 2 commits into
buinghia98 wants to merge 2 commits into
Conversation
The Hundred Line -Last Defense Academy- (010093C0215B4000) keeps its shaders in MVGL archives of the 64-bit layout, but each data entry is 24 bytes (u64 offset, u64 length, u64 stored length), not 16 as in Digimon Story Time Stranger. The reader did not take these archives as the 64-bit layout, so the shader split found only the 179 shaders in main. data_entry now tells the entry size by where the tables end, 16 first, so Digimon's archives read as before. The split of The Hundred Line 1.2.1 finds 7,204 shaders (7,026 from the archives), and all 9,060 Vulkan modules pass spirv-val. test_reader_24 covers the new layout.
The game (010093C0215B4000, update 1.2.1) had no profile. Add one, written from a survey of the game files and a PC shader split of 7,204 shaders; the split needs mvgl.py's 24-byte data entries. No patches.py. The game holds itself to 30 fps with its own limiter; two reviewed fpslocker rows for main 1.2.1 let the launcher's choice of 60 apply, and 30 stays the default. Played on a Retroid Pocket Nova with Turnip T30: title, opening movies, free roam, dialogue, the tutorial battle and Day 1, at 30 fps, with no crash and no new [RED] line. At 60 the mean is 59.85 fps and the game speed matches 30 on walk, text, movies and the battle field. The guest used 1.85 of the 3.21 GB app_pool up to Day 1. The first battle entry builds 129 pipelines in play (190 ms frame); the prewarm seed is left to the maintainer. The system driver does not draw the 3D world. game-patches.md regenerated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit:
games: The Hundred Line -Last Defense Academy- profile for AndroidBase: upstream
main@0766fc9(Peanuts Native 0.1.8 + catalog update), with #751 below it.Dependencies:
mvgl.pyreads MVGL archives with 24-byte data entries). The shader tables of this profile come from a split that needs that change. Merge PR A first.Issue
The Hundred Line -Last Defense Academy- (update 1.2.1) had no profile. Users could not pack or play it on Android. The game also runs at 30 fps only.
Feature description
Game profile: the game starts and plays on Android with the Vulkan host. No
patches.py: no cut inmainorsubsdk0. Thesdkbuild gets the 5 SDK-wide function-matched cuts.What the profile sets:
main,subsdk0(the movie module) andsdk.mem_reserve 0x140000000,mem_alias 0x118000000),app_pool 0xCD500000,sys_resource 0x8000000(from the NPDM). These values come from the survey. On the device the game used about 58 % ofapp_poolup to Day 1. Nomem_used: the modules (about 57 MB) fit in the default.main).fpslockerrows (main 1.2.1 only) set the game's frame rate and frame time from the host's frame limit.Note: prewarm seed. The first battle entry builds 129 pipelines during play (one 190 ms frame). A prewarm seed prevents this. The seed is not in this PR because of the source-only rule (the maintainer builds seeds). The author can send the key list (Turnip T30) on request.
Test results
Device: Retroid Pocket Nova (Android 13, Adreno 740), Turnip T30. 9 runs on 2026-11-25 and 2026-11-26. The pack was made on a Windows PC with
pack_android.py.FATAL, no device lost, no shader missing from the library, no refused address region. The only[RED]lines are 13 knownmtl_*stubs, once each.app_pool. The address region used about 46 % of the alias region. Process PSS peak 2.96 GB. No low-memory kill.Not tested or not measured:
PC tests (on this branch, PR A included):
upstream-update.sh --check origin/main: passed.check-publish.sh origin/main: clean.gen_runtime_profile.py check-all(186 profiles),check-profiles.sh(OK 010093C0215B4000: package v589824 == highest build v589824),check-runtime-profile.sh: pass.docs_patches.py --check(after the regeneration),docs_symptoms.py --check,env_switches.py --check,advanced_switches.py --check: pass.DM_GAME=010093C0215B4000:test_game_profile.py(22 tests),test_docs.py(11 tests),test_android_frame_rate_caps.py: pass.pack_android.py --no-shadersfrom this branch: the rewrittenmain,sdkandsubsdk0are byte-identical to the pack that was tested on the device. No[RED]line.0766fc9too (not caused by this PR):test_fpslocker_rows.py,test_fpslocker_plan.py: the Windows MinGW compiler cannot build them (-fsanitize=undefined). The twofpslockerrows of this profile were checked instead with the realfpslocker_rows.h, compiled with-Wall -Wextra -Werror, on the game'smain.test_android_frame_rate_games.py: EA SPORTS FC 27 (0100C49025D3E000) does not offer 45 fps.test_mvgl_wide.pytest_reader: a Windows file-lock error in the test cleanup.make -C dm/host/tests GAME=010093C0215B4000 run). They need clang and AddressSanitizer. This PR does not change C code.Screenshots (Retroid Pocket Nova, Turnip T30):
hundred_line_dialogue_30.png: dialogue scene, 30 fps.hundred_line_battle_30.png: tutorial battle, 30 fps.hundred_line_special_attack_30.png: special attack, 30 fps.hundred_line_battle_60.png: the same battle at 60 fps (opt-in).Files changed
dm/games/010093C0215B4000/game.tsv,README.mdshader_map.tsv,shader_map.tsv.conflicts.tsv,shader_facts.tsv,shader_pairs.tsv,pso_pairs.tsv,pso_manifest.tsv,bf_want.tsvdm/games/README.md(one row)peanuts/upstream-unmarked.txt(9 rows)peanuts/UPSTREAM-EDITS.md(one entry)docs/agents/game-patches.md(regenerated: the game in thefps_modes 30,60andfps_limit 30rows)13 files. No binary files. No prewarm seed.