Related
Hope this is no double post, but I didn't find it anywhere else.
While preparing my own ROM, I failed to set the default timezone of the Manila home screen. It was always New Dehli, whatever .rgu, .reg files I changed.
Found the solution just today.
The Manila timezone is set during startup of Manila by the program "SetSystemTimeZone.exe". It reads the registry entry "HKEY_LOCAL_MACHINE\Software\HTC\DefaultTz".
My settings to get the timezone in Manila to Tokyo are now:
In the OperatorPkg I change in the .rgu file the value for DefaultTz:
[HKEY_LOCAL_MACHINE\Software\HTC]
"DefaultTz"=dword:000000EB
Click to expand...
Click to collapse
The list of codes can be found in the Windows Mobile Development Center.
In the Manila package I change in the app.reg file the values for the clock:
"WorldClock.CityList"="ASI|JP|JA041|TOKYO,EUR|DE|GM001|HEILBRONN,ASI|PH|RP077|MAKATI,NAM|US|MI|DETROIT"
"WorldClock.CurrTimeZone"=hex:e4,fd,ff,ff,54,00,6f,00,6b,00,79,00,6f,00,20,00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,54,00,6f,00,6b,00,79,00,6f,00,20,00,44,00,61,00,79,00,6c,00,69,00,67,00,68,00,74,00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,c4,ff,ff,ff
"WorldClock.IsPreset"=dword:00000001
"WorldClock.LocalIndex"=dword:00000000
Click to expand...
Click to collapse
Search all packages for duplicate entries of these registry settings. I found the "WorldClock.CityList" in several OEM packages and in the Manila package. Make sure that the entry exist only once.
Now my ROM has no longer NewDehli as default timezone after reset.
Hi all,
It's just been pointed out to me by a user that the Phone Settings icon is missing from my Settings folder in the Start Menu, and pressing Menu>Options from the HTC dialer does nothing (the phone settings are completely missing). I'm cooking 23554 with Sense 2.5 (Rhodium 2.07) for the Blackstone, and I've included PhoneSetting 6_23_0_3 which looks to contain all the right band/pin etc pages. The only thing I can see in the app.reg which may be of use is:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Extensions\Controls Folder\RemoveDefaultPropertySheet]
"Phone"=dword:4
But I have no idea if this value is right or wrong - I've made no edits to PhoneSettings from the original kitchen I downloaded so it ought to be right.
Anybody know why Phone Settings is missing for me?
millski said:
Hi all,
It's just been pointed out to me by a user that the Phone Settings icon is missing from my Settings folder in the Start Menu, and pressing Menu>Options from the HTC dialer does nothing (the phone settings are completely missing). I'm cooking 23554 with Sense 2.5 (Rhodium 2.07) for the Blackstone, and I've included PhoneSetting 6_23_0_3 which looks to contain all the right band/pin etc pages. The only thing I can see in the app.reg which may be of use is:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Extensions\Controls Folder\RemoveDefaultPropertySheet]
"Phone"=dword:4
But I have no idea if this value is right or wrong - I've made no edits to PhoneSettings from the original kitchen I downloaded so it ought to be right.
Anybody know why Phone Settings is missing for me?
Click to expand...
Click to collapse
you have to remove the redirect from reg, here is a pkg you can put in the kitchen that does it for you
twopumpchump said:
you have to remove the redirect from reg, here is a pkg you can put in the kitchen that does it for you
Click to expand...
Click to collapse
Thanks Solved it by deleting the reg key: [HKLM\ControlPanel\Phone\Redirect] (which doesn't seem to be in the package you attached, but it pointed me in the right direction!)
Dear Members,
1. I have lost the icon to access display settings in my cooked roms. Meaning i cannot access the screen alignment or clear type settings. I have tried adding reg below as well:
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Settings\System\cplmain.cpl,7]
"Icon"="\\Windows\\Start_Icon_Screen.png"
Click to expand...
Click to collapse
I cant access clear type settings from manila as well.
2. My HTC Recorder fails to appear in my start menu as well. I have set it to appear under "Multimedia" folder in app.dat. I have checked spelling and the lnk is present in the files folder.
In effort to solve this prob, i have checked initflashfiles.dat and searched all provxml files to see if something is deleting it (used ervius kitchen editor function to search for "Recorder" string under all files and appears to be ok)
Also, i have tried 2 different builds of SYS - both boots up properly but with same problem. Please advice what i could be doing wrong.
Thanks in advance.
Details:
Base: TMOUS 2.13
SYS: 21903 / 21892
SOLUTION - Refer to post 3 by Braakie
nothing seems to be wrong... can you please post what are you using to change the registries.. i guess if you are not using UIA icons you will have some troubles.
tidus18 said:
Dear Members,
1. I have lost the icon to access display settings in my cooked roms. Meaning i cannot access the screen alignment or clear type settings. I have tried adding reg below as well:
I cant access clear type settings from manila as well.
2. My HTC Recorder fails to appear in my start menu as well. I have set it to appear under "Multimedia" folder in app.dat. I have checked spelling and the lnk is present in the files folder.
In effort to solve this prob, i have checked initflashfiles.dat and searched all provxml files to see if something is deleting it (used ervius kitchen editor function to search for "Recorder" string under all files and appears to be ok)
Also, i have tried 2 different builds of SYS - both boots up properly but with same problem. Please advice what i could be doing wrong.
Thanks in advance.
Details:
Base: TMOUS 2.13
SYS: 21903 / 21892
Click to expand...
Click to collapse
1) In your \OEM\LEO\COMMON\OEMDrivers folder, there is a 21b6ed86-a505-4ad7-a4aa-b8bb93c926d9.rgu file with this registery entry, change it from 1 to 0:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
2) For the HTC Recorder, change your pad in the \OEM\LEO\0409\OEM_Lang_0409 initflashfiles.dat file, search for "VoiceRecorder", and change Tools to Multimedia:
Directory("\Windows\Start Menu\Programs\Multimedia"):-File("Voice Recorder.lnk","\Windows\Recorder.lnk")
ps: This is the English translation, change it in your own language.
details
Thanks guys,
Will recheck the paths and spellings. I have removed all entries in initflashfiles.dat all except the non HTC stuffs and placed it under its respective app.dat in ext folder. Im customizing the location and icon pictures of basic wm stuffs (ie: home, search phone, help,games etc.) using provxmls.
What i have done so far:
1. Copied all these provxmls below to a "zzz_newXML" ext package and edited to new path i want.
mxip_MyPhone_100.provxml
mxipcold_marketplace_100.provxml
mxipupdate_office_100.provxml
mxipupdate_onenote_100.provxml
mxipupdate_projectdefault_a_000.provxml
mxipupdate_RemoteDesktopMobile.provxml
mxipupdate_taskmgr_shell_1.provxml
mxipupdate_welcomecenter_1.provxml
mxipupdate_windowslive_1.provxml
mxipupdate_windowsliveim_1.provxml
Click to expand...
Click to collapse
2. So the original is left untouched in SYS/OEM folder. Provxmls which assigns/resorts icons have been blanked out and placed in "zzz_newXML" files folder to overwrite the default paths so that i can fully control all icons using single provxml.
3. I am using mxipinit_startmenu_001.provxml in XDA\EVK\OEM\LEO\0409\ProjectDefault_A to do start menu rearrangement. All Ext package icons customizations in placed in its respective folders.
My reason for choosing this method is so that i dont have to go to initflashfiles.dat or provxmls in new SYS package whenever i update system builds or add/remove ext package.
I have attached mxipinit_startmenu_001.provxml (from item 3 above) and my initflashfiles.dat if you guys need more details. Please advice if there are any other better/easier way of doing this customization.
Thanks in advance and sorry for the late reply!
Braakie said:
1) In your \OEM\LEO\COMMON\OEMDrivers folder, there is a 21b6ed86-a505-4ad7-a4aa-b8bb93c926d9.rgu file with this registery entry, change it from 1 to 0:
[HKEY_LOCAL_MACHINE\ControlPanel\Pen]
"Hide"=dword:0
2) For the HTC Recorder, change your pad in the \OEM\LEO\0409\OEM_Lang_0409 initflashfiles.dat file, search for "VoiceRecorder", and change Tools to Multimedia:
Directory("\Windows\Start Menu\Programs\Multimedia"):-File("Voice Recorder.lnk","\Windows\Recorder.lnk")
ps: This is the English translation, change it in your own language.
Click to expand...
Click to collapse
Thanks Braakie! Finally found time to rebuild rom with the reg key and that did bring back Screen option in settings. I still couldnt get the recorder right, maybe something wrong with the ext package itself.
I think we can change it to solved now as my main concern was with screen settings.
There are quite enough applications out there that sort packages, but
I wrote this simple console application and even though it's not as good as the other package sorters I'm here to share it with anyone interested...
I have written it having in mind the outcome of bepe's xidump:
Code:
dump
|_IMGFS
| |___OEM
| |___RESERVED
| |___SYS
| |___.ROM (file)
| |___.VM (file)
|
|_XIP
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_OEMXIPKernel
|_WinCENLS_%locale%
so I always run it after xidump in order to get the most out of it...And so should you
Usage :
Code:
OSPS.exe /t:<Target (OEM) Folder> [COLOR="blue"]/n[/COLOR] [COLOR="red"]/r[/COLOR] [COLOR="green"]/d[/COLOR] [COLOR="Magenta"]/s[/COLOR] [COLOR="Sienna"]/k[/COLOR]
/n <Optional switch to sort packages into EXT>
/r <Optional switch to sort registry files>
/d <optional switch to delete empty packages>
/s <Optional Switch to sort SYS,XIP packages>
/k <Optional Switch to keep all original comments>
If /r is given the application will rewrite each registry file removing duplicate values and making it more readable.
If /r is omitted no registry files will be touched.
If /n is given the application will:
a) Convert every OEM package which name starts with "PACKAGE_*" to EXT Package named after the package's MASD.
b) Move the corresponding localization files ("PACKAGE_...wait for it..._%locale%") to the EXT Package's %locale% subdir.
c) Read initflashfiles.dat and if there are any entries about any EXT Package it will split initflashfiles.dat, rewrite it and create an app.dat for each of those EXT Packages, converting the hexstrings to readable strings.
If /n is omitted the application will:
a) Copy every OEM package which name starts with "PACKAGE_*" to a new folder - Pkgs\Common - and it will rename them after each package's MASD.
b) Move each corresponding localization Package ("PACKAGE_...wait for it..._%locale%") to a new folder - Pkgs\Locale - and it will rename them after each package's MASD and (%locale%).
c) Read initflashfiles.dat and if there are any entries about any Package it will split initflashfiles.dat, rewrite it and create an initflashfiles.txt for each of those Packages, converting the hexstrings to readable strings.
The application will sort all *manila files found according to language.
If /s is given the application will:
a) Sort OEM into 3 subfolders : (i) %locale%, (ii) COMMON, (iii) dpi_%dpi%
b) Sort SYS to VK style.
c) Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
If /s is omitted the application will not make any further changes to the dump.
If /d is given the application will remove any empty Packages (like X1,X2,L1,etc),
If /d is omitted no packages will be deleted.
If /k is given the application will keep all the original comments in initflashfiles.dat and app.dat/initflashfiles.txt.
If /k is omitted the application will just keep some basic comments.
Change Log:
07/July/10 - v1.0.0.0
Initial Release
10/July/10 - v1.0.0.1
Added /s and /k switches
11/July/10 - v1.1.0.0
Added conversion of hexstrings to readable strings for ALL LCIDs
20/July/10 - v1.2.0.0
Bug-Fix: Some files from the locale packages weren't moved as they should
Changed how /k switch works(read more...)
20/July/10 - v1.2.1.0
Increased stability
22/Sep/10 - v1.2.2.0
Bug-Fix: Some PACKAGE_2DManila* folders were left inside OEM
17/Nov/10 - v1.3.0.0
Bug-Fix: Registry sorting wasn't working 100%
22/Nov/10 - v1.4.0.0
Bug-Fix: Manila lcid sorting
To Do:
Any suggestions are welcomed!
Any bug reports are appreciated!
Regards!
kokotas said:
4. Sort SYS to VK style.
5. Sort XIP like this:
Code:
XIP
|_%Build_Number%
|_LangDB
|_MSXIPKernel
|_MSXIPKernelLTK
|_%Device_Name%
|_OEMXIPKernel
|_WinCENLS_%locale%
Click to expand...
Click to collapse
Can I skip these steps?
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
- initflashfiles.dat, app.dat hexstring convert
- don't edit app.dat header for easier edit and view
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
It's very good app, thank you so much.
Epson said:
Can I skip these steps?
4...
5...
And something please consider:
- when using /n, don't sort OEM (%locale% - COMMON - dpi_xxx), or an option to skip OEM sorting
Click to expand...
Click to collapse
I could add a switch for all of the above. Let me check it...
Epson said:
- initflashfiles.dat, app.dat hexstring convert
Click to expand...
Click to collapse
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
Epson said:
- don't edit app.dat header for easier edit and view
Click to expand...
Click to collapse
What exactly do you mean? Give me an example if it's not difficult.
Epson said:
- can i have an option to keep all comment lines in initflashfiles.dat and app.dat?
Click to expand...
Click to collapse
Well I don't like those useless comments, so no for this one.
Epson said:
It's very good app, thank you so much.
Click to expand...
Click to collapse
Thank you for trying it and leaving your comments!
Regards!
kokotas said:
I could add a switch for all of the above. Let me check it...
Well till now I can get only English hexstring converted correctly, but I'm looking for a way to do it for other languages... but with no success so far
What exactly do you mean? Give me an example if it's not difficult.
Well I don't like those useless comments, so no for this one.
Thank you for trying it and leaving your comments!
Regards!
Click to expand...
Click to collapse
I like those suggestion too because I don't use VK kitchen
I think he means the "FF FE" header of app.dat (you removed it), some text viewer can't display correct and think it's an binary file.
About the hexstring convert, maybe you should work with airxtreme as he did it very well here: http://forum.xda-developers.com/showthread.php?t=692314
Oh, and thank you for your app. It's great.
Ok guys!
I uploaded a version which doesn't remove the header "FF FE" from each app.dat,
and has 2 new switches to control whether to:
(i) sort SYS,XIP and OEM according to VK style and
(ii) remove comments from initflashfiles.dat and app.dat
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Regards!
kokotas said:
Only thing left is to find a way to convert ALL hexstrings, regardless LCID...
Click to expand...
Click to collapse
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
kokotas said:
New version is attached @ 1st post to handle this issue.
I've tested it with English, Greek, German and Chinese Rom and it's working!
If you find anything wrong let me know...
Regards!
Click to expand...
Click to collapse
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Cloudyfa said:
LOL, I don't know why but your tool does exactly what I want here: http://forum.xda-developers.com/showpost.php?p=6992501&postcount=46
And when keep all comment lines, I see that you used the method I posted, it's great because we can split initflashfiles correctly and don't have junk lines left.
I've tested the new version with 0409, 0804 and 0404 ROMs, it's working great. Thank you so much, friend.
Click to expand...
Click to collapse
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
kokotas said:
I'm glad you like it!
I had seen your comments there.
Those were some of the things I wanted too, along with registry sorting , manila files sorting, old style packages sorting etc.
so when I started writing this little app I took them into consideration
Regards!
Click to expand...
Click to collapse
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
v1.2.1.0
An updated version is up @ 1st post.
Cloudyfa said:
I think I've found a bug of your tool:
When I use your tool to sort Huashan leaked ROM. Some packages lose their locale files folder (exp: Power, MP3Trimmer,... lose their 0804\files).
Click to expand...
Click to collapse
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
Cloudyfa said:
Btw, please consider:
- Keep comment lines in initflashfiles.dat only
- Delete all comment lines in app.dat files, then add 1 line at top: ";***PkgName***" and 1 empty line at bottom.
So we don't need the option to keep comment lines anymore. We'll have initflashfiles.dat with default structure and well organized app.dat for EXT, and a nice final initflashfiles.dat after building process.
Thanks for the useful tool, friend!
Click to expand...
Click to collapse
I changed a little how the application handles comments:
If /k is given the application will keep all the original comments.
If /k is omitted the application will keep only some basic comments. For example:
initflashfiles.dat
Code:
root:-Directory("My Documents")
root:-Directory("Program Files")
Directory("My Documents"):-Directory("我的图片")
Directory("\My Documents\我的图片"):-File("春天.jpg","\Windows\Spring.jpg")
Directory("\My Documents\我的图片"):-File("青草.jpg","\Windows\Grass.jpg")
Directory("\My Documents\我的图片"):-File("绿叶.jpg","\Windows\Leaf.jpg")
Directory("\My Documents\我的图片"):-File("水纹.jpg","\Windows\Water.jpg")
Directory("My Documents"):-PermDir("模板")
Directory("Program Files"):-Directory("连接")
Directory("\Windows"):-Directory("Help")
Directory("\Windows"):-Directory("Fonts")
Directory("\Windows"):-Directory("程序")
Directory("\Windows"):-Directory("StartUp")
Directory("\Windows"):-PermDir("“开始”菜单")
Directory("\Windows"):-Directory("Temporary Internet Files")
Directory("\Windows"):-Directory("AppButtons")
Directory("\Windows"):-Directory("收藏夹")
Directory("\Windows"):-Directory("Rings")
Directory("\Windows"):-Directory("AppMgr")
Directory("\Windows"):-PermDir("System")
Directory("\Windows\System"):-PermDir("ConfigMgr")
Directory("\Windows\System"):-PermDir("CertDtls")
Directory("\Windows\System"):-PermDir("DumpFiles")
Directory("\Windows\System"):-PermDir("CabQueue")
; Start Menu contents
Directory("\Windows\“开始”菜单"):-PermDir("程序")
Directory("\Windows\“开始”菜单"):-PermDir("设置")
Directory("\Windows\“开始”菜单\程序"):-File("帮助.lnk","\Windows\help.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("搜索手机.lnk","\Windows\search.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电话.lnk","\Windows\cprog.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("调制解调器链接.lnk","\Windows\ATCIUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet 共享.lnk","\Windows\IntShrUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("任务管理器.lnk","\Windows\TaskMgr.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("ActiveSync.lnk","\Windows\sync.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("Internet Explorer.lnk","\Windows\pie.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("PerfMan.lnk","\Windows\perfman.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("电子邮件.lnk","\Windows\tmailpicker.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("短信.lnk","\Windows\tmailsms.lnk")
Directory("\Windows"):-File("设置电子邮件.lnk","\Windows\acctwiz.lnk")
; turn off the OLD inbox later
; put the OLD inbox to the program floder (temporary)
Directory("\Windows\“开始”菜单\程序"):-File("便笺.lnk","\Windows\notetake.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("图片和视频.lnk","\Windows\pimg.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("SimTkUI.lnk","\Windows\SimTkUI.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("计算器.lnk","\Windows\calc.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("资源管理器.lnk","\Windows\fexplore.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("入门.lnk","\Windows\WelcomeCenter.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("闹钟.lnk","\Windows\MSAlarms.lnk")
Directory("\Windows\“开始”菜单\程序"):-Directory("游戏")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("纸牌.lnk","\Windows\solitare.lnk")
Directory("\Windows\“开始”菜单\程序\游戏"):-File("icon.lnk","\Windows\gamesico.lnk")
; App Button default links
Directory("\Windows\AppButtons"):-File("日历.lnk","\Windows\calendar.lnk")
Directory("\Windows\AppButtons"):-File("联系人.lnk","\Windows\addrbook.lnk")
Directory("\Windows\AppButtons"):-File("任务.lnk","\Windows\tasks.lnk")
Directory("\Windows\AppButtons"):-File("录音.lnk","\Windows\voice.lnk")
Directory("\Windows\StartUp"):-File("bugtrap.lnk","\Windows\bugtrap.lnk");
Directory("\Windows\StartUp"):-File("poutlook.lnk","\Windows\poutlook.lnk")
Directory("\Windows\StartUp"):-File("欢迎使用.lnk","\Windows\welcome.lnk")
Directory("\Windows\“开始”菜单\程序"):-File("远程桌面 Mobile.lnk", "\Windows\wpctsc.lnk")
Directory("Program Files"):-Directory("Windows Media Player")
Directory("\Windows\“开始”菜单\程序"):-File("Windows Media.lnk","\Windows\WMPlayer.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(纵向).skn","\Windows\wmp_WPC_portrait.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(横向).skn","\Windows\wmp_WPC_landscape.lnk")
Directory("\Program Files\Windows Media Player"):-File("默认(方格).skn","\Windows\wmp_WPC_square.lnk")
Directory("\Program Files\Windows Media Player"):-File("欢迎使用 Windows Media.wma","\Windows\wm_start.lnk")
; Help .LNK files
Directory("\Windows\Help"):-File("ActiveSync.lnk","\Windows\h_sync.lnk")
; Transcriber available for USA, FRA & GER
Directory("\My Documents\模板"):-File("空白文档.pwi","\Windows\blank.pwi")
Directory("\My Documents\模板"):-File("会议记录.pwi","\Windows\meeting.pwi")
Directory("\My Documents\模板"):-File("备忘录.pwi","\Windows\memo.pwi")
Directory("\My Documents\模板"):-File("电话备忘录.pwi","\Windows\phone.pwi")
Directory("\My Documents\模板"):-File("示例文档.pwi","\Windows\sample.pwi")
Directory("\My Documents\模板"):-File("待办事宜.pwi","\Windows\todo.pwi")
Directory("My Documents"):-Directory("个人")
Directory("My Documents"):-Directory("商务")
Directory("My Documents"):-Directory("我的音乐")
Directory("My Documents"):-Directory("我的铃声")
Directory("\Windows"):-File("cmclient.exe","\Windows\HTC_cmclient.exe")
app.dat
Code:
;ALBUM
Directory("\Windows\“开始”菜单\程序"):-File("相册.lnk","\Windows\Album.lnk")
Directory("\Windows\Help"):-File("相册.lnk","\Windows\Help_Album.lnk")
Directory("\My Documents\我的图片"):-File("Albums Sample_01.jpg","\Windows\Albums Sample_01.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_02.jpg","\Windows\Albums Sample_02.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_03.jpg","\Windows\Albums Sample_03.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_04.jpg","\Windows\Albums Sample_04.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_05.jpg","\Windows\Albums Sample_05.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_06.jpg","\Windows\Albums Sample_06.jpg")
Directory("\My Documents\我的图片"):-File("Albums Sample_07.jpg","\Windows\Albums Sample_07.jpg")
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Great work!!!
kokotas said:
An updated version is up @ 1st post.
I think this bug is fixed now.
I downloaded that rom and tested it and all the packages are sorted correctly as far as I can see!
I changed a little how the application handles comments:...
Click to expand...
Click to collapse
Ya, I've tested and it works very well now.
lol, you really did it exactly what I want again (about those basic comment lines) You know, it's a mess without them.
kokotas said:
EDIT:
I added more stability to the application:
When I run it on an old rom's dump (the ones that weren't organized into "PACKAGES_*") the application would crash!
With v1.2.1.0 it should work ok!
I've tested it with some Elfin official roms and it's NOT crashing
Regards!
Click to expand...
Click to collapse
I've never faced that issue because I use this code in my kitchen:
Code:
if exist IMGFS\OEM\PACKAGE_* "%path_exe%OTHER\PkgSorter" /t:IMGFS\OEM /n /d
but it's great that you improve the stability.
I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
venomshot629 said:
I have cabs set to autoinstall in my config_ap.txt, but they also automatically create shortcut icons in the start menu which I dont want there; I would just load them in as EXTs except the programs have a few bugs that way.
Is there a way to install cabs via config.txt and in the same file delete the shortcut icons? Or is there some other way to force an autodelete of those Start Menu Icon shortcuts after the cab installs?
Click to expand...
Click to collapse
Yes, it is possible. I use Mortscript to remove/move shortcuts.
Entries in config.txt
Code:
LOCK:Enabled
LOCK:Disabled
CAB: \windows\xxxxxxx.cab
EXEC:\Windows\[B]DelReglnk.mscr[/B]
Entries in DelReglnk.mscr:
Code:
Delete ("\Windows\Start Menu\Programs\yyyyyyy.lnk")
i just create and package folder in EXT of kitchen and drop config.txt, mortscript file and the cab in the "files" folder
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
^
|
|
This.
Edit the cab and remove the icon or point it to a new path.
Farmer Ted said:
Either use the mortscript method, or better yet, edit the cabs and put the shortcuts where you want them.
Click to expand...
Click to collapse
Thanks to all. Ted, I ended up getting WinCE Cab Manager and deleting the shortcuts from the cabs.
Thanks everyone.