XML talk:Basic tutorial

From OniGalore
Revision as of 18:44, 8 September 2009 by Demos kratos (talk | contribs)
Jump to navigation Jump to search

Paradox, very nice manual you created, easy to understand. There is an easier way to create an oni file from xml file. Go to the Import tab of AE Tools, in the top drop down menu, select the level you want to install the .oni file. Click the Import Source file and choose the xml file. Then rebuild the level as you stated. EdT

Ah, you are right. -- I was on the way to update the tutorial when I encounter a new extraction problem. It looks like some empty tags are not accurately written in my XML files now.
Lines like following cannot converted back into ONI format. (first example from ONCCk4_L, second from level 1 BINACJBOCharacter.)
<DeathParticle />
<Spawn />
Fix was:
<DeathParticle></DeathParticle>
<Spawn></Spawn>
--
That is/was situation:
  • mac OS v10.5.4 running on Intel core
  • onisplit v0.9.37
  • monoframework was for OS v10.3, updates then to recent mono version, still error in XML.
I even ported the mac files to windows but there onisplit exports them accurately, double checked it by porting the window's ONI file to the mac then extracted it, error. Could you please uploading that ONCC and BINACJBOCharacter file so I can compare it? Paradox-01 09:13, 3 July 2009 (UTC)


Something else: Above you said that the converted file is automatically created. ONCCs are level 0 files, okay, but would AETools also know where to put in the BINACJBOCharacter? I wasn't able to test it because of empty tag error. Paradox-01 09:13, 3 July 2009 (UTC)
That's strange, I can convert the xml files with <DeathParticle /> or <Spawn /> back to oni files. Here's my xml files: http://edt.oni2.net/files/paradox.zip.
The dropdown menu in the Import tab has all the other levels, so if you want to import a file to level3_Final, you select that level in the drop down menu. EdT
I'm still confused of what happened yesterday because today everything looks alright. -- @import Ah, it stands written there. Somehow I'm not myself at these days, thanks for your input. =) Paradox-01 12:16, 4 July 2009 (UTC)



Maybe we have to rewrite Windows GUI part because of new OniSplit GUI? It has browse buttons...    --demos_kratos 18:44, 8 September 2009 (UTC)