niacdoial / blemd

BMD importer for blender (BDL format also partially supported)
GNU General Public License v3.0
32 stars 12 forks source link

Feature request: built in Yaz0 (szs/arc) decoder #59

Open edbefee3-3888-462a-9411-741b7e9eb54e opened 2 years ago

edbefee3-3888-462a-9411-741b7e9eb54e commented 2 years ago

Use magic numbers to determine which filetype is the input. if the first 4 bytes match 'Yaz0' then extract it and then read models from it's /, /bdl*, /bmd* and /bmw*. it the first 3 bytes match 'J3D', then read it as a BMD file, and open all anim files in the same way it does now. otherwise, just return an error saying it's not a valid J3D or Yaz0 file.