PDA

View Full Version : Saving a car skin to .dds file - need help please



cjhill44
29-09-2017, 16:01
Hi guys

I have created a custom Ford Sierra RS500 livery in photoshop cs6 and want to convert it to DDS to be able to use it in game.

However when i try it says...

Image width or height are not power of 2.
Image mode only allowed.

The image size is w:4096 x h:6144

Both of which are divisible by 2, 4 etc

What do I need to do here?

Thanks

ccughostdk
29-09-2017, 21:05
Are Your livery merged to one layer before export to dds?

foolinjection
29-09-2017, 21:18
You need to resize the image to 4096 x 4096 in order for it to work.

What I do is select everything, copy merged and then paste to a new window. Resize it using the Image Size tool to 4096 x 4096 and then save as a DDS.

Works really well and doesn't screw up your 4096 x 6144 layered template.

ccughostdk
29-09-2017, 22:40
You need to resize the image to 4096 x 4096 in order for it to work.

What I do is select everything, copy merged and then paste to a new window. Resize it using the Image Size tool to 4096 x 4096 and then save as a DDS.

Works really well and doesn't screw up your 4096 x 6144 layered template.

No need to resize it to 4096x 4096. 4096 x 6144 works perfect - no problem there.

foolinjection
29-09-2017, 23:23
No need to resize it to 4096x 4096. 4096 x 6144 works perfect - no problem there.

The textures in the custom texture folder are 1024 x 1024, so 4096 x 4096 would be the size they would need to be to be 4x larger in this case.
Plus it's good practice for video game textures to be done using a factor of 2. so 16, 32, 64, 128, 256... etc etc...
Also the DDS export error states that the texture can't be 4096 x 6144.

Flamin Pixel
30-09-2017, 10:54
No need to resize it to 4096x 4096. 4096 x 6144 works perfect - no problem there.

I'm noob in painting with PC2 (last skin made in rFactor around 4-5 yrs ago) so I don't know if this is true for every template but I'm working with the Toyota GT86 RB and the size 4096 x 6144 works perfect.

RacingTopsy
30-09-2017, 11:17
There should be no need to resize it.

foolinjection
30-09-2017, 21:13
There should be no need to resize it.

Well this was from the pCARS 1 car painting forum... which I used to frequent making skins for that game. Doesn't seem to have changed from pC1 to pC2... *shrugs*

241457


Image width or height are not power of 2.

I mean this is telling you it can't be 4096 x 6144... as 6144 is not a power of 2.

RacingTopsy
30-09-2017, 22:20
Well this was from the pCARS 1 car painting forum... which I used to frequent making skins for that game. Doesn't seem to have changed from pC1 to pC2... *shrugs*

241457



I mean this is telling you it can't be 4096 x 6144... as 6144 is not a power of 2.

I haven't ever resized one.
They load fine in the regular template size.

241459

foolinjection
30-09-2017, 22:56
I haven't ever resized one.
They load fine in the regular template size.

Fair enough. That still doesn't help however the fact that whatever settings the OP is using on the DDS export it is asking for the file to be in a factor of 2 format, where 6144 is not a valid size.
The DDS export settings I use are DXT1 RGB 4bpp | no alpha with "Generate MIP Maps" checked.

Regardless, I'll still be resizing mine as it's good practice to do so. It's better for processing and optimisation if the textures are sized in factors of 2... so 1024 x 1024, 2048 x 2048, 4096 x 4096 etc.

RacingTopsy
30-09-2017, 23:08
What are you using to export the .dds cjhill44?

cjhill44
02-10-2017, 11:40
241644

These are my settings when I try to export.

Surely if i resize to 4096 x 4096 it will squish everything up as the template is not designed to be square?

cjhill44
03-10-2017, 10:29
OK, No worries. I saved it to 4096 x 4096 and managed to save it to a dds.

Overwrote the player custom livery file and hey presto! It worked!

It does need some more work but it's getting there...

241746

241747

241748