[Parked, do not merge] m2c output for the PAL prototype's nineteen extra functions - #11
Draft
carrdylan52 wants to merge 1 commit into
Draft
carrdylan52 wants to merge 1 commit into
carrdylan52 wants to merge 1 commit into
Conversation
Not for merging while the target is NTSC 1.02. The July 12, 2001 PAL prototype's SCUS_971.11 names nineteen functions that retail does not, including the EdDebugMenu pages. re/ai/pal-prototype/overview.md describes them, m2c/ holds the unmatched output, and extract.py regenerates it from the prototype disc. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Parked for later. This should stay unmerged while the repository targets NTSC 1.02. It becomes relevant if the target moves to the July 12, 2001 PAL prototype (
SCUS_971.11,VER = 0.01,VMODE = PAL,Dark Cloud Ver3.07 2001/07/12), which keeps the most code.Both programs keep their symbol tables. The prototype names 4,082 functions and retail 4,067; nineteen are prototype-only. All of it is under
re/ai/pal-prototype/, and nothing there is built:overview.mddescribes each function, the retail symbols the menus still drive, and what is left out.m2c/has unmatched, untyped m2c output for each, withbuild/ctx.cas context.extract.pyregeneratesm2c/from the prototype disc insidedcdecomp_dev. It resolves@NNNjump tables and strings by the address the instructions build, because those names repeat across units.The functions:
EdDebugMenu, whichEditLoopandMainDrawcall whiledebug_menu_modeis set. Its pages areDM_Main,DM_FlagandDM_Sound.DM_Main: debug camera, parameter/character/message display, debug move, run event n, talk event n, events on/off, language.DM_Flag: game, map, completion and talk flags; the dungeon floor; the party count.DM_Sound: BGM, sound effects and sound sets.EdDPrintCamera,EdDPrintChara,InitDebugItemGet,EdEventStopPlay,EdCheckEventPause,SndBgmDisable,SndBgmPause,SndGetBgmDisableFlag.MGAdjustScreen,_GET_LANG_CODE,_GET_TV_MODE,DrawEuroSpecialFont,Get_NameTemp_PutX,DrawOptionScreenWaku,StartMessageDraw.re/is in.gitignore, so these were added with-f, like the existingre/ainotes.Not covered: about 2,600 functions that share a name in both programs but differ in size.
🤖 Generated with Claude Code