4577 comments

  1. Pathoschild
    Pathoschild
    • premium
    • 4,028 kudos
    Locked
    Sticky
    Common questions & known issues
    (This post is updated as needed.)
    Does this mod work on Android?
    Yes, the latest version should be fully compatible with Android.
    As a mod author, can I ask questions about making content packs here?
    Yep! You'll probably get much faster answers in #making-mods-general on Discord though, which has many content modders who can help too. (If you don't get an answer, feel free to ping me there with @pathoschild.)
    Before asking for help or reporting a bug:
    When asking for help here, please upload your SMAPI log and add a link to your message. This has useful info like what versions you have, which mods are installed, what happened in the game, etc. Please do this even if you don't see an error in the log.
  2. SnowBunnyXOXO
    SnowBunnyXOXO
    • member
    • 0 kudos
    SMAPI log

    Hello! I've been having an issue with the game where it freezes every few seconds for a while and it's really affecting my game experience. :(
    I installed Profiler and it helped me detect it was Content Patcher that was taking the most to load. I don't have a very heavily modded game. I was hoping you could help me with this issue, please? Should I delete the mods or is there something I can do to stop my game from just freezing and running so crappy. Thank you. 

    1. HonestlyVitali
      HonestlyVitali
      • member
      • 1 kudos
      I have this same issue (though admittedly my game is heavily modded.) 
  3. CheeseMilkForm
    CheeseMilkForm
    • member
    • 2 kudos
    Hello! I want to ask for help. I'm making a mod about gems. I hope that gems as minerals will be influenced by mining skills, but I don't want them to be donated to museums and counted as museum donation achievements. So, what should I do? ( I'm not a native English speaker. I hope I can express my meaning clearly. I apologise if there is any mistake)
  4. Coppelpong
    Coppelpong
    • member
    • 0 kudos
    hello, i'm kinda new to this modding stuff, how do i use content patcher for xnb mods? most of the mods i downloaded are XNB mods, do i just dump the mod folder to content patcher folders?
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! You can't install XNB mods through Content Patcher, but see the list of Content Patcher alternatives for old XNB mods.
    2. Coppelpong
      Coppelpong
      • member
      • 0 kudos
      ah ok, ty for the info
  5. NARCOAZAZAL
    NARCOAZAZAL
    • member
    • 11 kudos
    Hi Pathoschild, hope you're doing well!

    I have a quick question about Content Patcher: is there any chance to add support for showing images in GMCM configs using just CP, without needing to mess with C#?

    I know GMCM doesn’t have this by default, but I was wondering if there’s some workaround or feature in CP itself that could make this possible.

    The idea is to visually present the mod configuration options, making everything more intuitive for users. This would also help reduce the need for translations and prevent users from having to check images on Nexus, mod files, or any other external source just to understand what’s changing — which kind of breaks immersion.

    I’ve seen mods doing this with C#, but not every modder is familiar with it. It’d be much easier if this feature could be added directly to content.json along with the other settings.

    Thanks a lot for the amazing work and all the support you provide to the modding community!
  6. miaoyand
    miaoyand
    • member
    • 0 kudos
    不知怎么显示红色的
  7. SilverJD
    SilverJD
    • premium
    • 2 kudos
    Okay, so for some time now I had this stutter every 10 in-game minutes. A couple of months ago it was not there, no it was always there just not impactful enough to be noticed and it has only intensified. I tried everything to get to the bottom of it, if its a bad code, if its the combination of the near 300 mods I've installed, and I tried editing mods I felt were the cause. All I knew was that it had to be related to Content Patcher after using Profiler.

    I tried to first strip my list of all (CP) mods, and that only lessened the stutter by small amount not gotten rid of it. I than went and removed most mods of my list testing for any change along the way. The only change was when I I reached my framework mods and removed (CP) only than did my game have zero stutter / frame-time issues.

    Finally I tried my list with all my mods except Content Patcher (running the game disabled 100+ plus mods like wht) and it was really gone. No specific (CP) mod really got rid of this stutter only the main mod.


    Having nowhere else to go I turned to making this comment, the stutter is really bad I can't play like that. I did do a short playthrough not that long ago late last year and it has smooth really fun. But now I unbearable, I did notice a very similar comment now that the comment search is back. I also play on steam deck but that haven't stopped me. 

    Well here's my (Smapi Log) It's a new save went through two transitions until I reached the community center were I stayed doing circles around the tree until 12 were than I used TimeSpeed to fast forward the day (Ignore the yellow text I didn't add back a mod). I hope that you can fix this, optimize the code so that every 10 in-game minutes doesn't cause a stutter like it is at the moment. Thank you in advance and thank you for this great creative fountain of a mod.
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! Content Patcher with no content packs should have near-zero performance impact. If you get lag without the content packs, can you post the SMAPI log for that test?
    2. SilverJD
      SilverJD
      • premium
      • 2 kudos
      Hello! So I was being reallly thorough with removing all (CP) dependent mods and it seems that the stutter is gone. 

      Am going to take some time to look through the mods I removed to find the culprit. I just hope I didn't hit some limit with modding.

      Here's my "Smapi Log" you can ignore the red and yellow errors. Like I said before the stutter is no longer there, it doesn't even show on profiler "near-zero performance impact." like you said .

      Thanks for your repy btw, Ill comment if I find anything.
      Thanks again for your time.
    3. SilverJD
      SilverJD
      • premium
      • 2 kudos
      One small question,

      I have alot of redundant mods (Mod that edit the same texture) but in the config I disable some textures so that the ladder would get priority. So my question is, if you have a ton of these redundant mod even if in there respected configs I have disabled most of their textures, would they still have any sort of impact performance wise. Specifically if you have a number of them?
  8. GrimKeeper1017
    GrimKeeper1017
    • member
    • 0 kudos
    Hey, I've been playing on multiplayer on a SVE save. When we first started the save, I had persisitent lagging issues that would get progressively worse the longer we played. As in, 20 minutes into the game I might lag once for a second. Two hours into the game, I lag every few minutes sometimes stalling for a full minute or longer. Occasionally it will even show a still from something I did previously in the game. Eventually it crashes.
    So I updated all the mods I could and updated smapi. Now, not only do I have the lag problem, the screen randomly flashes. As in like white flashes as if its maybe really fast lightning. It often will prominently flash is a diagnol direction. It mostly happens when its dark. Recently. at around the two hour mark, I clicked on the calender in town. The screen briefly went black. After that, my screen started randomly flashing so much it was giving me a headache. Sometimes it would have minutes in between an "episode" and sometimes only seconds.
    I downloaded Profiler and it seemed to indicate that content patcher was the thing stalling the most. With occasionally fashion sense, SVE code, and space core.
    The host doesnt experience this issue.
    Had a different friend try it out and they didnt report any issues.
    https://smapi.io/log/24bf054410e249a7a0111865f1b51521
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! It looks like the game is running on your integrated graphics:
      Running on GPU: Intel(R) Iris(R) Plus Graphics

      Can you try running SMAPI on your dedicated graphics card instead?
    2. GrimKeeper1017
      GrimKeeper1017
      • member
      • 0 kudos
      I followed those directions, and I think it might still be running on integrated graphics? Either way my problem has gotten worse and more frequent since december.
      https://smapi.io/log/f01645209a6c413595c67f5de23a6d80Heres the newest log
  9. Maribrit
    Maribrit
    • member
    • 0 kudos
    hiii, can you help me with this error? im trying to open stardew valley expanded and i don't know what to do 

    https://smapi.io/log/329f56ac7a434d82b0e696a4ee5cd9e7
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! You're missing some of the Stardew Valley Expanded files. You can try deleting and reinstalling that mod to fix it. If it still happens, I suggest asking on that mod's page so the author can help.
  10. 2024lei
    2024lei
    • member
    • 0 kudos
    您好,我发现了一些错误
    [内容补丁] 未处理的异常应用补丁:Stardew Valley Expanded > Include code/Locations/Galdora.json > EditImage LooseSprites/Cursors_1_6 #7。
    System.ArgumentException:无法应用图像补丁,因为源图像小于源区域。(参数 'source')
    在 StardewModdingAPI.Framework.Content.AssetDataForImage.PatchImage(IRawTextureData source, Nullable'1 sourceArea, Nullable'1 targetArea,PatchMode) 在 E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Content\AssetDataForImage.cs Content\Content\42 中:第 42 行
    在 E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\EditImagePatch.cs:第 166
    行 ContentPatcher.Framework.Patches.EditImagePatch.Edit[T](IAssetData asset)在 ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection'1 补丁,IAssetData 资源) 在 E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 618
    [内容补丁]未处理的异常应用补丁:Stardew Valley 扩展>包括代码/位置/Galdora.json > EditImage LooseSprites/Cursors_1_6 #8。
    System.ArgumentException:无法应用图像补丁,因为源图像小于源区域。(参数 'source')
    在 StardewModdingAPI.Framework.Content.AssetDataForImage.PatchImage(IRawTextureData source, Nullable'1 sourceArea, Nullable'1 targetArea, PatchMode patchMode) 在 E:\source\_Stardew\SMAPI\src\SMAPI\Framework\Content\Content\Content\AssetDataForImage.cs:第 42 行
    在 E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Patches\EditImagePatch.cs:第 166
    行的 ContentPatcher.Framework.Patches.EditImagePatch.Edit[T](IAssetData asset)在 ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection'1 补丁,IAssetData 资源) 在 E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:第 618 行
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! Can you cause the error again, then upload your SMAPI log (see instructions on that page) and post a link here?
    2. 2024lei
      2024lei
      • member
      • 0 kudos
      https://smapi.io/log/c31f23ae17fa442e9cdf06a945a5a186
    3. 2024lei
      2024lei
      • member
      • 0 kudos
      https://smapi.io/log/c31f23ae17fa442e9cdf06a945a5a186
    4. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      That error is a bit strange. Does it still happen if you temporarily remove all mods except Stardew Valley Expanded (and the mods it requires)? Can you post the new log if so?
  11. Injusticar
    Injusticar
    • supporter
    • 0 kudos
    Hey great mod, btw i found a bug i think when using a local token in an inherited secondary file when using the "when": option with the inherited local token as the first part of the pair of values. 

    https://smapi.io/log/5b01996b7ecf4d36bd0b524aceb33572

    It also ruins the local token for the patch its in, too. I worked around it but thought u should know
    1. Pathoschild
      Pathoschild
      • premium
      • 4,028 kudos
      Hi! Could you create a minimal content pack which reproduces the issue, so I can look into it?