Icons and resources and C, Oh my!

Status
Not open for further replies.

Kalaron

Member
What do I have to do to replace SRB2's icon, something tells me I can't just replace the icon in src/win32.
 
Srb2's icon? Which one? If it's in Srb2.srb or sonic.plr, you can replace it without doing anything fancy.
 
I'm fairly certain most IDEs will have an option to edit it somewhere in the depths of their "project options"

Although, I'm pretty sure just replacing the icon in src/win32 WILL work. Unless you've tried that already and it didn't.
 
DashFox2007 said:
Yep, I've tried that, I'm pretty sure resource.rc has something to do with it......
The icon is specified in Srb2win.rc, but it just points to the icon file:

Code:
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1               ICON    DISCARDABLE     "Srb2win.ico"

So, editing Srb2win.ico is sufficient.
 
He probably isn't saving it as an icon. It must be saved as an icon by a program that can actually do that. It can't be a renamed PNG/BMP/JPG/ETC.
 
Yes, I've done that, I've generated a file with a .ico extension, I renamed it to Srb2win, and compiled the exe, but it still won't work, maybe the problem is that I used an online png to ico conversion webpage.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top