Commit Graph

327 Commits

Author SHA1 Message Date
George Witt
9b51044fa8 Merge branch 'pret:main' into main 2023-12-29 07:26:44 -06:00
AnonymousRandomPerson
fd2fb44cb0 Merge pull request #56 from UsernameFodder/bss-sync
Support syncing BSS symbols to pmdsky-debug
2023-12-29 00:10:00 -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
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
George Witt
1a682f8c76 Merge branch 'main' into main 2023-12-28 21:33:51 -06:00
ElectricGeorge
595434db59 Remove addresses from file names 2023-12-28 22:33:26 -05: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
ElectricGeorge
e26f1956cc Rename poly_text.c 2023-12-28 17:14:06 -05:00
ElectricGeorge
fb6eeaa3d5 Merge branch 'main' into naming 2023-12-28 17:07:27 -05:00
ElectricGeorge
798da0b2c3 Rename dg_uty.c 2023-12-28 16:41:58 -05:00
ElectricGeorge
0217b316d2 Rename dg_effect.c 2023-12-28 16:41:30 -05:00
ElectricGeorge
8074047a8d Rename dg_camera.c 2023-12-28 16:40:48 -05:00
ElectricGeorge
75ac1522b5 Rename dg_object.c 2023-12-28 16:39:56 -05:00
ElectricGeorge
1d89421ae1 Rename dg.c 2023-12-28 16:39:06 -05:00
ElectricGeorge
bf0c78b497 Rename dg_random.c 2023-12-28 16:37:37 -05:00
ElectricGeorge
bae1a55289 Rename file_rom.c functions 2023-12-28 14:08:33 -05:00
ElectricGeorge
7b2686518d Rename directory_file_mngr.c, directory_file.c symbols 2023-12-28 13:30:06 -05:00
ElectricGeorge
8b1029085e Rename file.h 2023-12-28 11:58:35 -05:00
ElectricGeorge
9d52129218 Rename debug.c functions 2023-12-28 11:30:48 -05:00
ElectricGeorge
3c28624de2 Decomp ov29_022DC240 2023-12-28 10:33:24 -05: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