[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

Tiller
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.
 

Pestilence

Newcomer
Ok so it's still not working... In my " [CP]Abigal " folder which is located first thing in my " Mod " folder I have from top to bottom my " assets " folder, my " content.json " page and my " manifest.json " page but both my content.json and manifest.json pages are both just normal notes do I need to change them to something else or is it fine just as a notebook note paper
 

Pestilence

Newcomer
Ok so it's still not working... In my " [CP]Abigal " folder which is located first thing in my " Mod " folder I have from top to bottom my " assets " folder, my " content.json " page and my " manifest.json " page but both my content.json and manifest.json pages are both just normal notes do I need to change them to something else or is it fine just as a notebook note paper
It says it's the content.json and manifest.json files are both text documents is this right???
 

DreamWolf

Tiller
The files need to be in .json format; otherwise, SMAPI won’t recognize them. Did you make sure to name them content.json and manifest.json and not accidentally save them as content.json.txt?
 
Top