Editing CIN 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:
'''CIN''' files (internally named '''Cinematic''' files) tell the game which [[DSK file|'''DSK''' file(s)]] to load, actor resources to allocate (animations and models) and manage scene cuts. In short, they are cutscene resource managers.
+
'''CIN''' files (internally named '''Cinematic''' files) tell the game which [[DSK file|'''DSK''' file(s)]] to load, actor resources to allocate (animations and models) and manage scene cuts.
 
 
CIN files are plaintext, meaning that they can be edited in a text-editor like Notepad++.
 
 
 
__TOC__
 
 
 
== File structure ==
 
 
 
CIN files consist of:
 
 
 
* Cutscene flags/properties
 
* DSK file declarations
 
* Actor declarations which can contain a model and it's animations.
 
* Scene cuts and where they are placed.
 
 
 
Example from <code>demo01.cin</code>:
 
 
 
<nowiki>// Movie flags
 
type 0
 
flags 128
 
 
 
// Scene files
 
addScene { scene cinemas/demo01/demo1.dsk
 
}
 
 
 
// Actor files
 
addActor { shape cinemas/demo01/spacebg.mod
 
}
 
 
 
addActor { shape cinemas/demo01/meteor.mod
 
bundle cinemas/demo01/meteor.anm
 
anims cinemas/demo01/meteor.bin
 
}
 
 
 
addActor { shape cinemas/demo01/ufo.mod
 
bundle cinemas/demo01/ufo.anm
 
anims cinemas/demo01/ufo.bin
 
}
 
 
 
addActor { shape pikis/nv3Model.mod
 
bundle cinemas/demo01/navi.anm
 
anims cinemas/demo01/navi.bin
 
}
 
 
 
// Scene cuts
 
addCut { cut 0 0 1199
 
flags 3
 
actor cinemas/demo01/spacebg.mod
 
acflags 2
 
anim 1 -1
 
actor cinemas/demo01/meteor.mod
 
acflags 2
 
anim 2 0
 
actor pikis/nv3Model.mod
 
acflags 2
 
anim 2 0
 
actor cinemas/demo01/ufo.mod
 
acflags 2
 
anim 2 0
 
keys 0 {
 
}
 
}</nowiki>
 
 
 
[[Category:Pikmin]]
 
[[Category:File formats]]
 

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)