Jump to content



Photo

Icon Resource Editor


  • Please log in to reply
7 replies to this topic

#1 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,216 posts

Posted 10 March 2012 - 09:44 PM

When putting this together I originally had in mind to use the functions for another script I have but then I noticed that the process of doing this would increase the file size slightly, so I abandoned the idea and made this instead.

Thanks to Trancexx for the resource updating and almost everything else, all I did was put it together in a way that it would let me edit icons in exes. Also thanks to who ever made the _Res_Update() function in the autoit3wrapper since I also included that but didn't use it so the function is there if any one wants to play with this.

I didn't spend too much time on this so I didn't do proper error checking and other things, but it works and If I were you I'd save a copy of any file you edit.

Posted Image

Attached File  Icon Edit .au3   62.34K   282 downloads

New version, better UI and less buggy.

Posted Image

Attached File  Icon Changer Concept.au3   64.25K   289 downloads

Take note!
The script only replaces group icons (14), this can be changed of course, but like I said, I didn't spend enough time on it.
This means that if you attempt to replace an index of a group icon, it will obviously replace the entire icon resource.

Also, deleting resources just overwrites the resource with PADDINGXX bytes.

Edited by ApudAngelorum, 02 July 2012 - 02:07 AM.

  • JScript likes this
Spoiler
Warning: Posts by this user are subject to change or may disappear without notice.





#2 JScript

JScript

    Goodbye everybody, I got tired of this system adopted here!

  • Active Members
  • PipPipPipPipPipPip
  • 1,062 posts

Posted 11 March 2012 - 12:46 AM

Very interesting, we just need to improve the user interface (GUI)...
Thanks!

Regards,

João Carlos.
http://notebook.forumais.com (Forum Maintenance Notebooks and Desktop)http://autoitbrasil.com/ (AutoIt v3 Brazil!!!)
Spoiler

Posted Image Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!       


#3 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 11 March 2012 - 06:08 AM

Doesn't work with compiled AutoIt scripts. Look at the AutoIt3Wrapper source.

#4 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,216 posts

Posted 02 July 2012 - 12:15 AM

New version, better operation, look and code (hopefully).
Spoiler
Warning: Posts by this user are subject to change or may disappear without notice.

#5 Maffe811

Maffe811

    Sir Longbottle

  • Active Members
  • PipPipPipPipPipPip
  • 644 posts

Posted 02 July 2012 - 12:29 AM

You can't extract icons with it?
Like save it to .png or somethig.
Cause all i use res editors for are to extract stuff then replace them after edits.
Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.Scripts:
Spoiler

#6 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,216 posts

Posted 02 July 2012 - 12:34 AM

You can't extract icons with it?
Like save it to .png or somethig.
Cause all i use res editors for are to extract stuff then replace them after edits.


No, you can't extract icons with it, reason being that there exists too many examples for doing this, and the goal of this script was to help anyone who was after a script that can delete, add or replace icons in a files.

I created it after learning how to do it since I found that examples for this were scarce.
I, infact am only probably responsible for 2% of that code, all I did was copy and paste things together.

Edited by ApudAngelorum, 02 July 2012 - 12:36 AM.

Spoiler
Warning: Posts by this user are subject to change or may disappear without notice.

#7 Maffe811

Maffe811

    Sir Longbottle

  • Active Members
  • PipPipPipPipPipPip
  • 644 posts

Posted 02 July 2012 - 01:55 AM

Okay, so copy and paste a extract function is out of the question ?
Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.Scripts:
Spoiler

#8 CaptainClucks

CaptainClucks

    Unum Cavillator Spuria

  • Active Members
  • PipPipPipPipPipPip
  • 1,216 posts

Posted 02 July 2012 - 01:59 AM

Okay, so copy and paste a extract function is out of the question ?


No, not really, but it seems now like you need this functionality? Look here, it's what the internal code of this script is made of, I just noticed that she had an option to add resources to a dll, and I just had to dissect it to produce this.
Spoiler
Warning: Posts by this user are subject to change or may disappear without notice.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users