Commit Graph

45 Commits

Author SHA1 Message Date
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
b6760ab27a Fixed wrong attribute position being modified. Regenerated code files 2025-03-07 19:18:52 +01:00
Samuele Lorefice
73e98f5c5d Regenerated code files 2025-03-07 19:13:29 +01:00
Samuele Lorefice
bfa185c8e4 Added count field type argument to the list attribute 2025-03-06 19:41:37 +01:00
Samuele Lorefice
e11cd54096 Fioxed dictionary being recreated every step of the for loop. 2025-03-06 19:14:59 +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
fb50e3fa44 Fixed list length value returning always zero.
Added separated pointer and count memory offsets to list attributes.
Tried handling them
2025-03-06 19:11:03 +01:00
Samuele Lorefice
0bc7f73aee Moved pointer and struct conversion to a separate method 2025-03-06 18:32:21 +01:00
Samuele Lorefice
02aa7db319 Changed attribute builder to derive from correct class, also added method to pass base class parameters using string refs. Regenerated the files 2025-03-06 17:37:55 +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
8e4eac0568 Regenerated codefiles 2025-03-04 18:48:04 +01:00
Samuele Lorefice
8bbfb49720 Fixed a critical bug in Array field name generation. Added DNAAttribute and DNAListAttribute classes 2025-03-04 18:47:55 +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
315cd6eb44 Added ToPointer ByteArray extension method 2025-02-25 16:31:28 +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
b66247488e regenerate files 2025-02-19 18:48:50 +01:00
mm00
33a8f1baf3 Fixed SDNA type determination and fixed multiple count per block 2025-02-19 18:48:14 +01:00
mm00
380949122c regenerated files 2025-02-19 17:07:50 +01:00
mm00
bc3ac0ad86 regenerated files 2025-02-18 18:16:57 +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
Samuele Lorefice
0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00
Samuele Lorefice
7c0708b377 Added BaseType "Attribute" to DNAClassAttribute generator function and regenerated the source. 2025-01-23 16:09:33 +01:00
Samuele Lorefice
bf1eb8201c Regenerated all the files 2025-01-22 20:24:55 +01:00
Samuele Lorefice
439cea385f Regenerated files 2025-01-22 18:11:19 +01:00
Samuele Lorefice
5f15635cd8 Fixed array generation expression, removed compat types as they are being remapped 2025-01-22 18:11:09 +01:00
Samuele Lorefice
9a949dbeab Added Type stubbing 2025-01-22 17:56:49 +01:00
Samuele Lorefice
2d6159e331 added uint64_t compat file 2025-01-22 17:40:14 +01:00
Samuele Lorefice
3bcbde6bb2 Added skip for pointer to functions, added int64_t compat type 2025-01-22 17:09:33 +01:00
Samuele Lorefice
d5533ac251 Corrected operators for uchar to use the internal type for operations, defined int8_t compat type 2025-01-22 16:29:54 +01:00
Samuele Lorefice
98f66f196e Added AutoGenerated header, switched to CodeCompileUnit, added global usings 2025-01-22 02:35:20 +01:00
Samuele Lorefice
fa78292a67 Added Generation Output 2025-01-22 02:23:29 +01:00
Samuele Lorefice
d1742775ad Renamed library project, cleaned up code 2025-01-22 01:57:46 +01:00