Talk:Importing character models: Difference between revisions

note to Ed
(ONCC VS "characters"? what the?)
(note to Ed)
Line 50: Line 50:
::Then you only need to be careful about a few things. Like, if you want your ONCC to be a level0 plugin, then make sure you have globalized all the crucial dependencies of the ONCC (TRMA, TXMP, TRAC, TRAM, TRAS, TRSC). And of course, if you run into trouble, try to file a report so we can tell you where you messed up.
::Then you only need to be careful about a few things. Like, if you want your ONCC to be a level0 plugin, then make sure you have globalized all the crucial dependencies of the ONCC (TRMA, TXMP, TRAC, TRAM, TRAS, TRSC). And of course, if you run into trouble, try to file a report so we can tell you where you messed up.
:::[[User:Geyser|geyser]] 20:55, 5 June 2008 (CEST)
:::[[User:Geyser|geyser]] 20:55, 5 June 2008 (CEST)
:Oh, and Ed: you're saying confused/confusing and possilby wrong things up there about not messing up file sizes. The header of an .oni file doesn't actually know or care about the total file size. The only thing you should care about for an ONCC is the offsets of the names of the dependencies, at the end (one offset for every name). That's where you can't allow to make the name of the linked-to TRBS longer without shifting all the following dependencies of the ONCC and updating their name offsets consistently. As for the name of the ONCC itself, you can rename the file to anything at all, like ONCCgriffin_generic_fubar.oni : OniSplit will ignore the internal name of the root instance and use the filename instead. And as for the ONCC name in [[CHAR]], it's a fixed-size array (char[64]), so virtually any new name will work, as long as you take care of the null char after the ONCC name.
::[[User:Geyser|geyser]] 21:57, 5 June 2008 (CEST)