How to change the directory structure with new folder icons - Touch Diamond, MDA Compact IV ROM Development

Hi i want to change the directory structure with new folder icons..
I have 5 folder icons
office.ico
games.ico
system.ico
multimedia.ico
internet.ico
For example a part from my initflash.dat .
Directory("\Windows\Startmenü\Programme"):-Directory("Spiele")
Directory("\Windows\Startmenü\Programme\Spiele"):-File("icon.lnk","\Windows\games.lnk")
Directory("\Windows\Startmenü\Programme\Spiele"):-File("Bubble Breaker.lnk","\Windows\BubbleBreaker.lnk")
Directory("\Windows\Startmenü\Programme\Spiele"):-File("Solitare.lnk","\Windows\Solitare.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("icon.lnk","\Windows\office.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("Excel Mobile.lnk","\Windows\pxl.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("Word Mobile.lnk","\Windows\pword.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("PowerPoint Mobile.lnk","\Windows\ppt.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("Aufgaben.lnk","\Windows\tasks.lnk")
Directory("\Windows\Startmenü\Programme\Office Mobile"):-File("Messaging.lnk","\Windows\tmail.lnk")
The size of the icons is 64x64x8 . By using ResHack I placed the new icons in the shellres.192 file. But after cooking and flashing i only have the standard folders and not the new...
thanks for helping me out.

Did you re-sign the dll and install sdkcerts?

Got it working now! It was my fault with the parameters in the lnk!
thx

Related

please explain initobj.txt, files1 and files2 !!!!

Hi XDA-Developers!
First of all: you did a really great job and thanks a lot for ROM 1.1!!
I just want to ask you to explain initobj.txt, files1-dir and files2-dir a little bit more, so i can make my own ROM, and maybe a german ROM.
i'm little bit confused with the format of initobj.txt corresponding to the files in dirs files1 and files2. not every file in the file dirs is listed in initobj.txt. Why? How are these files arranged in the filesystem? ie. how do your scripts know where to put 'vxutil_cl.htp' - it's not in initobj.txt in cfg.
Maybe you could explain it a little bit more....maybe there is already some manual beside 'readme' ???
Thanks a lot.... Jabba
all files in rom can be found in the \windows directory. the initobj.txt files specifies for certain files that copies to other places should be made..
so if a file is not mentioned in initobj.txt, it is only visible in \windows.
also the name of a file in \windows does not nescesarily correspond to the name in wherever it was copied to by initobj
initobj.txt has 2 types of lines ( there are more, but I never looked at them )
Code:
Directory(..dir..) :- Directory(...subdirname...)
to create a subdirectory in 'dir'
Code:
Directory(..dir..) :- File(..filename.. , ...source...)
creates copy of 'source' as 'filename' in directory 'dir'
the reason there are 2 'files' directories, is that there are 2 empty spaces in the rom (1M before the bootsplash, 5M after the bootsplash). I could have made the mkrom script more advanced, and have it automatically figure out how to optimally sqeeze files in either space 1, or space 2. but I didn't , so I'll leave it to the rombuilder to decide how large to make each region.
thanks for your answer!
will it be a true copy from source ? I mean will there be two identical files in the rom then or is it more like a link to the source-file?
another question: is there something in your scripts which is language-dependant ? like the altered welcome.exe ??
in the german rom there are some dirnames different - so i would have to alter the reg-file and the initobj to fit them. Do i have to alter other files as well? Like operator or the welcome.exe ?
Jabba
By the way, would be developers so kind to explain the ways how to extract initobj.txt and default.reg files from the ROM? Or perhaps "original" Qtek ROM files could be published?
I would be of a great help in my ROM-building...
thanks
we based everything on an english qtek rom. if you start with a german rom, you will have to pay attention to differing directory names.
you can get initobj.txt from initobj.dat, by converting the file from unicode
to plain ascii. I usually load it in vi, then do ":%s/^@//g" to strip all NUL characters, and then save it as .txt.
the default.reg you get by converting 'default.fdf' found in the rom, with
Code:
perl fdf2reg.pl default.fdf default.reg
and I wrote this tool (bottom of page) to extract files from a rom image. for most roms you type
Code:
dumprom nk.nbf -d files >nkinfo.txt
to extract the files to the directory 'files' ( which must exist ), and dump lots of info about the rom to nkinfo.txt

Folder Icon

Hi,
Sorry but this may be the wrong place for this thread. But I have a MDA Vario II with the official T-Mobile WM 6. What I want to do is, within the programs folder, how can I change the folder icon of the folders I have created my self?
Thanks in advance.
vik_x said:
Hi,
Sorry but this may be the wrong place for this thread. But I have a MDA Vario II with the official T-Mobile WM 6. What I want to do is, within the programs folder, how can I change the folder icon of the folders I have created my self?
Thanks in advance.
Click to expand...
Click to collapse
Here's your info:
Create 'icon.lnk' in the folder in the start menu and make it a hidden file.
The shortcut would be to the file containing the icon you want to use, and for folders in the Start Menu the link would probably be to shellres.dll with the icon in the low 8200s,
The attached file has:
The folder structure with icons I use in the start menu
A cab file for installing said icons if you don't want to it for yourself
RViewer for examining the icons in files (.exe, .dll and .cpl) so you can choose one.
Enjoy.
thanks for the info mate,

[Q] How can i change icons in modules?

Hi all!
Im triying to make a complete mokup of the system by changing every icon but...
When i change a icon inside a module (folders like files as fexplore.exe or iexplore.exe) the kitchen replaces the modified exe with the original exe in template (OS.NB) into ROM folder.
Im using Surface Kitchen. Trying now visualkitchen from ervius but errors, tryed mu kitchen from adwinp, flashed correctly, working, but no luck...
What kitchen allows me to do that?
There is another way to change the original icons from dll's, exe's and cpl's in modules?
Is there a software to edit the final nbh ( like htcRIE ) and replace the exe's and dll's with the mopdified ones? (htcrie extract the modules as modules and doesn't allow to replace entire modules)
I dont want to add cabs to operatorpkg
Thanks in advance,
Driskol
1: convert module to file (download app pack from my sig; the tool's called module2file)
2: unsign file (exe,dll)
3: change your icon with resource hacker or equivalent
4: resign dll
5: if need be, reconvert to module with file2module
6: don't forget to use a reduced payload (try payload reducer)

Skiinning / pics / png's

Hi, does anyone know the name and location of the PNG / pic files to change the top and bottom bar and the windows button, or are these wrapped some how?
they are manilafiles, no png files. you must the manilafiles extracted with cfc gui to png files. it is in every manila other files...
stoolzo said:
Hi, does anyone know the name and location of the PNG / pic files to change the top and bottom bar and the windows button, or are these wrapped some how?
Click to expand...
Click to collapse
Actually they are png's but it depends on what theme your using because they ussually are tagged. for example my startbutton is called Mikenificent_bubble_flag
Bottombar:
Mikenificent_SKBackground
And topbar:
Mikenificent_Taskbar
So what you could do is look for groups of png's in your windows folder and see if one of those is using bubble_flag.png
cheers for that, probs just some trial and error required on my part.
They are NOT Manila File they are clear PNG images files and they don`t have special name.. all depends from the Theme if you create your own Bars and your Own theme you can name the Bars whatever you like.. just need to write in the Theme file the names of the bars to know when you choice this theme to use this PNG`s
The PNG files for the top and bottom bar are the same size they must to be
480x52 thats all
For example the easy why to find some Bars you want in your rom.. is for example you like the Bars of the theme Classic Blue.. then go in windows and copy the Clasic Blue.tsk to your SD card and then via Sync download to your desktop pc.
Open this .TSK file with Wince Cab Manager and you will see the whole theme i mean witch files are used for the Bars and witch are used for the Wallpaper if have wallpaper or any other images depends of the Theme.. when you know how are named this files you can extract them

CHT 2.0 - Lockscreen - removing text "Unlock"

HD2, CHT 2.0.
I use CHT Lockscreen, HD Mini style.
On the left I have my personalized information (which can be edited in CHT Editor), on the right I see "Unlock" text and symbol like this ">>" (vertical).
How to remove this "Unlock" text and this two >> sings, on the unlock bar?
By editing file?
Be grateful for your answers.
You must edit image - it's in 50F29E37_manila file..
Adow, I've just figured it out... But how to do it?
It is not a png file....
I wasn't interested in chaning it but now I am xD
I've found these .png files, I guess you just rename them and place it in /Windows
found here..
1
2
3
I'll make my own..
Search for m9editor. Using this it is possible to convert manila QTC file to PNG. Then you can edit PNG picture in your favourite editor. In the last step convert PNG back to QTC (again with m9editor) and this save file to \windows folder.

Categories

Resources