Elin
92 人が評価
Portrait Specification Framework
2
3
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
619.393 KB
2024年11月22日 2時46分
2月21日 12時45分
20 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Portrait Specification Framework

解説
This mod is a framework which extends the ability to specify portraits for individual NPCs based on any combination of Category, Gender, Race, Job, CardID, and age range
You no longer have to see warriors that look like wizards if you don't want to
This mod also allows you to reroll non-unique character portraits via a talk option if enabled in the config
This is a framework mod, it does not come with a portrait pack and must be linked to existing packs using the in-game UI, or use modpacks which have specially edited filenames

Press ESCAPE, mouse over TOOL, and then click PORTRAIT TOOLS:
How to use:
Portrait Picker Tab
On the top, you can use the two buttons to re-roll the entire map, or the currently selected single portrait
The left side of the screen shows all of the NPCs present on the current map (you can scroll down to see more)
The right side shows all portraits currently loaded into the game

Select an NPC on the left, and then click on a portrait on the right to change its portrait

Portrait Pool Links Tab
At the top is the mod filter, this will determine which portraits are shown based on the selected mod
After loading the game at least twice use the "Portrait Specification Framework Local Settings" Mod to have custom, mod independent settings which aren't erased by steam with every update
The deselect all button will clear the current portrait selection
On the left side is the list of all portraits loaded by the selected mod, you can click multiple portraits to select sets of them, and click a portrait again to deselect it
On the right are the filters which specify what NPCs this portrait should apply to
The default options are to include the portrait selection for all possible NPCs, this is hardly desirable, filter accordingly

Once satisfied with your filter and portrait selection, click "Add selection to pool"
this will create/add to a pool corresponding to the filter, and now all NPCS matching that filter will have a chance at getting one of the selected portraits
IMPORTANT
: filters are additive, if you have a set of portraits for any eulderna, and a set of portraits for any female, a female eulderna will have a chance to pull a portrait from both of those sets

Once satisfied with your pools, you can save them to file to preserve them for next game load
this will save a PSFLinks.json file into the mod's directory (workshop or local), and in the case of "vanilla" it will save it into the root directory (where the Elin.exe is)
this file will be loaded automatically next boot, saving your progress
saving multiple times overwrites the file
deleting the file resets work to 0 if you need a nuclear option

Settings
Enable "Reroll Portrait" option, adds a dialog option to reroll an NPCs portrait randomly
Enable vanilla portraits: if you have enough portraits for all possible NPCS, you can turn this off to disable vanilla portraits (they are not very precise atm, i will possibly make better links later)

Changelog:
V0.9
Now can tag portraits by minimum and maximum age
Features should now be significantly easier to add
Stale links where no portraits exist on disk, no longer result in a sprite being assigned and instead fallback to vanilla
Added ability to save local settings into an automatically generated mod so they don't get wiped out by steam every update
Added ability to add links without a portrait folder to make creation of link only mods easier/allow local links that don't get wiped

Future Work
Add ability to reroll/specify PCCs

Framework compatible AI generated portraits kindly donated by datse
https://mega.nz/folder/twYiETQR#g_QWftX2Cnck-qi7P5NOLw/folder/s0xCCQQR

Data Dumps for IDs
lists of ids for jobs, races, and cards are available at the following url:
https://mega.nz/folder/0tpkWRaK#zvBNDhNa974WR1JyE2GP2Q
71 件のコメント
banoopy 4月23日 2時02分 
is there an easier way to filter sprites i feel like i keep making mistakes on filtering them and it's quite difficult to comprehend
Android  [作成者] 2月21日 12時52分 
Mod should be stable again, but now requires the YK UI Framework mod, which should be earlier in the load order. The requirement has been added to the steam page so it SHOULD automatically deploy to everyone's PC. but if it doesn't unsubscribe/resubscribe, and then make sure that YK Framework is set to load before this mod in the Elin mod list. Otherwise the UI won't open
Android  [作成者] 2月9日 16時11分 
@SOMEGUY
Might have been an update to the game that introduced some issues. I'll check it out when I have some time in a couple of days
SOMEGUY 2月9日 10時12分 
I've just recently started getting slightly odd behavior with this. Before even if I didn't set any settings for them if I rerolled the map or just rerolled "special characters" like younger sisters their portraits would only change to younger sister portraits.

Now however their portraits will switch to any portrait that's prefaced with special_f. I tried deleting the PSFLinks file thinking that maybe I accidentally fucked something up without noticing but that did nothing. It's not a huge issue because I can obviously just use this mod to limit it to just the right portraits but still I didn't need to do that before so I figured I'd mention it.
Android  [作成者] 1月26日 16時34分 
@Critical
Not sure why your ducks have people portraits, I wasn't able to reproduce this with the mod or in vanilla.
This mod is mostly for modders/advanced users that want to set up large sets of portrait groups. young males using granny portraits is a vanilla behaviour which was originally in-scope for this mod, but was never tackled as part of the vanilla fixes.

The only thing this mod will do without any adjustments is fix the mifu/nefu portraits and use some unused portraits. ducks/geese aren't touched and should fall back to vanilla and show up as their sprite. If this is not the case and the ducks actually DO have human portraits because of this mod somehow, let me know which zone you are seeing this with and what happens if you re-roll the duck's portrait and I'll take a look again.

If you just want to set specific peoples portraits you can use THIS mod instead
Critical 1月26日 13時59分 
AM I understanding it correctly that this mod requires users to manually set every single entity's portrait? Is that why my ducks have portraits of people, young males use granny portraits etc?
Android  [作成者] 1月9日 7時55分 
@Puddles, I had the no description update mod enabled... fixed thanks for letting me know
Updated description: Bugfixes and medium size change that makes the mod create a local second mod that stores settings that will never be overwritten by framework updates since steam keeps deleting peoples settings. Not sure if this is the best solution as it requires booting the game twice before it starts working but it integrates pretty well into the system as it is without any major changes
Puddles 1月9日 6時08分 
What did today's update change?
Reiyu 2024年12月30日 12時03分 
This mod really rules, thank you!!!
Android  [作成者] 2024年12月23日 10時09分 
@nagomi
which caracter/portrait/mod isn't showing up correctly, I can take a look and see if i can figure out what's going wrong
also if you could copy/paste your PSFLinks.json file into https://rentry.org/ or https://pastebin.com/ and then post a link to it, it would make it easier as well

i also recently found out that peoples custom settings for the Elin Core section are being overwritten by every update from this mod, so that may also cause issues. i'm working on a way to fix that now, after the next update and going forward local settings shouldn't be touched by updates anymore