Jump to content


TW ModBuilder:Cant compile mod.xml


4 replies to this topic

#1 Chadaface

    Newbie

  • Member
  • 7 posts

Posted 30 December 2011 - 23:52

Hey Guys,
The main error that im getting is :
Critical: Bad XML: unexpected xi:include in W3DScriptedModelDrawModuleData
*** ERROR: Compilation of 'mod.xml' failed, aborting build process. ***

Using CodeCat's version of Buildmod.bat with dummy art files,and the steam rar MOD SDK version
I edited to the infantry model for the GDI Rifleman but it just wont build properly.Attached a screenshot and related files just in case
Everything seems to be in the right spot,I just cant figure out what the big deal is.

heres the what BuildMod gave me:

Please enter the mod name: PakistanMod
 
Mod Name: PakistanMod version 1.0, for game version 1.9
*** Building Mod Data... ***
Command Line: E:\Program Files\Steam\steamapps\common\command and conquer 3 tibe
rium wars\MOD SDK\Mods\PakistanMod\data\mod.xml /od:E:\Program Files\Steam\steam
apps\common\command and conquer 3 tiberium wars\MOD SDK\BuiltMods /iod:E:\Progra
m Files\Steam\steamapps\common\command and conquer 3 tiberium wars\MOD SDK\Built
Mods /DefaultDataPaths:.\Mods\PakistanMod\data;.;.\Mods;.\Cnc3Xml /DefaultArtPat
hs:.\Mods\PakistanMod\art;.\Art /DefaultAudioPaths:.\Mods\PakistanMod\audio;.\Au
dio /ls:true /gui:false /UsePrecompiled:true /vf:true
Command Line: E:\Program Files\Steam\steamapps\common\command and conquer 3 tibe
rium wars\MOD SDK\Mods\PakistanMod\data\mod.xml /od:E:\Program Files\Steam\steam
apps\common\command and conquer 3 tiberium wars\MOD SDK\BuiltMods /iod:E:\Progra
m Files\Steam\steamapps\common\command and conquer 3 tiberium wars\MOD SDK\Built
Mods /DefaultDataPaths:.\Mods\PakistanMod\data;.;.\Mods;.\Cnc3Xml /DefaultArtPat
hs:.\Mods\PakistanMod\art;.\Art /DefaultAudioPaths:.\Mods\PakistanMod\audio;.\Au
dio /ls:true /gui:false /UsePrecompiled:true /vf:true
BinaryAssetBuilder started
Error: Could not load XIncludingReader from Mvp.Xml.Dll. xi:include is disabled
Cached session data not available.
Session cache age is 0 days, 0 hours, 0 minutes.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\mods\pakistanmod\data\mod.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\mods\pakistanmod\data\gdi\units\gdiriflesoldier.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gufrtman_skn.w3x'.
Error: Input file 'art:gurflman_skl.w3x' not found (referenced from file://e:\pr
ogram files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\a
rt\gu\gufrtman_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_skl.w3x'.
Error: Input file 'art:prflman.xml' not found (referenced from file://e:\program
files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\art\gu
\gufrtman_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\pr\prflman.xml'.
Error: Input file 'art:prflmanhc.xml' not found (referenced from file://e:\progr
am files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\art\
gu\gufrtman_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\pr\prflmanhc.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gufrtmanu_skn.w3x'.
Error: Input file 'art:gurflman_skl.w3x' not found (referenced from file://e:\pr
ogram files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\a
rt\gu\gufrtmanu_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_skl.w3x'.
Error: Input file 'art:prflman.xml' not found (referenced from file://e:\program
files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\art\gu
\gufrtmanu_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\pr\prflman.xml'.
Error: Input file 'art:prflmanhc.xml' not found (referenced from file://e:\progr
am files\steam\steamapps\common\command and conquer 3 tiberium wars\mod sdk\art\
gu\gufrtmanu_skn.w3x). Treating it as empty.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\pr\prflmanhc.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bida.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bidb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bidc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bifa.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bifb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bifc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bifd.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_diea.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_dieb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_diec.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_diga.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_atra.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_runa.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_runb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_runc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_aida.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_aidb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_aifa.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_aifb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_aifc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_atka.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sata.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sida.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sifa.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sifb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sdva.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sdvb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_smva.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kdia.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kdib.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kdic.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kaka.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kaia.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kafa.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kafb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kafc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_kaib.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_cdta.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_cdtb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_sdia.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_bata.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_batb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_abta.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_abta2.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_flya.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_flyb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_lnda.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_chra.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_chrb.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gurflman_chrc.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\gu\gugar_rifl.w3x'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\fx\fxtracergdi.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\fx\fxtracerheroic.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\cnc3xml\baseobjects\baseinfantry.xml'.
Loading 'file://e:\program files\steam\steamapps\common\command and conquer 3 ti
berium wars\mod sdk\art\sh\shadowi.xml'.
Critical: Bad XML: unexpected xi:include in W3DScriptedModelDrawModuleData
*** ERROR: Compilation of 'mod.xml' failed, aborting build process. ***
Press any key to continue . . .

Sorry if im repeating a question that has already been solved but i looked as much as i can for a solution.Thanks in advance.

Attached File(s)



#2 Chadaface

    Newbie

  • Member
  • 7 posts

Posted 04 January 2012 - 22:44

This is getting annoying.I tried getting a different unit this time (Mirage-3) which compiled and got into the game just the way i wanted it to,yet the original Infantry model wont even compile

Attached File(s)

  • Attached File  Mir1.jpg (421.22K)
    Number of downloads: 20
  • Attached File  mir21.jpg (359.13K)
    Number of downloads: 14


#3 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 05 January 2012 - 09:08

Do you have the required applications, specifically the .DLLs, installed? Without the Mvp.Xml.dll, the compiler cannot process the xi:include command.

You can get the dlls here or follow the instructions in the SDK documentation.

Edited by Golan, 05 January 2012 - 09:09.

Now go out and procreate. IN THE NAME OF DOOM!

#4 Chadaface

    Newbie

  • Member
  • 7 posts

Posted 05 January 2012 - 13:51

I did that beforehand and i reinstalled the extra .dlls again though,no luck yet.
However,the final lines in the code seem to hint that shadowi.xml is corrupt.If i can get an original,unedited and working copy of that xml maybe I can fix the issue... :tard:

#5 Golan

    <Charcoal tiles available>

  • Member Test
  • 3300 posts

Posted 09 January 2012 - 10:45

shadowi.xml is not the problem.
The compiler can't process the xi:include in the ScriptedModelDraw:
Critical: Bad XML: unexpected xi:include in W3DScriptedModelDrawModuleData

The most likely cause (the only one AFAIK) of this is the Mvp.Xml.dll missing, so I'd suggest you doublecheck whether it's there and whether it's in the correct folder. The file must be in Mod SDK\Tools.
You might want to check if other files using the xi:include work correctly. Try GDIAABattery.xml for example.

Edited by Golan, 09 January 2012 - 10:45.

Now go out and procreate. IN THE NAME OF DOOM!



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users