Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 11/05/17 10:11

TommiBee
Member
Registered: 10/30/17

From .xml to .oni Problem with OniSplit (and Vago editor)

Hi everyone!

I'm new on the Oni modding world, and for starting, I've got a problem, so I didn't do anything custom or any modification. The OniSplit (and also the Vago editor) wrote the following things:

Oni Split Error:
-create "C:/Program Files/Oni/AE/Vago/plain/win_only/Tools/VagoGUI/VagoWorkspace/XML/XML - ONI/" "C:/Program Files/Oni/AE/anim_modding/ONCCthug_wh_1.xml"
System.InvalidOperationException: Link descriptors must have names

   a k?vetkez? helyen: Oni.ImporterFile.WriteDescriptor(BinaryWriter writer, ImporterFileDescriptor descriptor)

   a k?vetkez? helyen: Oni.ImporterFile.Write(String outputDirPath)

   a k?vetkez? helyen: Oni.Xml.XmlImporter.Import(String filePath, String outputDirPath)

   a k?vetkez? helyen: Oni.Program.ExecuteTasks(String[] args, String outputDirPath, Set`1 importedFiles, Queue`1 taskQueue)

   a k?vetkez? helyen: Oni.Program.CreateGeneric(String[] args)

   a k?vetkez? helyen: Oni.Program.Execute(String[] args)

   a k?vetkez? helyen: Oni.Program.Main(String[] args)





[a k?vetkez? helyen - this has similar meaning like: on the following place]




When I use the 0.9.99 version of the OniSplit, the problem is this, but I tried other versions. When I use 9.96, the problem is this:

Oni Split Error:
-create "C:/Program Files/Oni/AE/Vago/plain/win_only/Tools/VagoGUI/VagoWorkspace/XML/XML - ONI/" "C:/Program Files/Oni/AE/anim_modding/ONCCthug_wh_1.xml"
System.InvalidOperationException: Link descriptors must have names

   at Oni.ImporterFile.WriteDescriptor(BinaryWriter writer, ImporterFileDescriptor descriptor)

   at Oni.ImporterFile.Write(String outputDirPath)

   at Oni.Xml.XmlImporter.Import(String filePath, String outputDirPath)

   at Oni.Program.ExecuteTasks(String[] args, String outputDirPath, Set`1 importedFiles, Queue`1 taskQueue)

   at Oni.Program.CreateGeneric(String[] args)

   at Oni.Program.Execute(String[] args)

   at Oni.Program.Main(String[] args)





The Split's 9.61 version wrote this:

Oni Split Error:
-create "C:/Program Files/Oni/AE/Vago/plain/win_only/Tools/VagoGUI/VagoWorkspace/XML/XML - ONI/" "C:/Program Files/Oni/AE/anim_modding/ONCCthug_wh_1.xml"
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

   at System.ThrowHelper.ThrowKeyNotFoundException()

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at Oni.Xml.XmlImporter.ResolveLocalReferences()

   at Oni.Xml.XmlImporter.ResolveReferences()

   at Oni.Xml.XmlImporter.Import(String filePath, String outputDirPath)

   at Oni.Program.ExecuteTasks(String[] args, String outputDirPath, Set`1 importedFiles, Queue`1 taskQueue)

   at Oni.Program.CreateGeneric(String[] args)

   at Oni.Program.Main(String[] args)




This problem was shown on every ONCC files...

I've modded some other games before, but now I'm sitting here without advices. hmm
Can you help me?
What do I wrong???

Thank you for your all advices!!! smile

Offline

#2 11/05/17 11:11

s10k
Member
Registered: 01/14/07
Website

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

Hi! Please post your ONCCthug_wh_1.xml.

Offline

#3 11/05/17 13:11

TommiBee
Member
Registered: 10/30/17

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

Right, but it's a FULL stock ONCC_thug_wh_1 file. I first wanted to test on original file, but this also doesn't work... so currently I don't have any modded files.


<?xml version="1.0" encoding="utf-8"?>
<Oni>
    <ONCC id="7308">
        <AirConstants>
            <FallGravity>0.55</FallGravity>
            <JumpGravity>0.05</JumpGravity>
            <JumpStartVelocity>1</JumpStartVelocity>
            <MaxVelocity>-4</MaxVelocity>
            <JetpackAcceleration>0.01</JetpackAcceleration>
            <FramesFallGravity>7</FramesFallGravity>
            <JetpackTimer>14</JetpackTimer>
            <MaxNoDamageFallingHeight>45</MaxNoDamageFallingHeight>
            <MaxDamageFallingHeight>135</MaxDamageFallingHeight>
        </AirConstants>
        <ShadowConstants>
            <Texture>TXMPshadow1</Texture>
            <MaxHeight>12</MaxHeight>
            <FadeHeight>8</FadeHeight>
            <SizeMax>6</SizeMax>
            <SizeFade>4.5</SizeFade>
            <SizeMin>3</SizeMin>
            <AlphaMax>48</AlphaMax>
            <AlphaFade>48</AlphaFade>
        </ShadowConstants>
        <JumpConstants>
            <JumpDistance>25</JumpDistance>
            <JumpHeight>16</JumpHeight>
            <JumpDistanceSquares>6</JumpDistanceSquares>
        </JumpConstants>
        <CoverConstants>
            <RayIncrement>40</RayIncrement>
            <RayMax>300</RayMax>
            <RayAngle>0.0174532924</RayAngle>
            <RayAngleMax>1.57079637</RayAngleMax>
        </CoverConstants>
        <AutoFreezeConstants>
            <DistanceXZ>5</DistanceXZ>
            <DistanceY>1</DistanceY>
        </AutoFreezeConstants>
        <InventoryConstants>
            <HypoRegenerationRate>6</HypoRegenerationRate>
        </InventoryConstants>
        <LODConstants>
            <Float>193600</Float>
            <Float>48400</Float>
            <Float>12100</Float>
            <Float>0</Float>
            <Float>0</Float>
        </LODConstants>
        <HurtSoundConstants>
            <BasePercentage>35</BasePercentage>
            <MaxPercentage>90</MaxPercentage>
            <PercentageThreshold>15</PercentageThreshold>
            <Timer>120</Timer>
            <MinTimer>35</MinTimer>
            <MaxLight>1</MaxLight>
            <MaxMedium>2</MaxMedium>
            <DeathChance>100</DeathChance>
            <VolumeTreshold>10</VolumeTreshold>
            <MediumTreshold>12</MediumTreshold>
            <HeavyTreshold>22</HeavyTreshold>
            <MinVolume>0.5</MinVolume>
            <LightSound>thug_hurt_light</LightSound>
            <MediumSound>thug_hurt_medium</MediumSound>
            <HeavySound>thug_hurt_heavy</HeavySound>
            <DeathSound>thug_death</DeathSound>
        </HurtSoundConstants>
        <AIConstants>
            <Flags>EnableMeleeFireDodge RunAwayDodge</Flags>
            <RotationSpeed>1</RotationSpeed>
            <DazedMinFrames>132</DazedMinFrames>
            <DazedMaxFrames>168</DazedMaxFrames>
            <DodgeReactFrames>30</DodgeReactFrames>
            <DodgeTimeScale>1</DodgeTimeScale>
            <DodgeWeightScale>0.8</DodgeWeightScale>
            <Targeting>
                <StartleMissAngle>0.5</StartleMissAngle>
                <StartleMissDistance>25</StartleMissDistance>
                <PredictAmount>1</PredictAmount>
                <PredictPositionDelayFrames>0</PredictPositionDelayFrames>
                <PredictDelayFrames>5</PredictDelayFrames>
                <PredictVelocityFrames>15</PredictVelocityFrames>
                <PredictTrendFrames>60</PredictTrendFrames>
            </Targeting>
            <WeaponSkills>
                <AIWeaponSkill>
                    <RecoilCompensation>0</RecoilCompensation>
                    <BestAimingAngle>0</BestAimingAngle>
                    <ShotGroupError>0</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0</RecoilCompensation>
                    <BestAimingAngle>0.5</BestAimingAngle>
                    <ShotGroupError>0.1</ShotGroupError>
                    <ShotGroupDecay>0.8</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>0</ShootingInaccuracyMultiplier>
                    <MinShotDelay>30</MinShotDelay>
                    <MaxShotDelay>45</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.01396218</BestAimingAngle>
                    <ShotGroupError>0.13</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.0104717845</BestAimingAngle>
                    <ShotGroupError>0.05</ShotGroupError>
                    <ShotGroupDecay>0.5</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.0523359552</BestAimingAngle>
                    <ShotGroupError>1</ShotGroupError>
                    <ShotGroupDecay>0.5</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>10</ShootingInaccuracyMultiplier>
                    <MinShotDelay>10</MinShotDelay>
                    <MaxShotDelay>20</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.00349065149</BestAimingAngle>
                    <ShotGroupError>0.5</ShotGroupError>
                    <ShotGroupDecay>0.2</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0</BestAimingAngle>
                    <ShotGroupError>1</ShotGroupError>
                    <ShotGroupDecay>0.01</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.00349065149</BestAimingAngle>
                    <ShotGroupError>0.5</ShotGroupError>
                    <ShotGroupDecay>0.1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>10</ShootingInaccuracyMultiplier>
                    <MinShotDelay>15</MinShotDelay>
                    <MaxShotDelay>45</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.258819044</BestAimingAngle>
                    <ShotGroupError>0.13</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>20</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0.3</RecoilCompensation>
                    <BestAimingAngle>0.258819044</BestAimingAngle>
                    <ShotGroupError>0.13</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>20</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0</RecoilCompensation>
                    <BestAimingAngle>0</BestAimingAngle>
                    <ShotGroupError>0</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0</RecoilCompensation>
                    <BestAimingAngle>0</BestAimingAngle>
                    <ShotGroupError>0</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
                <AIWeaponSkill>
                    <RecoilCompensation>0</RecoilCompensation>
                    <BestAimingAngle>0</BestAimingAngle>
                    <ShotGroupError>0</ShotGroupError>
                    <ShotGroupDecay>1</ShotGroupDecay>
                    <ShootingInaccuracyMultiplier>1</ShootingInaccuracyMultiplier>
                    <MinShotDelay>0</MinShotDelay>
                    <MaxShotDelay>0</MaxShotDelay>
                </AIWeaponSkill>
            </WeaponSkills>
            <DeadMakeSureDelay>90</DeadMakeSureDelay>
            <InvestigateBodyDelay>240</InvestigateBodyDelay>
            <LostContactDelay>180</LostContactDelay>
            <DeadTauntChance>40</DeadTauntChance>
            <GoForGunChance>30</GoForGunChance>
            <RunPickupChance>40</RunPickupChance>
            <CombatId>0</CombatId>
            <MeleeId>39</MeleeId>
            <SoundConstants>
                <TauntProbability>100</TauntProbability>
                <AlertProbability>100</AlertProbability>
                <StartleProbability>100</StartleProbability>
                <CheckBodyProbability>100</CheckBodyProbability>
                <PursueProbability>100</PursueProbability>
                <CoverProbability>100</CoverProbability>
                <SuperPunchProbability>0</SuperPunchProbability>
                <SuperKickProbability>0</SuperKickProbability>
                <Super3Probability>0</Super3Probability>
                <Super4Probability>0</Super4Probability>
                <TauntSound>c17_99_01thug</TauntSound>
                <AlertSound>c18_69_01thug</AlertSound>
                <StartleSound>c18_70_01thug</StartleSound>
                <CheckBodySound>c18_73_01thug</CheckBodySound>
                <PursueSound>c18_74_01thug</PursueSound>
                <CoverSound>c18_75_17thug</CoverSound>
                <SuperPunchSound></SuperPunchSound>
                <SuperKickSound></SuperKickSound>
                <Super3Sound></Super3Sound>
                <Super4Sound></Super4Sound>
            </SoundConstants>
            <VisionConstants>
                <CentralDistance>475</CentralDistance>
                <PeripheralDistance>150</PeripheralDistance>
                <VerticalRange>0.766044438</VerticalRange>
                <CentralRange>0.819152057</CentralRange>
                <CentralMax>0.57357645</CentralMax>
                <PeripheralRange>0.1736482</PeripheralRange>
                <PeripheralMax>-0.42261824</PeripheralMax>
            </VisionConstants>
            <HostileThreatDefiniteTimer>180</HostileThreatDefiniteTimer>
            <HostileThreatStrongTimer>900</HostileThreatStrongTimer>
            <HostileThreatWeakTimer>3600</HostileThreatWeakTimer>
            <FriendlyThreatDefiniteTimer>3600</FriendlyThreatDefiniteTimer>
            <FriendlyThreatStrongTimer>18000</FriendlyThreatStrongTimer>
            <FriendlyThreatWeakTimer>36000</FriendlyThreatWeakTimer>
            <EarshotRadius>1</EarshotRadius>
        </AIConstants>
        <Variant>ONCVthug_wh</Variant>
        <Particles>#23049</Particles>
        <Impacts>#23050</Impacts>
        <ImpactModifierName>Medium</ImpactModifierName>
        <Impacts>
            <ONCCImpact>
                <Name>Footstep_Walk</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_RunMain</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_Crouch</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_Slide</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_Land</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_LandHard</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_Knockdown</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_Knockdown</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Fall_Knockdown</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_Turn</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_RunStart</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_SingleStep</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_RunStop</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_WalkStop</Name>
            </ONCCImpact>
            <ONCCImpact>
                <Name>Footstep_RunSprint</Name>
            </ONCCImpact>
        </Impacts>
        <DeathParticle></DeathParticle>
        <BodySet>TRBSthug_1_body_high</BodySet>
        <BodyTextures>TRMAthug_wh1_high_tx</BodyTextures>
        <BodyMaterials>#7309</BodyMaterials>
        <BodyImpacts>#7306</BodyImpacts>
        <FightModeTimer>300</FightModeTimer>
        <IdleAnimation1Timer>30000</IdleAnimation1Timer>
        <IdleAnimation2Timer>30000</IdleAnimation2Timer>
        <Health>25</Health>
        <FeetBones>LeftFoot RightFoot</FeetBones>
        <MinBodySizeFactor>0.95</MinBodySizeFactor>
        <MaxBodySizeFactor>1.05</MaxBodySizeFactor>
        <DamageFactors>
            <Float>0</Float>
            <Float>0</Float>
            <Float>0</Float>
            <Float>0</Float>
            <Float>0</Float>
            <Float>0</Float>
            <Float>0</Float>
        </DamageFactors>
        <BossShieldProtectAmount>0.5</BossShieldProtectAmount>
        <Animations>TRACthug_animations</Animations>
        <AimingScreens>TRSCkonoko_screens</AimingScreens>
        <AIRateOfFire>30</AIRateOfFire>
        <DeathDeleteDelay>0</DeathDeleteDelay>
        <WeaponHand>0</WeaponHand>
        <HasDaodanPowers>0</HasDaodanPowers>
        <HasSupershield>0</HasSupershield>
        <CantTouchThis>0</CantTouchThis>
    </ONCC>
    <CBPM id="7309">
        <Materials>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlFlesh</Link>
            <Link>MtrlFlesh</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlFlesh</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlCloth</Link>
            <Link>MtrlFlesh</Link>
            <Link>MtrlCloth</Link>
        </Materials>
    </CBPM>
    <CBPI id="7306">
        <HitImpacts>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptKick_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptHead_Hit</Link>
            <Link>ImptHead_Hit</Link>
            <Link>ImptHead_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptHead_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptPunch_Hit</Link>
            <Link>ImptPunch_Hit</Link>
        </HitImpacts>
        <BlockedImpacts>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptKick_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptHead_Blocked</Link>
            <Link>ImptHead_Blocked</Link>
            <Link>ImptHead_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptHead_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
            <Link>ImptPunch_Blocked</Link>
        </BlockedImpacts>
        <KilledImpacts>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptKick_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptHead_Killed</Link>
            <Link>ImptHead_Killed</Link>
            <Link>ImptHead_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptHead_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptPunch_Killed</Link>
            <Link>ImptPunch_Killed</Link>
        </KilledImpacts>
    </CBPI>
</Oni>

Offline

#4 11/05/17 13:11

s10k
Member
Registered: 01/14/07
Website

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

That doesn't look like the original file though.

I've tested your file and got the exact same error as you.

<Variant>ONCVthug_wh</Variant>
        <Particles>#23049</Particles>
        <Impacts>#23050</Impacts>
        <ImpactModifierName>Medium</ImpactModifierName>

The value of Particles and Impacts elements are an error because there isn't any ONCP and ONIA with that values (23049 and 23050),

Here is my original file (I believe is not modded, and this one works just fine when converting to .oni file, so I suggest you to start modding with this one:
http://script10k.oni2.net/onibungieforu … g_wh_1.xml

Offline

#5 11/05/17 14:11

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

Just a moderator note, "code" tags will allow you to place a large amount of text into a box with a scrollbar so it doesn't create a huge wall of text.  I added the tags into the long post above.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#6 11/06/17 05:11

TommiBee
Member
Registered: 10/30/17

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

Right, thank you for the note smile

And also thank you s10k for the help, but the problem is still the same. Your file doesn't work too. hmm

I tried to remove the 230.. value, tried with your file with 2 different modes, but still not worked...
Maybe there are more values that has over/under the interval (if there are intervals).
But the strange for me is that, when I extract from the .dat files to .xml, I Did Not change anything, I just want to create it to an .oni file to see how it works and look like. But these programs can't do it whit these "unmodified" files...
I tried with the konoko files, barabus, striker files, but I have the same errors.

Offline

#7 11/06/17 06:11

s10k
Member
Registered: 01/14/07
Website

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

There's something wrong there (my file works here just fine using XML (From XML -> To ONI) Vago conversion).

We will need more information to help.

Are you extracting the data from the Anniversary Edition files (folder Oni/AE/GameDataFolder)?

Please post the following screenshots:

  • The operations that you did use for getting the XML files from the raw oni data (usually you would do the dat->oni files conversion and then you woud do the oni->xml conversion)

  • The operation that you used for converting the XML files to oni

Also please use the OniSplit version that come with Vago (so we aren't using different versions).

Offline

#8 11/16/17 02:11

TommiBee
Member
Registered: 10/30/17

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

Thank you all for your advices! smile
I didn't write you because I worked a lot, so I also didn't worked with oni. But this morning I tried a "trick", and the creating, importing, everything works perfectly big_smile
The problem was that, I instantly exported from the .dat file to .xml. While I can't find anywhere that this method maybe false, but I saw that every files on the .xml's IDs are 0, 5,6... etc. when I convert from .dat to .oni and to .xml.
What .xml you send me, that should be good, but somehow doesn't work. And when I export instantly from .dat to .xml, these IDs are counted and got their own ID number. That's why does not work big_smile
So the problem solved, just I was simply amateur. I tried 2 files from .xml to .oni and then to .dat, and works perfectly.
So thank you for the advices, if you won't help, maybe I won't know this "trick".

And I have one more question, if I could ask.
I saw a program in y.tube that shows a character's animations. If I remember well, the char was Konoko and I think the vid made by Samer. But I can't find that prog's name. If I could ask and you will tell me, I will be very happy!

Offline

#9 11/16/17 05:11

s10k
Member
Registered: 01/14/07
Website

Re: From .xml to .oni Problem with OniSplit (and Vago editor)

That's nice to know. Thanks for explaining how did you fix the problem.

I guess the program that you are looking for is SoftImage (XSI) Mod Tools:
http://oni.bungie.org/forum/viewtopic.php?id=1229

Here's is the Samer's tutorial how to make characters (it also has some XSI guidelines):
http://oni.bungie.org/forum/viewtopic.php?id=2423

Offline

Board footer

Powered by FluxBB