Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

mistyspring

Uploaded by

mistyspring

Virus scan

Safe to use

243 comments

  1. skreksboot
    skreksboot
    • member
    • 0 kudos
    Locked
    Sticky
    idk if this is also the cause of other ppls issue for custom portrait but make sure the template pack that you download on the original mod page is a separate folder in your mods folder, don't put it in the same folder as this mod or the custom portrait wont work. I merged them and only realized after like 20 min of testing that i was dumb 
    1. mistyspring
      mistyspring
      • premium
      • 59 kudos
      Indeed. The folders should look like this:

      📁 Mods
        |--  📁 FarmerPortraits
        |--  📁 [CP] Your content pack
  2. MJ021202
    MJ021202
    • member
    • 0 kudos
    [内容补丁]两个内容包想要加载“aedenthorn.具有”独家“优先级的 FarmerPortraits/background' 资源 ((CP) Seasonal Farmer Portrait and Farmer 2.0 ESWF NPCReactionOverhaul)。两者都不适用。您应该删除其中一个内容包,或向作者询问兼容性。
    求助这是出现了什么问题
    1. MJ021202
      MJ021202
      • member
      • 0 kudos
      [Content Patcher] Two content packs want to load the 'aedenthorn.FarmerPortraits/background' asset with the 'Exclusive' priority ((CP) Seasonal Farmer Portrait and Farmer 2.0 ESWF NPCReactionOverhaul). Neither will be applied. You should remove one of the content packs, or ask the authors about compatibility.
  3. Early94
    Early94
    • member
    • 0 kudos
    Hi, I'm loving this mod so far, but I was wondering if there is a way to add custom portraits for festivals (i.e. one for wedding, spirits eve, flower dance, etc.) without a separate mod. I've tried to find instructions here, but I feel like I might be missing something. If anyone has any suggestions or ways to edit the config.json file that would be helpful. I also have the optional file downloaded for the emotion reactions as well, but not the seasonal reactions, so I don't know if that would make a difference. Thanks! :)
  4. xiaoleiwen
    xiaoleiwen
    • premium
    • 52 kudos
    Hi Misty, not sure if you are interested to know this minor compatibility problem:

    Unique Children Talk is a framework mod that allows the farmer to talk to the children, and when we are talking to the children with the farmer's portrait installed, the whole dialogues box will shift to the left when you talk to them for the first time on that day, but it will return to the normal position when you talk to them one more time.
  5. karenisassleep
    karenisassleep
    • member
    • 0 kudos
     Help a friend out. Got all the mods set up, but clueless on what to do next to customize the portrait. Do I neede to download another app? Pls helpp
    1. senkoiz
      senkoiz
      • member
      • 0 kudos
      Hii, I hope I'm answering your question. But if you go here then u should be able to make your own farmer portrait c: 

      https://www.nexusmods.com/stardewvalley/mods/16645?_gl=1%2A1is9f8z%2A_ga%2AMTAyNjEwMzYwOC4xNzA1MzczOTIw%2A_ga_N0TELNQ37M%2AMTcxNTQzNDc2MS41OS4xLjE3MTU0MzUyMjIuMC4wLjA.&tab=description
  6. sectonia
    sectonia
    • member
    • 0 kudos
    Hi hello! I just saw that you updated for the farmer to have reactions too! To which, wow thank you! That is way more than what I could have asked :D But I wanted to ask, what are file templates portait_6.png and portrait_unique_old.png for? Also! Do I need both farmer emotions + farmer portrait or just one folder for both my custom portrait and it's emotions? Thank you :3 
    1. mistyspring
      mistyspring
      • premium
      • 59 kudos
      Portrait_6 is just an example- basically, you can add as many emotions as you want (not just the main ones). It was a way to show that
      (I mention it inside the content.json)

      as for unique_old- that's a file i forgot to delete. i'll post an updated version

      You can use a single one for both, yes!
    2. sectonia
      sectonia
      • member
      • 0 kudos
      Thank you so much! :D 
    3. sectonia
      sectonia
      • member
      • 0 kudos
      Hi again so sorry I seem to get this error code when attempting to use the reactions- 

      [Content Patcher] Error preloading content pack '(CP) Farmer Portrait Emotions'. Technical details:
      Newtonsoft.Json.JsonReaderException: Can't parse JSON file at C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CP] Farmer Portrait\content.json. This doesn't seem to be valid JSON.
      Technical details: Invalid property identifier character: {. Path 'Changes[7].Entries.Krobus', line 55, position 2.
      at StardewModdingAPI.Toolkit.Serialization.JsonHelper.ReadJsonFileIfExists[TModel](String fullPath, TModel& result) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Serialization\JsonHelper.cs:line 86
      at StardewModdingAPI.Framework.ContentPack.ReadJsonFile[TModel](String path) in E:\source\_Stardew\SMAPI\src\SMAPI\Framework\ContentPack.cs:line 76
      at ContentPatcher.Framework.RawContentPack.TryReloadContent(String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\RawContentPack.cs:line 80
      at ContentPatcher.ModEntry.GetContentPacks()+MoveNext() in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\ModEntry.cs:line 431



      I also attempted to try this with Claire from SVE! But I'm not totally sure if I did the coding right or if SVE is compatible with this mod hahah please bare with me-- 
    4. mistyspring
      mistyspring
      • premium
      • 59 kudos
      Hi, the mod is compatible with any character! Not just vanilla

      Could you upload your file here and send the link?
      (The error seems to be in the formatting, so I'd have to see your edit to figure out what's wrong)
    5. sectonia
      sectonia
      • member
      • 0 kudos
      UPDATE: After some tweaking and trial and error I was able to figure it out without getting an error in JSON! However, I have another error instead--
      [Content Patcher] Can't apply data patch "(CP) Farmer Portrait Emotions SEASONAL > EditData aedenthorn.FarmerPortraits/reactions > entry #2" to aedenthorn.FarmerPortraits/reactions: failed converting String value to the expected type 'System.Collections.Generic.Dictionary`2[[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]': Error converting value "EditData" to type 'System.Collections.Generic.Dictionary`2[System.Int32,System.Int32]'. Path ''..
      [Content Patcher] Can't apply data patch "(CP) Farmer Portrait Emotions SEASONAL > EditData aedenthorn.FarmerPortraits/reactions > entry #3" to aedenthorn.FarmerPortraits/reactions: failed converting String value to the expected type 'System.Collections.Generic.Dictionary`2[[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]': Error converting value "aedenthorn.FarmerPortraits/reactions" to type 'System.Collections.Generic.Dictionary`2[System.Int32,System.Int32]'. Path ''..
      [Content Patcher] Can't apply data patch "(CP) Farmer Portrait Emotions SEASONAL > EditData aedenthorn.FarmerPortraits/reactions > entry #4" to aedenthorn.FarmerPortraits/reactions: failed converting entry to the expected type 'System.Collections.Generic.Dictionary`2[[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]': Could not convert string 'Claire' to dictionary key type 'System.Int32'. Create a TypeConverter to convert from the string to the key type object. Path 'Claire'..


      Here is the link to my JSON validator just in case you still need to see how I formatted it
    6. mistyspring
      mistyspring
      • premium
      • 59 kudos
      Hi, the issue is that the patch was inside another patch (the one with "krobus" example never closed the bracket).

      This should work: https://smapi.io/json/content-patcher/e61a477d0a374d6086f476df0f531976
    7. sectonia
      sectonia
      • member
      • 0 kudos
      This worked! Thank you so much for everything!!! :D
    8. Demarious
      Demarious
      • member
      • 0 kudos
      I had been having issues getting my custom expressions to work, until I used the content image you posted here as a guide. I believe it might have been caused by there being a space between the "3" and : in the korbus reaction section in the original content file. I do not know much about modding so I assumed it was supposed to be there until seeing your link and changing it, and now all my expressions work!

      I just wanted to make sure to mention this here in case others have similar issues to me, so they can fix it. Thank you for the mod btw, it is fantastic!
    9. xRainbowFangx
      xRainbowFangx
      • member
      • 0 kudos
      To sum up what this means:  in the Content file, edit it in Wordpad or similar and remove the space from the Krobus section mentioned above.  Make sure your portraits are named like "portrait_blush" and use all the emotions listed.  Yes, that includes a picture with "unique" and one with "portrait_6" even though that one may not get used.  I have yet to figure out the more than those listed by default, though.  I am curious about adding more options, but I am under the impression that custom NPC emotion tags need to be added before I could create more options with this mod for my own player portraits.
      Next up for me is figuring out if I can make my portraits higher resolution.
  7. KungfuSarah
    KungfuSarah
    • member
    • 0 kudos
    Hi! I really love this mod, thanks so much for updating it. I have a problem where my farmer's portrait ends just one pixel too high above the frame and I think it's because I use portraited changing skies, which gets rid of the lighter paper border in the normal background of the portrait. Is it possible to add an option for us to move our farmer's portrait around a bit in the box? Thank you!
  8. elocchka
    elocchka
    • member
    • 0 kudos
    please tell me how to make the dialogue more stretched? I can't find any information about this
    1. SlinkyJInx
      SlinkyJInx
      • member
      • 0 kudos
      Having the same issue for weeks 
    2. mistyspring
      mistyspring
      • premium
      • 59 kudos
      The dialogue can't be stretched, but other users have suggested mods that change the font size 
    3. PapaPixel
      PapaPixel
      • supporter
      • 0 kudos
      tried it and it doesn't seem to be working with latin alphabet on the dialogue texts, works fine for everything else...
    4. RVJOOHYUN
      RVJOOHYUN
      • member
      • 0 kudos
      I just reduced the UI size to somewhere between 70-80%. Took some getting used to, but I love it now, everything feels clean and neat.
  9. Silvertongue3
    Silvertongue3
    • member
    • 0 kudos
    Hoping this new mod dev finds a way to make it so dialogue spaces properly when using the mod cause as of now using a custom portrait squishes dialogue so it runs out of the text box altogether and makes it impossible to read…
    1. mistyspring
      mistyspring
      • premium
      • 59 kudos
      I'll look into it for a future update
    2. zylistic
      zylistic
      • member
      • 0 kudos
      waiting patiently for it!!!
    3. Silvertongue3
      Silvertongue3
      • member
      • 0 kudos
      Sorry I meant this for the legacy (old) version of this mod. This current version of the mod has a “fix text” option I believe that fixes the issue I mentioned! I noticed on the older mod this issue can be remedied by clicking the “down” arrow on the text box continuation to see the rest of the conversation so problem kinda fixed!
  10. zylistic
    zylistic
    • member
    • 0 kudos
    just asking because i'm dumb (and also currently trying to draw my own custom portraits to go with the talkohlooeys' style) but what's 'portrait_6' supposed to be? is it the one used for each season's respective festival, or something else entirely? when is it used?
  11. cinnaminnies
    cinnaminnies
    • member
    • 0 kudos
    [Content Patcher] Patch error: (CP) Farmer Portrait > Load aedenthorn.FarmerPortraits/portrait has a FromFile which matches non-existent file 'assets\portrait.png'.[Content Patcher] Patch error: (CP) Farmer Portrait > Load aedenthorn.FarmerPortraits/background has a FromFile which matches non-existent file 'assets\background.png'.Honestly i have no idea when it comes to code so i used the template and did as the description said but its still not working and when i start smapi it showes this code, somebody help please
    1. livelaughlycanthropy
      livelaughlycanthropy
      • member
      • 0 kudos
      I am having this exact problem. It was working perfectly with a portrait I made on jazzybee. I removed that portrait and added a different one I made on jazzy, and now it won't work. I tried using the old portrait, but that won't work now and throws up the same FromFile error in the smapi log. Mine isn't showing the error for "file 'assets\background.png'.", but I never changed the background template.
      EDIT:
      Oh man. I am a dumdum. I figured out my issue. Maybe it will help you too. I had forgotten to rename the portrait with the same name as the template. Delete the templates and name the ones you're using "background" and "portrait". I hope this helps if this is the cause of your error too.