Go to Maps/Scenario/missionname/, open map.xdb, and find the PWLPicture property. Look at the path to the texture. Either redraw the texture at that path or specify the path to your own.
Thanks, I didn't find it exactly that way. I have a mod installed that unlocks all factions, and I found it in the mod's file, at the same path.
Added 2 hours 16 minutes ago
Go to Maps/Scenario/missionname/, open map.xdb, and find the PWLPicture property. Look at the path to the texture. Either redraw the texture at that path or specify the path to your own.
I'm currently trying to replace the image, and it's an interesting thing. I was able to expand the image, but when I replace the image (for example, the PWL.(Texture).dds file), it still gets cropped at the edges. I started looking for where the parameters of the image format itself are specified. I found the following data in the PWL.(Texture).xdb file:
1364
1024
I changed them to a new graphic file format, but it still crops it for some reason. Can anyone tell me what else might be the problem?