erri120 / rpgmpacker

Simple CLI program for packaging RPG Maker games to use in an automated build/deploy pipeline.
MIT License
28 stars 3 forks source link

MZ: .efkefc parsing for better file exclusion #9

Closed erri120 closed 3 years ago

erri120 commented 3 years ago

.efkefc files are created by Effekseer.

erri120 commented 3 years ago

https://github.com/effekseer/Effekseer/blob/d177985e4038d4a0346b5933fe6663091ae72fe1/Dev/Editor/EffekseerCore/IO/EfkEfc.cs

erri120 commented 3 years ago

0x0: "EFKE" magic 0x4: version (uint32) 0x8: chunk name (utf8 string, 4 bytes) 0x0C: chunk length (uint32) 0x10: chunk data

erri120 commented 3 years ago

INFO chunk: 0x0: unknown (uint32) 0x:4: amount of ressources (uint32) 0x8 till end: ressources

ressource: 0x0: name length (uint32) 0x4: name (null terminated, utf16)