Stardew Valley

File information

Last updated

Original upload

Created by

Pathoschild

Uploaded by

Pathoschild

Virus scan

Safe to use

863 comments

  1. Pathoschild
    Pathoschild
    • premium
    • 4,144 posts
    • 603 kudos
    Locked
    Sticky
    When asking for help or reporting a bug, upload your SMAPI log and add a link to your message. This has useful info like what versions you have, which mods are installed, when happened in the game, etc. Please do this even if you don't see an error in the log.
  2. xLunaire
    xLunaire
    • member
    • 2 posts
    • 0 kudos
    nevermind i fixed it, it was missing some vital stuff   
  3. xLunaire
    xLunaire
    • member
    • 2 posts
    • 0 kudos
    hi! im new
    basically i just want to use content patcher to change some original vanilla textures with my own.
    then, SMAPI reported an error:
     

    [Content Patcher] Error preloading content pack 'texture'. Technical details:

    Newtonsoft.Json.JsonReaderException: Can't parse JSON file at D:\Steam\steamapps\common\Stardew Valley\Mods\texture\content.json.

    Technical details: Error converting value "Format" to type 'ContentPatcher.Framework.ConfigModels.ContentConfig'. Path '', line 2, position 11.

       at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in C:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 74

       at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 74

       at ContentPatcher.ModEntry.<GetContentPacks>d__23.MoveNext() in C:\source\_Stardew\Mods.Pathoschild\ContentPatcher\ModEntry.cs:line 291

     

    i tried to search for possible solutions, google doesnt seem to come up with anything....

  4. Concrete111
    Concrete111
    • member
    • 1 posts
    • 0 kudos
    I don't have a Mods folder in my stardew valley game file. IS there something i'm missing?
    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      See the player's guide to using mods for help getting started, and feel free to ask if anything is unclear.
  5. EchoingVoid
    EchoingVoid
    • member
    • 2 posts
    • 0 kudos
    Hi, i got an error stating that the mod "failed in the GameLoop.DayStarted event." Any ideas?

    SMAPI log: https://smapi.io/log/780f35a2f1674a579515cf51d229f3fd
    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      It seems Child To NPC is crashing when it tries to add a custom token; I suggest reporting it to that mod's author. I'll add error-handling in the next Content Patcher update to handle that better though.
  6. jagermeister92
    jagermeister92
    • member
    • 5 posts
    • 0 kudos
    Hi,

    My system is saying ContentPatcher is out of date, even though I have the latest version installed (1.9.2) and am using SMAPI 3.5.0. Any idea what could be wrong? Is it possible the mod I have requires an earlier version of ContentPatcher and that is the problem?

    Here is my SMAPI log: https://smapi.io/log/1c515b985d5f4bde8752c00010cd868f
    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      Hi! The latest version is 1.14.1, so updating to that version should fix it. (Versions are sorted numerically instead of alphabetically, so 1.14 is higher than 1.9.)
  7. Breakings
    Breakings
    • member
    • 5 posts
    • 0 kudos
    Hello, maybe you can help, as the Content patcher requests access to the file and the error begins with this. I can’t understand for which mod he is requesting this file and where to get it or maybe it will be easier for me to delete the mod requesting file. There is no such file in the original content package.
    The problem in the game looks like this: I go to the egg festival for the third year, I can walk, use backpack items, but there are no sprites for me and the NPC, while the environment is drawn as usual. (in other years there were no problems and I added only mods that change the environment sprites, but not characters)
    I have installed SMAPI 3.5.0 and latest version Content Patcher.
    And 51 mods, if necessary, I will send a list.
    This is where the error begins: Error loading "spring_dnextras". File not found.
    Here is a link to SMAPI log. https://smapi.io/log/a79b87c0bd224c3d9bed7d10c6da21bb



    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      spring_dnextras is part of Stardew Valley Reimagined; try reinstalling that mod, or report it to that mod's author if that doesn't fix it.
    2. Breakings
      Breakings
      • member
      • 5 posts
      • 0 kudos
      Thank you for helping to find out the problem! reinstallation didn`t help, but I wrote to the mod`s author.
  8. Shaklin
    Shaklin
    • member
    • 21 posts
    • 26 kudos
    Hello,

    I really like this Mod.
    I made a SMAPI mod with new xnb/png sprite files and I want that other people can recolor it with the Content Patcher Mod.
    Is that possible?
    I tried it with
    "Target": "../Mods/MyModName/assets/myfile.xnb",
    but it not work.
    Or is the Content Patcher Mod limited that it can only access the Game "Content" folder?

    (sorry for my english)

    EDIT: Nevermind, I think I found it out :). I set in SMAPI a folder path that not exists in "Content", and if I I use "Action": "Load" in a content patcher recolor mod it loads the images.
  9. seitamagenos
    seitamagenos
    • member
    • 26 posts
    • 0 kudos
    Hi ! Ever since I updated my game (SMAPI and most mods including SVE) I've been getting this error :

    [SMAPI] Multiple mods want to provide the 'Maps/Forest' asset (PyTK, Content Patcher), but an asset can't be loaded multiple times. SMAPI will use the default asset instead; uninstall one of the mods to fix this. (Message for modders: you should usually use StardewModdingAPI.IAssetEditor instead to avoid conflicts.)

    I don't know which of the mods causes this but it practically reverts the "forest' map to the vanilla version, making the Wizard's tower inaccesible (I either get stuck in a shelf when entering or upon exiting I teleport to an empty tile behind the house getting stuck), Marnie's and Andy's (SVE NPC) farms show up PARTIALLY modded as well as the route between the beach and this map (which was an SVE edit) now is gone as the vanilla map makes exiting to the east of the map impossible.

    Log -----> https://smapi.io/log/e60f2231609f47d2bb2c7f0e54ecb1ca (ignore PyTK as at the time I was trying to fix the issue by rolling back to a previous version. the error occured after installing the latest version)

    Also, for some strange reason other saves seem to be loading the map fine. The issue is on my main save where I'm on year 4 .
    1. AgencyQuarantine
      AgencyQuarantine
      • member
      • 10 posts
      • 0 kudos
      I am also having the exact same issue. Many maps including the town and wizard tower are not loading due to this conflict between PyTK and Content Patcher. It says remove one to fix this issue but SVE requires both of these to be installed to function. Any ideas as to what to do?

      Log - https://smapi.io/log/4fea27657e7948aebecdc6ee67f43aac
    2. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      Hi! Just to make sure, did you fully delete all SVE mods before updating it as the SVE download page says?
  10. ImAHappyFamer
    ImAHappyFamer
    • member
    • 16 posts
    • 0 kudos
    enllo its me again
    so, my game opens normally, but when im going to load the save, it stays in the "loading..." screen and nothing more happens! its not exactly cp related, but u r the only person that i can reach out to help me whit this stuff, since i dont understand what it says or how to resolve it,,,,,
    https://smapi.io/log/8691e8d1965c45c7a5dce2293d45242d
    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      Does that still happen if you remove More Grass?
    2. ImAHappyFamer
      ImAHappyFamer
      • member
      • 16 posts
      • 0 kudos
      oo it was it!! im so dumb i didnt even though it could be that
      thamk chuu nd sorry for wasting your time,,,,,,,,,
    3. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      Welcome! I suggest reporting it to the More Grass author so they can look into it.
  11. ArsonistSK
    ArsonistSK
    • member
    • 8 posts
    • 0 kudos
    I'm trying to make an event mod for Pam, but for whatever reason the "#" in the "/end warpOut" #!String" seems to be causing the json to invalidate. I've looked all over but can't seem to find any answers. I really hope you can help because I'm just not having any luck on my own.

    Here's my smapi log: https://smapi.io/log/df82acca468b4e7cafa838d2d2d6d82b
    1. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      #!String looks like a comment from a YAML file. Can you save your JSON to smapi.io/json and post the link here?
    2. ArsonistSK
      ArsonistSK
      • member
      • 8 posts
      • 0 kudos
      Here you are: https://smapi.io/json/content-patcher/4ed0cb8b7aae4221bbab7b3e915e46bf
    3. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      You have three issues in that file:
      * The key has an invalid "[", extra "/", and missing end quote.
      * Missing start quote for the value.
      * The " #!String]" at the end of the line is invalid. (#!String is from the old YAML unpacker, and isn't valid in JSON.)

      This version should work better.
    4. ArsonistSK
      ArsonistSK
      • member
      • 8 posts
      • 0 kudos
      Thank you so much! Unfortunately though, the link doesn't seem to be working for me. I hate to ask, but is there another way you can get me the fixed file?
    5. Pathoschild
      Pathoschild
      • premium
      • 4,144 posts
      • 603 kudos
      Oops, sorry about that; I fixed the link.
    6. ArsonistSK
      ArsonistSK
      • member
      • 8 posts
      • 0 kudos
      Woohoo! It runs! Thank you so much!