Commit Graph

430 Commits

Author SHA1 Message Date
bd10c2ea29 Free resources for Nintendo GameCube/Wii junk map and Wii encryption contexts: implement cleanup in close function 2026-03-16 18:49:33 +00:00
96cace1860 Add support for regenerating junk sectors and Wii re-encryption: implement lazy initialization and encryption handling 2026-03-16 18:47:18 +00:00
05e451d68e Add support for generable sectors in write process: implement DDT entry handling without data storage 2026-03-16 18:42:25 +00:00
dd23682c16 Disable checksums for unencrypted and generable sectors in write process 2026-03-16 18:41:54 +00:00
a128473f41 Add Wii disc encryption support: implement partition key map and group encrypt/decrypt functions 2026-03-16 18:39:18 +00:00
d5d6e036e4 Add junk map serialization and deserialization for Nintendo GameCube/Wii: implement functions for entry management and lazy initialization 2026-03-16 18:39:08 +00:00
b50f2e56b6 Add new media tag mappings for Wii and GameCube: include WiiPartitionKeyMap and NgcwJunkMap for improved data handling 2026-03-16 18:32:45 +00:00
2ebe8127bd Add Lagged Fibonacci Generator for Nintendo GameCube/Wii: implement LFG context and functions for junk data generation 2026-03-16 18:28:22 +00:00
913d0508a2 Add recursion guard for Wii U re-encryption: implement flag to prevent recursive calls during sector processing 2026-03-16 13:28:16 +00:00
1c577808d1 Add Wii U re-encryption support: implement sector key retrieval and encryption logic 2026-03-16 11:20:46 +00:00
a6226e0c2e Add Wii U disc encryption support: implement key mapping, encrypt/decrypt functions, and serialization 2026-03-16 11:16:27 +00:00
b6fddcced6 Add Wii U partition key mapping to data type and media tag handling 2026-03-16 11:13:10 +00:00
93357cbf1f Add Wii U encryption support to context structure and cleanup logic 2026-03-16 11:11:40 +00:00
a8f500fd5f Refactor AES-128 implementation: move source files to lib directory and update includes 2026-03-16 10:48:54 +00:00
73dac131b8 Implement PS3 encryption support with lazy initialization and error handling 2026-03-15 19:12:59 +00:00
85dc9ea1b8 Added PS3 encryption. 2026-03-15 18:32:08 +00:00
608b391c96 Added AES128. 2026-03-15 18:31:19 +00:00
d53faf7a38 Rename track type enums for consistency 2026-03-15 18:18:15 +00:00
32b41b165f Fix sector tag assignment for decrypted DVD title key 2026-03-14 21:45:51 +00:00
3d81f50afe Rename data type enum. 2026-03-14 21:45:02 +00:00
a5b8054a14 Rename compression enum. 2026-03-14 20:39:56 +00:00
ce9f6ba610 Rename media tags. 2026-03-14 20:18:35 +00:00
43b226bbfa Rename sector tags. 2026-03-14 19:54:52 +00:00
6fa82b4dfe Add feature compatibility checks for V2+ images and define new error codes 2026-03-14 18:52:51 +00:00
1516e9ff24 Add PS3 related media tags. 2026-03-09 20:11:07 +00:00
30965a0c94 Add Nintendo Wii U disc key to enums and update related functions 2026-03-08 19:59:28 +00:00
1a16c7b6e2 Add blockAlignmentShift to header in create.c 2026-01-10 14:40:27 +00:00
e598dd97c7 Fix order of includes. 2026-01-06 14:27:50 +00:00
4df22c47ef Add Floppy Write-Protect status to media tag and data type enums 2026-01-06 14:00:55 +00:00
ba6e122c7c Fix bug that reported incorrect list of readable sector tags for CD images that had no unconforming prefix or suffix. 2026-01-06 10:54:32 +00:00
Rebecca Wallander
869376604c Use lazy loading of flux captures 2026-01-01 13:37:21 +01:00
Rebecca Wallander
c412030a8b Use block alignment offset instead of absolute offset 2026-01-01 13:37:21 +01:00
Rebecca Wallander
86b6680e3e Add data type to datastream block 2026-01-01 13:37:20 +01:00
Rebecca Wallander
d644f81fe3 Address some Sonar issues 2026-01-01 13:35:45 +01:00
Rebecca Wallander
65d34b1e9a Add flux implementation 2026-01-01 13:35:43 +01:00
3dc11ee8b1 Add static LRU hash map implementation with LRU-like eviction.
Not yet used.
2025-12-31 12:03:16 +00:00
4ca1938087 Fix table shift set up from hexadecimal to decimal.
It should be setup in 8 million sectors.
2025-12-31 12:02:22 +00:00
90be043c43 Optimize the data block readings even before. 2025-12-30 22:05:45 +00:00
df026fafb6 Set blockAlignmentShift in header to match parsed options 2025-12-30 20:20:49 +00:00
a1c1c342b6 Optimize opening of images so as to not read all data blocks searching for the biggest sector size if the header contains it. Continue old behaviour if not. 2025-12-30 20:15:07 +00:00
b7e0f60673 Guard against writes of too big sectors. 2025-12-30 20:14:18 +00:00
7f0dea2755 Repurpose two unused header fields to store biggest image sector size. 2025-12-30 20:13:39 +00:00
42aedc4bcf Enhance hash map resizing logic with intelligent size calculation for large maps 2025-12-30 11:12:22 +00:00
3385caac5d Fix typo in secondary DDTv2 identifier (back-compatible until out of alpha). 2025-12-30 11:12:00 +00:00
bc7c660a85 Update parse_options to include table_shift_found flag 2025-12-30 08:54:38 +00:00
344ce95619 Update parse_options function to return table_shift_found flag 2025-12-30 01:41:41 +00:00
43be8e89dd Change sector parameter types from uint16_t to uint32_t for negative and overflow sectors 2025-12-29 16:19:41 +00:00
541d4f499a Free cached secondary DDT during cleanup to prevent memory leaks 2025-12-28 17:58:48 +00:00
a558b4c489 Free compression buffer during cleanup to prevent memory leaks 2025-12-28 17:58:35 +00:00
dc4891b205 Free CRC64 context during cleanup to prevent memory leaks 2025-12-28 17:58:09 +00:00