Modding Help Newbie, need help for tiled map edit/farmhouse redone for spouse patio

Discussion in 'Mods' started by newji37, Mar 22, 2020.

  1. newji37

    newji37 Void-Bound Voyager

    Hello, I'm a newbie, I try to edit patio area for other candidate marriage from Looking for love mod like wizard, clint etc. now my CP working to applied a new map that i edited from "tiled" (used the stuff only in untitle tideset), but when I try to custom more furniture from other tilesheet like Festivels.png or WizardHouseTiles.png, when I launched, the Smapi error log alert about "farmhouse redone" problem, and the game crashed when loading the map (when go out the house.)

    what i try are..
    1. make spouse area from untitle tile sheet and run CP --> it's working
    2. when i try to add new tile sheet following the defualt tile sheet by add Z_ in front of their name..

    [Content Patcher] Mod crashed when loading asset 'Maps\Patio_Wizard'. SMAPI will use the default asset instead. Error details:
    StardewModdingAPI.Framework.Exceptions.SContentLoadException: SpousePatioWizard loaded map 'assets\Patio_Wizard_ex.tbin' with invalid tilesheet path 'z_WizardHouseTiles.png'. The tilesheet couldn't be found relative to either map file or the game's content folder.
    at StardewModdingAPI.Framework.ContentManagers.ModContentManager.FixCustomTilesheetPaths(Map map, String relativeMapPath) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 315
    at StardewModdingAPI.Framework.ContentManagers.ModContentManager.Load[T](String assetName, LanguageCode language, Boolean useCache) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\ModContentManager.cs:line 172
    at StardewModdingAPI.Framework.ModHelpers.ContentHelper.Load[T](String key, ContentSource source) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ContentHelper.cs:line 99
    at StardewModdingAPI.Framework.ContentPack.LoadAsset[T](String key) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 99
    at ContentPatcher.Framework.ManagedContentPack.Load[T](String key) in C:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\ManagedContentPack.cs:line 51
    at ContentPatcher.Framework.Patches.LoadPatch.Load[T](IAssetInfo asset) in C:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\LoadPatch.cs:line 28
    at ContentPatcher.Framework.PatchManager.Load[T](IAssetInfo asset) in C:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 116
    at StardewModdingAPI.Framework.ContentManagers.GameContentManager.ApplyLoader[T](IAssetInfo info) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentManagers\GameContentManager.cs:line 315


    3. when i just add new tile sheet without rename ..

    [FarmHouseRedone] No equivalent sheet found for WizardHouseTiles! Using default (Maps\paths)
    [game] An error occured in the base update loop: System.Exception: The specified Tile Index is out of range
    at xTile.Tiles.StaticTile..ctor(Layer layer, TileSheet tileSheet, BlendMode blendMode, Int32 tileIndex) in C:\Users\Barone_\Documents\Visual Studio 2010\Projects\tide-83511\TileMapEditor\xTile\Tiles\StaticTile.cs:line 74
    at FarmHouseRedone.MapUtilities.MapMerger.pasteTileInLayer(Map map, Map sectionMap, Int32 x, Int32 y, Int32 mapX, Int32 mapY, String layer, Dictionary`2 equivalentSheets, Boolean destructive)
    at FarmHouseRedone.MapUtilities.MapMerger.pasteTile(Map map, Map sectionMap, Int32 x, Int32 y, Int32 mapX, Int32 mapY, Dictionary`2 equivalentSheets)
    at FarmHouseRedone.MapUtilities.MapMerger.pasteMap(GameLocation location, Map map, Int32 pasteX, Int32 pasteY)
    at FarmHouseRedone.PatioManager.applyPatio(Farm farm, String spouse)
    at FarmHouseRedone.Farm_addSpouseOutdoorArea_Patch.Prefix(String spouseName, Farm __instance)
    at addSpouseOutdoorArea_Patch1(Object spouseName, String )
    at resetLocalState_Patch1(Object )
    at StardewValley.GameLocation.<resetForPlayerEntry>b__219_0() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 4368
    at StardewValley.ModHooks.OnGameLocation_ResetForPlayerEntry(GameLocation location, Action action) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\ModHooks.cs:line 12
    at StardewValley.GameLocation.resetForPlayerEntry() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Locations\GameLocation.cs:line 4364
    at StardewValley.Game1.onFadeToBlackComplete() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 5666
    at StardewValley.BellsAndWhistles.ScreenFade.UpdateFade(GameTime time) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\BellsAndWhistles\ScreenFade.cs:line 38
    at StardewValley.Game1.UpdateOther(GameTime time) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 5843
    at StardewValley.Game1._update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 3608
    at StardewValley.Game1.Update(GameTime gameTime) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Game1.cs:line 2913
    at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\SGame.cs:line 812



    and this is my cp

    {
    "Format": "1.11.0",

    "Changes": [
    {
    "Action": "Load",
    "Target": "Maps/Patio_wizard",
    "FromFile": "assets/Patio_wizard_ex.tbin",
    "When": {

    "Relationship:Wizard" : "Married"
    },
    },
    ]
    }


    [​IMG] [​IMG] [​IMG]
    I don't know what i'm missing, or they not allow me to add new tild sheet , thank you (sorry for my english)

    here my pics
     

      Attached Files:

      Last edited by a moderator: Mar 23, 2020
      HopeWasHere likes this.
    • Pangaea

      Pangaea Forum Moderator

      Please note that stacking posts is not allowed. Use the edit function to add to your posts or wait for someone else to reply first. I've merged your posts.
       

      Share This Page