View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000472 | file | General | public | 2023-08-19 00:27 | 2024-02-04 20:00 |
Reporter | ronsor | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | HEAD | ||||
Summary | 0000472: Add magic for MOC3 and CAFF formats | ||||
Description | MOC3 and CAFF are proprietary file formats used by Live2D Cubism: https://live2d.com/en/ CAFF files usually have the extensions ".cmo3" or ".can3"; more samples besides the ones attached may be found at https://www.live2d.com/en/download/sample-data/. Partially based on the specification at https://github.com/OpenL2D/moc3ingbird/blob/master/src/moc3.hexpat | ||||
Tags | No tags attached. | ||||
|
live2d.magic (864 bytes)
# live2d: file(1) magic for Live2D Cubism file formats 0 string/4 MOC3 Live2D Cubism MOC3 >4 byte 0 \b, SDK version invalid/unknown (%d) >4 byte 1 \b, SDK version 3.0.00 - 3.2.07 (%d) >4 byte 2 \b, SDK version 3.3.00 - 3.3.03 (%d) >4 byte 3 \b, SDK version 4.0.00 - 4.1.05 (%d) >4 byte 4 \b, SDK version 4.2.00 - 4.2.02 (%d) >4 byte 5 \b, SDK version 5.0.00 (%d) >4 byte >5 \b, SDK version unknown (%d) >5 byte 0 \b, little endian >5 byte >0 \b, big endian !:mime application/x-moc3-data !:ext moc3 0 string/4 CAFF Live2D Cubism archive >4 ubyte x version %d >&0 ubyte x \b.%d >&1 ubyte x \b.%d >7 string/4 =---- \b, standard format >7 string/4 !---- \b, unknown format (%.4s) >11 ubyte x version %d >&0 ubyte x \b.%d >&1 ubyte x \b.%d >14 lelong =0 \b, no obfuscation >14 lelong !0 \b, XOR obfuscation key %u !:mime application/x-cubism-archive !:ext cmo3/can3 |
|
Apologies, there was a minor error in the original magic file. This is the correct one. live2d_fixed.magic (864 bytes)
# live2d: file(1) magic for Live2D Cubism file formats 0 string/4 MOC3 Live2D Cubism MOC3 >4 byte 0 \b, SDK version invalid/unknown (%d) >4 byte 1 \b, SDK version 3.0.00 - 3.2.07 (%d) >4 byte 2 \b, SDK version 3.3.00 - 3.3.03 (%d) >4 byte 3 \b, SDK version 4.0.00 - 4.1.05 (%d) >4 byte 4 \b, SDK version 4.2.00 - 4.2.02 (%d) >4 byte 5 \b, SDK version 5.0.00 (%d) >4 byte >5 \b, SDK version unknown (%d) >5 byte 0 \b, little endian >5 byte >0 \b, big endian !:mime application/x-moc3-data !:ext moc3 0 string/4 CAFF Live2D Cubism archive >4 ubyte x version %d >&0 ubyte x \b.%d >&1 ubyte x \b.%d >7 string/4 =---- \b, standard format >7 string/4 !---- \b, unknown format (%.4s) >11 ubyte x version %d >&0 ubyte x \b.%d >&1 ubyte x \b.%d >14 belong =0 \b, no obfuscation >14 belong !0 \b, XOR obfuscation key %d !:mime application/x-cubism-archive !:ext cmo3/can3 |
|
Added. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-08-19 00:27 | ronsor | New Issue | |
2023-08-19 00:27 | ronsor | File Added: live2d.magic | |
2023-08-19 00:27 | ronsor | File Added: sample.moc3 | |
2023-08-19 00:27 | ronsor | File Added: sample.cmo3 | |
2023-08-19 02:43 | ronsor | Note Added: 0003974 | |
2023-08-19 02:43 | ronsor | File Added: live2d_fixed.magic | |
2024-02-04 20:00 | christos | Assigned To | => christos |
2024-02-04 20:00 | christos | Status | new => assigned |
2024-02-04 20:00 | christos | Status | assigned => resolved |
2024-02-04 20:00 | christos | Resolution | open => fixed |
2024-02-04 20:00 | christos | Fixed in Version | => HEAD |
2024-02-04 20:00 | christos | Note Added: 0004002 |