I'm trying to add custom portraits for the Mr. Ginger custom NPC mod and followed the guide (HDPortraits Github Wiki) but it isn't loading--which definitely means I'm doing something wrong. May if I ask if there's a difference loading from base game vanilla NPCs and custom mod NPCs?
This is the minor edit I've made to your content.json to accommodate only Wizard and Mister Ginger. Other targets for other custom NPCs like June seems to follow the same format as well (Mods/HDPortraits/June_portrait, Mods/HDPortraits/June_Beach_potrait,), but I can't seem to make it work.
first of all, thank you for putting your time and work into creating this. Thanks to your mod i can finally replace pytk. :3
Quick Question: i downloaded the file for the 1.1.1 Update today (November 4, 2022) and Smapi tells me its the 1.1.0 version? Maybe you uploaded the wrong file?
Also a litle tip or more a request: would it be possible to list the charakter based on the expansions? It would be awesome if the user could turn off the loading for the charakters that are not in use. If you could do that it would be really cool, if not thats also ok.
Im just really happy to have a replacement for pytk. So again, thank you for this. :3
edit: after some time today i finished sorting all Charakters via Expansion and per Alphabetic order. I found a few missing Charakters like Alex_Beach and some that exictet twice. If you want to have that file i would gladly hand it to you so you can use it freely for your mod. You can download it via the google drive link.
Oh my goodness, you're a lifesaver. I tried to order every character by pack than anything, but I guess I would get so lost in typing things I'd sort of... lose track haha In retrospect, Alphabetical order was probably the best.
By the way, I apologize for not getting back to you until now, I've been really busy with life so I've not had much of a chance to do much in terms of modding or SDV at all. Also- I think I just forgot to update the number version inside but the content should still be updated.
small request, is it possible to get just a ridge one without the vanilla? i tried to edit the configs but i can't understand what i'm looking at unfortunately ^^;;
"Action":"EditData", "Target":"Mods/HDPortraits/Abigail, Mods/HDPortraits/Abigail_Beach, Mods/HDPortraits/Alex, ...", "Entries": { "Portrait":"Mods/portraittemplate/{{TargetWithoutPath}}" Above is the code in the Content.json file
Delete all "Mods/portraittemplate/[name of NPC you want to delete]" , "Mods/HDPortraits/[name of NPC you want to delete]" , and another"Mods/HDPortraits/[name of NPC you want to delete]" beside all three"Target": . Do not delete the starting and ending [ " ] btw.
So to apply that with the code above: Say I want to delete Abigail - then delete Mods/portraittemplate/Abigail,Mods/portraittemplate/Abigail_Beach, + Mods/HDPortraits/Abigail, Mods/HDPortraits/Abigail_Beach (one under "Action": "Load", and other under "Action":"EditData", - so two sets of /Abigail and /Abigail_Beach)
With that, if you want to delete all vanilla NPCs then find the names and just delete it! Be careful not to delete anything other than those names. Hope this helped!
I've not exactly figured out how to get it to work for seasonal outfits either, this was intended for the basic non-seasonal portrait mods.
As for adding NPCs, there's actually a guide on the original HD Portraits mod's github Wiki on how to add them yourself that would honestly explain it way better than I could! I would recommend you refer to that.
62 comments
I'm trying to add custom portraits for the Mr. Ginger custom NPC mod and followed the guide (HDPortraits Github Wiki) but it isn't loading--which definitely means I'm doing something wrong. May if I ask if there's a difference loading from base game vanilla NPCs and custom mod NPCs?
Figured it out!This is the minor edit I've made to your content.json to accommodate only Wizard and Mister Ginger. Other targets for other custom NPCs like June seems to follow the same format as well (Mods/HDPortraits/June_portrait, Mods/HDPortraits/June_Beach_potrait,), but I can't seem to make it work.
https://imgur.com/a/X7EhwoK
Quick Question: i downloaded the file for the 1.1.1 Update today (November 4, 2022) and Smapi tells me its the 1.1.0 version? Maybe you uploaded the wrong file?
Also a litle tip or more a request:
would it be possible to list the charakter based on the expansions? It would be awesome if the user could turn off the loading for the charakters that are not in use. If you could do that it would be really cool, if not thats also ok.
Im just really happy to have a replacement for pytk. So again, thank you for this. :3
edit:
after some time today i finished sorting all Charakters via Expansion and per Alphabetic order. I found a few missing Charakters like Alex_Beach and some that exictet twice. If you want to have that file i would gladly hand it to you so you can use it freely for your mod. You can download it via the google drive link.
https://drive.google.com/file/d/1rTLuJUDKB4CDseVYr8lQ9u_bvkVnbtB7/view?usp=share_link
In retrospect, Alphabetical order was probably the best.
By the way, I apologize for not getting back to you until now, I've been really busy with life so I've not had much of a chance to do much in terms of modding or SDV at all. Also- I think I just forgot to update the number version inside but the content should still be updated.
"Changes": [
Above is the code in the Content.json file{
"Action":"Load",
"Target":"Mods/portraittemplate/Abigail, Mods/portraittemplate/Abigail_Beach, Mods/portraittemplate/Alex, ...",
"FromFile":"assets/{{TargetWithoutPath}}.png"
"Action":"Load",
"Target":"Mods/HDPortraits/Abigail, Mods/HDPortraits/Abigail_Beach, Mods/HDPortraits/Alex, ...",
"FromFile":"assets/base.json"
"Action":"EditData",
"Target":"Mods/HDPortraits/Abigail, Mods/HDPortraits/Abigail_Beach, Mods/HDPortraits/Alex, ...",
"Entries": {
"Portrait":"Mods/portraittemplate/{{TargetWithoutPath}}"
Delete all "Mods/portraittemplate/[name of NPC you want to delete]" , "Mods/HDPortraits/[name of NPC you want to delete]" , and another "Mods/HDPortraits/[name of NPC you want to delete]" beside all three "Target": . Do not delete the starting and ending [ " ] btw.
So to apply that with the code above: Say I want to delete Abigail - then delete Mods/portraittemplate/Abigail, Mods/portraittemplate/Abigail_Beach, + Mods/HDPortraits/Abigail, Mods/HDPortraits/Abigail_Beach (one under "Action": "Load", and other under "Action":"EditData", - so two sets of /Abigail and /Abigail_Beach)
With that, if you want to delete all vanilla NPCs then find the names and just delete it! Be careful not to delete anything other than those names. Hope this helped!
As for adding NPCs, there's actually a guide on the original HD Portraits mod's github Wiki on how to add them yourself that would honestly explain it way better than I could! I would recommend you refer to that.
Hello! May I know what the link is to the original HD Portraits mod's github wiki?Found it!ty for the mod!