User talk:Neo: Difference between revisions

3,502 bytes removed ,  22 June 2008
deleted "solved" stuff
(melee profile - wow)
(deleted "solved" stuff)
Line 78: Line 78:


I look forward to trying out the OBJC export.
I look forward to trying out the OBJC export.
[[User:EdT|EdT]]
You can try [http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit/OniSplit|_v0.9.18|_beta.zip this] beta for OBJC export. Mostly works as far as I know except that the resulting XML for MELE kind of sucks.
[[User:Neo|Neo]]
I got this error when extracting BINACJBOMelee Profile:
  System.NotImplementedException: Argument value is System.Single[]
  at System.Xml.XmlWriter.WriteValue (System.Object value) [0x00000]
  at Oni.XmlExporter.Oni.Metadata.IMetaTypeVisitor.VisitVector3 (Oni.Metadata.MetaVector3 type) [0x00000]
  at Oni.Metadata.MetaVector3.Accept (IMetaTypeVisitor visitor) [0x00000]
  at Oni.XmlExporter.WriteFields (Oni.Metadata.Field[] fields) [0x00000]
  at Oni.XmlExporter.Oni.Metadata.IMetaTypeVisitor.VisitStruct (Oni.Metadata.MetaStruct type) [0x00000]
  at Oni.Metadata.MetaStruct.Accept (IMetaTypeVisitor visitor) [0x00000]
  at Oni.Objects.CollectionExporter.ExportInstance (Oni.InstanceDescriptor descriptor) [0x00000]
  at Oni.XmlExporter.ExportInstance (Oni.InstanceDescriptor descriptor) [0x00000]
  at Oni.Exporter.ExportInstanceList (System.Collections.Generic.List`1 descriptors) [0x00000]
  at Oni.Exporter.Export (Oni.FileManager fileManager, System.String sourceFilePath, System.String filter) [0x00000]
  at Oni.Program.ExtractXml (System.String[] args) [0x00000]
  at Oni.Program.Main (System.String[] args) [0x00000]  (1)
Also the .xml file looks like this:
  <?xml version="1.0" encoding="utf-8"?>
  <ObjectCollection version="0.9.18.0">
    <Object Id="630" Type="MELE">
        <Header>
            <Flags>0</Flags>
            <Position />
        </Header>
    </Object>
  </ObjectCollection>
[[User:EdT|EdT]]
[http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit/OniSplit|_v0.9.18|_beta2.zip Beta2]
[[User:Neo|Neo]]
Yes!!!! Thanks
[[User:EdT|EdT]]
[http://cid-639aa31296681bfe.skydrive.live.com/self.aspx/Oni/OniSplit/OniSplit|_v0.9.18|_beta3.zip Beta3]
Import done. You should be able to create BINACJBO*.oni files from xml files.
[[User:Neo|Neo]]
Wonderful. Now my scripting can continue. Good job Neo.
[[User:Gumby|Gumby]] 20:07, 21 June 2008 (CEST)
I got this error, I exported BINACJBOCharacter.oni from level 3 and then imported again with no changes:
  System.ArgumentException: Specified type 'System.Single[]' is not supported.
  at System.Xml.XmlReader.ValueAs (System.String text, System.Type type, IXmlNamespaceResolver resolver) [0x00000]
  at System.Xml.XmlReader.ReadElementContentAs (System.Type type, IXmlNamespaceResolver resolver) [0x00000]
  at Oni.Xml.RawXmlImporter.Oni.Metadata.IMetaTypeVisitor.VisitVector3 (Oni.Metadata.MetaVector3 type) [0x00000]
  at Oni.Metadata.MetaVector3.Accept (IMetaTypeVisitor visitor) [0x00000]
  at Oni.Xml.RawXmlImporter.ReadFields (Oni.Metadata.Field[] fields) [0x00000]
  at Oni.Xml.RawXmlImporter.Oni.Metadata.IMetaTypeVisitor.VisitStruct (Oni.Metadata.MetaStruct type) [0x00000]
  at Oni.Metadata.MetaStruct.Accept (IMetaTypeVisitor visitor) [0x00000]
  at Oni.Xml.ObjcXmlImporter.ReadObject () [0x00000]
  at Oni.Xml.ObjcXmlImporter.Import () [0x00000]
  at Oni.Xml.ObjcXmlImporter.Import (System.Xml.XmlReader reader) [0x00000]
  at Oni.Xml.XmlImporter.ReadObjectCollection () [0x00000]
  at Oni.Xml.XmlImporter.Import (System.String filePath, System.String outputDirPath) [0x00000]
  at Oni.Program.CreateFromXml (System.String[] args) [0x00000]
  at Oni.Program.Main (System.String[] args) [0x00000]  (1)


[[User:EdT|EdT]]
[[User:EdT|EdT]]
708

edits