Commit Graph

50 Commits

Author SHA1 Message Date
AnonymousRandomPerson
15cc2d2b9a Synced from pmdsky-debug 2024-12-05 01:52:27 -05:00
AnonymousRandomPerson
d131e83082 Allow specifying new file name in extract_function 2024-11-20 23:58:31 -05:00
AnonymousRandomPerson
83244da18a Fix extract_function including numbers in includes 2024-10-28 22:15:19 -04:00
AnonymousRandomPerson
764a69a219 Fixed pmdsky-debug sync adding to out-of-range subsymbol dirs 2024-10-24 22:53:10 -04:00
AnonymousRandomPerson
6564a51336 Fixed sync-to-pmdsky-debug inserting in wrong place 2024-10-19 00:03:35 -04:00
AnonymousRandomPerson
f2e7f20772 Fix nonmatching after merge 2024-10-18 21:21:26 -04:00
AnonymousRandomPerson
1999f0b9eb Merge branch 'overlay31' of https://github.com/igidrau/pmd-sky 2024-10-18 18:54:33 -04:00
AnonymousRandomPerson
de40a04a70 Decomped ov15_0238AD78
Decomped by Seti
2024-10-18 01:12:59 -04:00
user
40e311f222 Import struct monster from pmdsky-debug 2024-08-04 18:49:21 +02:00
user
76e8d94dc1 Decomp ov31_02382F68 2024-07-31 08:22:44 +02:00
AnonymousRandomPerson
cb2ebc82eb Added JP to pmdsky-debug syncing 2024-06-23 16:20:55 -05:00
AnonymousRandomPerson
4cdeec3ccf Added documented symbol counter 2024-06-09 01:48:22 -04:00
AnonymousRandomPerson
f4880f0b8f Split arm9 ASM JP 2024-04-17 23:52:39 -04:00
AnonymousRandomPerson
590d633a48 Set up initial JP build 2024-04-17 23:52:39 -04:00
AnonymousRandomPerson
09b1e43bd6 Detected subsymbol dirs in sync to pmdsky-debug 2024-02-08 18:23:43 -05:00
AnonymousRandomPerson
8304f6ecd3 Supported pmdsky-debug aliases for sync 2024-01-06 14:18:12 -06:00
AnonymousRandomPerson
0d66c0d994 Temporarily ignored prototype symbol name syncing 2023-12-30 18:09:34 -06:00
AnonymousRandomPerson
14f2b4cd9c Used original Pascal_SnakeCase for DSE functions 2023-12-30 18:06:04 -06:00
UsernameFodder
8e6873cb29 Sync some symbols from pokeheartgold
These were found by correlating identical code between Sky and Heart
Gold.

This is the first of a series of results from this correlation work.
Some of the changes included in this commit:
- init code
- math utilities (FX_, VEC_, MTX_)
- graphics utilities (GX_ and friends)

None of the code here is decompiled, so this change only includes
renames and tweaks to the asm.

Note: GX_HBlankIntr is not the same between EoS and Heart Gold, but the
label was added anyway because it is between GX_Init and GX_VBlankIntr
in both games. The latter two functions DO match between games.
2023-12-29 01:52:12 -06:00
UsernameFodder
3d87a95850 Support syncing BSS symbols to pmdsky-debug
These data symbols can be added to ram.yml. Since information is lost,
it's not possible to go in the other direction, so RAM syncing can only
be done TO pmdsky-debug.
2023-12-28 23:50:54 -06:00
UsernameFodder
c2f4f07c30 sync_to_pmdsky_debug.py: Pass pmdsky_debug_section as an arg
This variable was being referenced as a global by sync_xmap_symbol.
Pass it in as a local parameter instead.
2023-12-28 22:27:07 -06:00
AnonymousRandomPerson
03c0ba33be Fixed more pmdsky-debug sync issues
-Creating new header symbol now works when preceding symbol isn't in header.
2023-12-28 21:10:40 -06:00
AnonymousRandomPerson
cdefb150e3 Added more documentation to scripts 2023-12-28 19:09:25 -06:00
AnonymousRandomPerson
62ac44cbf4 Fixed pmdsky-debug sync issue
-Data symbol renames not syncing to headers.
-Function header not creating properly if previous symbol was renamed.
2023-12-28 19:07:12 -06:00
AnonymousRandomPerson
1dd0f32e83
Merge pull request #50 from UsernameFodder/sync
Sync math operator/utility functions from pokeheartgold
2023-12-27 14:27:31 -06:00
UsernameFodder
38625d657d Rename some functions for pmdsky-debug sync
pmdsky-debug now supports Pascal_SnakeCase for function names, so remove
some naming overrides and make others more consistent.
2023-12-27 02:13:27 -06:00
UsernameFodder
32998ca899 Sync math operator/utility functions from pokeheartgold
Compared/synced by hand from the pokeheartgold asm.

Some of the functions had labels corresponding to libgcc counterparts;
rename them all for consistency.

Note that some of the functions have multiple names in pokeheartgold
(of which at most one is actually used). Instead of polluting the xMAP
files with multiple symbols (some with zero length), which makes it
really hard for scripts to parse, just add these alternate names as
comments. This makes them searchable without having an effect on build
artifacts.
2023-12-27 02:12:38 -06:00
UsernameFodder
75934d8e45 Handle blx instructions in extract_function.py
Handle function calls via blx, e.g., `blx SVC_WaitByLoop`.

The enumerated exceptions are the only ones currently present in the
repository.
2023-12-27 00:06:16 -06:00
UsernameFodder
38b75afe93 Add pyyaml to sync_pmdsky_debug/requirements.txt 2023-12-26 23:21:51 -06:00
AnonymousRandomPerson
c8c61d2b90 Decomped LFO functions
Contributed by Rhokin.
2023-12-10 13:41:43 -05:00
AnonymousRandomPerson
ebd2d093b8 Decomped sound envelope functions
Contributed by Rhokin in the SkyTemple Discord. https://discord.com/channels/710190644152369162/804247227991326730/1182773685317271634
2023-12-08 23:16:22 -05:00
AnonymousRandomPerson
cc23f5352f Synced from pmdsky-debug 2023-11-29 22:41:14 -05:00
AnonymousRandomPerson
3a591b0d4a Fixed some incorrect symbol names 2023-11-22 14:53:02 -06:00
AnonymousRandomPerson
d564ca9d22 Supported EU syncing to pmdsky-debug 2023-11-21 22:57:16 -06:00
AnonymousRandomPerson
82bd336cdc Supported EU syncing from pmdsky-debug 2023-11-20 23:36:17 -06:00
AnonymousRandomPerson
0af606d5a7 Synced BSS symbols from pmdsky-debug 2023-11-11 16:13:07 -05:00
AnonymousRandomPerson
b200a0faff Started EU support 2023-11-01 18:44:19 -04:00
AnonymousRandomPerson
b8254efa38 Synced from pmdsky-debug 2023-10-29 19:42:06 -04:00
AnonymousRandomPerson
1d49790c6f Supported ARM7 sync from pmdsky-debug 2023-10-28 01:59:22 -04:00
AnonymousRandomPerson
a19a1dfc64 Added symbol syncing to pmdsky-debug 2023-09-17 17:08:24 -04:00
AnonymousRandomPerson
b887709dcf Synced data symbols from pmdsky-debug 2023-09-17 15:53:50 -04:00
AnonymousRandomPerson
b368278ab4 Synced symbols from pmdsky-debug 2023-09-17 14:45:32 -04:00
AnonymousRandomPerson
3c957980ed Added script to sync symbols to pmdsky-debug 2023-09-06 23:56:06 -04:00
AnonymousRandomPerson
cd7909af2e Added pmdsky-debug sync script 2023-09-05 22:25:01 -04:00
marius david
e7b6241d85 fix some issue with extraction script 2023-08-30 13:36:20 +02:00
AnonymousRandomPerson
9eee8c7a75 Replaced decomp list with pret.github.io link 2023-08-29 23:57:36 -04:00
AnonymousRandomPerson
b5fd82f97b Added extract_function tool 2023-08-29 23:11:15 -04:00
AnonymousRandomPerson
e66b9500dc Updated nitrogfx 2023-08-17 02:28:04 -04:00
AnonymousRandomPerson
cb5957ccf5 Removed ARM9 compression 2023-07-16 00:08:40 -04:00
AnonymousRandomPerson
608e361e57 Initialized base repo 2023-06-28 23:35:19 -04:00