File information

Last updated

Original upload

Created by

BleakCodex

Uploaded by

BleakCodex

Virus scan

Safe to use

54 comments

  1. warham40ham
    warham40ham
    • member
    • 0 kudos
    I'm trying to create a mod using the Sprites in Detail tool but I'm running into an issue. The mod I made is functioning however when the new sprite is supposed to be triggered by passing the seasons from Spring to Summer the new sprite does not update. If I restart my game completely and reload the save then the new sprite is shown correctly. I have tried everything I can think of to get the new sprite to load without a restart but I can't figure it out.

    I was wondering if anyone can help me figure out the issue.

    This is the code in the content.json

    {
        "Sprites": [
            {
                "Target": "Characters/Abigail",
                "FromFile": "assets/Abigail1.png",
                "When": {
                    "Season": "spring"
                }
            },
            {
                "Target": "Characters/Abigail",
                "FromFile": "assets/Abigail2.png",
                "When": {
                    "Season": "summer"
                }
            }
        ]
    }
  2. warham40ham
    warham40ham
    • member
    • 0 kudos
    I am currently having the same issue that Drapsheik mentioned in a comment earlier. The Giant Crazy Mustache Gus mod works correctly by itself on my end. However when I try to use a mod that I am working on using SpritesInDetail. I get the same error. I'm using the current version of Sprites In Detail. Stardew ver. 1.6.15, Content Patcher 2.6.1 and SMAPI 4.2.1. 

    Here is the error in SMAPI
    [SpritesInDetail] Mod crashed on entry and might not work correctly. Technical details:
    NullReferenceException: Object reference not set to an instance of an object.
       at SpritesInDetail.ModEntry.Entry(IModHelper helper) in C:\Users\alexd\source\repos\SpritesInDetail\ModEntry.cs:line 131
       at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1862

    I don't know if it's something on my end or if it's a version conflict but I've tried everything I can think of to fix it. I am not much of a programmer so this issue is beyond me.

    This mod tool would be perfect for what I'm doing if I can get it to work. Thank you for all the hard work you did to make this tool.
    1. warham40ham
      warham40ham
      • member
      • 0 kudos
      Follow up

      It wasn't any version conflicts. The issue was with the code I wrote, it wasn't anything else. I'm just not good at at coding. I don't know if this will help anyone else but I managed to solve my issue. 
  3. tutbatjuin
    tutbatjuin
    • member
    • 2 kudos
    Hi! I'm happy to use your very useful mod. Thank you for making such a wonderful mod!

    I would like to use this mod in version 1.5.6 as well.
    In version 1.6, both v0.5.0 and v0.6.1 of the mod have fully detailed character sprites applied.
    However, in version 1.5.6, v0.5.0 was used, and the sprites are not applied.

    For reference, I made a mod that replaces the sprites of my custom NPCs with detailed sprites, based on your "Giant Crazy Mustache Gus in the Rain" mod.
    It works fine in version 1.6, but I wonder why it doesn't work in version 1.5.6. Do you know the reason for the problem?

    And there is another problem separate from the above.
    There is an error with the animated NPC character that appears when you click on the Custom NPC in the social tab.
    The animated character sprite is positioned in the upper left corner, out of the profile background.
    Is this happening because I have the settings wrong?
    If this is an error and you have time, I hope you will correct it.
    It's not a part that interferes with the gameplay, but it is slightly bothers me. If you could fix this, I would be very happy.
    1. alexdobeck
      alexdobeck
      • premium
      • 0 kudos
      Hmmm strange that version v0.5.0 isn't working correctly for 1.5.6.
      v0.6.0/1 is definitely Stardew 1.6 exclusive, and 0.5.0 didn't look like it worked for me in 1.6.

      As far as the social tab... are you seeing it in the wrong spot in the social tab itself, or is it when you open up another menu?
      I think I fixed an issue in v0.6.1 in regard to where it was rendered and how, but it is assuming specific values for the Origin and is very specific to the actual render location (I had to figure out the values for the Calendar as well), so if the sprite is appearing elsewhere I may need to make adjustments (the same may be the case in other mods).

      If you provide me your example of the values you specified and the size of your sprite I can take a look
    2. tutbatjuin
      tutbatjuin
      • member
      • 2 kudos
      Thank you for your help!
      After downloading the "Custom NPC Crawling - SID and Scarletella" mod that I'm distributing, could you take a look at "[SID] Resize Crawling" inside the mod?

      I have prepared SpritesInDetail 0.5.0.
      And I modified the Characters.json file to fit the format of version 1.5.6, and I started the game in version 1.5.6 without modifying "[SID] Resize Crawling".
      But the high-quality characters were not applied. Why is "[SID] Resize Crawling" not applied?

      Second issue, as shown in the 11th picture attached to the mod distribution post, the character sprite is located in the upper left corner outside the profile background.
      Is there a way to fix this?
  4. Drapsheik
    Drapsheik
    • supporter
    • 2 kudos
    [SpritesInDetail] Mod crashed on entry and might not work correctly. Technical details:
    NullReferenceException: Object reference not set to an instance of an object.
       at SpritesInDetail.ModEntry.Entry(IModHelper helper) in C:\Users\alexd\source\repos\SpritesInDetail\ModEntry.cs:line 131
       at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/SCore.cs:line 1861

    Anyone else getting this issue?
    1. I0o0I
      I0o0I
      • member
      • 0 kudos
    2. deleted228555447
      deleted228555447
      • account closed
      • 0 kudos
      I'm having the same problem
    3. BleakCodex
      BleakCodex
      • member
      • 9 kudos
      Sorry for the delay, I had thought with 1.6 Content Patcher would be able to replace this mod, but I see that may still not be the case.

      I've updated the mod to hopefully work with 1.6 and the corresponding SMAPI, I suspect that to have been the cause of the crash.
  5. Remerting
    Remerting
    • member
    • 0 kudos
    Tried adding the dependencies for Content Patcher within the manifest but I get an error saying the file isn't a valid JSON.
  6. LunaCTristan
    LunaCTristan
    • member
    • 1 kudos
    The sprite frame size is 64x128 and sp‘ite should be 32x64 correct? My sprites seem small and the hit box is off center

    to clarify this is for a cat/dog sprite
  7. BiggieSnails00
    BiggieSnails00
    • member
    • 1 kudos
    Hi, can this mod increase the size of animal sprites? If so, how would I do it?
  8. SugarNeill
    SugarNeill
    • member
    • 1 kudos
    Does anyone know how the mod finds which sprite sheet to edit? I used this on the Mister Ginger mod because I wanted to see if i could turn Mister Ginger into Crazy Gus. This is was my content.json 

    {
    "Sprites": [
    {
    "Target": "Characters/MisterGinger",
    "FromFile": "assets/CrazyMustacheGus.png",
    "breathtype": "none",
    },
    ]
     }

    And it worked. How did it find what sprite sheet to replace with crazy gus? theres no plain 'misterginger' file. I want to replace mister ginger's fish sprite sheet too, which is a seperate file. How do I get it to recognise that too?
    1. katey1801
      katey1801
      • member
      • 4 kudos
      I would have to know what the other files in the mister ginger mod's are in order to maybe guide you on this
    2. katey1801
      katey1801
      • member
      • 4 kudos
      I would have to know what the other files in the mister ginger mod's are in order to maybe guide you on this
  9. bexeylover
    bexeylover
    • member
    • 0 kudos
    Is this mod outdated? I downloaded it and it says I needed to updated im on android btw.
  10. vikadura70
    vikadura70
    • member
    • 0 kudos
    hi!!! thank you for this mod. i have a question. what should i do if i want to change size of my custom npc, not sv character?? what should i write in "target"??