Reply
Thread Tools
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#1
after real struggle with harmattan emoticons, i've finally found who's responsible for size of emoticons in messaging-ui.
since i am not sure if it's legal to share patched binaries, i will describe to you how to mod it so eventually "hackers" can build some application or even library patch for this...idk
who's not familiar with hex editor, please don't mess up with this!!!
copy /usr/lib/libemoticontransform0.so.0.0.62 to pc, open it with hex editor (like on first attachment) and find string "<img src='%1' width='20' height='20'>" and replace it with "<img src='%1' width='XX' height='XX'>" where XX is size you want, i used 32 in screenshot but i assume i will go down to 28 or so.
proof is on second attachment

//edit: nothink is broken afak, you're doing it at own risk
you are warned
Attached Images
  
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 

The Following 6 Users Say Thank You to wook_sf For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#2
No wonder I couldnt change them! I dont know HEX!

AWESOME WORK!

Id make it 48 x 48
 

The Following User Says Thank You to F2thaK For This Useful Post:
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#3
Originally Posted by F2thaK View Post
No wonder I couldnt change them! I dont know HEX!

AWESOME WORK!

Id make it 48 x 48
well, in last 7 hours i explored all disassembly code of messaging-ui :S eventually found where's bug
48 is too big, i have it in editbox, it's really too large
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 

The Following User Says Thank You to wook_sf For This Useful Post:
AMD's Avatar
Posts: 1,390 | Thanked: 710 times | Joined on May 2012 @ Beirut, Lebanon
#4
Originally Posted by wook_sf View Post
after real struggle with harmattan emoticons, i've finally found who's responsible for size of emoticons in messaging-ui.
since i am not sure if it's legal to share patched binaries, i will describe to you how to mod it so eventually "hackers" can build some application or even library patch for this...idk
who's not familiar with hex editor, please don't mess up with this!!!
copy /usr/lib/libemoticontransform0.so.0.0.62 to pc, open it with hex editor (like on first attachment) and find string "<img src='%1' width='20' height='20'>" and replace it with "<img src='%1' width='XX' height='XX'>" where XX is size you want, i used 32 in screenshot but i assume i will go down to 28 or so.
proof is on second attachment

//edit: nothink is broken afak, you're doing it at own risk
you are warned
YOU HAVE GOT TO RELEASE THIS THEME ANYTIME SOON!! HAHA! IT Looks AWESOME!
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#5
My question is slightly offtopic, but I will ask anyway
I have replaced the contents of /home/user/.emoticonthemecache with custom emoticon set. I can see my new emoticons in selection pane/grid when I want to use one of them, but in message interface old one is shown.
Is there another place where emoticons for message UI reside?

EDIT: Found it /usr/share/themes/blanco/meegotouch/icons/ is the path for icon-m-messaging-smiley-*.png
Thanks wook_sf!

EDIT1: Just realized one has to copy icon-s-messaging-smiley-*.png in /usr/share/themes/blanco/meegotouch/icons/ to get correct emoticons in messages UI.

Last edited by zlatko; 2012-08-11 at 11:03.
 
wook_sf's Avatar
Posts: 640 | Thanked: 435 times | Joined on Oct 2011 @ rajvoSa BA
#6
Originally Posted by zlatko View Post
My question is slightly offtopic, but I will ask anyway
I have replaced the contents of /home/user/.emoticonthemecache with custom emoticon set. I can see my new emoticons in selection pane/grid when I want to use one of them, but in message interface old one is shown.
Is there another place where emoticons for message UI reside?

EDIT: Found it /usr/share/themes/blanco/meegotouch/icons/ is the path for icon-m-messaging-smiley-*.png
Thanks wook_sf!

EDIT1: Just realized one has to copy icon-s-messaging-smiley-*.png in /usr/share/themes/blanco/meegotouch/icons/ to get correct emoticons in messages UI.
pleasure zlatko hope it worked fine
__________________
~ # mv /usr/bin/smartsearch /usr/bin/stupidsearch
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#7
Cool, thanks! Will be added to the next version of N9QT
 

The Following User Says Thank You to Schturman For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,466 times | Joined on Jan 2010 @ Australia Mate
#8
I tried to do this with HxD Hex Editor for Win7

But it caused Messaging app to not open???
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#9
wook_sf, what the good/prefer size you think for emoticons?
Thanks
 
Moderator | Posts: 6,215 | Thanked: 6,402 times | Joined on Nov 2011
#10
when u open hxd make sure you put it in insert instead of overwrite.

also the system is particular about the file size to the byte so make sure the file size is the same.

i tried it and it works here at 28x28...


Edit:
Further clarifying things:

This is the original line:
<img src='%1' width='20' height='20'>

Just make sure you have pressed the insert key to insert instead of overwrite and copy paste a new line into the file hence replacing the whole line i.e.:

<img src='%1' width='28' height='28'>

Use sublime text 2 or notepad++ to ensure the lengths of the lines correspond...


Btw This is the way I'd edited grob for the UA string...

Last edited by thedead1440; 2012-08-12 at 05:32.
 

The Following 2 Users Say Thank You to thedead1440 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:11.