Accurate resource editor - Windows Mobile Development and Hacking General

I know the title sounds a bit odd so let me try to explain:
I am looking for a resource editor that would accurately display dialog templates for Windows Mobile MUI files.
I know that eVC, VS, PB and resource hacker let me edit the dialogs but non of them display the templates accurately enough.
Let's say I am translating a label and the result is longer than the original.
In the preview it splits in two lines and fits in the label height.
On the device though the bottom line is partially cut off because the label and font proportions are different.
I hope I am clear enough on the problem.
Hope someone knows something on this. Any help will be greatly appreciated.

Related

Changing icon color substitution value for connection icons?

Appologies if this has been covered before. I searched a few ways but found nothing.
I am trying to change the color of the battery, sound, sync, etc icons. I looked through all the materials for themes and windows internal colors and was unable to find a registry key for them. I tried tweaking all the values for unknown keys and still had no effect. I located the icons in the windows directory and they appear to be using the classic two color substitution game for .bmp files. I have been trying to determine how windows mobile assigns the color for the icons but have been unable to locate it.
I was curious if anyone knew or had come across how windows deals with this, if it was some obscure registry key or came from somewhere in the rom. I had located online allusions to the idea that oems could mess with the icons but unfortunately no details to explain how.
If you can help, I would be most thankful.
Regards,
Rudy
They're bitmaps embedded in some of the rom dlls. I posted about it once, but couldn't find my own post on the issue . I think I know a way to change them now, but can't remember which dll they were in. I think it was shell*dll or something... if and when and remember, I'll try knocking together a solution.
V
Interesting, I'll look around in the dlls and see what I can find. I found what seemed to be the bitmaps used in the bar lying loose in the \Windows directory. I'll try editing them to see if it changes their appearance in the top row.
I am most interested in changing their color. I cannot seem to find anywhere where they they derrive the values that the icons substitute colors for.
Thanks for your response.
V
the file was shellres32.dll
Here is the post where we were talking about this i still never managed to do it so if you have figured out a way would be much appreicated.
http://forum.xda-developers.com/viewtopic.php?t=44102&highlight=color+colour+signal+strenght
Scott

Request - Phone Skin!

Guys,
Not sure which version has the phone skin as below but I know it is not the HTC or Vodafone. If possible can someone please dump and zip the relevant files for this skin if they have it (English version).
Just to add, I have tried to disable the operator skin but it then only gives me a 2D plain pad with no Video Button etc...
Many Thanks
There are some phone skins HERE in the wiki, however, I don't think the one your looking for is there...yet.
Thanks, I had already tried all the skins listed. I presume this one is the default "3D" WM5 phone Skin, not positive though. Most have replaced this with their own skin in the actual rom rather than external rom.
Someone must have this though, perhaps on Orange, 02 or Dopod version.
Any help is greatly appreciated.
I think I got it all...
cieplowski said:
Thanks, I had already tried all the skins listed. I presume this one is the default "3D" WM5 phone Skin, not positive though. Most have replaced this with their own skin in the actual rom rather than external rom.
Someone must have this though, perhaps on Orange, 02 or Dopod version.
Any help is greatly appreciated.
Click to expand...
Click to collapse
This is the default installed dialpad from the latest Hermes i-Mate ROM.
Hopefully I got every BMP and DLL file associated with this dialpad. I also exported the registry items associated with this dialpad.
Try this:
Unzip the files into the Windows directory on the Hermes, then import the included registry file.
Let me know if I missed anything.
Thanks Freshster,
After some persevering with copying the files over all looks fine except the VT Button, for some reason this is still the same as before despite the files being overwritten. I also have VCBtn.. and VTBtn.. files (may be due to previous installs. I have renamed your files to these, and copied them over, this changes the button but it is not perfect as there are pink corners visible and the is no text etc.. on it.
Also looks like the .dll that contains the Call History Icons overwrites the Icon that displays the "G" "U" in the top bar, I used to have 3G etc.. but now have "G" and "U".
Also, the Icons whilst in the Video page have not changed.
One more thing thing, the IntelliDialler small icons are not there either, on my v1650 they are in a file called "indialer_calltype.bmp", in fact need all the Intellidialler files..... as mine is all grey.
Have played for a while now but am at a loss, sorry.....
Any advise appreciated.
Greatly appreciate you time on this.
cieplowski said:
Thanks Freshster,
After some persevering with copying the files over all looks fine except the VT Button, for some reason this is still the same as before despite the files being overwritten. I also have VCBtn.. and VTBtn.. files (may be due to previous installs. I have renamed your files to these, and copied them over, this changes the button but it is not perfect as there are pink corners visible and the is no text etc.. on it.
Also looks like the .dll that contains the Call History Icons overwrites the Icon that displays the "G" "U" in the top bar, I used to have 3G etc.. but now have "G" and "U".
Also, the Icons whilst in the Video page have not changed.
One more thing thing, the IntelliDialler small icons are not there either, on my v1650 they are in a file called "indialer_calltype.bmp", in fact need all the Intellidialler files..... as mine is all grey.
Have played for a while now but am at a loss, sorry.....
Any advise appreciated.
Greatly appreciate you time on this.
Click to expand...
Click to collapse
Hi cieplowsk,
I have attached ALL of the BMP files currently in the i-Mate ROM Windows directory. This should help you find which images you are missing.
I don't know if I can help you with the G and U problem, but these BMPs should help fix the VT Button, Video page, and Intellidialer icons.
Let me know how it goes.
Copying all the files, once I had removed non phone connected ones worked a treat, I now have the iMate Dialer which in my opinion is much nicer than the Vodafone and HTC ones....
The only thing left is for someone to butcher the .DLL`s to remove the Call History icons and stick them back in to the original Vodafone ones so that we can keep the 3G network icons rather than the U and G icons.
Oh and create a CAB file. Not asking much am I!
Thanks again for your time and effort!
Thanks. Just installed it too!
Cab would be great too.
One more thing I have just noticed, after changing the background on the phone pad, is thet the Video button and the other buttons on the Video Call page do not have transparent corners.
I have just spent a while editing the bmp`s and colouring the corners with colour R=255, G=0, B=255 (Magenta) in Corel Photo Paint (did not change the bmp format and it appears to be the same as the other bmps which are correct). When loaded the corners actually come out magenta rather than transparent. I guess I am missing something somewhere Any budding artists out there care to elighten me or have a go?
Cheers.
Hi cieplowski,
I had the same problem, but after adding the registry keys in the previous post it will work.
I've made a CAB file so you can install it in one go.
Cheers,
Drifter
Thanks Drifter,
Nice work but I think that there may be an isssue as when I install it does not skin the Video button at all, not sur if some files are missing from the cab. Have tried 3 times now.
Cheers!
Did you try a Soft Reset after installation?
CAB file seems to work with my HTC.
Cheers,
Drifter
Yeah several times, will try again later tonight. May be down to the fact I have the Vodafone version and the phone pad is in rom...
If I manually copy over the files it is ok.
On the other point re. the corners of the Video button, even if I import the reg. settings, then change the wallpaper to something lighter in colour the corners are not transparent, it you edit the .bmp files you can see that the corners on the video button are not transparent but filled in.
Cheers.
Drifter said:
Hi cieplowski,
I had the same problem, but after adding the registry keys in the previous post it will work.
I've made a CAB file so you can install it in one go.
Cheers,
Drifter
Click to expand...
Click to collapse
How did you create the CAB? What prog did you use?
It seems that you are missing some files in there, like the important DLL files listed in the registry settings. You have also included some unnecessary BMP files.
Thanks for your work.
Freshster,
I've used your second post with attachment to make this cab file.
But used the registry key from the first.
Now I see these dll file from the first and forgot to implement them in my cab file.
This could be the problem for cieplowski.
I will make a new one but should I use the first or second post?
I've use WinCE Cab manager for making these files
Cheers,
Drifter
Freshster,
I've used your second post with attachment to make this cab file.
But used the registry key from the first.
Now I see these dll file from the first and forgot to implement them in my cab file.
This could be the problem for cieplowski.
I will make a new one but should I use the first or second post?
I've use WinCE Cab manager for making these files
Cheers,
Drifter
Hi Drifter,
Please find attached .zip with all the necessary files, I think. not sure if you know how but many of the .bmp`s are missing transparent corners.
You can see this if you view them as thumbnails or open them. This does cause a problem if you change the background from the default one supplied as some of the buttons no longer have nice rounded corners.
I have tried to edit them as mentioned above but have not been successful.
Can someone advise on what program to use to make these transparent and the process. I am happy to edit them all but just need to know the process.
Cheers.
Skinning...
cieplowski said:
Hi Drifter,
Please find attached .zip with all the necessary files, I think. not sure if you know how but many of the .bmp`s are missing transparent corners.
You can see this if you view them as thumbnails or open them. This does cause a problem if you change the background from the default one supplied as some of the buttons no longer have nice rounded corners.
I have tried to edit them as mentioned above but have not been successful.
Can someone advise on what program to use to make these transparent and the process. I am happy to edit them all but just need to know the process.
Cheers.
Click to expand...
Click to collapse
This does look like all of the files necessary.
For the transparency problem I would take a look at the following link and make sure you are doing everything correctly:
http://buzzdev.net/component/option,com_simpleboard/Itemid,59/func,view/catid,36/id,5075/#5075
The two things that I would be sure of is:
1) the transparent color is : RGB=FF,00,FF (255,0,255)
2) you have to create buttons and background in bmp 8 bits 256 colors
Hope this helps, but the original files should have worked for you, not unless your ROM is looking for a different transparency color. Which ROM are you using? Can you post screenshots of the problem images?
Hi Freshter,
I cannot post anything at the moment as left my phone at the office. However if you have time could you change the Bkgnd_Land.bmp file to one much lighter in colour, hopefully you will then see that the corners are not transparent on the Video Call button (and all other vidoe related buttons). From what I can see using the supplied background just disguises these corners. If you open, for example, VTBtnDn_Port.BMP in any editor or viewer you will see that the corners are not transparent (magenta) in colour and they even have a gradient so cannot be transparent.
I am pretty sure the rom and all eles is ok, as the other files, which if examined will show the corners as a magenta colour and these are transparent on my phone, it is only all the Video related buttons which do not have the transparency on them.
I shall keep looking to see why my efforts were not successful in sorting the corners so far.
Cheeers.
Hope this explains things a little better.
cieplowski said:
Hi Freshter,
I cannot post anything at the moment as left my phone at the office. However if you have time could you change the Bkgnd_Land.bmp file to one much lighter in colour, hopefully you will then see that the corners are not transparent on the Video Call button (and all other vidoe related buttons). From what I can see using the supplied background just disguises these corners. If you open, for example, VTBtnDn_Port.BMP in any editor or viewer you will see that the corners are not transparent (magenta) in colour and they even have a gradient so cannot be transparent.
I am pretty sure the rom and all eles is ok, as the other files, which if examined will show the corners as a magenta colour and these are transparent on my phone, it is only all the Video related buttons which do not have the transparency on them.
I shall keep looking to see why my efforts were not successful in sorting the corners so far.
Cheeers.
Hope this explains things a little better.
Click to expand...
Click to collapse
I made the background lighter and I see what you mean now.
It seems that the Video buttons may have something to do with a resource dll, but I can't find which one it is.
Check out the following link; it shows how to fix the Video button on a MDA Pro, but our ROM doesn't contain the "phcanlrc.dll" or the "phcanprc.dll" files to modify.
http://buzzdev.net/component/option...view/id,13650/catid,36/limit,15/limitstart,0/
This is something to really think about.
I guess you could just modify the BMP files to match your background, but that would be tedious.

Black Samsung Dialer for i910

I don't know if this goes here or not, mods feel free to move if it doesn't.
But here in this thread we have been trying to figure out how to turn the text white on the samsung dialer in the i910. Someone posted a .cab for the i900 which turns the dialer black with white text, however the icons for send/end, call log etc don't show up on the i910 when used. Can someone help us figure this one out so that we i910 users can have a nice black samsung dialer?
anyone? I have looked at the .dll in a hex editor, but it's pretty much all gibberish to me. Where would I look and what would I look for to change the color of the text to white? If someone could at least tell me what I am looking for the might help. I have no real knowledge of coding so all the numbers are gibberish to me.
bump...anyone? Beuller? Beuller?
no one can tell me where in the .dll the color of the numbers is?
You would have better luck posting this in questions and answers. If the samsung dialer is a skin, you can just edit the image files yourself. Poke around the windows folder to check.
I posted in the request thread there, no responses there either. But I can make it black, but the numbers are not on the .png's. It is somewhere in the .dll
bump i have an i910 too.
Have you tried looking at the images within the .dll file using a resource editor? If you can find them then you might be able to hack the .dll

Way to alter menu sizes...?

Hi all,
I'm not sure what its called, but you know the context menus that come up basically whenever you hold your pointer over something for a while? It annoys me with the size they are in wm6.5. I love the speed of wm6.5 (tried both xplode's r7 (about to install 7.1...) and swampy's rls) but it really annoys me that they've made everything so big. Seems to take twice as long to do simple things now because now you have to scroll down menus to find what you're looking for. Is there anyway to bring this back to the good old "classic" sizes? I can't seem to find an option anywhere... and I realise loading a skinning app is just going to slow the OS down making the whole upgrade to 6.5 kinda pointless.
Also, does anyone know a way to speed up the actual time taken to register a tap and hold command? So that we don't have to spend as long to bring up the context menus?
Thanks in advance~
-kdp
that's a lot of questions. let me start with saying that i can not guarantee you, that the reg tweaks work. i found them for different devices and checked both my devices and didn't have the reg keys in there. so i don't knoiw if it helps you. Maybe, if i find out more, i'll post it later:
1. The size of the context and softkey menus:
a. the easiest way to influence the size and look of those menus would be, installing another theme. not just the color will change, but also the entire looks, so if you have a .tsk theme, copy it to the device and activate it, you will see it changed.
b. regitry tweak:
HKLM\System\GWE\Menu\Popfnt\
there should be two dword values that you can change to whatever you like.
ht=height is default set to 1000
wt=width is default set to 700
2. a skinning app is gonna slow down the os
- true, with wm6.5 there is really no need for anything else to make the graphics any nicer
3. tap and hold time:
HKCU\ControlPanel\Desktop\MenuShowDelay
right-click, select properties, and enter a value from zero to 999 milliseconds
if that value, does not exist, create it (string value)
if those values didn't work, you should try out advanced config, which can be downloaded here: http://www.pocketpc.ch/news/42529-freeware-advanced-config-3-0-a.html
there you have more than 200 tweaks for the os and don't need to search the registry for any values.
first off, a big thank you for the speediness of your reply.
i tried out the other tsk files i have... but unfortunately i don't have any older ones from wm5/6, only the newer 6.5 ones. they didn't seem to make much difference in size of anything... only the actual colour/font schemes. if you have any older tsk files that you wouldn't mind uploading, that'd be much appreciated as something to try.
the softkeys aren't so much an issue - i've got wisbar to disable them (yes yes, i know wisbar is a skinning app... but i prefer a nice cascading start menu to something i need to fumble through to find stuff any day) - its more the context menus that are annoying me.
the registry edit is interesting. changing the height and width actually also changes the zoom on the font size... i'm not sure how this is being calculated, but the font is clearly getting smaller the smaller you set the dimensions. it seems like its taking a predefined box with the text designed to take up a predefined percentage of it and then letting you put in the dimensions of the box... basically so that no matter what numbers you plug in, you'll always have the rather annoying amount of space being wasted between items in the context menus. though all that said and done, 750 for height and 350 for width are far more workable than the previous settings. more than legible too imo~
the tap and hold time tweak worked wonderfully
thanks again~
Tap and Hold time delay Setting
I found your post ref to Tap and Hold delays. I tried this Tap and Hold setting you said worked on your phone (see below) I tried it as shown below on a HTC wm 6.5 HTC pure(diamond2), and did not see a change, were you able to shorten the delay? Is that done with a String? or Dword?
3. tap and hold time:
HKCU\ControlPanel\Desktop\MenuShowDelay
right-click, select properties, and enter a value from zero to 999 milliseconds
if that value, does not exist, create it (string value).
I have spent hours searching the registry for a solution
it was a dword iirc... tbh, this hasn't been so much of an issue for me with the newer releases so i haven't bothered so much.
koi_desi_pagal said:
first off, a big thank you for the speediness of your reply.
i tried out the other tsk files i have... but unfortunately i don't have any older ones from wm5/6, only the newer 6.5 ones. they didn't seem to make much difference in size of anything... only the actual colour/font schemes. if you have any older tsk files that you wouldn't mind uploading, that'd be much appreciated as something to try.
the softkeys aren't so much an issue - i've got wisbar to disable them (yes yes, i know wisbar is a skinning app... but i prefer a nice cascading start menu to something i need to fumble through to find stuff any day) - its more the context menus that are annoying me.
the registry edit is interesting. changing the height and width actually also changes the zoom on the font size... i'm not sure how this is being calculated, but the font is clearly getting smaller the smaller you set the dimensions. it seems like its taking a predefined box with the text designed to take up a predefined percentage of it and then letting you put in the dimensions of the box... basically so that no matter what numbers you plug in, you'll always have the rather annoying amount of space being wasted between items in the context menus. though all that said and done, 750 for height and 350 for width are far more workable than the previous settings. more than legible too imo~
the tap and hold time tweak worked wonderfully
thanks again~
Click to expand...
Click to collapse
If you still need themes for wm6.1, try http://www.wm6themes.com/
I use one from that site on my BA, but since i don't have wm6.5 installed right now, i can't tell you whether it'll help in your situation or not.

[Q] opengl text rendering and glPixelTransfer

Hi,
I noticed that there is no glPixelTransfer() function available (at least that's what eclipse tells me). I'm using API level 4, is it perhaps available in a later API?
What I'm doing is creating textures of single characters using a TTF file as they are requested and drawing them side by side. This works great, its quick and I can use any custom font.
The problem is that I can only make them one colour (the colour that they are drawn with when the texture is created). Before I started doing this I figured I would be able to draw them black and just use glPixelTransfer() to set the colour biases for the desired colour when I draw them. However now I find that glPixelTransfer() isn't available.
Does anyone know if there is an alternative that will do a similar thing or is there another way to draw text in opengl? I suppose I could create multiple textures of a character with specified colours. But would that be too memory heavy?
To be clear, I'm not creating a texture of every character at the beginning of the app. I'm creating the textures when they are requested and reusing them when they are requested again. So it isn't very resource intensive and creating multiple versions of a character with different colours (as they are requested) would maybe be acceptable also.
I suppose I just want your input in case I'm doing this a much more difficult way than is necessary .
Thanks for any input.
d47 said:
Hi,
I noticed that there is no glPixelTransfer() function available (at least that's what eclipse tells me). I'm using API level 4, is it perhaps available in a later API?
What I'm doing is creating textures of single characters using a TTF file as they are requested and drawing them side by side. This works great, its quick and I can use any custom font.
The problem is that I can only make them one colour (the colour that they are drawn with when the texture is created). Before I started doing this I figured I would be able to draw them black and just use glPixelTransfer() to set the colour biases for the desired colour when I draw them. However now I find that glPixelTransfer() isn't available.
Does anyone know if there is an alternative that will do a similar thing or is there another way to draw text in opengl? I suppose I could create multiple textures of a character with specified colours. But would that be too memory heavy?
To be clear, I'm not creating a texture of every character at the beginning of the app. I'm creating the textures when they are requested and reusing them when they are requested again. So it isn't very resource intensive and creating multiple versions of a character with different colours (as they are requested) would maybe be acceptable also.
I suppose I just want your input in case I'm doing this a much more difficult way than is necessary .
Thanks for any input.
Click to expand...
Click to collapse
ok first of all i am not an openGL expert so if what im saying is crazy feel free to say so .
BUT, couldnt u just use the glColor**() function to apply a colors mask over the txts ur drawing?
jug6ernaut said:
ok first of all i am not an openGL expert so if what im saying is crazy feel free to say so .
BUT, couldnt u just use the glColor**() function to apply a colors mask over the txts ur drawing?
Click to expand...
Click to collapse
No, that won't work. glColor() only applies to subsequent calls to glVertex().
The characters I'm drawing are bitmaps and are just painted as is onto an object surface.
The only way I am aware of that can change the colour of a bitmap is with glPixelTransfer().
I've made it so it now loads multiple coloured versions of characters and it works fine, but I don't like it

Categories

Resources