.ico file not working as Icon...

Non-platform specific questions.

.ico file not working as Icon...

Postby Sgt. Sparky » Thu Sep 13, 2007 9:51 pm

I have an Icon(.ico file) that I made with version 3.2 of my painter program(I have not posted this version yet.),
but I keep having one problem: every Icon I make with it works with every program I have that can view Ico files exept GE.
Meaning: every time I add my painter Icon I made with my program as an Icon for my program and I try to export it the exported version does not have my icon, instead it simply has the GE icon... :(
any Ideas? :(
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: .ico file not working as Icon...

Postby makslane » Thu Sep 13, 2007 10:08 pm

Can you post the icon?
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: .ico file not working as Icon...

Postby J Maker » Thu Sep 13, 2007 11:16 pm

samething happens to me but i use just plain paint :| it's SOO frusterating and i export it as a .ico
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Re: .ico file not working as Icon...

Postby Sgt. Sparky » Fri Sep 14, 2007 12:06 am

makslane wrote:Can you post the icon?

okay,
Here it is(it is in a .zip because extention .ico is now allowed. :( ) :
Attachments
PainterIc6.zip
=)
(660 Bytes) Downloaded 110 times
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: .ico file not working as Icon...

Postby makslane » Fri Sep 14, 2007 1:38 am

I think there are something wrong in this icon file.
Some techinical details now...

The icon file starts with a header thats contains three values:

Reserved: Reserved (must be 0)
Type: Resource Type (1 for icons)
Count: How many images?

In your file, the Reserved and Type is wrong.
Loading the file in a HEX editor, I can see there is not a real .ico file, but a BMP file!

So, Game Editor can't export the icon.

Read more at:
http://msdn2.microsoft.com/en-us/library/ms997538.aspx
http://www.bsdg.org/SWAG/WIN-OS2/0058.PAS.html
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: .ico file not working as Icon...

Postby Sgt. Sparky » Fri Sep 14, 2007 1:42 am

allright, thankyou. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Re: .ico file not working as Icon...

Postby Fuzzy » Sun Sep 16, 2007 12:32 pm

some programs would accept bmps as ico. At one point windows would look at the header of a file and decide what it was. it would ignore the extension in some cases, so there was a security issue as people would hide viruses in things like screen savers.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron