I tried to create the portrait normally using the link in the text, but Smafi says "HD Portraits 1.3.4 because it requires mods which aren't installed (tlitookilakin.AeroCore)."... I can't download AeroCore right now (the mode is hidden on the homepage). Is there another way? I really want to play the game TT
I'm hoping you or someone else will eventually post content packs for other mods (mainly orangepie's) because I tried using the patcher myself and could not figure out how to install json5 let alone anything else. I'm (kind of) figuring out the game code by altering various dialogue and event mods to my liking but all THIS? Way too much for my brain. Even the "simplified" explanation hurts to read. I burned out a few years ago and my ability to focus never quite recovered.
Same here! I have zero experience coding, and everything seems so daunting. I just need Ridgeside Village, but i have a hope that more DCBurger mods will be converted as well. Good luck to anyone who trys!
Can I know how you change from 'loads' to 'editimage'? Is it in the config file or something? I'm slow to modding and codding stuff please teach me your way I'm desperate TT
Hi, I'm getting the multiple load error as well---
'lunakatt's DCBurger Style Portraits for Wilford NPC' has multiple patches which load the 'Mods/HDPortraits/Wilford' asset at the same time (lunakatt's DCBurger Style Portraits for Wilford NPC > Load Mods/HDPortraits/Wilford #1, lunakatt's DCBurger Style Portraits for Wilford NPC > Load Mods/HDPortraits/Wilford #2). None will be applied. You should report this to the content pack author.
I know previous comments suggested changing "load" to "editimage": is that something I can do myself to get this fixed? Unfortunately I'm also having this happen with one of the content packs I made with your excellent patcher, so any tips would be appreciated!
hi, can anyone help? i tried installing json5 with this:
C:\Users\Gabee> py -m pip install json5 Collecting json5 Downloading json5-0.9.11-py2.py3-none-any.whl (19 kB) Installing collected packages: json5 WARNING: The script pyjson5.exe is installed in 'C:\Users\Gabee\AppData\Local\Programs\Python\Python311\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed json5-0.9.11
so i tried running the patch, but for some reason it's telling me json5 doesnt exist? :(
C:\Users\Gabee>python portrait_patch.py --path "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\Portait Mods\[CP] DCBurger's High Res Portraits" Traceback (most recent call last): File "C:\Users\Gabee\portrait_patch.py", line 20, in <module> import json5 ModuleNotFoundError: No module named 'json5'
It says it right there — that json5 is not in your path, so the script can't find it. Add the folder 'C:\Users\Gabee\AppData\Local\Programs\Python\Python311\Scripts' to your path by following these instructions and try again.
After stubbornly trying to figure out how to run the script for 6 straight hours, I finally got it to work!
I did it by opening my command prompt from my "[CP] DCBurger's High Res Portraits" folder by typing in CMD in the search thingi.
and then ran: python portrait_patch.py --path "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CP] DCBurger's High Res Portraits"
Edit: NVM ! Finally figured out how to do it <3 Thank you so much for this!
Hi, I have trouble using this and hope I can get some help here. I get either the [Errno 2] no such file... or I get the "No module named Json5" I used cmd as admin and powershell since I saw in the comments another user used powershell ( no idea bout difference tho, since I have literally no clue what I'm doing.) Including miniconda. I'm on Python 3.10.7. I used : pip install Json5 ( worked ), also pillow and argparse ( worked, i just copied what another user did in hopes that it works. ) I have no Idea what else I should do, I really hope someone could help me.
I've been having a lot of problems trying to figure this out. I may have to just go back to using just portraiture meanwhile until I figure out how to use this patch. I'm not sure what to do about python not seeing paths or why it can't open the patch. I've never used python and would like some help on what to do if anyone has the time.
46 comments
I'm (kind of) figuring out the game code by altering various dialogue and event mods to my liking but all THIS?
Way too much for my brain.
Even the "simplified" explanation hurts to read.
I burned out a few years ago and my ability to focus never quite recovered.
Converting Orangepie's 3NPC and John sometimes doesnt work right saying the same character is loading multiple pictures.
'lunakatt's DCBurger Style Portraits for Wilford NPC' has multiple patches which load the 'Mods/HDPortraits/Wilford' asset at the same time (lunakatt's DCBurger Style Portraits for Wilford NPC > Load Mods/HDPortraits/Wilford #1, lunakatt's DCBurger Style Portraits for Wilford NPC > Load Mods/HDPortraits/Wilford #2). None will be applied. You should report this to the content pack author.
I know previous comments suggested changing "load" to "editimage": is that something I can do myself to get this fixed? Unfortunately I'm also having this happen with one of the content packs I made with your excellent patcher, so any tips would be appreciated!
C:\Users\Gabee> py -m pip install json5
Collecting json5
Downloading json5-0.9.11-py2.py3-none-any.whl (19 kB)
Installing collected packages: json5
WARNING: The script pyjson5.exe is installed in 'C:\Users\Gabee\AppData\Local\Programs\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed json5-0.9.11
so i tried running the patch, but for some reason it's telling me json5 doesnt exist? :(
C:\Users\Gabee>python portrait_patch.py --path "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\Portait Mods\[CP] DCBurger's High Res Portraits"
Traceback (most recent call last):
File "C:\Users\Gabee\portrait_patch.py", line 20, in <module>
import json5
ModuleNotFoundError: No module named 'json5'
I did it by opening my command prompt from my "[CP] DCBurger's High Res Portraits" folder by typing in CMD in the search thingi.
and then ran: python portrait_patch.py --path "C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods\[CP] DCBurger's High Res Portraits"
Hi, I have trouble using this and hope I can get some help here. I get either the [Errno 2] no such file... or I get the "No module named Json5"
I used cmd as admin and powershell since I saw in the comments another user used powershell ( no idea bout difference tho, since I have literally no clue what I'm doing.) Including miniconda.
I'm on Python 3.10.7. I used : pip install Json5 ( worked ), also pillow and argparse ( worked, i just copied what another user did in hopes that it works. ) I have no Idea what else I should do, I really hope someone could help me.