OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: filth on 07 Dec 2007, 09:53:08

Title: bad pixel format for a .paa file
Post by: filth on 07 Dec 2007, 09:53:08
hello ofpec. i am discovering the pleasures of working with cut resources for the first time and a making some progress, however one issue has me stumped.  :blink:
i have a picture file that i'm trying to use in a cutrsc that i've created in photoshop, set the alpha channel correctly with the correct mask and then saved it as a tga file. i then imported it to texview and saved it as a .paa. all well and good. however, when i try to run the cutscene, the game crashes to desktop with the error message: texture has bad pixel format (VRAM). when i have looked at other people's successful attempts, i have discovered that they are all set to DXT1 in texview, but my image defaults to DXT5. is this where the problem lies? if so, everytime i try to save it as DXT1, it reverts back to DXT5 on saving.  :dunno:
can anyone help plz? thx.

tell a lie, i'm still stumped. thought i'd found the answer, but i aint.
Title: Re: bad pixel format for a .paa file
Post by: Mr.Peanut on 08 Dec 2007, 22:26:47
Try using the origianl TexView for OFP only? It didn't have any DX options...
Title: Re: bad pixel format for a .paa file
Post by: filth on 09 Dec 2007, 02:07:22
i got the version i'm using from the official bis site.  :dunno: nm,  i'll hunt around for the old one. cheers again m8.   :cool2:
Title: Re: bad pixel format for a .paa file
Post by: Mr.Peanut on 09 Dec 2007, 02:09:53
Old one used to be on nakedsquid, I think. If you can't find it give me shout.
Title: Re: bad pixel format for a .paa file
Post by: Planck on 09 Dec 2007, 05:15:23
Gies a shottie of yon texture then mannie, maybe some chiel can do something with yon.

No texture, no advice.


Planck
Title: Re: bad pixel format for a .paa file
Post by: filth on 09 Dec 2007, 16:32:50
here it is a jpg. can't upload it as a paa. i can't find texview 1 out there anywhere, tried nakedsquid nut, nothing. any pointers?


Edit: attached image (filthynoseart.jpg) lost in the crash of 2009 - WEK
Title: Re: bad pixel format for a .paa file
Post by: bedges on 09 Dec 2007, 23:08:13
ta da.
Title: Re: bad pixel format for a .paa file
Post by: filth on 10 Dec 2007, 14:18:48
thx for this m8. - any idea what was wrong with it? are you using the original texview program to convert the file? only i need to know, coz i'll need to change the pixel dimnensions to 256x256. plus i wouldn't mind finding out what i was doing wrong before in case i want to try it again in future. i'm getting an error message loading this file which is attached. but then it shows the image fine on screen after the error. help plz.  ???
Title: Re: bad pixel format for a .paa file
Post by: bedges on 10 Dec 2007, 19:27:33
original texview is here (http://www.ofpec.com/ed_depot/index.php?action=details&id=182) (if in doubt, search ;) )

i have no idea what went wrong. i simply followed the steps i usually do to create the paa - using the original texview - and voila... transparent paa.
Title: Re: bad pixel format for a .paa file
Post by: filth on 11 Dec 2007, 23:04:18
brilliant. thx m8.  :cool2: :good: solved.