217 Commits

Author SHA1 Message Date
Brian Pugh
27b0225f6e more zelda notes 2023-04-30 10:45:33 -07:00
Brian Pugh
119892b195 swap pycrypto for pycryptodome (#47)
* swap pycrypto for pycryptodome

* update pre-commit hooks

* linting
2022-06-07 14:52:27 -07:00
Brian Pugh
8b90f29e3f disabled loz2 jp moving 2021-11-25 19:41:35 -08:00
Brian Pugh
0b9ac928b6 compress LoZ2 timer stuff 2021-11-25 19:41:35 -08:00
Brian Pugh
9a297bf64f move loz2 timer to internal flash 2021-11-25 19:41:35 -08:00
Brian Pugh
f9a8fac380 fix rwdata table end reference 2021-11-25 19:41:35 -08:00
Brian Pugh
5e0b5b18fc Add options to delete LA and to delete the sleep images 2021-11-25 19:41:35 -08:00
Brian Pugh
0d7f7b6945 enable rwdata modification for zelda 2021-11-25 19:41:35 -08:00
Brian Pugh
67ab649855 Fix ld syntax bug, less round about way of finding novel code start since we now explicitly define it 2021-11-25 19:41:35 -08:00
Brian Pugh
c43a0fa014 device-specific linker config 2021-11-25 19:41:35 -08:00
Brian Pugh
73b6a7d840 disable save encryption 2021-11-22 10:47:45 -08:00
Brian Pugh
ed28eebaaa more flash annotations 2021-11-22 10:47:45 -08:00
Brian Pugh
fceae0ad59 more annotations 2021-11-22 10:47:45 -08:00
Brian Pugh
61048c29d4 memory layout comments 2021-11-22 10:47:45 -08:00
Brian Pugh
0ea188b659 Add notes about empty space in the encrypted region 2021-11-22 10:47:45 -08:00
Brian Pugh
f6a0443cda Links Awakening erase section 2021-11-16 08:25:30 -08:00
Brian Pugh
acf02c1c46 add docstring to _dump_backdrops 2021-11-15 18:48:06 -08:00
Brian Pugh
1acad0c16a dump zelda images 2021-11-15 18:48:06 -08:00
Brian Pugh
d7d8f5a4bd export all mario backdrops 2021-11-15 18:13:07 -08:00
Brian Pugh
90fa5a992d test which roms are used for clock/timer 2021-11-15 12:36:34 -08:00
Brian Pugh
cf123a6774 dump zelda 2 2021-11-15 12:36:34 -08:00
Brian Pugh
280d211605 dump non-working japanese zelda 1 2021-11-15 12:36:34 -08:00
Brian Pugh
e351c30114 slightly reorganize fds_crc 2021-11-15 12:36:34 -08:00
Brian Pugh
a28042e0e9 fds_add_crc_gaps 2021-11-15 12:36:34 -08:00
Brian Pugh
53e8c52bfd fds_crc 2021-11-15 12:36:34 -08:00
Brian Pugh
68bab643d2 move fds_remove_crc_gaps to utils 2021-11-15 12:36:34 -08:00
Brian Pugh
88fddeb6a1 Dump Legend of Zelda (USA) 2021-11-15 12:36:34 -08:00
Brian Pugh
eac6d9c92b linting 2021-11-15 12:36:34 -08:00
Brian Pugh
1e0ed80ae8 fix infinite loop when disabling encryption 2021-11-15 12:36:34 -08:00
Brian Pugh
c362fec45e fix zelda encryption pointers 2021-11-15 12:36:34 -08:00
Brian Pugh
df16e687a7 add button macro hook to zelda 2021-11-15 12:36:34 -08:00
Brian Pugh
d5f3d75296 more general MSP solution 2021-11-15 12:36:34 -08:00
Brian Pugh
c9bb39bcf3 disable rwdata tweaks on zelda until we find some RAM 2021-11-15 12:36:34 -08:00
Brian Pugh
d7cd5c8aaf zelda initial commit 2021-11-15 12:36:34 -08:00
Brian Pugh
fedb41b647 more zelda prep 2021-11-15 12:36:34 -08:00
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