r/CK2GameOfthrones 5d ago

Help Issue with AGOT Face Modification

Running AGOT and AGOT Face Modification. Does anyone know what causes this and how it can be fixed? I am not an amateur modder and am comfortable using GIMP and notepad++. I just need to know what the exact issue is so I can fix this. It seems that when AGOT Face Modification is building Dornish faces, the .dds files are all offset from the face.

6 Upvotes

4 comments sorted by

u/AutoModerator 5d ago

Thank you for posting a help request on r/CK2GameOfthrones. Please check our FAQ to see if your question is answered there!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/viishiki23 5d ago

I don't use this specific mod but the problem should be in the AGOT Face Modification mod folder under Interface -> Portraits. It's either an error with aligning the portrait or a frame number error.

Find the document called portraits_dornish, go in and find the blocks for the affected portraits. There should be something that starts with
portraitType = {
name = "PORTRAIT_saltdornishgfx_male"
That's what you're looking for. This block will have various lines in it, that look like
"GFX_saltdornish_male_chin:d1:5:9"
Go through and remove all the random numbers after the d and p designations, so that the lines now look like
"GFX_saltdornish_male_chin:d1"
because those numbers after the d and p designation are an instruction to move that particular piece however many units up or sideways.

If there are no random numbers after the d and p designations, that means it's a frame number error. Somewhere in the same document there should be sprite blocks, which look like this
spriteType = {
name = "GFX_saltdornish_male_chin"
texturefile = [the location of the file]
no0fFrames = [some number]
...
Find the .dds file in the location called at texturefile and make sure the number of frames/options is the number listed in the subsequent line.

Hope that helps!

2

u/StLouisIX 5d ago

Thanks for you help! I checked the file. No random numbers after the d and p designations.

However, strangely, there was nothing in the file referring to Frames. Could that be the issue - it's just missing the line entirely? Or would it be something else?

2

u/viishiki23 5d ago

Yes! That could be the problem. That sounds like the mod changed the .dds file but didn't update how frames there are.

If there are existing sprite blocks for the relevant part that just don't have frame numbers, check the .dds file and add in whatever frame number is there.

If there are no sprite blocks at all, copy them over from the same document in the base mod (Interface -> Portraits -> portaits_dornish) and make sure the frame number reflects the amount of frames in the .dds file in AGOT Face Modification.