Guys/Gals,
Newbie here. I'm trying to modify the sliding panel media homescreen.xml file. My question is more for the general xml programming. Is there a way to include a "plugin clsid" within a "plugin clsid"?
See the attached xml file. There's "CCustomPlugin" section where you can create your own panel. I'm using Good mobile messaging and i want to be able to add the Good mobile email and unread email plugin.
Thanks in advance for your help!
Actually, to add a new panel, you need to add a new dir(name of you choice) in your reg under chome. Under the new dir, copy all of the info from CWelcomeCenter panel into it. Then you can modify all the values(text,picture,url) to what ever you want. No need to change xml except since you have a list of plugins in there(cclock,chome,etc), you need to add it to the list. Once you created the dir, with copied info in it, you could use chome configurator to modify the values(easier).
showaco said:
Actually, to add a new panel, you need to add a new dir(name of you choice) in your reg under chome. Under the new dir, copy all of the info from CWelcomeCenter panel into it. Then you can modify all the values(text,picture,url) to what ever you want. No need to change xml except since you have a list of plugins in there(cclock,chome,etc), you need to add it to the list. Once you created the dir, with copied info in it, you could use chome configurator to modify the values(easier).
Click to expand...
Click to collapse
Thanks Showaco. Does the method you described allow me to add a plugin as well? What i want to do is this. I want to add a panel with a program (exe file). This program also comes with a plugin clsid that shows my online status. So the end product would be an icon, the program name, and my online status. I think the method your prescribed only would allow me to add the program and the description of the program. But not the plugin clsid...
Showaco didn't understand what you're trying to do. Let me explain...
In the homescreen xml file you can ONLY have two plugins (in the sliding panels configuration). One being CHome and another being the 20 pixels at the top. The top plugin can be anything... 99% of the time it's the iconbar, of course. People like rinku have made different plugins that show different information up there, but.. you lose the iconbar. So, to wrape it up, you can replace the icon bar GUID in the XML with your plugin's GUID(and settings) and have it show up at the top. BUT, you lose the icon bar.. and that's a NO NO if you ask me
I gotcha now, I didn't know realtime data involved. The only way I know is to use testuiplugin panel, but it would only work if the info that you want to display is written somewhere in the registry. Does the email program write info to the reg already?
I understand. So you can't have another plugin within CHOME..that sucks and makes what I want to do harder.
What I'm using is Good Mobile Messaging. I assume this program already writes to the registy? It would be perfect if I can just replace the CCalendar with GoodCalendar and CMessaging with GoodEmail.
I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
l0lcats said:
I checked the Fonts folder under \Windows and did not see any. I would like to change the clock font to that of an LCD screen/alarm clock. I believe I have found where to change that in registry but I'm wondering if I can just drop some fonts from my PC onto the phone and just go.
*This one, really really really, didn't need to be moved. One could have posted a link to the Clock thread. I would have appreciated that. There is, however, another question here related to fonts in general on the phone. I searched, couldn't find. However, if you know a thread, by all means move this one there.
For the second time, don't be so quick to just move the thread.
Click to expand...
Click to collapse
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Rip Syntaxx said:
You shouldn't have to change anything in your registry, regarding your clock font. Just drag and drop a font file (.ttf) from your PC to the \Windows folder itself. Don't worry about placing anything in the "Fonts" folder. You'll need to edit the .cpr (also located in the \Windows folder) and replace the current clock font with the name of the LCD font.
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Edit: DERP! That'd be the CHome_320x240.cpr file wouldn't it?
l0lcats said:
Thanks for clarifying that. I haven't changed the home screen that defaults when one installs Kavana's ROM. I've modified it and added panels with CHome Configurator though. Would you happen to know the name of the .cpr file I'd need to edit?
Click to expand...
Click to collapse
Check your PM (Private Messages) in about 4 minutes.
Rip Syntaxx said:
EDIT: Make sure you rename the font to have "zz" at the beginning (ex. Tahoma = zztahoma.ttf). That way, your clock font won't be used to everything else in your phone. If you don't do this, you'll notice your Internet Explorer and Opera Mini browser (if you have it) will use the same font as your clock.
Click to expand...
Click to collapse
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Same thing happens to me, after a lot of tries, I gave up on the idea of changing the font.
showaco said:
I guess that is dash/excalibur specific, because I installed the zarmalite.ttf on my blackjack, and it took over operamini and some(but not all) of my mortscript options pages. Since it started with "z", I thought it would be alright, but I ended up having to remove the font completely. Also, my clock font never changed at all, even after editing the cpr with the new font.
Click to expand...
Click to collapse
Really??? That's strange. I'd think that this would work for any Windows Mobile device. Try this... Transfer over Tahoma (or another font similar to Segoe) to your device just like you did ArmaliteRifle. Rename it "aatahoma.ttf" so that Opera Mini and PIE will pick it up. Let me know how it goes, showaco.
EDIT: Also, it is IMPERATIVE that you name everything correctly. Double-click the ArmaliteRifle font file on your PC. Whatever name is listed needs to be what you place in the .cpr file. Place that particular name in the Font Family section of the clock area. It sounds like this might be why your phone picked up the font, but not your clock.
Using sliding panels NRG Topbar on 6.5 NRG. I want to customize a couple of things if someone could help me that would be great...
1) Carrier text
I have tmobile and it says "Get More..." for the carrier at the top of the clock. Can I change this to custom text?
2) I'd like to change the panels to a blue color instead of transparent; I've seen screenshots with this.
3) I'd like to change the font of the clock.
I've done 1 and 2 before on 6.1 but I did not back it up and I can't remember how I did it... I think it used MortScript but I'm not sure....
I did my best to search the forums but I couldn't find a solution to my problem! Sorry if this is a repeat!
Thanks.
thunderwolf333 said:
Using sliding panels NRG Topbar on 6.5 NRG. I want to customize a couple of things if someone could help me that would be great...
1) Carrier text
I have tmobile and it says "Get More..." for the carrier at the top of the clock. Can I change this to custom text?
2) I'd like to change the panels to a blue color instead of transparent; I've seen screenshots with this.
3) I'd like to change the font of the clock.
I've done 1 and 2 before on 6.1 but I did not back it up and I can't remember how I did it... I think it used MortScript but I'm not sure....
I did my best to search the forums but I couldn't find a solution to my problem! Sorry if this is a repeat!
Thanks.
Click to expand...
Click to collapse
Hey...all of it looks DO-ABLE, not necessarily Easy, but DO-ABLE.
For #1, I believe that the Carrier text is located in a res.dll or other dll file...so that is a toughie, but I dont know how to change the carrier names exactly. If you really want to, go into the CPR file and COMMENT OUT (using <-- and -->) the part that deals with the text for the carrier name...then replace it with a new piece of XML, practcally the EXACT SAME except, name it a different ID (like Text2) or something. Then go into the registry (HKLM/Software/Microsoft/Chome/CClock) and add a string there...make its name the same as in the CPR, and make its Value TMOBILE....THAT SHOULD WORK, but I am no expert at that, so MAKE SURE TO BACKUP!!!!
For #2 TO make the panels Blue, you are going to have to get BronzeRes.dll from the Windows Directory, open it with PE Explorer or similar DLL resource editing tool. Then replace the resource that is the transparent panel background with one of your liking...there may be premade ones out there already, I am not sure...but searching may help (although you have already searched)...
For #3 I think..EMPHASIS ON I THINK... you need to take your own font that you want, put it along with the other fonts (in the Windows Directory)...somehow you have to sign it for the Device (that I don't know) so that it will recognize its existance, then you have to edit the CPR file...so that where it has the TEXT data for the TIME, you edit the name of the Font Class corresponding to your font, and how it is registered to the phone....
For all of these solutions, i am pretty sure they SHOULD work, but then again, i am no expert with this phone (yet)...but good luck...remember to modify with SAFETY (backup backup backup!!!)
everything that your asking can be done right from your .cpr. lots of people have asked the same thing be for, it's just the matter of typing just the right words into the search engine. try looking at this.
http://forum.xda-developers.com/showthread.php?t=529838
as for the carrier name, that's a little odd that it won't display the right one. maybe try "connection setup" to see if that helps.
Cyclonezephyrxz7 said:
remember to modify with SAFETY (backup backup backup!!!)
Click to expand...
Click to collapse
yes, always do this. i have backups for every rom that comes out cause not every rom is the same. even if it's by the same cooker.
Rearranging the Manila Home Screen
What do I need to know?
Manila uses few types of files: qtc, xml, mode9 and lua. First one is for graphics, second usually for different languages (although not only) and the two last ones are the ones we are interested in. Mode9 files contain information on position, visibility and other properties of almost every element on Manila tabs. Lua files contain different functions, used for animations, updating info and so on.
For editing the Home Screen we need the mode9 file - 1c684cd8_manila and the lua script - 25d04412_manila. You can find these files (from each Manila, starting from 1.0 and ending on 2.5) on this forum.
What tools do I need?
Editing mode9 files is quiet easy. You just have to run m9editor, open the file, make the changes you want and save it. Changing stuff in lua scripts is a bit more complicated, as you have to decompile it. Shorter scripts are easily decompilated by luadec, but some longer ones require us to correct errors. Fortunately, the lua script we have to change is easily decompilated (though there can be a problem with the if condition). To do this follow these points:
- copy luadec.exe and luac.exe to the folder you where you have the lua script (let's say it's c:\compacthome\mod\)
- press Windows Logo + R (or Start > Run) and type cmd
- go to the folder containing the lua script (in this case it's cd \compacthome\mod\)
- type luadec script_name > script_name.txt - where script_name is the script you want to decompile (for example 25d04412_manila) and script_name.txt is the name of the output file, which we will edit
- in case of errors you have to correct them (look for the lua decompiling tutorial by sztupy)
- once you have the script decompiled you don't need to do it again.
- open the output file and change whatever you want
- to compile the file just type luac -o script_name script_name.txt, where script_name is the file we want to have the script_name.txt compiled
What can I change?
When you open the mode9 file we want to edit, expand the tree and you'll see many sections called 'Object'. Below them there are few lines called 'Property'. What you can easily change is:
- Position - just change the value of X and Y (center position (X=0, Y=0) and axis are different for most of the objects - you have to test this)
- Visibility - True or False (sometimes you may have to change the size of a image to 0x0, so that it won't show never)
- Font
- Font Size
- Color of text in RGB format - if Property is not available, add it
In the 25d04412_manila script you can change positions of many objects in both portrait and landscape mode.
- TabsLeft - left part of the clock (animated)
- TabsRight - right part of the clock (animated)
- clock_tabs - background of the clock (pile of tabs)
- alarm_clock - alarm info and date
- NotifiCamera3D - notifications & appointments
- NotificationShiftY - shifting of appointments when changing to small clock
To change the position just modify the first two parameters of Vector3(X, Y, Z) - both CameraPosition.value and LookAtPosition.value.
How to save and test the changes in a fast way?
Open a cab creator (for example WinCE Cab Manager) and add the files you changed to /Windows. Save the cab, copy it to your device, install and reboot Manila. You can also copy manually the file, but I prefer the first way, because in case of any problems you can easily uninstall the cab and get the default Home Screen.
How to get the Home Screen working with Background4AllTabs?
Just open the 1c684cd8_manila file by m9editor, look for 'HomeBackground' and delete the whole paragraph which contains it (from <Object>Type="Group" to the next <Object>Type="Group").
- - -
If you have any suggestions, propositions or ideas, please write them in this thread, I'll try to complete this tutorial, so it will be useful for everyone. Thanks!
i cannot come up with suggestions, but that tutorial is very nice on your side!
Although not actually about the home screen arrangement. I do think we need the information on how to patch the EXE for weather and especially non-HTC devices to be made public. The few people that know how to do it don't seem to want to SHARE that knowledge, which is damned frustrating!
Kamill, what an excellent idea. I'm looking forward to your tutorial. I wonder will it be for Manila 2.0?
Here are some ideas:
Change touch flo colour
Appointments for at least one week
Linking big clock with another application (similar to Ssmaho)
Changing soft keys names/applications
Changing font sizes/types
Changing date formats on appointments
I hope this doesn't make it too difficult (I think the second one is though for some Manila versions!)
UPDATE in first post - an early version of the mini-tutorial.
FloatingFatMan, unfortunately I don't know how to do it...
mitsi, thanks, I'll work on that.
Kamill, My question is what needs to be changed to get appointments in dates after tomorrow to appear? Do I need to edit both the mode9 and the lua script? Or is it just one of those? I'm willing to get my hands dirty to fix it.
The easiest way is to get the files from hallatore's mod for Manila 2.0 and compare them to the original. There are mainly 3 differences, you'll find them for sure. AFAIR all you have to change is in one script, you have to add an option to display the date, change the place from where appointments are being taken (poomappointments(TAB_Calendar) instead of poomappointments(TAB_Home)) and change the number of appointments in the for loop.
Hmm. Well I changed the TAB_Calendar and added the option to to display date. Those were easy. Finding the loop is harder. I forced A loop to go 5 times and I got 5 calendar events, but the ones past tomorrow were the default ones in the mode9 ("Review design comp (Dan's office)"). I did it in the InitializeFullAnimation function just below this if statement:
Code:
if l_15_15 > 5 then
l_15_15 = 5
end
So those items are not being updated from the calendar. Any ideas? Am I looking in the wrong loop?
Anyway you can post hallatore's mod de-compiled? I think I have the original, but when I use m9editor the lua has a lot of decompiled errors.
Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success
how to change home tab
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much
Kamill said:
Here you go. Are you doing this on the Manila 2.1? I tried so many things to get this working, but with no success
Click to expand...
Click to collapse
Thanks. I am trying for Manila 2.1. There's gotta be a way.
tatarasi said:
Hi, I have read all the posts here and in some other threads related, and I'm still confused
I did try to install the cabs posted, and it totally messed my home tab, so I had to hard reset every time (because uninstalling didn't fix it up).
All I want to have is this:
1. move the alarm notification on the upper-right corner (to cover or remove the ATT logo)
2. make the Call History to auto-hide if there is no missed call (or to delete it, if it is easier)
3. have more appointments visible (2-3) with the big clock, and to be able to flip the clock upwards in order to have even more appointments visible
4. when I click on the appointment, to open the Calendar (this is already possible, and I'd like to remain this way)
I apologize if this is a silly question: is this possible to be done only by editing some manila files, and if so, which ones and what should I modify?
I opened some manila files (e.g. 1c684cd8_manila) using notepad and m9editor.exe, and, honestly, I had no clue as to what should I do
I am sure that you guys know this stuff already, and it is very easy for you. If it's not complicated to explain it to me, please help me!
thank you very much
Click to expand...
Click to collapse
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.
Been trying...
I've been trying for some time now to get more than today's and tomorrow's appointment's displayed in manila 2.1. I added in the code that Hallatore added (can be found in stupy's lua thread) but there seems to be something limiting the amount of days shown ahead (I hope is not limited by the manila.exe, but I think not).
As additional info, the lua file that use to be embedded in the Home.mode9 isn't any more and is named 53cc1e4f_manila for 2.1 manila and 652ae0f4_manila for 2.5 manila,
12
mitsi said:
Here is the solution to all 4 requests, but it is for Manila 2.0, so be careful. Back-up first just in case. Your screen will then look similar to the one shown.
Click to expand...
Click to collapse
This is exactly what I'm after.
Unfortunately, I tried that alternative and, again, it totally messes my TFLO, and I had to hard reset again.
What do you mean by Manila 2.0, is this the TFLO version (in Settings, I see that I have ver. 3.0 build 29946)?
thank you
Change Home tab display
Hi, thank you very much for your interest and trying to give me solutions for my request. It is amazing how people from different corners of the world are connecting and helping each other.
I presume that the file to work with is 1c684cd8_manila.
I opened that with m9editor 3.3.0.1. It's a lot of info there
Could you guys be so kind and give some clues as to what should I look for in order to change:
- the alarm notification - to move it on the upper-right corner
- the carrier logo - to delete it
- the Call History - to delete it
- the Appointments - to have at least 2-3 shown
Also, important clues as to what NOT to touch, in order to
- continue to be able to flip over the big clock
- continue to be able to open the Calendar when click on the appointment
thank you again
tatarasi said:
- the alarm notification - to move it on the upper-right corner
Click to expand...
Click to collapse
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
tatarasi said:
- the carrier logo - to delete it
Click to expand...
Click to collapse
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
tatarasi said:
- the Call History - to delete it
Click to expand...
Click to collapse
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
tatarasi said:
- the Appointments - to have at least 2-3 shown
Click to expand...
Click to collapse
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Kamill said:
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
If only it was that easy... I've been trying all kinds stuff including what you suggest above. I have decompiled the 53cc1e4f_manila I'll attach it here (it's the one from yozgatg's r1.5),
12
I mean you CAN change the number of appointments, but in a range of 0 to 6 (5 with big clock). I've tried to get more appointments shown, but I failed...
Kamill said:
Change the X and Y in the 'Position' Property of these objects: AlarmClockOn, AlarmClockOff, AlarmTime.
To the object 'OperatorLogo' add a property called 'Visibility' and change its value to False - if it won't work change it's height to 0 in the 'Size' property.
The same as above, objects: MissedCall_SBar1, MissedCall_SBar2, MissedCallIcon, MissedCallText.
You need to decompile the 53cc1e4f_manila script and find l_15_0.MaxShowCount and change the value of it to the desired one.
Click to expand...
Click to collapse
Hi, Kamill,
Apologize for double posting, I am growing impatient feeling that I am so close to a solution
Regarding the Manila, I checked where you told me to, and I found out that I have TFLO 3D 1.2.37896.1_1813.6. Thank you.
Thank you for your advices, I already tried to remove the logo
- first, I added the <Property> Name=Visibility Value="False" - did not work
- then, I changed the Height=0 - still ATT was there
- lastly, I deleted the entire Object GLESSprite2D (which was above the "OperatorLogo" property - still no result
What do you think I am doing wrong?
Speaking of the number of appointments, I amazingly discovered that I do not have 53cc1e4f_manila file. What do you think that means?
thank you very much, again
Manila 1 is a bit different from 2.0 or 2.1, the 53cc1e4f_manila script is embedded in the 1c684cd8_manila mode9 file (one of those at the beginning).
AFAIK you can replace the logo file with a blank one (don't ask me which file is it, I don't know ). Or you can try to add a 'Position' property and move it out of the sight (but it may come back in some situations) - though I do not guarantee it'll work.
I hope you'll success in modifying the Manila 1 homescreen, I guess there is still a couple of people who use that version of TF3D.
Can't seem to find any info on this that is relevant, just some stuff for much older versions and for WP.
I switched out my stock email app with the XFinity app, as it seems to be more reliable on retrieving email. The only problem I have with it is the icon is too big (touches the top and bottom of the launch bar) and the text is too long/doesn't wrap.
I was able to change the icon to a more standard icon via winrar etc, however I can't find a successful way to fix the text issue. Is this even possible?
Attached a pic, app is in lower right:
Well since you have it in the launcher I think the only way to do this would be to edit an .xml file (no idea which one) inside the .apk. You could always put it on the home screen using Launcher Pro, LP lets you customize the name. Probably not what you want to do, but just throwing it out there
Yeah I'm addicted to GTG though
I found several references to changes to strings.xml to allow wrapping etc and possibly change it entirely (not a lot of info there), but it appears to maybe be for an older version or something as the file isn't located in the apk where everyone says it should be.
Thanks though