Commit Graph

310 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
AnonymousRandomPerson
eb600a887d
Merge pull request #55 from UsernameFodder/local-param
sync_to_pmdsky_debug.py: Pass pmdsky_debug_section as an arg
2023-12-28 22:36:13 -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
a417962de9
Merge pull request #54 from AnonymousRandomPerson/main
Fixed more pmdsky-debug sync issues
2023-12-28 21:29:33 -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
4fbae4283b
Merge pull request #53 from AnonymousRandomPerson/main
Fixed pmdsky-debug sync issue
2023-12-28 19:15:23 -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
AnonymousRandomPerson
8742a9c32c
Merge pull request #51 from UsernameFodder/renaming
Rename some functions for pmdsky-debug sync
2023-12-27 14:23:33 -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
AnonymousRandomPerson
e2425df3c7
Merge pull request #48 from UsernameFodder/devcontainer
Add devcontainer
2023-12-27 00:21:24 -06:00
AnonymousRandomPerson
a7f3f008f7
Merge pull request #49 from UsernameFodder/extract-function
Handle blx instructions in extract_function.py
2023-12-27 00:14:52 -06:00
UsernameFodder
e11c5181db Add devcontainer 2023-12-27 00:14:32 -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
AnonymousRandomPerson
76e5d10e24
Merge pull request #47 from UsernameFodder/sync
Add pyyaml to sync_pmdsky_debug/requirements.txt
2023-12-26 23:45:16 -06:00
UsernameFodder
38b75afe93 Add pyyaml to sync_pmdsky_debug/requirements.txt 2023-12-26 23:21:51 -06:00
AnonymousRandomPerson
9327eef8bd
Merge pull request #46 from AnonymousRandomPerson/main
Synced from pmdsky-debug
2023-12-21 01:54:25 -05:00
AnonymousRandomPerson
c05f2538f9 Synced from pmdsky-debug 2023-12-21 00:52:30 -05:00
AnonymousRandomPerson
11e63cc1aa
Merge pull request #45 from AnonymousRandomPerson/main
Synced from pmdsky-debug
2023-12-19 22:30:17 -05:00
AnonymousRandomPerson
7252f84dd1 Synced from pmdsky-debug 2023-12-19 22:23:46 -05:00
AnonymousRandomPerson
6253ac52d1
Merge pull request #44 from AnonymousRandomPerson/main
Added DSE library to calcrom
2023-12-10 14:09:53 -05:00
AnonymousRandomPerson
93ad872893 Added DSE library to calcrom 2023-12-10 14:02:53 -05:00
AnonymousRandomPerson
84cc8892e8
Merge pull request #43 from AnonymousRandomPerson/main
Decomped LFO functions
2023-12-10 13:52:01 -05:00
AnonymousRandomPerson
c8c61d2b90 Decomped LFO functions
Contributed by Rhokin.
2023-12-10 13:41:43 -05:00
AnonymousRandomPerson
98447b4c39
Merge pull request #42 from AnonymousRandomPerson/main
Decomped FemaleToMaleForm
2023-12-08 23:42:59 -05:00
AnonymousRandomPerson
7e82d8e77e Decomped FemaleToMaleForm
Originally decomped by techticks in the pret Discord. https://discord.com/channels/442462691542695948/1141333060508467321/1145791217657987202
2023-12-08 23:32:53 -05:00
AnonymousRandomPerson
717487a95f
Merge pull request #41 from AnonymousRandomPerson/main
Decomped sound envelope functions
2023-12-08 23:28:51 -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
99b7b9505c
Merge pull request #40 from AnonymousRandomPerson/main
Synced from pmdsky-debug
2023-12-04 18:37:20 -05:00
AnonymousRandomPerson
a2b8c4b62c Synced from pmdsky-debug 2023-12-04 18:27:52 -05:00
AnonymousRandomPerson
b6c33612ec
Merge pull request #39 from AnonymousRandomPerson/main
Synced from pmdsky-debug
2023-11-29 22:48:07 -05:00
AnonymousRandomPerson
cc23f5352f Synced from pmdsky-debug 2023-11-29 22:41:14 -05:00
AnonymousRandomPerson
79efa09a80
Merge pull request #38 from AnonymousRandomPerson/main
Synced from pmdsky-debug
2023-11-28 18:00:39 -05:00
AnonymousRandomPerson
4c60e86fb8 Synced from pmdsky-debug 2023-11-28 17:47:17 -05:00
AnonymousRandomPerson
67f3ab5225
Merge pull request #37 from AnonymousRandomPerson/main
Fixed some incorrect symbol names
2023-11-22 15:11:36 -06:00
AnonymousRandomPerson
3a591b0d4a Fixed some incorrect symbol names 2023-11-22 14:53:02 -06:00
AnonymousRandomPerson
6493241ad4
Merge pull request #36 from AnonymousRandomPerson/eu
Added EU support
2023-11-21 23:15:02 -06:00
AnonymousRandomPerson
4e41c8aff5 Merge branch 'main' of https://github.com/pret/pmd-sky into eu 2023-11-21 22:58:44 -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
daaf235396 Used US instead of NA for US ROM 2023-11-20 17:24:25 -06:00
AnonymousRandomPerson
cc1547a222 Matched EU ROM 2023-11-20 17:24:08 -06:00
AnonymousRandomPerson
d670ad1908 Matched overlay 34 EU 2023-11-20 15:08:54 -06:00
AnonymousRandomPerson
92dd0bd18d Matched overlay 31 EU 2023-11-20 00:04:43 -06:00
AnonymousRandomPerson
54691a3247 Matched overlay 30 EU 2023-11-19 23:51:17 -06:00
AnonymousRandomPerson
a31f5378d4 Matched overlay 29 EU 2023-11-19 22:42:09 -06:00
AnonymousRandomPerson
e6d3ccf776 Matched overlay 28 EU 2023-11-14 00:01:06 -05:00
AnonymousRandomPerson
58c7bc5a13 Matched overlay 27 EU 2023-11-13 23:56:53 -05:00