Releases: SomeJakeGuy/gcbrickwork
V3.0.5 - 3.11 Python Support
Adds 3.11 Python support.
V3.04 - PRM BugFix Update
Fixed a read issue where the offset was not being properly adjusted.
Fixed a write issue where the field_type was not being written before field_value.
Update PRMType.Number to handle if type is of int or float (as the user can convert the values themselves), otherwise write the value directly as a 4 bytes (padding in front if shorter, raise exception if longer).
Introduced new explicit exceptions if field_values for PRMColor and PRMVector are not of those explicit types.
JMPEntry Field Value Update
Properly updates the JMPEntry value when the original JMPFieldHeader key does not exist in self._fields.
JMPEntry Fallback Field Search
Added a secondary fallback search if the JMPFieldHeader does not exist in the field list (could be a copy, could be the same field but from another table, etc.)
JMPEntry Wrapper class and small re-write
- JMPEntry wrapper class, which allows JMPEntries to be updated/get values as a true dictionary using field_name, field_hash, or the JMPHeaderField itself.
- Added a JMPFieldHeader equality method and a proper hash function.
- Privatized data_entries and introduced some new functions to add and delete entries.
- Added a function to remove JMPFieldHeaders. Will automatically remove from all data_entries for you.
- Created/merged from find_jmp_header functions.
- Introduced some unit-tests to check JMP read/writes are successful.
- Updated/Added various docstrings.
JMP Integer Read Fix
Fixed an issue where the wrong bitwise operations order was done when reading integers.
Added more keyword tags.
JMP Validate fixes and Integer Update
Changed how JMPEntries are validated.
Added some missing docstrings.
Created some internal search functions and used them to find jmp fields.
Introduced a few new errors for when fields don't exist to be more explicit than the generic python error.
Fixed an issue where padding was not being calculated correctly.
Removed an un-necessary bytes read.
Fixed an issue where Integer values for JMP files were not updating correctly.
JMP String Value read error fix
Fixed an issue where JMP string values were not being properly updated/parsed.
JMPFieldHeader Hash fix
Updated JMPFieldHeader to have a has function defined so it can properly be used as a dictionary key.
JMP Helper Update
- New JMPValue type alias
- Getter for header fields
- New docs strings
- Several new helper functions to get/update values.