399 Commits

Author SHA1 Message Date
Brian Pugh
574563b000 rename int_pos -> self.int_pos and __call__ -> patch 2021-11-14 09:21:20 -08:00
Brian Pugh
48cbce0e23 rename offset -> self.ext_offset 2021-11-14 09:21:20 -08:00
Brian Pugh
239ad8967d get rid of DevicePatchMixin 2021-11-14 09:21:20 -08:00
Brian Pugh
450b511369 rename DevicePatchMixin methods 2021-11-14 09:21:20 -08:00
Brian Pugh
0fe44e1106 define GNW_DEVICE_* from PATCH_PARAMS. Breakup zelda and mario stock_firmware headers 2021-11-14 09:21:20 -08:00
Brian Pugh
c1c2a6bbd8 give sram3 a more generic name 2021-11-14 09:21:20 -08:00
Brian Pugh
49d48aa9b0 automatic registry for devices 2021-11-14 09:21:20 -08:00
Brian Pugh
1b89eba61d massive reorganization; still needs cleanup 2021-11-14 09:21:20 -08:00
Brian Pugh
dc9e1fd5cb move common functionality over to utils 2021-11-14 09:21:20 -08:00
Brian Pugh
2ce970c34c fix mario song v0.3 2021-10-25 09:26:18 -07:00
Brian Pugh
b1522807df fix sleeping image references 2021-10-25 09:26:18 -07:00
Brian Pugh
81f4a15fc3 fix global init using constants 2021-10-07 12:33:31 -07:00
Brian Pugh
a19a16a7f3 Fix readme typos 2021-10-05 09:45:41 -07:00
Brian Pugh
12117a5409 case insensitive ips globbing v0.2 2021-09-30 17:28:37 -07:00
Brian Pugh
be36c5e179 Update ips.py 2021-09-30 17:17:48 -07:00
Brian Pugh
9083751b95 Update README.md 2021-09-30 16:38:58 -07:00
Brian Pugh
9abcf15c93 Make it easier to add a bunch of ips files 2021-09-30 16:31:32 -07:00
Brian Pugh
2ab1cede04 working ips loader 2021-09-30 16:21:54 -07:00
Brian Pugh
f0dd81b34c infrastructure for dynamic ips patching 2021-09-30 16:21:54 -07:00
Brian Pugh
248c121839 Update README.md 2021-09-30 08:51:30 -07:00
Brian Pugh
d5ed9c4212 python3.6 compatible argparse 2021-09-29 10:14:59 -07:00
Brian Pugh
04e6ef4a0b Merge pull request #26 from BrianPugh/move-lzma-buf-off-stack
move lzma buf off stack
2021-09-29 09:19:32 -07:00
Brian Pugh
a238393998 move lzma buf off stack 2021-09-29 09:18:43 -07:00
Brian Pugh
acf5e0aead Merge pull request #25 from BrianPugh/dos2unix
dos2unix frequently editted files
2021-09-29 09:13:46 -07:00
Brian Pugh
95a792f667 dos2unix frequently editted files 2021-09-29 09:12:53 -07:00
Brian Pugh
ffdccef266 Merge pull request #24 from BrianPugh/mode-actions
Allows switching clock sprites dynamically
2021-09-29 09:10:23 -07:00
Brian Pugh
037f3d5863 reduce lzma alloc 2021-09-29 09:07:26 -07:00
Brian Pugh
b7037136f3 Save 13 bytes per compressed lzma chunk by hardcoding the header 2021-09-29 09:04:35 -07:00
Brian Pugh
b352960468 Disable smb1-graphics mod macro if no mods are specified 2021-09-29 08:53:43 -07:00
Brian Pugh
194789563f Don't have sprite change activate when menu is open 2021-09-29 08:40:05 -07:00
Brian Pugh
8a482656c2 Add progressbar to memtool clear 2021-09-29 08:39:46 -07:00
Brian Pugh
5425333183 update readme 2021-09-28 21:00:33 -07:00
Brian Pugh
0cc5c99b3b fix string.h warning 2021-09-28 20:58:36 -07:00
Brian Pugh
5a4e5ecfac remove reference to internal memcpy, would cause optimized builds to fail 2021-09-28 20:56:42 -07:00
Brian Pugh
6f188b02e1 clean up some addresses 2021-09-28 14:46:16 -07:00
Brian Pugh
e3d70af1b3 Minimal on-demand clock sprite switching 2021-09-28 14:21:19 -07:00
Brian Pugh
aba403275f initial attempt at creating flow command 2021-09-28 08:53:16 -07:00
Brian Pugh
60623f88f4 export itcm and dtcm rwdata 2021-09-27 20:44:31 -07:00
Brian Pugh
9405ca705d add decompress_ram_data.py 2021-09-27 10:58:03 -07:00
Brian Pugh
bcd3b57289 Update the SMB1_GRAPHIC_MODS table 2021-09-26 18:35:45 -07:00
Brian Pugh
8f595aa8b0 update move_ext functions (except for sram3) to accept bytes/bytearrays for injecting novel data 2021-09-26 18:11:13 -07:00
Brian Pugh
696011e464 progress in having dynamically loadable rom graphics 2021-09-26 17:37:23 -07:00
Brian Pugh
14e7c54b45 Add more targets to the ignore params list 2021-09-26 16:15:28 -07:00
Brian Pugh
d1cf6a9cf1 fix minor tools bugs 2021-09-26 15:15:56 -07:00
Brian Pugh
670a40537e Merge pull request #23 from BrianPugh/mode-actions
Proper variable init, additional memtool modes
2021-09-26 14:59:07 -07:00
Brian Pugh
9b6ac2d943 remove debugging scratch 2021-09-26 14:57:54 -07:00
Brian Pugh
5e28daa57c properly initialize custom rwdata 2021-09-26 14:52:27 -07:00
Brian Pugh
dd2eb367b4 it seems like gnw actually might use the last 8KB of ahb_sram_2 2021-09-26 10:57:22 -07:00
Brian Pugh
e652169a62 Don't rebuild if specifying openocd or gdb targets 2021-09-26 10:56:26 -07:00
Brian Pugh
b2ecde0985 Catch faults in memtool addr reading 2021-09-26 10:23:30 -07:00