217 Commits

Author SHA1 Message Date
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
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 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
12117a5409 case insensitive ips globbing 2021-09-30 17:28:37 -07:00
Brian Pugh
be36c5e179 Update ips.py 2021-09-30 17:17:48 -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
d5ed9c4212 python3.6 compatible argparse 2021-09-29 10:14:59 -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
e3d70af1b3 Minimal on-demand clock sprite switching 2021-09-28 14:21:19 -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
5e28daa57c properly initialize custom rwdata 2021-09-26 14:52:27 -07:00
Brian Pugh
37d97da586 Disable mario song activation if mario song is removed 2021-09-25 22:07:02 -07:00
Brian Pugh
54fb0f8b62 make image indexing functions a little more powerful 2021-09-25 18:01:07 -07:00
Brian Pugh
3c2cd9ff1f Add option to override tileset 2021-09-25 14:58:03 -07:00
Brian Pugh
6c4e42d1b2 Reworked tilemap_to_bytes to actually work 2021-09-25 11:48:25 -07:00
Brian Pugh
d7b78a5ad7 initial tilemap_to_bytes implementation; it remaps a few colors wrong though 2021-09-25 11:06:33 -07:00
Brian Pugh
d8ec92030c remove matplotlib dependency 2021-09-25 10:24:25 -07:00
Brian Pugh
6c57205ad7 linting 2021-09-24 17:39:46 -07:00
Brian Pugh
3b246d2f51 dump iconset 2021-09-24 17:37:15 -07:00
Brian Pugh
ac7e242b6d Dump tileset during build 2021-09-24 17:37:13 -07:00
Brian Pugh
e5136c25dc linting 2021-09-24 17:25:01 -07:00
Brian Pugh
b417498ec7 Black linting 2021-09-24 17:14:06 -07:00
Brian Pugh
7c459c6b44 Add SMB2 dumping support 2021-09-24 16:35:30 -07:00
Brian Pugh
89560357d2 Add NES header to smb1 dump for easier usage 2021-09-24 10:58:08 -07:00
Brian Pugh
2f7322b22b Add ability to override smb1 2021-09-24 10:49:40 -07:00
Brian Pugh
d8c9c6b08e improve argparse organization 2021-09-24 09:54:53 -07:00
Brian Pugh
afdf449237 fix smb1 and smb2 sound 2021-09-24 09:37:41 -07:00
Brian Pugh
4dc2acb636 tweak sram address 2021-09-24 09:08:22 -07:00
Brian Pugh
64ff9d523a misc 2021-09-23 10:55:48 -07:00
Brian Pugh
b42da3d60c make more moves to sram3 now that all the backup logic is put in place 2021-09-22 19:13:12 -07:00
Brian Pugh
47a0243658 fix docstrings 2021-09-22 19:05:52 -07:00
Brian Pugh
9c4ccc375f rename move_ext_extended to just move_ext 2021-09-22 19:00:03 -07:00
Brian Pugh
546ec636d2 if it can't fit in sram3, attempt to put it in internal 2021-09-22 18:55:26 -07:00
Brian Pugh
f072050f53 dynamically move to ext if int is full 2021-09-22 10:11:06 -07:00
Brian Pugh
d3e2f8d5f2 fix rounding direction 2021-09-22 09:30:16 -07:00
Brian Pugh
4f364aedce Have nested exceptions come from None to cleanup backtraces 2021-09-22 09:27:03 -07:00
Brian Pugh
18e7454788 towards dynamic section placement 2021-09-22 08:46:22 -07:00
Brian Pugh
0cdeade155 don't move to sram if below a compression ratio threshold 2021-09-21 21:01:22 -07:00
Brian Pugh
ba8f400a16 Print dynamic compression ratios when adding to sram3 2021-09-21 17:45:52 -07:00
Brian Pugh
dbadf93ef9 working SMB2 2021-09-21 16:20:03 -07:00