Jump to content

User talk:Neo: Difference between revisions

1,252 bytes added ,  9 September 2008
no edit summary
No edit summary
No edit summary
Line 491: Line 491:


PS: the FLAG exporting/importing bug reported above is supposed to be fixed too
PS: the FLAG exporting/importing bug reported above is supposed to be fixed too
[[User:Neo|Neo]]
==OniSplit 0.9.26==
[http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit/OniSplit|_v0.9.26.zip OniSplit v0.9.26]
Added XML support for TXMP/TXAN. Texture extraction/creation works like before but now you can also use the standard xml commands -extract:xml and -create.
Extracting a texture with -extract:xml produces an xml file and one or more tga files. The xml file will contains texture options like format and flags and a list of tga file names. More than one tga file is produced for animated textures and the filenames look like TXMPsmoke_001.tga, TXMPsmoke_002.tga etc.
Using the -create option with such an xml file will produce a normal TXMP.oni file but without the need to specify additional parameters on the command line like with -create:txmp. This comes in handy if you want to edit a bunch of textures:
- put all the xml and tga files in a single directory
- edit tga image files as you need
- in the directory you can run the command: onisplit -create oni *.xml to create all TXMP.oni files in the subdirectory oni.
Tip:
The exported xml file does not contain the witdh and height of the texture, this is obtained from the tga file. If you resize the tga file the texture will be resized too.


[[User:Neo|Neo]]
[[User:Neo|Neo]]
708

edits