ReadonlypropertyReadonlyobjectReadonlysoundReadonlypolyReadonlybrushReadonlymoverReadonlymeshReadonlyenumReadonlyenumReadonlyenumReadonlyenumReadonlyenumReadonlyfileReadonlyextReadonlydefaultStaticloadOptionalinflate: InflateResolve an object reference: zero is null, and an index beyond either
table is undefined. The internal resolver (UnrealPackage.object) folds
that second case into null; this method keeps the two apart because a
consumer can distinguish "no object" from "dangling reference" with
=== null.
A brush actor's geometry: its Brush property references a Model, whose
polys references the Polys holding the editor polygons. Corrupt
references throw.
Every sound in the package, with display metadata added.
Mutates each sound's cached readData() result - name, package, and,
when the payload looks like plain PCM WAVE, the channel/rate/depth fields
sniffed from the RIFF header. Compressed or extended WAVEs keep whatever
the object itself carried.
A light actor's colour as HSL. UT stores hue and saturation as bytes, with saturation inverted (0 = full colour), and the defaults are UT's own.
A map's LevelInfo actor, or null for a package that is not a map.
The engine defines it as the first entry of the level's actor list
(ULevel::GetLevelInfo in Engine/Inc/UnLevel.h of the UT 436 source
release), so that is what is returned. The actor is usually named
LevelInfo0, but not always.
Falls back to the first LevelInfo export if the level data cannot be
read.
A map's event links: each actor whose Event is set, paired with every
actor whose Tag matches it.
The LevelInfo summary shown for maps: title, author, song, etc.
with the object-reference properties resolved to names.
Top-level package imports: the files this one needs alongside it.
The file type of a custom package is not recorded anywhere, so ext and
type are only set where they can be inferred. A custom package that
supplies a Music object is labelled .umx here as a convenience. The label
comes from the imported object's package, not the level's Song name, so
music named differently from its package (e.g. St3nge.st3_nge) is covered.
getDependencies() split into stock (default) and custom packages.
When ignoreCore is set (it is by default), the stock packages that
virtually every game package depends on (Core, Engine, ...) are
omitted entirely, length included - their presence goes without saying,
so a consumer listing dependencies rarely wants them.
Export counts per class name, lowercased.
A texture's first mip as a canvas.
A palette as a 16×16 swatch grid.
A map's screenshot frames, in order.
The game menus load the texture named Screenshot and draw it
(UMenu/UMenuScreenshotCW.uc, UBrowser/UBrowserScreenshotCW.uc). A montage
is ordinary texture animation: UTexture::ConstantTimeTick walks AnimNext
from frame to frame, restarting from the first texture at a null link. The
walk in this reader stops at: a null link, an import object (this reader only
holds one package at a time), and at a frame already collected, since some
maps link the last frame back to the head.
With no Screenshot texture the game shows nothing. As a convenience, this
reader falls back to LevelInfo.Screenshot, when that lives in this package.
The public entry class.
Construction parses the package. Consumers then use that one object for everything: header, tables, queries, and lookup tables.