|
OpenUT99-Plus
Unreal Engine 1, rebuilt from scratch
|
Functions | |
| _struct (name, r, end) | |
| _value (t, r, size, struct_name, info) | |
| read_properties (pkg, data, export) | |
| sweep (root) | |
| main (argv) | |
Variables | |
| int | HAS_STACK = 0x02000000 |
| dict | TYPES |
| dict | SIZES = {0: 1, 1: 2, 2: 4, 3: 12, 4: 16} |
| tuple | EXTENSIONS = ("u", "unr", "utx", "uax", "umx", "uxx") |
Tagged properties: the generic start of every exported object's data.
Usage: uprops.py FILE OBJECT properties of one export
uprops.py --sweep DIR parse every export of every package under DIR, print counts
Spec: docs/formats/properties.md
|
protected |
|
protected |
| uprops.main | ( | argv | ) |
| uprops.read_properties | ( | pkg, | |
| data, | |||
| export ) |
Return (properties, end): a list of dicts and the offset just past the closing None tag.
| uprops.sweep | ( | root | ) |
Parse every non-class export; count per class whether data ends at the None tag.
| tuple uprops.EXTENSIONS = ("u", "unr", "utx", "uax", "umx", "uxx") |
| int uprops.HAS_STACK = 0x02000000 |
| dict uprops.SIZES = {0: 1, 1: 2, 2: 4, 3: 12, 4: 16} |
| dict uprops.TYPES |