three-m2loader
three-m2loader copied to clipboard
Improve the parsing of chunked assets.
Starting with Legion, M2 assets might be chunked. M2Loader
only support a small subset of chunks for far. To improve the compatibility with newer files, chunk parsing support has to be improved. Possible chunks are:
- [x] MD21
- [ ] PFID
- [x] SFID
- [ ] AFID
- [ ] BFID
- [ ] TXAC
- [ ] EXPT
- [ ] EXP2
- [ ] PABC
- [ ] PADC
- [ ] PSBC
- [ ] PEDC
- [ ] SKID
- [x] TXID
- [ ] LDV1
- [ ] RPID
- [ ] GPID
- [ ] WFV1
- [ ] WFV2
- [ ] PGD1
- [ ] WFV3
- [ ] PFDC
- [ ] EDGF
- [ ] NERF
Checked entries are at least partially supported or not implemented for a specific reasons. The idea is to use the parsed chunk data as an alternative data source for building three.js
entities.