v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:Jifodus/CMV file format
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | |||
=File Format= | =File Format= | ||
==Header== | ==Header== | ||
Line 29: | Line 28: | ||
| align="right" | 000C | | align="right" | 000C | ||
| dword | | dword | ||
− | | | + | | unknown1 |
− | | | + | | Unknown value, it's 1 in the begining movies. |
|} | |} | ||
− | |||
==Sounds== | ==Sounds== | ||
If the version is 0x2711 then this section comes right after the header. | If the version is 0x2711 then this section comes right after the header. | ||
Line 50: | Line 48: | ||
|- | |- | ||
| align="right" | 0004 | | align="right" | 0004 | ||
− | | char[sounds | + | | char[50 * sounds] |
| sound_files | | sound_files | ||
− | | | + | | A sound file name is 50 bytes long. It's an array with sounds giving the number of sound files there are. |
|- | |- | ||
| align="right" | * | | align="right" | * | ||
− | | dword[ | + | | dword[3200] |
− | | | + | | unknown |
− | | | + | | It undoubtedly has something to do with sounds. However, the only movie file that has values other than 0xFFFFFFFF in all the slots is dwarf_fortress.cmv so it's purpose is still unknown.<br /><br />I do know from testing that it specifies when sounds get played, but due to the finite number of slots I have not come up with a theory explaining how it relates. |
|} | |} | ||
Line 79: | Line 77: | ||
| align="right" | 0004 | | align="right" | 0004 | ||
| byte[size] | | byte[size] | ||
− | | | + | | sound_files |
| Zlib's deflate compressed data, comprising no more than 200 sequential [[User:Jifodus/CMV_file_format#Frame|frames]]. | | Zlib's deflate compressed data, comprising no more than 200 sequential [[User:Jifodus/CMV_file_format#Frame|frames]]. | ||
|} | |} | ||
− | |||
=Data Format= | =Data Format= | ||
==Frame== | ==Frame== | ||
Line 102: | Line 99: | ||
| attribute[Header.columns * Header.rows] | | attribute[Header.columns * Header.rows] | ||
| attributes | | attributes | ||
− | | The | + | | The color attributes of each character in the frame. |
|} | |} |