Commit Graph

387 Commits

Author SHA1 Message Date
mdraves91 99bc9feec8 disassembling two menu data structures, using new macros 2025-11-14 08:57:01 -06:00
mdraves91 b55dc16cc4 documenting newly disassembled textitems 2025-11-11 09:33:26 -06:00
mdraves91 58e0119e1e disassembling text item data in newly dumped functions 2025-11-11 08:30:03 -06:00
mdraves91 6190d4499f filling in text constants, coords and other magic numbers
in functions called by the pause menu
2025-11-11 08:18:30 -06:00
mdraves91 8d4b602bde disasm pause menu key_functions 2025-11-11 08:13:12 -06:00
dannye 8cbb1f544a Disassemble GR Island player paths
finishes bank c
2025-11-09 12:25:04 -06:00
dannye bebad8d219 Merge pull request #45 from mdraves91/tcg2disasm-recursive
enhance tcg2disasm.py to recursively dump unknown called functions
2025-11-08 15:00:37 -06:00
dannye 0cb28fe068 Merge pull request #44 from earthoul/sfx
Identify songs, SFXs, and duel anims
2025-11-08 14:48:48 -06:00
dannye bce5c8b4b4 Merge branch 'master' of github.com:pret/poketcg2 into sfx 2025-11-08 14:48:05 -06:00
dannye 8f11c20265 Merge pull request #43 from mdraves91/start-up-debug-menu
dissasemble Startup debug menu
2025-11-08 14:02:31 -06:00
dannye 0746a74594 Minor cleanup 2025-11-08 13:58:25 -06:00
earthoul c3453d25d6 Refactor confirm-cancel SFX codes 2025-11-08 18:06:29 +09:00
earthoul 5754313c10 Update music constants 2025-11-06 18:43:06 +09:00
mdraves91 790c5022ab fix: bank1calls to functions that were not yet disassembled were generating Func_xxx labels that did not point to bank1 2025-11-05 10:39:38 -06:00
earthoul 8f3db0ab88 Fix tileset labels + refactoring 2025-11-05 21:39:40 +09:00
earthoul 31130185df Fix GR Blimp labels and file names 2025-11-05 19:02:58 +09:00
earthoul f25a04fb76 Identify songs and slot SFXs
Also refactor song labels and files
2025-11-05 18:54:49 +09:00
earthoul 6d55435c70 Update SFX file names
Also identify TCG1 leftovers and re-organize a few labels
2025-11-05 14:48:57 +09:00
mdraves91 65c9e971c4 fix: jr opcodes being output twice 2025-11-04 21:30:05 -06:00
mdraves91 de2035f223 change the way tcg2disasm.py handles "end" offsets provided to the script, and allow multiple addresses to be passed for disassembly
This allows a more flexible script when working with or without the new recursive feature.

Also, the previous behavior was very unintuitive, and probably not that helpful.

Before, if you provided an "end" offset, the script would go AT LEAST as far as that offset, but would not terminate if it still hadn't found a ret command, and had satisfied all of the other stop conditions. This made it very easy to pass an "end" argument that caused the script to disassemble past the real end of the function, and in many cases get stuck in an infinite loop.

However, if you also provided the "dry-run" arg, it would set the "hard stop" flag, which instead made it so that the disassembler would actually stop dead when hitting the "end" offset.

Now, you must pass the stop offset to the --hard-stop arg, and it will act like the previous dry-run/hard-stop. The other behavior (that likes to get stuck in infinite loops) is no longer available.
2025-11-04 19:22:08 -06:00
mdraves91 9746b0537f adding new args to tcg2disasm.py: --recurse and --sections 2025-11-04 19:20:06 -06:00
mdraves91 2e1b001e67 chore: typo in comment 2025-11-04 19:05:09 -06:00
dannye 41404905c0 Don't append "_" to 0
fixes an error with rgbds 1.0.0
2025-11-04 17:48:11 -06:00
earthoul b451f77d14 Update SFX headers 2025-11-04 00:16:00 +09:00
earthoul 485bf674dd Update SFX and Duel Anim labels
TODO: Rename files and re-sort SFX functions
2025-11-03 23:18:59 +09:00
dannye 85b7d136aa Minor cleanup 2025-11-02 21:52:31 -06:00
re-cache 9492a7b88e Label unknown fields in DeckIDData in bank09.asm (#41) 2025-11-02 21:50:23 -06:00
dannye 6a87fcba53 Replace a few script constants 2025-11-02 11:03:54 -06:00
dannye 1a5595d369 Replace a few text IDs 2025-11-02 09:54:53 -06:00
mdraves91 6fd5e6feb2 disassemble menu box params for Debug menu 2025-11-02 08:05:34 -06:00
mdraves91 c680773a65 fix: switch to new hardware.inc constants after git rebase 2025-11-02 07:44:17 -06:00
mdraves91 7ad92b20be documenting debug effect viewer 2025-11-02 07:44:13 -06:00
mdraves91 724cebb8c8 disassemble debug effect viewer 2025-11-02 07:43:17 -06:00
mdraves91 e25e6379e2 documenting debug slot machine function and debug duel function 2025-11-02 07:43:02 -06:00
mdraves91 5b710cf19e disassembling two more Startup Debug Menu functions 2025-11-02 07:41:02 -06:00
mdraves91 b1c49fd907 naming and documenting Startup Debug Menu 'config' option, and config menu functions 2025-11-02 07:41:01 -06:00
mdraves91 32f9e985ca disassembling function for Startup Debug Menu 'config' option 2025-11-02 07:41:01 -06:00
mdraves91 afe9b914ac naming and documenting StartupDebugMenu coin option 2025-11-02 07:41:00 -06:00
mdraves91 342d6ac1f2 disassembling function for Startup Debug Menu coins option 2025-11-02 07:41:00 -06:00
mdraves91 2dfe2e351a labelling the already disassembled functions for StartupDebugMenu 2025-11-02 07:41:00 -06:00
mdraves91 89d807ffae naming and documenting StartupDebugMenu functions 2025-11-02 07:40:59 -06:00
mdraves91 21052a3f91 dumping functions for start-up debug menu 2025-11-02 07:40:59 -06:00
dannye 715c09dd87 Merge pull request #40 from mdraves91/map-header-functions-full-dump
Map header functions full dump (banks b, c, d, f, 10)
2025-11-01 23:50:31 -05:00
dannye 0b5c811a1d Use NULL for npcs with no script 2025-11-01 23:44:00 -05:00
dannye 9a00ca7a6b Misc script cleanup 2025-11-01 23:30:12 -05:00
dannye 5236ffc430 Misc bank11 cleanup 2025-11-01 21:17:58 -05:00
dannye 8f80bee785 Misc bank0e cleanup 2025-11-01 21:01:03 -05:00
dannye 68c4992d9f Misc bank0a cleanup 2025-11-01 20:15:15 -05:00
dannye 1efd632441 Misc bank07 cleanup 2025-11-01 19:59:32 -05:00
dannye e30afed737 Misc bank04 cleanup
and other minor cleanup
2025-11-01 19:10:33 -05:00