Alright, so I've started trying again and I got rid of the crashes, now I'd like to test my map. But in the console it says that the manifest.json it detects in the locations folder is considered to be a content pack ( even when removing the dependency on ALL in the file ) and that it should be placed elsewhere, and that SMAPI does not load it because of that reason. What exactly is the correct folder structure for this then ? Is there something stupid I'm doing with the manifest ? Am I supposed to use subfolders or can I just drop the XNB's in the same location as the .Json files ? Code: { "Name": "AmyHouse", "Author": "Nomad", "Version": "1.0.0", "Description": "Literally drops a useless house in the desert.", "UniqueID": "Nomad.AmyHouse", "MinimumApiVersion": "2.5", "UpdateKeys": [], "ContentPackFor": { "UniqueID": "Entoarox.AdvancedLocationLoader", // the ID of required mod "MinimumVersion": "1.4.2" // optional } } }
You are using the new Content Pack mechanic, ALL mods written that follow the Content Pack mechanic are installed in /Mods/ Only mods that use the old location-mod mechanic are installed in /Mods/AdvancedLocationLoader/locations/
Okay , I'm getting somewhere. Now I'm doing something VERY stupid here and I don't completely understand the explanation. Code: [19:11:45 ERROR Entoarox Framework] Mod crashed when loading asset 'AdvancedLocationLoader\FakePath_paths_objects\Desert'. SMAPI will use the default asset instead. Error details: StardewModdingAPI.Framework.Exceptions.SContentLoadException: The content manager failed loading content asset '..\Mods\NomadMaps\Desert'. ---> Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "..\Mods\NomadMaps\Desert". File contains xTile.Map but trying to load as Microsoft.Xna.Framework.Graphics.Texture2D. [19:11:46 ERROR SMAPI] An error occured in the base update loop: Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "AdvancedLocationLoader\FakePath_paths_objects\Desert". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\AdvancedLocationLoader\FakePath_paths_objects\Desert.xnb". File not found. This is the error log I get in my console, I'm temporarily attempting to drop a house in the desert. And this is what I filled in in locations.json which I don't entirely understand. Code: "Overrides":[ { /* The name that SDV uses for the location you wish to override */ "MapName":"Desert", /* The path to the xnb file, relative to this locations.json file, of the tbin that contains the map for this location, without the xnb extension */ "FileName":"Desert" }, I'm crashing when I walk down the map and the part where I placed the building tries to render. I'm sorry for bugging you so much about this.
It says that, but I literally packed it 3 times to be sure. I use Desert.yaml and Desert.tbin as a base to turn into XNB Whereas I haven't even touched DesertTiles
Actually, I was mistaken, its the *opposite*, you are trying to override what the game thinks is Desert.png with a Desert.tbin file, sorry, my mistake.
Is that because I filled in something wrong in my locations.json then ? Because I don't find any Desert.png files in my folder of extracted files. All I know of is, Desert.tbin as a map and DesertTiles.png and the corresponding .yaml files. So why is it looking for a png file ? Is it because I don't understand what to put in my json file?
Your Desert.tbin is looking for a Desert.png instead of DesertTiles.png, its a mistake in the tbin you made, not the json.
I literally don't know what I'm doing wrong, are you sure it doesn't have anything to do with my .json file ?
This was just supposed to be a mod for testing purposes though, so don't expect much from it even it were to work. I just want to know what I'm doing wrong before I move towards something more serious.
Well, from the looks of it, you've named one of the tilesheets wrong: { "MapName": "Desert", "FileName": "Desert", <-Should be NomadExterior "SheetId": "NomadExterior", "Seasonal": false }, You also don't need all the new tilesheets to begin with z, but that's a nitpick from seeing so many people do it. I'll run the mod and see if there's any other issues EDIT: Currently you also have an issue with getting into AmyHouse caused by furniture.png not existing. SV can (as far as I know) only use files for Maps that are in the Maps folder, which furniture is not. You'll need to make ALL add that file in the locations file, and add the XNB into the mod folder EDIT 2: Also as a note, be very careful when adding tilesheets to always use the same case for words. The game treats "Furniture" and "furniture" as 2 separate tilesheets, which was causing issues. This does not invalidate my previous edit, by the way. I'd always recommend to copy/paste the tilesheet name to make sure you don't mess up in 1 spot and get lost in errors for days. It's also a good idea to use the same name for the tilesheet within TIDE/TILED as you give to the PNG and TBIN, to make sure there's even less change of a mistake I assume it's intentional that there is no way to warp out of AmyHouse, and that the "Bilboard" and "Kitchen" tiles give off an error, since this is a test file, so I can't test anything else in there To my knowledge, everything that currently should work is working. Here's a zip of all the files so you can easily reference them. Ignore all the unnecessary edits I made, like removing all the excess text from Ento's sample locations file, and removing the z named files. The mod should work 100% without those changes. . Also, feel free to directly PM me if you don't feel like bothering Ento. He's usually busy most of the time, and for errors related to map file coding, I can usually get you an answer faster. Not that I want to steal your job from you Ento . Just thought I'd offer a time-saver for these issues
Thank you for handling this, as I've never actually created an ALL mod myself, it likely would have taken me quite a while to figure out what was going wrong
I really don't understand the error I'm getting.. https://log.smapi.io/nT52SPUc file structure is : ALL\ locations\ ExtraLocation\ Extra.xnb manifest.json and my manifest is: Code: { "about": { "author": "dphile", "description": "This is a test", "version": "1.0.0" }, "LoaderVersion":"1.2", "locations":[ { "name": "Extra", "file": "Extra", "type":"Default", "outdoor": "True", "farmable": "False" } ] }
You are using a messed up mixture of the old ALL location-mod format and the new SMAPI content-pack format, use the Content Pack format only.
HI! First of all @13akoors, thank you for your unintentional help! Your answer to NomadMods really helped me fix the tilesheets problem I had! However, I sitt have a warp error I cant seem to figure out, hopefully someone here can help me! My SMAPI error report: https://log.smapi.io/2aN1Bfbr My manifest: Code: { "LoaderVersion": "1.2", "About": { "Author": "Ahrnie", "Description": "Adds an extended farm map to the left.", "Version": "1.0" }, /*-----------------------------------------------------------------------------------------------------*/ "Locations": [ { "MapName": "Fam expansion", "FileName": "FarmExpansion", "Outdoor": "true", "Farmable": "true", "Type": "Default" }, ], /*-----------------------------------------------------------------------------------------------------*/ "Warps": [ { "MapName": "FarmExpansion", "TileX": 80, "TileY": 4, "Optional": false, "TargetName": "Backwoods", "TargetX": 11, "TargetY": 25 }, { "MapName": "FarmExpansion", "TileX": 80, "TileY": 4, "Optional": false, "TargetName": "Backwoods", "TargetX": 11, "TargetY": 25 }, { "MapName": "FarmExpansion", "TileX": 80, "TileY": 5, "Optional": false, "TargetName": "Backwoods", "TargetX": 11, "TargetY": 25 }, { "MapName": "FarmExpansion", "TileX": 80, "TileY": 75, "Optional": false, "TargetName": "Farm_Combat", "TargetX": 0, "TargetY": 41 }, { "MapName": "FarmExpansion", "TileX": 80, "TileY": 76, "Optional": false, "TargetName": "Farm_Combat", "TargetX": 0, "TargetY": 42 } ], } I have also tried to set the tile numbers differently, but I get the same error, and using "teleportation" instead of "Warp", that didn't work at all, got a lot more errors... Huge thanks in advance! ^.^
Your "MapName" is "Fam expansion" and your warp locations are "FarmExpansion" they need to match in case and spelling.
Thank you for the help! I made the adjustments you recommended but unfortunately it still didn't work. Got the same error report.
Would you mind posting a copy of the files in a .zip format? I so far can't see any issues beyond the one already mentioned, so it's likely something small in one of the files.