Skip to content

Releases: SomeJakeGuy/gcbrickwork

V3.0.5 - 3.11 Python Support

12 Jan 23:51

Choose a tag to compare

Adds 3.11 Python support.

V3.04 - PRM BugFix Update

06 Jan 00:01
1952ad0

Choose a tag to compare

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

02 Jan 09:09
6e2198e

Choose a tag to compare

Properly updates the JMPEntry value when the original JMPFieldHeader key does not exist in self._fields.

JMPEntry Fallback Field Search

02 Jan 08:59
cb17a90

Choose a tag to compare

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

02 Jan 07:11

Choose a tag to compare

  • 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

29 Dec 19:39
8a486ad

Choose a tag to compare

Fixed an issue where the wrong bitwise operations order was done when reading integers.
Added more keyword tags.

JMP Validate fixes and Integer Update

28 Dec 20:15
c30260c

Choose a tag to compare

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

18 Dec 07:25
14df32e

Choose a tag to compare

Fixed an issue where JMP string values were not being properly updated/parsed.

JMPFieldHeader Hash fix

18 Dec 06:29
8d6fb9c

Choose a tag to compare

Updated JMPFieldHeader to have a has function defined so it can properly be used as a dictionary key.

JMP Helper Update

12 Dec 20:56
1527840

Choose a tag to compare

  • New JMPValue type alias
  • Getter for header fields
  • New docs strings
  • Several new helper functions to get/update values.