Commit Graph

31 Commits

Author SHA1 Message Date
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