Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

Syma

Uploaded by

symagui

Virus scan

Safe to use

13 comments

  1. symagui
    symagui
    • member
    • 3 kudos
    Locked
    Sticky
    Some Important info :

    - This framework was tested in and should work fine with Stardew Valley 1.6.3 to 1.6.6 (current version)
    Since this framework makes use of some of the Stardew Valley 1.6 changes, it is not and will never be compatible with Stardew Valley 1.5.

    - I'll try my best to ensure that any update for Hats On Pets Plus does not breaks existing mods that make use of this framework.

    - About Version 1.0.4 : In version 1.0.4 I added a new optional json field, so mods developed for version 1.0.4 or later of this framework might not be fully compatible with HOPP 1.0.3 or earlier versions. This should not cause a game crash, but could cause hats to not be displayed correctly on custom pets.
    (Mods developped for HOPP 1.0.3 or earlier versions should still work fine with HOPP v1.0.4+)
  2. Kreamcheese
    Kreamcheese
    • member
    • 0 kudos
    I keep having a problem with this newest update where my antivirus doesn't like the "HatsOnPetsPlus.dll" file and automatically deletes it. Didn't happen in previous versions. Is there a reason this changed from the previous installations, and would I have to manually give access to the file (which is probs not gonna happen considering it's a random file on the internet even if it's for a fun little mod) to make it work?


    [SMAPI]    Skipped mods
    [SMAPI]    --------------------------------------------------
    [SMAPI]       These mods could not be added to your game.
    [SMAPI]       - Hats on Pets Plus 1.0.4 because its DLL 'HatsOnPetsPlus.dll' doesn't exist.
    1. symagui
      symagui
      • member
      • 3 kudos
      Hello and thanks for pointing this issue.
      First of all, the HatsOnPetsPlus.dll file is necessary as it's the file that contains all of the mods code.

      As the mod author, as long as you downloaded the file from Nexus mods I can say that it is most likely a false flag from your antivirus as Nexus mods itself runs a battery of virus checks using VirusTotal on uploaded files (you can see the report from Nexus when you click on the green checkmark near the file name on the 'Files' tab).

      However, I understand you wanting to be cautious about random Internet files.
      I think the antivirus will stop incorrectly flagging the file once enough people download and use it, so you could simply wait a few hours/days and see if it solves itself, but I'm no expert on this.
  3. votolom
    votolom
    • premium
    • 3 kudos
    Hey, can you enable downloading with Vortex? This is such a great mod, but it's mildly a pain to download it manually with every update.
    1. symagui
      symagui
      • member
      • 3 kudos
      I'll enable it for future updates as I was also told that other mod managers make use of this functionnality.
      However I should say that using Vortex is not recommended for Stardew mods as it can lead to them breaking. I'd recommend switching to another Stardew mod manager (like Stardrop) or even installing mods manually as this is quite easy in Stardew.
  4. PrimmR
    PrimmR
    • member
    • 2 kudos
    Fantastic mod! I was honestly shocked that the base game doesn't support this by itself, so this is super useful.

    Although I do have one request to potentially make this framework even better (if I haven't accidentally overlooked it). It'd be nice to have a way to define a set of sprite definitions to apply to multiple breeds. I'm currently working on a mod where the different breeds are mostly just recolours, so it seems a bit of a waste to have to repeat all the data several times.
    1. symagui
      symagui
      • member
      • 3 kudos
      That's a very good idea ! 

      I'll start working on it, I can't guarranty it but I think it can be done before the end of the week-end
    2. PrimmR
      PrimmR
      • member
      • 2 kudos
      Great, but don't worry yourself with time too much! I'm perfectly happy to wait however long you need ^^
    3. symagui
      symagui
      • member
      • 3 kudos
      After giving it some thought, I'll implement your idea a little bit differently than what you asked since I can see quite a few issues with setting a default breed for a pet type (espacially with mods that would add new variations of cats and dogs, as they would conflict with each other and the vanilla pets if they were to set one of their breed as "default").

      Instead of a default breed, I'll add a way to input an array of breed Ids (either in the "breedId" field if I can do it without breaking existing mods, or in a new field) so that any hat data is duplicated for all the breeds in the array. It would work basically the same as setting a default breed to be honest, and unless a mod wants to add like 10s of new breeds every update I don't think this would be hard to maintain for mod authors
    4. PrimmR
      PrimmR
      • member
      • 2 kudos
      Sounds great!
    5. symagui
      symagui
      • member
      • 3 kudos
      Well, The array solution was way easier to develop, test and add to the documentation than adding a default breed system, so it's now released in version 1.0.4 of Hats On Pets Plus :) 
      Thanks again for the great idea !
  5. DeathBlade182
    DeathBlade182
    • member
    • 0 kudos
    Say, can this be used for horses too?
    1. symagui
      symagui
      • member
      • 3 kudos
      Currently no. 
      The game use two different functions to draw hats on pets or on horses, and the horse one seems harder to correctly replicate with a framework as it is tied to the drawing of the horse itself (also it uses hardcoded different values for some specific hats).

      I might work on it in the future, but if anybody else wishes to tackle this issue in the meantime, the git project for Hats On Pets Plus is open to PRs.