- Adds support for Node 10+
- MPQ chain glob is now case-insensitive
-
Adds
MPQ.Chain
for Wrath of the Lich King -
Includes updated definitions for the following DBCs:
BattlemasterList
ChrRaces
Faction
LoadingScreens
Map
SkillCostsData
SoundEntries
Spell
Weather
- Fixes outdated changelog
- Fixes improperly published v0.4.0
-
Breaking changes in
M2
:renderFlags
renamed tomaterials
textureUnits
renamed totextureMappings
transparencies
renamed totransparencyAnimations
colors
renamed tovertexColorAnimations
-
Breaking changes in
M2.AnimationBlock
:track.keyframes
is removedtrack.timestamps
is addedtrack.values
is addedisAnimated
flag renamed toanimated
isEmpty
flag renamed toempty
-
Breaking changes in
M2.Skin
:textureUnits
renamed tobatches
-
Breaking changes in
M2.Skin.Submesh
:id
renamed topartID
-
Breaking changes in
M2.Skin.Batch
:colorIndex
renamed tovertexColorIndex
renderFlagsIndex
renamed tomaterialIndex
textureUnitNumber
renamed tolayer
textureIndex
renamed totextureLookup
textureUnitNumber2
renamed totextureMappingIndex
transparencyIndex
renamed totransparencyLookup
textureAnimIndex
renamed touvAnimationLookup
-
Additions to
M2
:boneLookups
(bone lookup table)uvAnimations
(texture coordinate animations)blendingOverrides
(used in computingM2.Skin.Batch.shader_id
)overrideBlending
(boolean flag)
-
Additions to
M2.Bone
:billboardType
(parsed from bone flags)billboarded
(boolean flag)
-
Additions to
WMO
:MOPV
(portal vertices)MOPT
(portal entries)MOPR
(portal references)
-
Additions to
WMO.Group
:MOCV
(vertex colors)MODR
(doodad references)
-
Fixes to
ADT
:- Chunk holes are 16-bit, not 32-bit
-
Fixes to
WMO
:- Correct optional chunk ordering
-
Other:
- Simpler / more consistent custom types
- Uses Babel 6
- Supports Node 6
-
Supports following on
M2
:colors
transparencies
textureLookups
transparencyLookups
-
Corrects calculation of
ADT#MCLQ
. -
Decodes
ADT#MCRF
. -
Adds various light-related DBC entities.
- Corrects decoding of
ADT#MCAL
alpha maps.
- Renamed
renderFlags
torenderFlagsIndex
on texture units.
- Incomplete support for decoding
ADT#MCAL
alpha maps. - Corrects
ADT#MCSE
sound emitters detection. - Decodes
WMO#MODD
doodads. - Decodes
M2#textureUnits
.
- Use ES7's export syntax across the board.
- Decodes
M2#animations
.
- Corrects
MCLY#flags
andMCLY#effectID
. - Exposes
MCLY#compressed
. - Node 4+ support by updating
ffi
dependency.
-
Supports floats compressed in 16 bits as
Quat16Float
. -
Corrects
M2.Bone#rotation
decoding asQuat16Float
s. -
Exposes following on
M2.Skin
:boneCount
boneIndices
signature
submeshes
textureUnits
-
M2.Bone#subMeshID
is nowM2.Bone#submeshID
. -
ADT#soundEmittersCount
is nowADT#soundEmitterCount
. -
Deals with incorrect
MCAL
andMCSH
sizes inADT
. -
Decodes
MCSE
only when sound emitters are present inADT
. -
Exposes
ADT#MDDF
. -
Exposes
M2#textures
andM2#renderFlags
.
- Exposes
WMO.Group#MOBA
's render batches.
- Correctly index
WMO#MOTX
's padded strings.
- Corrects
WMO#MOMT
'smaterials
property.
- WMO support.
- MODF chunk support.
- Optimizes
M2.Skin#triangles
decoding.
- Windows support for BLPs, thanks @petersandor!
- Closes BLP file handle on failure.
- Exposes
DBC#entity
for convenience.
- Exposes
restructure
. - Adds plenty DBC entities.
- Corrects ADT chunk parsing.
ADT#flags
.M2#bones
andM2#keyBoneLookups
.MPQ.File#opened
andMPQ.File#close
.MPQ.Files#all
is now a getter.WDT#flags
andWDT#tiles
.- Normalizes string encoding and decoding.
MPQ.Files#extract
allows extracting files easily.- Newly supported formats: ADT, BLP, DBC, M2 and WDT.
- Initial release with MPQ support.