![]() |
[patch] emoticons size change
2 Attachment(s)
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 |
Re: [patch] emoticons size change
No wonder I couldnt change them! I dont know HEX!
AWESOME WORK! Id make it 48 x 48 |
Re: [patch] emoticons size change
Quote:
48 is too big, i have it in editbox, it's really too large |
Re: [patch] emoticons size change
Quote:
|
Re: [patch] emoticons size change
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. |
Re: [patch] emoticons size change
Quote:
|
Re: [patch] emoticons size change
Cool, thanks! Will be added to the next version of N9QT :)
|
Re: [patch] emoticons size change
|
Re: [patch] emoticons size change
wook_sf, what the good/prefer size you think for emoticons?
Thanks |
Re: [patch] emoticons size change
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... |
| All times are GMT. The time now is 22:11. |
vBulletin® Version 3.8.8