Problems with Paint Shop Pro/tanks/gadgets

CC Mod and Map Makers Forum

Moderators: KG_Werfer, Sulla

Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sat Apr 19, 2008 10:11 am

I've got a problem with PSP which has been impeding my modding efforts:

it appears to be increasing the size of tga files for no reason when I save those files.

Also I think that it is altering saved file properties in some way. I only detect this because various tools made by Mafi are giving me the same feedback... ie error messages indicating the wrong file type is being used, although when I check the file properties they seem to be as requested by the utility. This is a bit of a vague description but if anyone can assist then I'll get more technical.

Has anyone else encountered this kind of problem and if so were you able to overcome it?
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sat Apr 19, 2008 10:34 am

I suppose this thread should really be in the Tech Help Forum.

The error message coming up is 'one or more images is not in 16 bit encoded tga format'.

The image in question is an edited & saved version of an image that previously seemed to be working ok although I need to do more checks.
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby yukongold » Sat Apr 19, 2008 3:17 pm

normski, versions of PSP after PSP7 have a bug that doesn't save 16 bit tga format properly. Even though the little menu shows 16 bit, the images are saved as 24 bit. From what I know, there was a similar bug in Photoshop 7, and the folks at JASC were essentially building a clone, so the bug got carried over. Adobe addressed their issue with a tga plugin. JASC claimed to have fixed the issue with PSP8 version 8.10, but that really wasn't the case. From what I could gather in one of the CCS forums the issue still hasn't been addressed in subsequent versions by the new owners of PSP (COREL).

There are a couple of workarounds though. You can use the function Mafi has added to RTB tool to do batch conversions to 16 bit tga format, or you could use a hex editor to correct the image headers. This really isn't as difficult as it sounds, and I can give you more details if you are interested.

cheers
User avatar
yukongold
Stabsfeldwebel
Stabsfeldwebel
 
Posts: 328
Joined: Sat Nov 13, 2004 7:00 pm
Location: Whitehorse,Canada
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sat Apr 19, 2008 9:04 pm

Thanks Yukongold

It's PSP 7 I'm using.

I am definitely interested in the hex editor correction of image headers, as this might enable me to salvage work which I've already done.
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sat Apr 19, 2008 9:25 pm

Incidentally your response offers a welcome (and hopefully not misplaced) sense of relief as for years I've feared that some worthless hacker had deliberately screwed the tga files up, in about 2001. I suppose that might still be the case & there's maybe a tiny bit of malicious code lurking which I've unwittingly transferrred over from my original pc. But if so it doesn't show up on anti virus & anti Trojan checks.

Regards

normski-
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby JimRM2 » Sat Apr 19, 2008 10:10 pm

I've never had a problem with Photoshop saving TGA's properly. Any version.
User avatar
JimRM2
 
Posts: 1647
Joined: Tue Jul 22, 2003 12:00 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby CSO_Talorgan » Sat Apr 19, 2008 11:24 pm

I have to report no such problems with PSP 7 if you exclude human error.

I also managed to mix up the requirements of Spriter and the RTB tool, which are not the same.
User avatar
CSO_Talorgan
Oberleutnant
Oberleutnant
 
Posts: 718
Joined: Sun Sep 09, 2001 5:00 am
Location: Scotland
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby yukongold » Sun Apr 20, 2008 1:05 am

Jim, the bug in Photoshop 7 was apparently to do with 32 bit tga and changed the way it saved the alpha channel. A plugin was offered as a temporary solution until version 7.0.1
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1544
My apologies for confusing the issue.

As far as I know Paintshop Pro saved 16 bit tga fine up until PSP8. JASC was bought out by COREL shortly after, but to the best of my knowledge did not address the issue in subsequent versions. The zip file is a pdf file that explains the targa format, and the pic shows the 18 bytes of the header (16bit, color, uncompressed). Hope this helps.

cheers
Attachments
tga2.zip
(54.38 KiB) Downloaded 70 times
16 bit TGA header.png
User avatar
yukongold
Stabsfeldwebel
Stabsfeldwebel
 
Posts: 328
Joined: Sat Nov 13, 2004 7:00 pm
Location: Whitehorse,Canada
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sun Apr 20, 2008 8:18 am

Thanks. I'll try the patch & RtB tool. I'll feed back the results.
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sun Apr 20, 2008 8:23 am

Ah ok. It's a photoshop plugin.
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby normski- » Sun Apr 20, 2008 8:46 am

RtB tool fixes the file format. Thanks again.
"We, who are as good as you, swear to you, who are no better than us, to accept you as our king and sovereign lord, provided you observe all our liberties and laws - but if not, not."
Medieval Catalan oath of fealty to the kings of Aragon

Docker from Le Havre, before you stands
A docker from Bremen,
Kill him, kill and kill, kill each other
Worker, set to work.
Marcel Martinet, July 1914
normski-
Oberfeldwebel
Oberfeldwebel
 
Posts: 163
Joined: Sat Feb 14, 2004 4:53 pm
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby Dreaded88 » Sun Apr 20, 2008 5:58 pm

I found PSP8 was adding a 19th byte to the header, after editing and before import I would take this out with a hex editor. Some of my old crude tools (like Gadgtool) this is pretty obvious because there is no error checking... It imports the file with the extra byte and all the colors come out psychadelic pink and green in the game.
Dreaded88
 
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby CSO_Talorgan » Sun Apr 20, 2008 11:08 pm

Dreaded88 wrote:I found PSP8


Have you been using PSP 8 all along?
User avatar
CSO_Talorgan
Oberleutnant
Oberleutnant
 
Posts: 718
Joined: Sun Sep 09, 2001 5:00 am
Location: Scotland
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby Dreaded88 » Mon Apr 21, 2008 12:03 am

CSO_Talorgan wrote:Have you been using PSP 8 all along?


Back in "the day" I was using PSP4 and 5, never had problems with those. For Grossdeutschland 2 I used PSP 8.
Dreaded88
 
Like / Share CSO - Post

Re: Problems with Paint Shop Pro/tanks/gadgets

Postby CSO_Talorgan » Mon Apr 21, 2008 8:08 pm

OK

I'm still baffled by other people's problems with PSP 7.
User avatar
CSO_Talorgan
Oberleutnant
Oberleutnant
 
Posts: 718
Joined: Sun Sep 09, 2001 5:00 am
Location: Scotland
Like / Share CSO - Post

Next

Return to Mod And Map Making Forum

This site is not affiliated to or has anything relating to the philosophies of any radical, political, racist or fascistic organizations. fight fascism! This site is dedicated and serves as an information-pool to all close combat gamers.

Copyright 2015 -- CloseCombat.Org All Rights are Reserved.