32 Commits

Author SHA1 Message Date
Samuele Lorefice
bc53e27647 Added some handling of array vs field data attributes. 2025-05-09 17:11:25 +02:00
mm00
3657d34746 Only log not found blocks 2025-05-09 16:46:03 +02:00
mm00
eb76262e42 changed getblock function to just check beginning of block 2025-05-08 18:15:20 +02:00
Samuele Lorefice
f03d907441 Formatting (again) 2025-05-02 16:25:03 +02:00
mm00
a7337dd1d6 Fixed various pointer problems 2025-03-12 19:56:34 +01:00
mm00
226f001c78 handling of array of pointers, refactoring, fixes n shit 2025-03-12 19:02:25 +01:00
Samuele Lorefice
c48d84bb7c Formatting and documentation pass 2025-03-12 01:58:56 +01:00
Samuele Lorefice
633b2b4376 Implemented convert array field 2025-03-12 01:56:06 +01:00
Samuele Lorefice
8202c2185b Half-Handled generation of the same object, added docs, removed array specific handling from ConvertNormalField. Disabled exception thrown due to caveats. 2025-03-12 01:54:56 +01:00
Samuele Lorefice
c0bc1f0a0f Removed redundant statements 2025-03-12 00:55:23 +01:00
Samuele Lorefice
5b8158ea1a Added scaffolding for ArrayAttribute specific conversion 2025-03-11 19:18:41 +01:00
Samuele Lorefice
c30467acc5 Regenerated code files 2025-03-11 19:12:04 +01:00
Samuele Lorefice
0bf0aeab09 Added Array specific logic to Reader. **NOTE: This doesn't use the new attribute yet** 2025-03-11 18:44:48 +01:00
Samuele Lorefice
9cbed0a8b8 Imported static Kaitai.BlendFile, compressing bunch of lines 2025-03-11 18:41:27 +01:00
mm00
37ebc71cf3 Added pointers and list handling in reader 2025-03-10 19:09:11 +01:00
Samuele Lorefice
73e98f5c5d Regenerated code files 2025-03-07 19:13:29 +01:00
Samuele Lorefice
9e1d65d08d Added start offset param to the field conversion methods, started implementing list conversions 2025-03-06 19:11:50 +01:00
Samuele Lorefice
0bc7f73aee Moved pointer and struct conversion to a separate method 2025-03-06 18:32:21 +01:00
Samuele Lorefice
a784eed61d General code cleanup in reader class. Added stub methods for extracting data retrieval to a separate method. 2025-03-05 18:43:39 +01:00
Samuele Lorefice
9081c9b32e Unrolled loops so the debugger works 2025-02-25 18:27:37 +01:00
Samuele Lorefice
23cec0bd0f Replaced longs with built in IntPtr type. 2025-02-25 16:32:08 +01:00
Samuele Lorefice
b5e0793692 Added check to avoid storing nullpointers in the pointers map. Updated comments. 2025-02-21 17:04:13 +01:00
Samuele Lorefice
9a0024884c Optimized memory usage 2025-02-20 21:20:10 +01:00
Samuele Lorefice
f383debd18 Added memoryOffset value to DNAFieldAttribute, regenerated files. 2025-02-20 21:00:55 +01:00
Samuele Lorefice
b171b65aa5 Added handling of pointers, huge memory improvements 2025-02-20 19:58:33 +01:00
Samuele Lorefice
6d565377a4 Added more documentation and started pointer handling 2025-02-20 18:41:27 +01:00
Samuele Lorefice
d95c81f3f2 Added memory address management 2025-02-20 17:33:55 +01:00
Samuele Lorefice
c0533a0d69 More documentation added in the FillObject method. 2025-02-20 15:09:00 +01:00
Samuele Lorefice
e618527135 Added documentation to Reader class in BlendFile. Extracted method for Filling an object with data from a block, given an offset 2025-02-20 15:04:12 +01:00
mm00
33a8f1baf3 Fixed SDNA type determination and fixed multiple count per block 2025-02-19 18:48:14 +01:00
mm00
146a3992ce Generated new code and added initial data handling 2025-01-27 19:24:50 +01:00
Samuele Lorefice
ebcc629feb Added Reader class to BlendFile library 2025-01-23 16:47:32 +01:00