Trouble importing PCX files
Trouble importing PCX files
Anyone else have trouble with PCX files?
I could never get them to import into UnrealEd 1 or 2.
If I EXPORT a default texture to PCX, then re-import it, it works fine, but if I create my own from scratch, it never wants to import.
No biggie since I convert everything to Bitmap and they work fine.
PBrush, IrfanView, Photoshop all convert to bmp and import fine.
When I use IrfanView or Photoshop to save as a PCX file, they never import correctly and the texture is scrambled.
I even tried my old copy of ZSoft PC Paintbush IV (the father of PCX files) and it still never worked.
What's up with that?
Also, ever done this?
You have the flag and are about to return it to your Base, but then drop it so one of your Bots can pick it up and have the honors?
That's just crazy right?
.
I could never get them to import into UnrealEd 1 or 2.
If I EXPORT a default texture to PCX, then re-import it, it works fine, but if I create my own from scratch, it never wants to import.
No biggie since I convert everything to Bitmap and they work fine.
PBrush, IrfanView, Photoshop all convert to bmp and import fine.
When I use IrfanView or Photoshop to save as a PCX file, they never import correctly and the texture is scrambled.
I even tried my old copy of ZSoft PC Paintbush IV (the father of PCX files) and it still never worked.
What's up with that?
Also, ever done this?
You have the flag and are about to return it to your Base, but then drop it so one of your Bots can pick it up and have the honors?
That's just crazy right?
.
Re: Trouble importing PCX files
Had they a square size of a power of two? Maximum 256 colors? Best would be if you put an example of a none importable PCX file here.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
- fudgonaut
- Adept
- Posts: 363
- Joined: Sat Oct 05, 2013 7:20 am
- Personal rank: Easy Target
- Location: "The Butthole of the World"
- Contact:
Re: Trouble importing PCX files
Yeah I never got Photoshop make usable .pcx files.
Even with .bmp I used to have a lot of problems getting format settings correct for import.
This is workflow I use now:
- I make all my textures in photoshop
- I save the final images as .tga (24-bit depth)
- Then I use Bright to batch process the .tga files to .pcx
Bright has never failed me — especially when using the -pinkmask argument to ensure my masked textures are processed correctly.
25 Anniversary Map Signup
My UT stuff:
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
My UT stuff:
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
Re: Trouble importing PCX files
Thanks Barbie
Yes. 256x256, 128x128, 64x32 etc.
16.7M colors.
PCX imports have to be 256 colors? That's probably the problem then.
Odd, cause the exact same file in BMP format imports fine.
.
Re: Trouble importing PCX files
dumb idea but maybe try taking a png screenshot of the texture with snipping tool and then try to import it? print screen and paint could work too
- sektor2111
- Godlike
- Posts: 6403
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Trouble importing PCX files
Never failed by importing the same format as it was exported from Editor. First time I examined file format and details for figuring what Editor knows to do.
Something which I'm using is PCX with 256 colors, format PCX v5 (old PSP here), it's all normal. Also plain BMP in 24 bit.
Something which I'm using is PCX with 256 colors, format PCX v5 (old PSP here), it's all normal. Also plain BMP in 24 bit.
- Dr.Flay
- Godlike
- Posts: 3347
- Joined: Thu Aug 04, 2011 9:26 pm
- Personal rank: Chaos Evangelist
- Location: Kernow, UK
- Contact:
Re: Trouble importing PCX files
Q: what renderer are you using (for the game and in UEd) and have you enabled support for compressed textures ?
Importing a 24 bit image will result in a DDS/S3TC import.
Texture sizes and colours are not so limited since the better renderers became available, so a lot of my textures are 24 bit these days, however it has to be enabled in the renderer config.
General rule of thumb;
PCX export does not try to keep the colours in the same order that it was imported.
BMP does not change the palette order unless you save at a lower bit-depth.
Importing a 24 bit image will result in a DDS/S3TC import.
Texture sizes and colours are not so limited since the better renderers became available, so a lot of my textures are 24 bit these days, however it has to be enabled in the renderer config.
General rule of thumb;
PCX export does not try to keep the colours in the same order that it was imported.
BMP does not change the palette order unless you save at a lower bit-depth.
UT99.org House Rules
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG
Re: Trouble importing PCX files
Make sure to have INDEXED color palette! (do so in Photoshop, it can't show RGB or CMYK, but indexed)
- fudgonaut
- Adept
- Posts: 363
- Joined: Sat Oct 05, 2013 7:20 am
- Personal rank: Easy Target
- Location: "The Butthole of the World"
- Contact:
Re: Trouble importing PCX files
This is why I love using Bright because it automatically indexes/palettizes my .tga files as it converts them to .pcx
25 Anniversary Map Signup
My UT stuff:
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
My UT stuff:
CTF-NRMC-Gravitation | CTF-Panamax | Octane Boss Skin | Diesel mkII Boss Skin | Magma NewXan Skin | Skinsect Skjaarj Skin | Gaspack Voicepack
"Also UPDATE YOUR SIGNATURE"
-UnrealGGecko
Re: Trouble importing PCX files
Hey Doc!!!Dr.Flay wrote: ↑Thu Dec 02, 2021 10:47 pm Q: what renderer are you using (for the game and in UEd) and have you enabled support for compressed textures ?
Importing a 24 bit image will result in a DDS/S3TC import.
Texture sizes and colours are not so limited since the better renderers became available, so a lot of my textures are 24 bit these days, however it has to be enabled in the renderer config.
General rule of thumb;
PCX export does not try to keep the colours in the same order that it was imported.
BMP does not change the palette order unless you save at a lower bit-depth.
So glad to see you're still around. It's been a while.
To be honest I'm not exactly sure except to say I'm using a plain vanilla install of UnrealEd 432.
Rendering is direct 3d support. Didn't see a compressed files setting.
I actually never use PCX files. All my graphics are 24 bit bitmaps and they work fine, but I was curious what the deal was.
Interesting how PCX is such an old format. I remember back in the 'ol days using a program called Picem and TPicem to display PCX and Compuserve's fancy new GIF files.
https://en.wikipedia.org/wiki/PCX
https://www.pcorner.com/list/DPGRAPH/PICEM31B.ZIP/INFO/
- EvilGrins
- Godlike
- Posts: 9668
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: Trouble importing PCX files
I've never had that problem, making original .pcx files.
I use ThumbsPlus to convert formats, I work edits in .png and convert them to .pcx when I'm putting them back into UT. I can convert anything into either format with that thing, and I'm not even using the most recent version of ThumbsPlus.
Only difficulty I ever come across is ensuring the .pcx files are the correct resolutions... if they're not exact they won't work.
I use ThumbsPlus to convert formats, I work edits in .png and convert them to .pcx when I'm putting them back into UT. I can convert anything into either format with that thing, and I'm not even using the most recent version of ThumbsPlus.
Only difficulty I ever come across is ensuring the .pcx files are the correct resolutions... if they're not exact they won't work.
- Attachments
-
- Clip0003.png (6.8 KiB) Viewed 415 times
-
- Clip0002.png (7.55 KiB) Viewed 415 times
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: Trouble importing PCX files
Thanks Delacroix
Yes, that appears to be the solution.
Created a PCX file from scratch in Photoshop, click on Image/Mode/Index color.
I selected Uniform, 256 color, and it worked.
Unfortunately MsPaint (PBrush) and IrfanView has no such settings.
I'll keep using bitmaps just because it is so much more versatile, but good to know. An old question laid to rest.
Thanks
.
- Attachments
-
- PCX Import Test.jpg (60.83 KiB) Viewed 382 times