three-m2loader icon indicating copy to clipboard operation
three-m2loader copied to clipboard

Improve the parsing of chunked assets.

Open Mugen87 opened this issue 1 year ago • 0 comments

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.

Mugen87 avatar Sep 02 '22 09:09 Mugen87