Paddyy86 Posted December 15, 2012 Share Posted December 15, 2012 (edited) Hi, I'm very curious how to add more features to my downloaded mods when using the Nexus Mod Manager.At the moment all my mods, which are all texure replacers, are packed in a 7zip file containing a data folder and a readme. Thats it.I realised that I have to add some kind of a file that gives more information to the MM so it can see if the mod was updated or was endorsed. How can I do that?I also want that the correct mod name is shown in the mod list and a description on the right. Yesterday I tried this by adding a fomod-folder with an info.xml next to the data folder and readme file, but this crashed the Mod manager. :(This is the content of the xml, please tell me if there is something wrong with it:<fomod> <Name>HQ firewood less greeny</Name> <Author>Paddyy86</Author> <Version>1.5</Version> <LastKnownVersion>1.5</LastKnownVersion> <Website>http://skyrim.nexusmods.com/download/105230</Website> <Id>105230</Id> <Email>PM Paddyy86 at SkyrimNexus</Email> <Description>This mod replaces the vanilla firewood ( ...textures\clutter\firewood\firewood01.dds & firewood01_n.dds) of skyrim with a new, more photorealistic one. Old resolution was 512x256, the new one is 2048x1024. There is also low res versions with 1024x512 pixel, but only of the smooth version. Ask me if you want another low res version. Installation: Use NMM or simply extract with 7zip, move the textures folder to your ...Steam\SteamApps\common\skyrim\DATA and overwrite if prompted! Remove the 2 files if you want back the standard firewood. Changelog: - Dec 15th, 2012: Testupload of the less greeny Version with fomod folder and info.xml. - Dec 14th, 2012: Big update to 1.5! Six new textures with an improved *.dds format resulting in ~25% less vram usage. (DXT1 colormap) - Jan 18th, 2012: New Readme, 3 new versions: 1 with higher contrast and stronger normalmap and 2 low res versions, 2 new comparision screenshots. - Jan 18th 2012: Mod added to skyrimnexus.com Permissions: (CC) BY NC This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License Short: Feel free to do whatever you want with my files, as long as you credit me as the author and you keep it non commercial.</Description> </fomod> Edited December 15, 2012 by Paddyy86 Link to comment Share on other sites More sharing options...
MShoap13 Posted December 15, 2012 Share Posted December 15, 2012 I'm no expert, but so far as I can tell that info.xml looks fine. What was the error message NMM gave you and exactly when did it occur? Link to comment Share on other sites More sharing options...
Paddyy86 Posted December 15, 2012 Author Share Posted December 15, 2012 (edited) The error message appears after the nmm loading image is full.This is the critical part of the tracelog message:Adding mod: nxm://skyrim/mods/6493/files/105240 Adding Mod to running instance of client: nxm://skyrim/mods/6493/files/105240 [nxm://skyrim/mods/6493/files/105240] Adding Mod to AddModQueue [nxm://skyrim/mods/6493/files/105240] Starting Add Mod Task. [nxm://skyrim/mods/6493/files/105240] Downloading Files. [nxm://skyrim/mods/6493/files/105240] Launching downloading of http://fs2.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105240. [http://fs2.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105240] Retreiving metadata. [http://fs2.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105240] Downloading. Running Application. [C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Mods\downloads\fomod test of less greeny version-6493-1-5.7z] Adding mod from archive. Tracing an Unhandled Exception: Exception: Message: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 8, Position 87. Full Trace: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 8, Position 87. bei System.Xml.XmlTextReaderImpl.Throw(Exception e) bei System.Xml.XmlTextReaderImpl.ParseEntityName() bei System.Xml.XmlTextReaderImpl.ParseEntityReference() bei System.Xml.XmlTextReaderImpl.Read() bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) bei System.Xml.XmlDocument.Load(XmlReader reader) bei System.Xml.XmlDocument.LoadXml(String xml) bei Nexus.Client.Mods.Formats.FOMod.FOMod.LoadInfo() bei Nexus.Client.Mods.Formats.FOMod.FOMod..ctor(String p_strFilePath, FOModFormat p_mftModFormat, IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry) bei Nexus.Client.Mods.Formats.FOMod.FOModFormat.CreateMod(String p_strPath) bei Nexus.Client.ModManagement.ModRegistry.CreateMod(String p_strModPath) bei Nexus.Client.ModManagement.ModRegistry.RegisterMod(String p_strModPath, IModInfo p_mifTagInfo) bei Nexus.Client.ModManagement.AddModTask.RegisterModFiles(IList`1 p_lstAddedMods) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei Nexus.Client.ThreadedBackgroundTask.OnTaskEnded(TaskEndedEventArgs e) bei Nexus.Client.ThreadedBackgroundTask.RunThreadedWork(Object p_objArgs) bei Nexus.Client.ThreadedBackgroundTask.RunThread(Object p_objArgs) bei Nexus.Client.Util.Threading.TrackedThread.RunParameterizedThread(Object p_objParam) bei System.Threading.ExecutionContext.runTryCode(Object userData) bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart(Object obj) Running Threads (1) 11 () Aborted Edited December 15, 2012 by Paddyy86 Link to comment Share on other sites More sharing options...
MShoap13 Posted December 16, 2012 Share Posted December 16, 2012 (edited) Try changing the website line to point to the main page of your mod instead of a download.<Website>http://skyrim.nexusmods.com/download/105230</Website> I don't read German but two things that caught my eye there were:Adding Mod to running instance of client: nxm://skyrim/mods/6493/files/105240 Why is this line grabbing file 105240? and:System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 8, Position 87. Edited December 16, 2012 by MShoap13 Link to comment Share on other sites More sharing options...
Paddyy86 Posted December 16, 2012 Author Share Posted December 16, 2012 (edited) Try changing the website line to point to the main page of your mod instead of a download.<Website>http://skyrim.nexusmods.com/download/105230</Website> I don't read German but two things that caught my eye there were:Adding Mod to running instance of client: nxm://skyrim/mods/6493/files/105240 Why is this line grabbing file 105240? and:System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 8, Position 87. ty,I start a try with no website tag first, maybe its added automaticly, 2nd would be with the link to the modpage. I used the download link because other xml files seems to do the same. Maybe he tries to grab another file because I also hat an ID tag which was propably from an older testupload... I removed that as well. System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 8, Position 87.I have no clue what this means.Zeile 8 Position 87 (Zeile=row)But there is no position 87 at row 8. (<email> tag) Removed that too. :) ok, lets see if this works:http://skyrim.nexusmods.com/mods/6493#content (fomod test - at the bottom) :wallbash: Setting up listener on Nexus Mod Manager-SkyrimIpcServer/SkyrimListener at 2012-12-16 18:38:11 Adding mod: nxm://skyrim/mods/6493/files/105557 Adding Mod to running instance of client: nxm://skyrim/mods/6493/files/105557 [nxm://skyrim/mods/6493/files/105557] Adding Mod to AddModQueue [nxm://skyrim/mods/6493/files/105557] Starting Add Mod Task. [nxm://skyrim/mods/6493/files/105557] Downloading Files. [nxm://skyrim/mods/6493/files/105557] Launching downloading of http://fs10.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105557. [http://fs10.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105557] Retreiving metadata. [http://fs10.nexusmods.com/Libs/Common/Managers/Downloads?Download&nid=110&fid=105557] Downloading. Running Application. [C:\Program Files (x86)\Steam\SteamApps\common\skyrim\Mods\downloads\fomod test-6493-1-5.7z] Adding mod from archive. Tracing an Unhandled Exception: Exception: Message: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 10, Position 87. Full Trace: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 10, Position 87. bei System.Xml.XmlTextReaderImpl.Throw(Exception e) bei System.Xml.XmlTextReaderImpl.ParseEntityName() bei System.Xml.XmlTextReaderImpl.ParseEntityReference() bei System.Xml.XmlTextReaderImpl.Read() bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) bei System.Xml.XmlDocument.Load(XmlReader reader) bei System.Xml.XmlDocument.LoadXml(String xml) bei Nexus.Client.Mods.Formats.FOMod.FOMod.LoadInfo() bei Nexus.Client.Mods.Formats.FOMod.FOMod..ctor(String p_strFilePath, FOModFormat p_mftModFormat, IModCacheManager p_mcmModCacheManager, IScriptTypeRegistry p_stgScriptTypeRegistry) bei Nexus.Client.Mods.Formats.FOMod.FOModFormat.CreateMod(String p_strPath) bei Nexus.Client.ModManagement.ModRegistry.CreateMod(String p_strModPath) bei Nexus.Client.ModManagement.ModRegistry.RegisterMod(String p_strModPath, IModInfo p_mifTagInfo) bei Nexus.Client.ModManagement.AddModTask.RegisterModFiles(IList`1 p_lstAddedMods) bei System.EventHandler`1.Invoke(Object sender, TEventArgs e) bei Nexus.Client.ThreadedBackgroundTask.OnTaskEnded(TaskEndedEventArgs e) bei Nexus.Client.ThreadedBackgroundTask.RunThreadedWork(Object p_objArgs) bei Nexus.Client.ThreadedBackgroundTask.RunThread(Object p_objArgs) bei Nexus.Client.Util.Threading.TrackedThread.RunParameterizedThread(Object p_objParam) bei System.Threading.ExecutionContext.runTryCode(Object userData) bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart(Object obj) Running Threads (1) 10 () Aborted I edit the xml with windows editor, is this alright? (propably...) Ok, next try. Edited December 16, 2012 by Paddyy86 Link to comment Share on other sites More sharing options...
Paddyy86 Posted December 16, 2012 Author Share Posted December 16, 2012 (edited) Finally! I found the bug!!this mention of a filepath in the description tag was not compatible with NMM:"<Description>This mod replaces the vanilla firewood ( ...textures\clutter\firewood\firewood01.dds & firewood01_n.dds)" :psyduck: Edited December 16, 2012 by Paddyy86 Link to comment Share on other sites More sharing options...
MShoap13 Posted December 16, 2012 Share Posted December 16, 2012 Ahh, it might be the Ampersand throwing off the XML. Try it with the word "and" there instead. Link to comment Share on other sites More sharing options...
Recommended Posts