Issue TMXL Map Toolkit

Quillmagic

Farmer
TMXL Map Toolkit "failed in the game loop" according to the app I use to process all the mods, but when I load up the game, SVE works fine... but not any custom farm maps I'm using. Could someone help, please?
[TMXL Map Toolkit] This mod failed in the GameLoop.GameLaunched event. Technical details:


StardewModdingAPI.Framework.Exceptions.SContentLoadException: The content manager failed loading content asset 'ZoroBoardingHouse.tmx' from SMAPI/empresskimi.tmx.zoronpcboarding. ---> System.Exception: Unable to load map with file path '/Users/zaramercier/Library/Application Support/Steam/steamapps/common/Stardew Valley/Contents/MacOS/Mods/[CP] Zoro/[TMX] Zoro Boarding House/ZoroBoardingHouse.tmx' ---> System.InvalidOperationException: There is an error in XML document (86, 5). ---> System.DllNotFoundException: libMonoPosixHelper.dylib


at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative:CreateZStream (System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)


at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, CompressionMode mode, Boolean gzip) <0x18afe73a0 + 0x00189> in <filename unknown>:0


at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, CompressionMode mode, Boolean leaveOpen, Boolean gzip) <0x18afe7140 + 0x00091> in <filename unknown>:0


at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, CompressionMode mode) <0x18afe70e0 + 0x00023> in <filename unknown>:0


at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream:.ctor (System.IO.Stream,System.IO.Compression.CompressionMode)


at TMXTile.TMXData.decode (System.String dataString) <0x18a5c3300 + 0x006a8> in <filename unknown>:0


at TMXTile.TMXData.set_BodyTiles (System.String value) <0x18a5c31f0 + 0x00019> in <filename unknown>:0


at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTMXMap.Read10_TMXData (Boolean isNullable, Boolean checkType) <0x18a5c0ef0 + 0x00736> in <filename unknown>:0


at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTMXMap.Read11_TMXLayer (Boolean isNullable, Boolean checkType) <0x18a5bff60 + 0x00cbe> in <filename unknown>:0


at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTMXMap.Read15_TMXMap (Boolean isNullable, Boolean checkType) <0x18a5b2ee0 + 0x01353> in <filename unknown>:0


at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderTMXMap.Read16_map () <0x18a5b2c80 + 0x000a6> in <filename unknown>:0


at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)


at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x1077d2a50 + 0x000bb> in <filename unknown>:0


--- End of inner exception stack trace ---


at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader, System.String encodingStyle, XmlDeserializationEvents events) <0x1804730a0 + 0x008c7> in <filename unknown>:0


at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.XmlReader xmlReader, System.String encodingStyle) <0x180472f10 + 0x00085> in <filename unknown>:0


at System.Xml.Serialization.XmlSerializer.Deserialize (System.IO.Stream stream) <0x1847277c0 + 0x000bd> in <filename unknown>:0


at TMXTile.TMXParser.Parse (System.IO.Stream stream, System.String path) <0x18a5b0a50 + 0x001b7> in <filename unknown>:0


at TMXTile.TMXFormat.Load (System.IO.Stream stream) <0x18a1fbeb0 + 0x00064> in <filename unknown>:0


at xTile.Format.FormatManager.LoadMap (System.String filePath) <0x189fea480 + 0x001f6> in <filename unknown>:0


--- End of inner exception stack trace ---


at xTile.Format.FormatManager.LoadMap (System.String filePath) <0x189fea480 + 0x002d0> in <filename unknown>:0


at StardewModdingAPI.Framework.ContentManagers.ModContentManager.Load[T] (System.String assetName, LanguageCode language, Boolean useCache) <0x157bda000 + 0x00a46> in <filename unknown>:0


--- End of inner exception stack trace ---


at StardewModdingAPI.Framework.ContentPack.LoadAsset[T] (System.String key) <0x189fea380 + 0x00086> in <filename unknown>:0


at PyTK.Tiled.TMXContent.Load (System.String path, IModHelper helper, Boolean syncTexturesToClients, IContentPack contentPack) <0x189fea120 + 0x00079> in <filename unknown>:0


at PyTK.Tiled.TMXContent.Load (System.String path, IModHelper helper, IContentPack contentPack) <0x189fea010 + 0x000d0> in <filename unknown>:0


at TMXLoader.TMXLoaderMod.loadPack (TMXLoader.TMXContentPack tmxPack) <0x189fe4a50 + 0x01b37> in <filename unknown>:0


at TMXLoader.TMXLoaderMod.loadPack (IContentPack pack, System.String contentFile) <0x189fd7770 + 0x000e0> in <filename unknown>:0


at TMXLoader.TMXLoaderMod.loadContentPacks () <0x189fd5060 + 0x000c6> in <filename unknown>:0


at TMXLoader.TMXLoaderMod.OnGameLaunched (System.Object sender, StardewModdingAPI.Events.GameLaunchedEventArgs e) <0x189fd38f0 + 0x0005f> in <filename unknown>:0


at StardewModdingAPI.Framework.Events.ManagedEvent`1+<>c__DisplayClass16_1[TEventArgs].<Raise>b__2 () <0x189ce9250 + 0x0003a> in <filename unknown>:0


at StardewModdingAPI.Framework.PerformanceMonitoring.PerformanceMonitor.Track (System.String collectionName, System.String sourceName, System.Action action) <0x189ce9000 + 0x00054> in <filename unknown>:0


at StardewModdingAPI.Framework.Events.ManagedEvent`1+<>c__DisplayClass16_0[TEventArgs].<Raise>b__0 () <0x189ce8c40 + 0x002b5> in <filename unknown>:0
 

mouse

Farmer
Instead of copy pasting errors, it's helpful if you can upload your entire SMAPI log to this site and then link it. There are instructions at that page for how to find it :) Most of the time, the error alone will not be enough to tell what is happening, and it will be missing even the most basic important context, like what operating system you're on.

In this case, I think the issue is the tile layer format the modder used when saving the map, and that you're on Mac. I'd report to the author and ask them to save with the csv setting, instead, like shown here. (Map > Map Properties in Tiled.)
1605604345803.png

(Someone once had a weird-but-disastrous issue I couldn't ever reproduce swapping formats like this, so they should also make a copy first. Tiled itself is cross-platform, so you could also try it yourself in the meantime if you like!)
 
Top