I have a strange problem with V1.70 and custpaints oxp.
Version 1.70 seems to have a problem with two particular png files of this oxp (flamekrait_rear.png and flamekrait_bottom.png) since I can not see any textures in the bottom and rear of flame krait in the demo screen. When I looked in the stderr:
From stderr file
2007-12-16 13:02:01.718 oolite.exe[3508] [texture.load.png.error]: ***** A PNG loading error occurred for AddOns/custpaint1.oxp/Textures/flamekrait_rear.png: Not a PNG file
2007-12-16 13:02:01.718 oolite.exe[3508] [texture.load.png.error]: ***** A PNG loading error occurred for AddOns/custpaint1.oxp/Textures/flamekrait_bottom.png: Not a PNG file
Facts
1.The png files exit in the textures directory and seem to be ok.
2.It is not a case of a case sensitivity (I am a pc user after all) or bad naming of the png error since the message is not [files.notFound]: ***** ERROR: Could not find texture but A PNG loading error occurred.
3.When I install this oxp in ver 1.65 everything is ok. I can see textures in the bottom and rear of the flame krait and no errors like above in the stderr.
4.I downloaded the oxp from oosat1 and reinstalled it in both versions with the same results (works ok in 1.65 but not in 1.70)
It is not something serious but I was wondering if someone else has seen that in custpaint or any other oxp.
Odd problem with custpaint OXP and ver 1.70
Moderators: winston, another_commander, Getafix
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
This problem has been around since 1.67. The issue is simple: those files aren’t PNGs, they’re misnamed BMPs.
E-mail: [email protected]
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
Ahh!
So that is what is wrong with them! duh!
The inverted colour of the flamekrait-bottom has been bugging me for years.
(finding the filetype in XP can be difficult if the file has been renamed incorrectly, probably going outside win to the DOS-shell would make extensions visible on short names. Only navigating LONG directory names in DOS is a drag: "thisdirectorynameistoolarge" would become "/thisdi~1" or somesuch)
Mind that this OXP was my first AND at the time there was no stable oolite for PC.
(I had Rik and IIRC in this case Murgh do the testing and such)
I'll add this to my TODOWHENIFEELIKEIT list too.
So that is what is wrong with them! duh!
The inverted colour of the flamekrait-bottom has been bugging me for years.
(finding the filetype in XP can be difficult if the file has been renamed incorrectly, probably going outside win to the DOS-shell would make extensions visible on short names. Only navigating LONG directory names in DOS is a drag: "thisdirectorynameistoolarge" would become "/thisdi~1" or somesuch)
Mind that this OXP was my first AND at the time there was no stable oolite for PC.
(I had Rik and IIRC in this case Murgh do the testing and such)
I'll add this to my TODOWHENIFEELIKEIT list too.
Riding the Rocket!
Png files have a signature, they allways start with the same...Arexack_Heretic wrote:Ahh!
So that is what is wrong with them! duh!
The inverted colour of the flamekrait-bottom has been bugging me for years.
(finding the filetype in XP can be difficult if the file has been renamed incorrectly, probably going outside win to the DOS-shell would make extensions visible on short names. Only navigating LONG directory names in DOS is a drag: "thisdirectorynameistoolarge" would become "/thisdi~1" or somesuch)
Mind that this OXP was my first AND at the time there was no stable oolite for PC.
(I had Rik and IIRC in this case Murgh do the testing and such)
I'll add this to my TODOWHENIFEELIKEIT list too.
namely
‰PNG
if you look at it in a text editor...
or
89 50 4e 47
in a hex editor
So that way you can be sure it is a legit png file..
Cheers Frame...
Bounty Scanner
Number 935
Number 935