Noteable Posts

Sunday, December 23, 2007

Customize GoogleTalk using Resource Hacker

Resource Hacking

To edit resources you will need a resource editor like Resource Hacker.

Change Language

To change the language of Google Talk you will need to:

  1. Open resource hacker.
  2. Choose the menu: file, open.
  3. Open the file c:\program files\google\google talk\googletalk.exe.
  4. Now you will see a treeview on the left.
  5. Double click on dialog.
  6. Double click on 130.
  7. Click on 0.
  8. You will see a window and a bunch of text like 'CONTROL "Password:", 1003, STATIC'...
  9. Change the text to another language, for example: 'CONTROL "Wachtwoord:", 1003, STATIC'...
  10. Click 'Compile Script'.
  11. Do this for all the dialogs.
  12. Double click on 'String Table' in the treeview.
  13. Click on 36.
  14. Click on 0.
  15. You will see a bunch of text like '567, "encountered an internal error'...
  16. Change the text to another language, for example: '567, "er is een interne fout voorgekomen'...
  17. Click 'Compile Script'.
  18. Do this for all the string tables.
  19. Make sure Google Talk is closed!!! and then click file, save.
  20. When you reopen Google Talk it should now be in another language.

User Interface Editing

  1. Open googletalk.exe in Resource Hacker.
  2. Expand the Bitmap tree.
  3. Save bitmaps 139, 5001-5104.
  4. Edit the bitmaps in your image editor of choice to make them the color(s) you like.
  5. Replace the original bitmaps with your edited bitmaps in Resource Hacker (Action > Replace Bitmap).
  6. Save and try it out!.

Add items to tray menu

  1. Open Google Talk in Resource Hacker.
  2. Go to menu -> 110 -> Click on 0. It will open as text.
  3. Play with the menu items, for example you can add the item
    MENUITEM "Settings", 40003, MFT_STRING, MFS_ENABLED
  4. Click 'compile script'.
  5. Close all instances of Google Talk!
  6. Click File -> Save.

WM_COMMAND codes

    Chat Window:
  • 8001 - Start Call
  • 40081 - Start muting microphone
  • 8007 - Stop muting microphone
  • 8008 - Stop Call
  • 8015 - Show Send File dialog
  • 8003 - Email
  • 8013 - Start Voicemail
  • 8008 - Stop Voicemail
  • 8010 - Go off the record (both on and off)
  • 8017 - View past chats
  • 8011 - Block/unblock Main Window:
  • 40011 - Add Friend
  • 40080 - Enable/Disable all notifications
  • 40065 - Connection Monitor
  • 40080 - Save all settings
  • 40087 - Check for Updates Now
  • 40088 - Inbox
  • 40023 - About
  • 40089 - Check Mail Now
  • 40003 - Settings
  • 40020 - Help
  • 40088 - Email
  • 40002 - Sign out
  • 1404 - Voicemail

No comments: