[SMAPI] - [CP]Abigal\assets because it's an empty folder.

Pestilence

Newcomer
so this is the code i get from the start up smapi and im trying to learn portrait changing but it just keeps saying the folder "assets" is empty when i have the updated portraits in there already can anyone narrow down what exactly does this means... is it the coding i did wrong for " content.json ' file thats not making it read or is it because it cant read the portraits since pictures isnt code. ive looked through the " content.json file " and it looks fine im sure it doesnt have to be perfect with perfect spacing/brackets no? ive tried "Action": "Load", and ive tried "Action": "EditImage", already and nothing and yes ive quadrupled check if the portraits name was perfect with what ive named the "FromFile": "assets/Abigail" and the target either " Portraits " or " Characters " and its all good so i cant locate the issue

manifest file
________________________________________________
{
"Name": "Abigail"
"Author": "Rose",
"Version": "1.0.0",
"Description": "Reachange Abigail",
"UniqueID": "Rose.Abigail"
"ContentPackFor": {
"UniqueID": "Pathoschild.ContentPatcher"
}
]
}

______________________________________________________________

content file
______________________________________________________________
{
"Format": "2.3.0",
"Changes": [
{
"Action": "Load",
"Target": "Portraits/Abigail",
"FromFile": "assets/CustomAbigail"
}
]
{
"Action": "Load",
"Target": "Portraits/Abigail",
"FromFile": "assets/CustomAbigail_Beach"
}
]
{
"Action": "Load",
"Target": "Portraits/Abigail",
"FromFile": "assets/CustomAbigail_Winter"
}
]
]
 

DreamWolf

Cowpoke
You're using square brackets incorrectly
1728430838455.png

Here, you're using [], which indicates that you've finished the changes.
1728430898350.png

As you can see, the closing ] isn't red because it doesn't have an opening [.
I also added .png to each of you assets name.
I'm not a perfect modder, but this might help. Let me know if it works!

JSON:
{
"Format": "2.3.0",
    "Changes": [
        {
            "Action": "Load",
            "Target": "Portraits/Abigail",
            "FromFile": "assets/CustomAbigail.png"
        },
        {
            "Action": "Load",
            "Target": "Portraits/Abigail",
            "FromFile": "assets/CustomAbigail_Beach.png"
        },
        {
            "Action": "Load",
            "Target": "Portraits/Abigail",
            "FromFile": "assets/CustomAbigail_Winter.png"
        },
]
}
Edit: Remember to assign them all the correct priority; otherwise, the mod will try to load multiple PNGs simultaneously and may end up loading none.
 
Top