232 Commits

Author SHA1 Message Date
Brian Pugh
c0e1519d99 give better name to rwdata indices 2021-11-14 09:21:20 -08:00
Brian Pugh
3a58deaaba generate device-specific linker params 2021-11-14 09:21:20 -08:00
Brian Pugh
bad9aa6c48 set RWDATA_IDX as a class variable 2021-11-14 09:21:20 -08:00
Brian Pugh
1a29b8e6ec transform move_to_compressed_memory into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
7f3c508ea2 transform move_ext into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
5206dc823e transform move_ext_external into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
07445faf3d transform move_to_int into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
b1df0574fd transform rwdata_erase into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
ee3cbe3f3f transform rwdata_lookup into method 2021-11-14 09:21:20 -08:00
Brian Pugh
78820b3f2d transform compressed_memory_free_space into a property 2021-11-14 09:21:20 -08:00
Brian Pugh
8a07eeb034 transform int_free_space into a property 2021-11-14 09:21:20 -08:00
Brian Pugh
e17050023b transform compressed_memory_compressed_len into a method 2021-11-14 09:21:20 -08:00
Brian Pugh
ea84bef32b renamed compressed_memory_pos -> self.compressed_memory_pos 2021-11-14 09:21:20 -08:00
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
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