Author Topic: Sun-flare Add-On ".SUNFLARE" file  (Read 5111 times)


I saw there was a space between sun. SUNFLARE

I fixed that to make it "sun.SUNFLARE" but in the game it shows up, however does not do anything.





I just now saw the actual flare itself works, however there is obviously no icon. What did I do for the icon to break?
« Last Edit: November 12, 2013, 06:56:34 PM by Kamutog »



Here ya go.

http://www.mediafire.com/folder/k5034q5t68nz7/Sunflare_Old
I meant the ZIP file. Not the files inside it. Anyway: sunflare-Thumb.jpg =/= sunflare-thumb.jpg.

I meant the ZIP file. Not the files inside it. Anyway: sunflare-Thumb.jpg =/= sunflare-thumb.jpg.
T- Thats all I had to do?

It still does not appear, the name of it is now sunflare-thumb.jpg

Is it actually a jpeg or is it just a png file with the .jpg extension?

Is it actually a jpeg or is it just a png file with the .jpg extension?
I'm not sure what you mean by that last part, but I added .jpg to change the file-type. Which it did, so it isn't part of the actual name; just the file-type.

I'm not sure what you mean by that last part, but I added .jpg to change the file-type. Which it did, so it isn't part of the actual name; just the file-type.
In which case you now have a PNG image with the name "sunflare-thumb.jpg". You can't just change the file extension to change the type of image. You need to resave the image in the correct format to change the file type.

In which case you now have a PNG image with the name "sunflare-thumb.jpg". You can't just change the file extension to change the type of image. You need to resave the image in the correct format to change the file type.
No I don't really think so.


No I don't really think so.


Windows only reads the file extension. File format and file extension are two separate things but they practically always go hand in hand because it just makes everything much easier.

I downloaded the sunflare-Thumb.jpg from your Mediafire link, opened the image in Notepad++ to make a rather crude check of the image header and:


I don't claim to understand everything there nor is this the correct way to check image headers but the there is enough ASCII data to tell me the following:
The image is a PNG image
The image uses some sRGB color space
The image was saved using Paint.NET

Here. Download this file and see what Windows says about it: http://mirror.dataorb.net/kangaroo.penguins-live_in-theSOUTH_pole!

The file name is: kangaroo
The file extension is: penguins-live_in-theSOUTH_pole!

Yes you read that right. The file extension is that long, has dashes and underscores, uppercase letters, as well as an exclamation mark. My point is that the file extension can be just about anything and it doesn't necessarily tell anything at all about the file contents. Here's how the file looks on my Windows 7:


Windows says it a "PENGUINS-LIVE_IN-THESOUTH_POLE!" file which is simply how Windows chooses the display the file extension. All upper case. Character case has no meaning in a file extension.

That file is actually an image. Change the extension to .bmp and open it in your image viewer. Then come back here.

Curses! What sort of magic is this? An animated BMP file?! That cannot be and it indeed is not. Ha! You've been tricked! Let's see what that file header says:


As expected. It's a GIF file. I have no idea what that Netscape 2.0 is doing there but I found it amusing.

All modern browsers read the file header and not the file extension. Here, open this link: http://img.dataorb.net/kangaroo.penguins-live_in-theSOUTH_pole!
It's an animated the GIF regardless of what the file extensions says.

It all boils down to this:
File EXTENSION is not the same thing as file FORMAT

File format defines what some file actually is. File extensions is just for conveniency.
« Last Edit: November 15, 2013, 06:05:21 PM by Demian »

-really really loving long quote-
Ah, so to actually change the real format I have to open it, then SAVE it in a program such as paint.

I will do that to see if it works.

Edit: I have tried it with paint, it appears there is no .JPG option, the only thing close to it is .JPEG
« Last Edit: November 15, 2013, 08:46:35 PM by Kamutog »

Sticking a label reading "corn" on a loaf of bread will not make it corn. You must make corn.

Ah, so to actually change the real format I have to open it, then SAVE it in a program such as paint.

I will do that to see if it works.

Edit: I have tried it with paint, it appears there is no .JPG option, the only thing close to it is .JPEG
JPEG might work. If it doesnt, Paint.NET and GIMP can save as JPG.