How to edit png files? - Windows Mobile Development and Hacking General

Hi all,
I am able to make changes to a png file in my Touch's Windows dir and save to a different dir but when I try to overwrite the old png file with the new file I get an access denied error.
I've tried changing the files attributes so read only is unchecked but it doesn't stick.
I've even tried using Total Commander to delete the file but no go. I konw it's something simple as so many seem to edit png files all the time but I'm even simpler.
Searching the forums yielded a similar squestion but no good answer except modifying a registry key from Hive to File, whatever that means. Is this what I need to do?
thanks in advance for any help

icon cube
Hi,
Can you send me original icons of the cube (touchflo)?
Thanks
dremanueleb

Usually the only time you can't overwrite a png file is if it's being used by the system. Try turning off whatever touch app your trying to replace the file for and then replace it.

xeno1 said:
Usually the only time you can't overwrite a png file is if it's being used by the system. Try turning off whatever touch app your trying to replace the file for and then replace it.
Click to expand...
Click to collapse
thanks xeno1, that did the trick. I was trying to edit the touch's dialer background and quickdial.exe was running. Once I stopped the process I could overwrite the original background with the edited one.
thanks again.

No problem, glad I could help.

Related

Wait Cursor

Hello everybody
I searched 10 times this forum but i could not find it
IS there a way to change animated wait cursor ?? in HTC wizard ??
I found this program http://www.pocketgear.com/software_detail.asp?id=14638&associateid=162
but i don't think it will work with WM5
thanks,
DNO
yes there is a way. the icon is in a dll. so you need a dll editor. there´s a topic here somewhere in the forum. i read it the other day. just can´t remember where. Just look for dll editor or something like that. i think vijay555 changed his once to a hamster. just keep looking.
Yes there sure is.
It is in GWES.EXE and can be edited using a resource editor (google for Resource Hacker)
There are 16 bitmaps in the Bitmap section, running from 1024 to 1039 for QVGA and from 1040 to 1055 for VGA.
QVGA resolution in 32x32, VGA is 44x44
So change them with the resource editor and copy back GWES.EXE to
your device.
Cheers
thanks tweakradje
got it and I sure knwo how to change pics in dll, and exe
thank you very much
I found only gwes.exe.0409.mui in /windows
is this the one ??
tweakradje
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
dno555 said:
I found only gwes.exe.0409.mui in /windows
is this the one ??
Click to expand...
Click to collapse
could be in there also
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
Click to expand...
Click to collapse
I think you need to extract it from a ROM.
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
freezor said:
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
Click to expand...
Click to collapse
same here
yes it is in gwes.exe.0409.mui (US)
Some examples can be found here:
http://4pda.ru/forum/index.php?showtopic=25257
EDIT 8 feb 2007: Check this out http://www.masellis.com/wait/cartoons.htm
Cheers
Been looking into this for a while here, but have had no luck in WM5. I had this great Cartman eating Cheesy-Poofs animation in WM2003 that was so much fun.
Both "gwes.exe.0409.mui" and "gwes.exe" contain the icons that make up the animation for the busy/wait cursor.
Using Resource Hacker I made the change for those 16 icons in gwes.exe.0409.mui. Finally got it to overwrite the existing file in the /windows folder by creating a cab that replaced it after a restart. Unfortunately, even though the new file is now where the old one was, I'm still getting the old animation.
Did the same with gwes.exe using Resource Hacker, but for the life of me, I cannot find anyway of overwriting the file on my PPC. When I tried to overwrite by using the cab file install method, I get a message that says the install was unsuccessful because I didn't have permission to modify the file. I wish there were some way to overwrite the file while it was resetting, or even after a hard reset. I spent quite a bit of time trying to find a way to replace it via the Kitchen Rom avenue, but I couldn't do it.
Any ideas?
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Thanks tweakradje for the tip to rename gwes.exe.0409.mui first. I removed the read-only and system attributes, then renamed it to .old and it accepted that! Then copied my new file over, and I've got my Cartman back!! Wahooo!
Nice to hear. Can you share it here?
I am always interested.
Cheers
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Click to expand...
Click to collapse
I did that and was able to replace the file with the new one checked the reg settings, I also removed the gwes.exe.0409.old file and I still get the old animation. am I missing something?
do I need to edit the gwes.exe file too?
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
tweakradje said:
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
Click to expand...
Click to collapse
i also have a problem doing it. i am sure registry values are right as you said. but when i'm trying to rename the file it just won't rename, or change attributes... i'm using total commander... any ideas?
can somebody please post the original here? WM5
I kinda overwrote it by mistake
leepriestenator said:
can somebody please post the original here? WM5
I kinda overwrote it by mistake
Click to expand...
Click to collapse
how could you overwrote it? it's in rom so as far as i understand thac cannot be done... someone please put some light on the matter ;]
i would post the original, if only i could copy it anywhere outside windows folder... :/
Please, how to rename the gwes.exe.040C.mui.
I try under explorer and Resco explore, I can't, when I change properties of files, it came back to system and read only.
Thx.
JaY
Seems that with my WM5 it does not want to work with the Reg OK and the MUI files changed. It is still going with the icons in GWES.EXE and I cannot copy it from my device to change those icons and EVEN if I could, I would have to copy it back!
Any ideas how to copy over my GWES.EXE?

Overwriting system files

on my qtek9100 there are a couple of sounds that i would like te change, ie. the click sound when opening start in the Today screen. These sounds however are sytemfiles. I tried changing the names, deleting, moving. Everything. But it's not possible for me to change the sounds. Does anyone have a good tip on how it is possible to change /delete/ update the systemfiles of the Qtek9100?
bazzdaciple said:
on my qtek9100 there are a couple of sounds that i would like te change, ie. the click sound when opening start in the Today screen. These sounds however are sytemfiles. I tried changing the names, deleting, moving. Everything. But it's not possible for me to change the sounds. Does anyone have a good tip on how it is possible to change /delete/ update the systemfiles of the Qtek9100?
Click to expand...
Click to collapse
Any files in the rom cannot be deleted but they can be overwritten (the file is still there in the rom under the file you just placed on it). It cannot be done with the stock file explorer, use gsfinder (my personal fav) http://www.pocketpcfreewares.com/en/index.php?soft=1203 or total commander 2
I tried it with TC and tested it by trying to delete a file called Aloutte.mid in the windows dir.
This is a file that's anoying me from the go since it's a music file that I would like removed from my phone. But even TC responded with a message that 1 file could not be removed. As it's a system file. If I want to change the clicksound from start, are you saying I should rename the files first and then copy the desired sound (using the name that the original soundfile uses) to the windows directory? Is that the way to overwrite the systemsounds?
bazzdaciple said:
I tried it with TC and tested it by trying to delete a file called Aloutte.mid in the windows dir.
This is a file that's anoying me from the go since it's a music file that I would like removed from my phone. But even TC responded with a message that 1 file could not be removed. As it's a system file. If I want to change the clicksound from start, are you saying I should rename the files first and then copy the desired sound (using the name that the original soundfile uses) to the windows directory? Is that the way to overwrite the systemsounds?
Click to expand...
Click to collapse
Yes that is the correct way. The only way to silence aloutte.mid is to overwrite it with a silent mid file.

unlocking the registry?

I'm new to this site and the ways of fooling with the details of this phone. I have an HTC Mogul 6800, WM 6.1, through Sprint. I am trying to install some "iPhone" type software and am stuck almost at the starting point. I'm trying to copy this file
welcomehead.96.png
into the /windows directory on the phone. Since that file already exists on the phone, it would appear that it needs to be overwritten. It won't overwrite as that file on the phone is marked as "read-only". How can I edit that file to remove the "read-only"
thanks
Why not just move the old file to another directory?
I believe you're trying to change the splash screen? Apparantly that file is locked as ROM file and so overwriting may not be possible. Why don;t you change the registry value to point to a different file? Refer this Splash Screen changing guide.
Preffered Registry editior: Free PHM Registry editor
Regards,
Carty..
The file is Read-only, so I can't move it. I tried installing the PHM Registry editor, it thinks it's a Microsoft Daylight savings time update.
glk21c said:
The file is Read-only, so I can't move it. I tried installing the PHM Registry editor, it thinks it's a Microsoft Daylight savings time update.
Click to expand...
Click to collapse
Use this......It's a file explorer that will overwrite most system files.
To unlock the registry which you really don't need to do for this simple file overwrite. Do a search for CERegEditor. It's a pc app that will sync to your phone and view aswell as edit your registry. There is a command within the program to unlock with.
lllboredlll said:
Use this......It's a file explorer that will overwrite most system files.
Click to expand...
Click to collapse
Definitely, I confirm this will overwrite that file.
lllboredlll said:
Use this......It's a file explorer that will overwrite most system files.
To unlock the registry which you really don't need to do for this simple file overwrite. Do a search for CERegEditor. It's a pc app that will sync to your phone and view aswell as edit your registry. There is a command within the program to unlock with.
Click to expand...
Click to collapse
I've actually had bad luck with Total Commander. I've successfully overwritten the file once out of a dozen tries. I've tried the Copy command as well as Move.
Anyone having better luck that can chime in? I'm wondering if I'm just missing a setting in Total Commander.
the 0ne said:
I've actually had bad luck with Total Commander. I've successfully overwritten the file once out of a dozen tries. I've tried the Copy command as well as Move.
Anyone having better luck that can chime in? I'm wondering if I'm just missing a setting in Total Commander.
Click to expand...
Click to collapse
Have you tried copy to clipboard?
You can also rename the file and then put the new one in there with the good one.
the 0ne said:
I've actually had bad luck with Total Commander. I've successfully overwritten the file once out of a dozen tries. I've tried the Copy command as well as Move.
Anyone having better luck that can chime in? I'm wondering if I'm just missing a setting in Total Commander.
Click to expand...
Click to collapse
Well I can overwrite with TC and GSFinder. I change my splash screen often due to boredom and I can't remember the last time I had an issue. Your ROM stock or Custom?
My ROM is stock. I guess I'll try this softwre listed above, hopefully I can change the value of this file as it can't be moved, overwritten or re-named right now.

transparent top curtain / bar

Ok, I've found the cab that removes the top curtain. NoTopCurtain.cab removes it, and every search I did only lead me to threads asking the same with no solution...
http://forum.xda-developers.com/showthread.php?t=436057&highlight=curtain
http://forum.xda-developers.com/showthread.php?t=430576&highlight=curtain
I've seen the semi-transparent bars in peoples screenshots, would somebody care to tell me how this is done?
Get your device. ActiveSync it. Explore it. Find file 18c460d8_manila in Windows folder. Copy it to your PC. Save it to a folder somewhere.
Download Manila Editor. Select Path in Manila Editor > Point it to the folder you just saved the 18c460d8_manila file. You'll see a blank image listed in manila editor.
Export it and open it with your favourite gfx editing program. Edit it to a semi transparent colour. If I remember rightly it's a 2pixel wide (128 high) image that 'spans' across the screen.
Use manila editor to replace the file with your newly edited image. Then copy the 18c460d8_manila file back to your device in \Windows.
Wallah! All done. You can find everything you need via Searching and reading!
thanks
Thanks, I should be able to get it done
i have a 1864da05_manila .... but no 18c460d8_manila
your sure its in the windows directory? I have a juicy 2.5 telus cdma phone, could it be different?
This seems like too tedious of a process for me >.> Anyone wanna do that with their file and uploada their modified 18c460d8_manila file?
Kraize92 said:
This seems like too tedious of a process for me >.> Anyone wanna do that with their file and uploada their modified 18c460d8_manila file?
Click to expand...
Click to collapse
I've got no problem doing it, hell I'll look up how to make a cab out of it.
Problem is said file does not exist in my /windows folder on my diamond
I had an error when trying to import it into manila editor. arrrghhh
im suprised were having so much trouble with this
dickenz said:
Get your device. ActiveSync it. Explore it. Find file 18c460d8_manila in Windows folder. Copy it to your PC. Save it to a folder somewhere.
Download Manila Editor. Select Path in Manila Editor > Point it to the folder you just saved the 18c460d8_manila file. You'll see a blank image listed in manila editor.
Export it and open it with your favourite gfx editing program. Edit it to a semi transparent colour. If I remember rightly it's a 2pixel wide (128 high) image that 'spans' across the screen.
Use manila editor to replace the file with your newly edited image. Then copy the 18c460d8_manila file back to your device in \Windows.
Wallah! All done. You can find everything you need via Searching and reading!
Click to expand...
Click to collapse
This worked for me Thanks!
I've attached the file so all you have to do is copy it to your \Windows folder
cyrilic said:
This worked for me Thanks!
I've attached the file so all you have to do is copy it to your \Windows folder
Click to expand...
Click to collapse
Thanks man !!
It looks great!
i copied the file i extracted from the zip into my /windows folder... there was no file of the same name existing so I didn't overwrite anything... Could it be a different file on the telus/juciy rom?
so this is the top semi transparent curtain?
should be
i just cant get it to work
cyrilic said:
This worked for me Thanks!
I've attached the file so all you have to do is copy it to your \Windows folder
Click to expand...
Click to collapse
Works great for me thx
anybody have an idea why it isn't working for me?
in my WIndows folder has that file but after overwrite it, nothing happens.
it works fine. You have to restart touchflo after replacing the file.
boboc71 said:
it works fine. You have to restart touchflo after replacing the file.
Click to expand...
Click to collapse
This is what I did and it worked, I went to the Window's Default and it worked
btw I'm sprint
hi,
actually TF3D1 top curtain is different compared to TF3D2.1 : on the one hand you've got a 2px width repeated 240 times, on the other hand you've got a single block of 512px

Changing icons

I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
you can use icon changer http://www.shelllabs.com/
pull the exe file off your device. then load it into icon changer. change the icon then put it back on your device overwriting the old one. this will change the physical icon of that program.
i have used it several times and it works great.
joel2009 said:
I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
Click to expand...
Click to collapse
Hello,
See my signature. Just edit the icon.dll with XN Resource Editor. Open icon.lnk with notepad and just give the icon number.
Thanks
tom108 said:
you can use icon changer http://www.shelllabs.com/
pull the exe file off your device. then load it into icon changer. change the icon then put it back on your device overwriting the old one. this will change the physical icon of that program.
i have used it several times and it works great.
Click to expand...
Click to collapse
I knew about extracting from the exe already thanks for the reply though
ksrikanth said:
Hello,
See my signature. Just edit the icon.dll with XN Resource Editor. Open icon.lnk with notepad and just give the icon number.
Thanks
Click to expand...
Click to collapse
I'll try out the editor, this was more what i was looking for thanks
Well i found out the file i was trying to use i some how corrupted to i reloaded it, i got i t open but now when i try to save changes i get a write protects errors and it will not save... is this a certificate of a file property i can change
EDIT: nevermind, it was a file property problem fixed
Alright i have a feeling there is a certificate somewhere..... all of my icons are now folders....
joel2009 said:
I know alot of chefs have there own icon sets for thing like the program menus and setting and things. I also no that the settings for these are linked by an "icon.lnk" file to a dll file in the windows directory. I need help trying to edit these icon's, Whether it is through the dll file or there is another round about way.
A play by play would be great, thanks in advanced.
(i have already tried editing through a dll editor and connot seem to find a program that doesn't have an error trying to edit it (everything from wordpad to Resourse explorer to pe editor.)
Click to expand...
Click to collapse
You can edit a DLL with reasourse hacker. You just need the UNSIGNER, and MSSIGNER. first you unsign, then you edit and save, then you sign.
simpler than you think. the hard part is looking for graphics
SK Shortcut Manager
SK Shortcut Manager does the trick for me
http://www.s-k-tools.com/index.html?sksmgr/m_sksmgr.html
BUT, it's paid...
Also i've found DLL file with many (400) old school icons (attached with this post).
A little preview: http://www.wenzlaff.de/download/twicon/twicon3.jpg
U can use also your windows DLL files (shell32.dll).
That's the way i manage all my icons
Hope this helped you
bigchrizzieboy said:
SK Shortcut Manager does the trick for me
http://www.s-k-tools.com/index.html?sksmgr/m_sksmgr.html
BUT, it's paid...
Also i've found DLL file with many (400) old school icons (attached with this post).
A little preview: http://www.wenzlaff.de/download/twicon/twicon3.jpg
U can use also your windows DLL files (shell32.dll).
That's the way i manage all my icons
Hope this helped you
Click to expand...
Click to collapse
I imagagine you can royally screw your phone over messing with shell 32.....
I'm working with a different file and linking to that instead of the shell thanks though
S.V.I said:
You can edit a DLL with reasourse hacker. You just need the UNSIGNER, and MSSIGNER. first you unsign, then you edit and save, then you sign.
simpler than you think. the hard part is looking for graphics
Click to expand...
Click to collapse
I've gotten into the file using a resourse hacker, but how do i sign and unsign?
I don't seem it as an option in any of the menu's so either i'm using the wrong program or i just don't know what i'm doing at all
Edit: and i have already created my icons by hand..... i've got graphics down easy i just have never worked with a dll before..... usually just skinning apps

Categories

Resources