Manor Lords

Here I will explain how to make portraits mod, yes I know, maybe for some people this mod is trivial but I will still explain. ENJOY

Tools you need:
Fmodel or Umodel
Unrealpak
Images (must be 1024 X 1024)
Unreal Editor 4.27.2

Step 1
Open Fmodel or Umodel and select the Paks directory of the game first here, I use Fmodel and it will appear like this then Select Folder and press OK, and make sure your UE Version is GAME_UE4_27 to avoid unwanted things
You can find the Paks directory here SteamLibrary\steamapps\common\Manor Lords\ManorLords\Content\Paks



Step 2
It will appear like this, there is a red mark which means you cannot access the .pak file. All you need to do is enter the AES key
You can press Directory in the top left corner then click AES, and enter the AES key there and press OK
(AES: 0xD7D2FFA2744D18A7B84DFF09591C212C2068413A23BA3967F9890A6654989321)


A green mark will appear if successful


Step 3
Select Loading mode to All and press Load, and you will be directed to Folders
and follow this path ManorLords/Content/ManorLords/Portraits and click packages
and it will look like this, here you can choose which default portraits you want to change

 You can double click first to see the image
 

After that, you can change the name of your image to the exact name of the default image (Example: Portrait_Male_Bishop)


Step 4
Open your unreal editor 4.27.2, select Games and Next, I'll explain quickly here because it's already too long

Select First Person(Make it easier for beginner) and Next

And name it whatever you want, named it ManorLords and Create Project

And the first thing you do is press Build, then press settings -> project settings and press Packaging, change the build configuration to Shipping

Search Share then uncheck Share Material Share Code

Create these two folders ManorLords and Portraits, Correct path and place your images in the Portraits folder


Now you can cook content

Then go to path Documents\Unreal Projects\ManorLords\Saved\Cooked\WindowsNoEditor\ManorLords\Content\ManorLords\Portraits
here to take the uasset and uexp files



Step 5
Copy or Cut these two files to unrealpak\YourFolderName\ManorLords\Content\ManorLords\Portraits

Finally, just drag and drop the folder containing the 2 files WITH THE CORRECT PATH into UnrealPak-With-Compression to create a .pak

Place pak file in ManorLords\Content\Paks\~mods (create ~mods if they don't exist yet)

TADAAAA!!!!

I hope you understand. ENJOY
If there is a problem let me know

CREDITS TOOLS
Fmodel
FluffyQuacks Unrealpak
Konstantin Nosov Umodel
Unreal Editor

Article information

Added on

Edited on

Written by

rGiiiii

12 comments

  1. dreams897
    dreams897
    • member
    • 8 kudos
    Edit: Got it working - apparently it's in WIP folder.

    I noticed that the first Knight (younger one) doesn't change? I am naming the file the same like all the others. I noticed in your mod you didn't change it either.. why is it hard to change?
  2. dreams897
    dreams897
    • member
    • 8 kudos
    I followed this and while it works I noticed that the portraits are a little distorted in the vanilla files.. how do I replicate this? because otherwise they end up looking wrong despite being the same dimensions (1024 x 1024)

    Edit: I got it working with these dimensions: 855 x 1044 oddly enough that makes it look normal if I paste my portraits into a file with those dimensions, center them and save them
  3. jengdexinw
    jengdexinw
    • member
    • 0 kudos
    I'm quite new to Unreal. I did step 4, and then I was completely confused because I couldn't find anything. Can you make a short tutorial Video?
     Thank you so much for sharing the cool stuff, I really want to add my friends' faces to the game. lol
    1. rGiiiii
      rGiiiii
      • supporter
      • 3 kudos
      https://youtu.be/7g-D1-1TZPg?si=0-YYZQSJEddOpdtt
      https://www.nexusmods.com/manorlords/mods/72?tab=videos
      I've made it the fastest way without using Fmodel or Umodel, I hope you understand
    2. jengdexinw
      jengdexinw
      • member
      • 0 kudos
      Oh thank you very much! it works well my friend is very happy with this lol 
  4. mjra
    mjra
    • member
    • 1 kudos
    Is there a way to fix the Top left portrait switching back to orignal on Savegame load?
  5. Bidugo
    Bidugo
    • member
    • 1 kudos
    I followed your instructions to the letter, however all it shows me in the game is a white square where the portrait should be.
    1. rGiiiii
      rGiiiii
      • supporter
      • 3 kudos
      Have you really followed the method above correctly?

      There are several possibilities if you experience blank white:
      your path is not correct
      you didn't cook it properly


      I also experienced a white screen but it was successfully fixed.
      let me know the details from your file
  6. LordKriegs
    LordKriegs
    • member
    • 0 kudos
    Thanks for the guide. 

    Idk why, but the in-game image is really low res. I used a 1024x1024.png image, so it shouldn't be that. Any idea why this is?
    1. rGiiiii
      rGiiiii
      • supporter
      • 3 kudos
      Hey, thanks

      1024x1024 is the image size not the image quality, you can try using Canva (or other tools) to change the image to 1024x1024 or upscale the image or look for a more HD image that is already 1024x1024
    2. LordKriegs
      LordKriegs
      • member
      • 0 kudos
      Ok I'll try that.

      *edit: Incidentally what worked for me was just ignoring the image size all together. Lesson learned, don't mess with image pixel size. Idk why. Regardless, thank you so much. This tutorial was perfect, not complicated, nor did it ignore important details.
    3. rGiiiii
      rGiiiii
      • supporter
      • 3 kudos
      happy to hear it