This is a guide to create custom player portraits for the game Pillars of Eternity (POE). I generally forget the file paths and modding processes if I don't document them so this is a reminder for myself as well as others interested in making some custom player portraits for POE. I would say this is pretty basic modding if you're not familiar with modification of game assets.
Small portraitsMy five femme fatales and one ugly NPC.
So the first thing you'll need is the game POE. I'm currently using the Windows OS / Steam copy, version 1.002. Although non-DRM copies should also work. The game assets are located in your game installation directory.
Next you need to lookup the location of your game files
C:\[Where your programs are installed]\steam\steamapps\common\Pillars of Eternity
Suckers! Figure it out yourself!
The portraits are located deep in the game directory. The male/female player portraits are in separate folders. This is where art assets need to go:
C:\[Where your programs are installed]\steam\steamapps\common\Pillars of Eternity\PillarsOfEternity_Data\data\art\gui\portraits\player\male C:\[Where your programs are installed]\steam\steamapps\common\Pillars of Eternity\PillarsOfEternity_Data\data\art\gui\portraits\player\female
File names & synxtax
By default there should already be built-in player art assets in these folders. IMPORTANT: Take note of the file naming syntax as you'll need to replicate it.
Generally each player portrait consists of two image files: A small image "filename_sm.png" and a large image "filename_lg.png".
Make sure the prefix is the same for both image files. In the female example below, the prefix is designated "female_custom001" and suffix is "_sm" or "_lg".
The male examples are also shown below. The game doesn't really care what you name the prefixes as long as each set of images have the same prefix and the relevant suffix.
The exact pixel dimensions are below:
|Half body or full length portrait. Use high resolution image if you don't want a blurry mess.|
The quickest way to create multiple custom portraits was to open two separate Adobe PSD files. Then create Photoshop macros to save the files somewhere, and rename it manually.