Editing Pikmin 2 cutscene file
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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: | ||
− | + | Cutscenes in Pikmin 2 are controlled by a file called <code>demo.stb</code>. This file can be found in each of the cutscene archives in <code>/user/Mukki/<name of cutscene>/demo.szs</code>. | |
− | Cutscenes in | ||
This page describes the format of the file. The page is work in progress. | This page describes the format of the file. The page is work in progress. | ||
Line 17: | Line 16: | ||
|0x4 | |0x4 | ||
|uint16 | |uint16 | ||
− | |Byte order mark? Always | + | |Byte order mark? Always 0xFEFF |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|0x8 | |0x8 | ||
Line 33: | Line 28: | ||
|0x10 | |0x10 | ||
|char[8] | |char[8] | ||
− | |String that spells "jstudio" | + | |String that spells "jstudio" |
|- | |- | ||
|0x18 | |0x18 | ||
Line 41: | Line 36: | ||
|0x1E | |0x1E | ||
|int16 | |int16 | ||
− | |Unknown. Always | + | |Unknown. Always 0x4? |
|} | |} | ||
Line 48: | Line 43: | ||
= JFVB = | = JFVB = | ||
JFVB is one of the possible objects that can appear in the stb file. The size of the JFVB data is usually big because it's like its own section inside the file. | JFVB is one of the possible objects that can appear in the stb file. The size of the JFVB data is usually big because it's like its own section inside the file. | ||
− | For the purpose of the object count, JFVB counts as one object | + | For the purpose of the object count, JFVB counts as one object |
{| class="wikitable" | {| class="wikitable" | ||
|+JFWB object | |+JFWB object | ||
Line 82: | Line 77: | ||
|0x4 | |0x4 | ||
|uint16 | |uint16 | ||
− | |Byte order mark? Always | + | |Byte order mark? Always 0xFEFF |
|- | |- | ||
|0x6 | |0x6 | ||
|uint16 | |uint16 | ||
− | |Unknown, always | + | |Unknown, always 0x100? |
|- | |- | ||
|0x8 | |0x8 | ||
Line 94: | Line 89: | ||
|0xC | |0xC | ||
|uint32 | |uint32 | ||
− | |Amount of entries in FVB data | + | |Amount of entries in FVB data |
|- | |- | ||
|0x10 | |0x10 | ||
− | |FVB data entry | + | |FVB data entry |
|See table below for more info | |See table below for more info | ||
|} | |} | ||
Line 110: | Line 105: | ||
|0x0 | |0x0 | ||
|uint32 | |uint32 | ||
− | | | + | |entry size starting from 0x0 to end |
|- | |- | ||
|0x4 | |0x4 | ||
|uint16 | |uint16 | ||
− | | | + | |entry type? |
|- | |- | ||
|0x6 | |0x6 | ||
|uint16 | |uint16 | ||
− | | | + | |padding |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|0x8 | |0x8 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|unknown | |unknown | ||
+ | |entry data depending on entry type? | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | FVB entry types: 1 (composite?), 2 (constant?), 3 (transition?), 4 (list?), 5 (list parameter?), 6 (hermite?) | |
− |