Recent

Author Topic: Recompiling the IDE resource file  (Read 3041 times)

Paulo França Lacerda

  • New Member
  • *
  • Posts: 44
    • BlaisePoint Informática
Recompiling the IDE resource file
« on: September 29, 2016, 08:00:17 pm »
I'm trying to replace the IDE's traditional main icon, but just replacing the icon file ("lazarus.ico") in the \ide folder isn't enough.
Before, I guess, the RES file ("lazarus.res") needs rebuild, which requires the respective sources ("lazarus.rc").

Is the RC file available for download somewhere?
Thanks in advance.
Lazarus 1.6.0.4 on FreePascal 3.0
Windows 7 32-bit

Paulo França Lacerda

  • New Member
  • *
  • Posts: 44
    • BlaisePoint Informática
Re: Recompiling the IDE resource file
« Reply #1 on: September 29, 2016, 08:11:06 pm »
As a workaround - until I can get my hands on the RC file...   :D

I've just managed to replace the MAINICON directly within the RES file by using ResourceHacker.
Then I recompiled the IDE by reinstalling a design-time package of mine.
Worked like a charm.

Anyway, I'm still interested in the RC file.
« Last Edit: September 29, 2016, 08:14:55 pm by patulinu »
Lazarus 1.6.0.4 on FreePascal 3.0
Windows 7 32-bit

Paulo França Lacerda

  • New Member
  • *
  • Posts: 44
    • BlaisePoint Informática
Re: Recompiling the IDE resource file
« Reply #2 on: September 29, 2016, 10:33:05 pm »
Ok, I ended up reconstructing the RC file by hand (zip attached).
I used Borland's BRCC as resource compiler (not included in the zip).
There is also a batch to ease the compile job.
Lazarus 1.6.0.4 on FreePascal 3.0
Windows 7 32-bit

x2nie

  • Hero Member
  • *****
  • Posts: 515
  • Impossible=I don't know the way
    • impossible is nothing - www.x2nie.com
Re: Recompiling the IDE resource file
« Reply #3 on: September 30, 2016, 04:50:56 am »
I do not change the icon of Lazarus IDE, but did for splash.
it may helps: http://forum.lazarus.freepascal.org/index.php/topic,31022.msg198343.html#msg198343
When you were logged in, you can see attachments.
Lazarus Github @ UbuntuCinnamon-v22.04.1 + LinuxMintDebianEdition5

 

TinyPortal © 2005-2018