yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] dgaud007:
Does it work correctly when running the SysVars.mscr? If so, try creating a shortcut to the SySVars.mscr file in the \Windows\StartUp folder. I just discovered the shortcut was missing in the cab file. :rolleyes:
[Windows Mobile Apps and Games] 4D3:
is there a version that works on VGA?

this looks realy good!! nice work
[Windows Mobile Apps and Games] dgaud007:
Thanks, Unfortunately I don't have a VGA device to test. BUT, let me workout the numbers and I'll try to get a VGA version (not tested) over the weekend. Currently, I'm working on a C++ program to replace the mortscript, but I think I'll try the VGA layout first since it is easier.
[Windows Mobile Apps and Games] twolf:
hmmmm... I have a request....

Could a bar be created also?

Like so:

:D
[Windows Mobile Apps and Games] zard:
Finally it worked for me on QVGA. I installed and reinstalled many times wondering what I had did wrong.

Thanks for the hard work.
[Windows Mobile Apps and Games] dgaud007:
I just posed the link to a test VGA version (did it with the math since I don't have a device to work with). Let me know how that works, while I continue my Visual Studio 2008 crash course...Thanks everyone for the feedback and comments. I agree we need to put some graphs and bars, and maybe better icons in there. Hopefully the next version will have some of that. Thanks!
[Windows Mobile Apps and Games] kangmas:
Fantastic

Thanks, have adapt for WM7 layout. Waiting for memorycard fix. Thanks again
[Windows Mobile Apps and Games] nandar:
I can find SysVars.mcsr file, somebody help me?
[Windows Mobile Apps and Games] lesscro:
\My documents\themes\system panel\

:D
[Windows Mobile Apps and Games] ahmedfikry:
hello

thanks for the nice panel

i have 2 phones..one shows xx% (eg. 25%) & the other shows xx.0% (eg. 25.0%) ..

anyone know how to get rid of the ".0" issue as it makes the display odd specially in collapsed panel

also, waiting for large (4GB) memory card mortscript support fix

Thanks
[Windows Mobile Apps and Games] dgaud007:
\My Documents\Themes\Titanium System Panel\ to be more exact unless you changed it. :D
[Windows Mobile Apps and Games] dgaud007:
It seems strange the same script would perform different. Anyway I just updated the 1st post with a new version that displays data with 2 decimal places. At least on my device there is no truncation or ellipsis. Please try the new version and let me know if it works. Thanks,
[Windows Mobile Apps and Games] larbke666:
Now it's limited on 3.6GB, cause i have an 8GB card :p
[Windows Mobile Apps and Games] 151jcolon:
eso es asi mi hermano
[Windows Mobile Apps and Games] motisu:
The new version works OK but I don't understand why it is so much larger than the old version. V1 was 72K and V2 is over 1.3M.
[Windows Mobile Apps and Games] dgaud007:
Good catch. I figured it out. It turns out a 32 bit integer can only represent numbers up to around 4 GB. I will update the cab tomorrow. Thanks!
[Windows Mobile Apps and Games] dgaud007:
Yes I noticed that. The difference is the MemStatus.exe program (which replaces the mortscript) is 1.3MB long. But, while is running it only consumes about 76KB of memory. It must be some compiler setting or option I screwed up. Frankly, I'm surprised I managed to compiled the thing at all. :eek: I'll keep looking into it. Thanks.
[Windows Mobile Apps and Games] lesscro:
Nice Update !

@ dgaud007

Seems to be works good... but i have a request :

In your Old version, i need change in SYSvar.mscr...

Storage Card => SD card to display correct information...

In new version : i can do this (Compiled in *.exe)! it need made change to work correctly on my PDA !

PDA Storage & SD Storage is same with this version ! :o

Can you add some Storage format (SD Card, ect...) ? :D

THX in advance !

Beautifull work !

preview with New graphical Style... :D
[Windows Mobile Apps and Games] twolf:
Did a small "skin":

To install, just replace the pngs inside the zip to the \My Documents\Themes\Titanium System Panel folder (backup yours first).

A few small requests... The pngs for some reason are stretched on the qvga view. and could the bars not be semi-transparent on the condensed view? (not sure if this is even possible)...

Thanks for this great plugin. :)
[Windows Mobile Apps and Games] lesscro:
@ Twolf...

Awesome idea... And nice Default icon... i use this Icon on My Future Theme With Your Authorization ! :p

Update icon to display like TWolf... :o
[Windows Mobile Apps and Games] twolf:
Glad to help. :)
[Windows Mobile Apps and Games] motisu:
I'm not so much concerned about its running size as I am about its installation size. I am running a BA and since it has to be installed into main memory, loosing 1mb is a really big hit.
[Windows Mobile Apps and Games] kangmas:
Looking Good

Work well, except for memory card info. Waiting for fix. Thanks bro ... :)
[Windows Mobile Apps and Games] dgaud007:
DONE! Try v2.1 and see if that works. Just change the key \HKLM\Software\Microsoft\CHome\system\cardname.
[Windows Mobile Apps and Games] dgaud007:
Great work! I think the bar graphs are easier to read than the original pie charts! Regarding the png's I think the problem is they are 47x34 (height of the condensed page) but the *.cpr file is specifying a width of 60... that needs to be fixed. As for the transparency, I noticed the pie charts get semi-transparent when the titanium selection bar is far away from the system panel. When the bar is near the system panel the pngs look solid to me. I'll look into it...
[Windows Mobile Apps and Games] dgaud007:
DONE! I was compiling in DEBUG mode vs. RELEASE. The new size is 117KB for the MemStatus.exe file. Check v2.1 in the 1st post.
[Windows Mobile Apps and Games] larbke666:
everything is fixed now mate, thank you ;) 8GB works fine

WOOPS: it says 7.6 GB now ...
[Windows Mobile Apps and Games] twolf:
Thanks, you are right, resized the pngs and its normal now.

Still dont like the bars I did, will look into doing a better version, in the meantime here is the resized pngs:

One more request, please... hehehe :D

Abolute percentage, for example 48% instead of 48,29%.

I believe you can achieve this with Math.abs(), but im not a programmer.

Thanks again, this plugin is everything I wanted since I converted from Resco todayand SPB Plus to M2D. :)
[Windows Mobile Apps and Games] twolf:
Just throwing in some ideas...
[Windows Mobile Apps and Games] twolf:
Just to be clear, the image from my previous post was a test made on photoshop.

This screenshot, however, is the real deal:

This is as far as I could go on my previous post idea.

Since I cant change the text auto-created on the registry, I hid it a little. Still think that the % should be a full number.

To install, overwrite the png files, install the regkey and change your cpr manually (not sure how to do it automaticly).

:)
[Windows Mobile Apps and Games] lesscro:
Yeahhh baby !

@ Twolf...

Nice Idea... looks Good... maybe you can Work with dgaud007 to adapt your graphic with New version...

@ Dgaud007...

Nice update ! Works great NOW !

EDIT/

Twolf...

looks good... but we need change displaying Condensed Line Title...

remove **,**% - Remove Text INFO : RAM, SDC, STO
[Windows Mobile Apps and Games] dgaud007:
I'm not sure this is a bug, but I don't know why it happens. Take a look at my 6GB card.
[Windows Mobile Apps and Games] dgaud007:
Great stuff. Is looking better and better. I'm thinking I can add a skin option via registry value that when enabled the MemStatus program would just dump all the values into a generic registry string. Then you could use MortScript or something to parse the values and make your own calculations to be placed in the registry values that the *.cpr file uses. This way the values can be represented as integer only, you could play with the spacing, add headers, etc. If the skin option if off, MemStatus would just do as it does now. Unfortunately I don't have access to VS 2008 until next week :(
[Windows Mobile Apps and Games] lesscro:
Good news... option must be a very cool feature...

We can wait... lastest version Works great !

You rocks... take ur time !
[Windows Mobile Apps and Games] claus1953:
working great on my Elfin as well....thanks a lot for this...waiting for a version with possibility to change skin
[Windows Mobile Apps and Games] dgaud007:
Updated 1st post with new version 2.2 with skinning option. If you don't plan to skin, then v2.1 is identical. Let me know how it works. Thanks,
[Windows Mobile Apps and Games] twolf:
trying it now, thank you. :)

---edit---

hmmmm...havent been able to do much with the new options.. :(

if the skin=1 on the registry then the text changes between RAM:83.11% SDC:66.22% SDC:128.3% and 83.11%;66.22%;128.33% every 10 seconds, but it never stops jumping...

Obviously these numbers are just an example.

Or maybe Im doing something wrong, how am I supose to use any of the XX;YY;ZZ on the layout?
[Windows Mobile Apps and Games] twolf:
Sorry, double post...
[Windows Mobile Apps and Games] lesscro:
look good but...

Same issue like TWolf...

And for me Condensed entry "VALUE" in registry jey is not updated...

On page it s look like This...

And how to use the XX,XXX;YY,YYY;ZZ,ZZZ ?

:p

Thx for Ur Work for skinner...
[Windows Mobile Apps and Games] zard:
Here's a cab with the sysskn2.zip files.
[Windows Mobile Apps and Games] twolf:
I appreciate it, but its still a work-in-progress... :(
[Windows Mobile Apps and Games] dgaud007:
The values displayed in the CondensedPage view was a bug I just fixed. When skin = 1, no values will be visibly updated by the MemStatus program. The idea is that you will use MortScript (or other) to create a skin script that will read the raw data from the "Value" keys and update the "Label" and "PluginLabel" keys as required. I did a little Mortscript to illustrate better:

# Sample SKIN script for Titanium System Panel
# The idea is to grab values from the "Values" registry key and format those values as desired
# i.e. integers only (51), integers with units "51 MB", one decimal place with units "51.1mb", etc.

While(1)

# RAM Status
RAM_VALUES = RegRead( "HKLM","\Software\Microsoft\CHome\system\Page1","Value") # Load floating point values
RAM_TOTAL = Part( RAM_VALUES,";",1 ) # get total memory size value xx.xxx
RAM_TOTAL = Round( RAM_TOTAL) # display as integer only
RAM_TOTAL = RAM_TOTAL & " MB" # display value with units

RAM_USED = SubStr( RAM_VALUES,8,6 ) # another way to get memory size value xx.xxx
RAM_USED = Format(RAM_USED,1) # or display with one decimal digit
RAM_USED = RAM_USED & "megs" # display value with units

RAM_FREE = SubStr( RAM_VALUES,15,6 ) # get free memory size value xx.xxx
RAM_FREE = Round(RAM_FREE) # or display with one decimal digit
RAM_FREE = RAM_FREE & " mbytes" # display value with units

Label = Ram_TOTAL & " : " & RAM_USED & " =>" & RAM_FREE # try different layouts

# Add code for Storage memory and Card memory...
# <CODE>...etc...

# System Condensed Page Text
PERCENT_VALUES = RegRead( "HKLM","\Software\Microsoft\CHome\system\CondensedPage","Value") # Load floating point values
RAM = SubStr( PERCENT_VALUES,1,6 ) # get total memory size value xx.xxx
RAM = Round( PERCENT_VALUES) # display as integer only
RAM = RAM # display value without units or header

STO = SubStr( PERCENT_VALUES,8,6 ) # get total memory size value xx.xxx
STO = Format(STO,2) # or display with two decimal digits
STO = "PHONE=" & STO & "%" # display value with a "%" sign and a header

SDC = SubStr( PERCENT_VALUES,15,6 ) # get total memory size value xx.xxx
SDC = Format(SDC,1) # or display with one decimal digit
SDC = SDC & "% FREE!" # display value without units

PluginLabel = " " & RAM & " " & STO & " " & SDC # try different layouts, separators

# Update System Condensed Page
Message(PluginLabel)
RegWriteString("HKLM","\Software\Microsoft\CHome\system\CondensedPage","PluginLabel", PluginLabel)

# Updated RAM Page Values
RegWriteString("HKLM","\Software\Microsoft\CHome\system\Page1","Label", Label)

# Signal Titanium
RegWriteDWord("HKLM","\Software\Microsoft\CHome\system","Updated", 1)

Sleep(500)

RegWriteDWord("HKLM","\Software\Microsoft\CHome\system","Updated", 0)

EndWhile

This script only updates the RAM values, but you get the idea for the others. Also, this is very flexible since now you can have different formats for each value and/or each page. You can even omit values if you want (like "USED").

Try the attached MemStatus.exe file and let me know if it works now.
[Windows Mobile Apps and Games] twolf:
:confused:

I have nothing against mortscript, I just loose myself easily on its code... I tried SYS2REG for rltoday once and was completly confused:

http://rotlaus-software.de/forum/index.php?topic=1192

This link has a lot more pre-done codes to write info to the registry, so that the plugins can use...
[Windows Mobile Apps and Games] dgaud007:
You don't need SYS2REG (from which I originally got the code, by the way...). Just run this script in you phone and you'll get the values as in the screenshot. You only need to change the format parts for each value i.e.

RAM_USED = Format(RAM_USED,1) # or display with one decimal digit
RAM_USED = RAM_USED & " MB" # display value with units

here if you want to display units as MBytes, just replace MB with MBytes in the second line. If you want to display 2 decimal places, replace 1 with 2 in the first line, etc.

You don't even have to use Mortscript. Any scripting or programming language that can read/write registry keys and parse strings will work also. The magic of Mortscript is that it automatically takes care of data type conversions and declarations.

If you still have doubts, let me know a format you want the values displayed for each page and I'll write a script for that particular format and see if it works.
[Windows Mobile Apps and Games] twolf:
Thanks for you patience, I'll go make some tests. :)
[Windows Mobile Apps and Games] twolf:
I did some tests and this is the best I came up with, thats how bad of a programmer I am... :D

Mortscript file attached.

The internal pages are clearly wrong...

Just a couple of questions:

- Is there a simple way to terminate a script? :/

- After its finished, I'll have to add it to the startup, right?
[Windows Mobile Apps and Games] twolf:
Oh damm, spend some more time trying to fix my test, but come up with the conclusion that it could never be right...

I have no way of knowing the size of each one's device internal storage, sd card or ram... :(

So the substrings could start in a different place for each device.

I think that the best way to use this is to have a different RegKey for each status (total, used, free)...

This would help to get the math right... Also theres gotta be a variable that decides if its showing a Mb or Gb value...

Anyways, here is my script, but Im afraid it wont work for everyone, since each person has its own values and different used mb. :(

Also, one small detail, the order in the condensed view is 1-2-3 but on the pages is 1-3-2... Just noticed it now. :/

Will try your new script now, thanks. :)

NOTE: in this test I didnt use the condensed regvalues, but instead used the true free values in Megabytes from the normal pages. This way I can see in the bar a representation of how much is free and being used, and in the text info how much I have really left. So even though I dont read the % value of what is free, I gain a more important info.
[Windows Mobile Apps and Games] twolf:
Sorry I cant help more, I can get around flash, but thats about it... :(

I'do something like this in flash for the correct values:

RAM_VALUES = RegRead( "HKLM","\Software\Microsoft\CHome\system\Page1","Value")

myArray = RAM_VALUES.split(";");

RAM_size = Math.abs(myArray[1]);
\\STO_size = Math.abs(myArray[2]);
\\SDC_size = Math.abs(myArray[3]);

if (RAM_size > 1024){
RAM_size_TEXT = "GB";
} else {
RAM_size_TEXT = "MB";
}

RAM_size_CONDENSED = RAM_size + " " + RAM_size_TEXT;
[Windows Mobile Apps and Games] brandontowey:
VGA Version Outsized

Twolf,

Thanks for your work on this panel. Definitely out of my league to do this kind of programming(or any programming for that matter, just tinkering really). I wanted to report the bug I've come across when installing this on my VGA Touch Pro:

When I installed the System Panel the icons and text are really big. Checked the thread but didn't see any fix so I'm attaching a Zip file of my screen shots if anyone wants to take a look. I have no idea how to edit the file to control this stuff so if you need anything else from me(file from my phone, etc., etc.), PM me and I'll do it. It's not that big a deal but this would be a great panel to have.

If no fix, thanks anyway for making a version for a phone you don't even have.
[Windows Mobile Apps and Games] dgaud007:
Please try this one. I had originally doubled the font size thinking it was required when converting to VGA. Post some screenshots and we'll go from there.
[Windows Mobile Apps and Games] dgaud007:
@twolf; @everyone

What else you think can be done to simplify the the skinning process. Let me know so I can start working on it. Thanks for trying this!
[Windows Mobile Apps and Games] twolf:
Actually... the problem I spoke above is in the substrings...

I have no way of knowing if the value from HKLM\Software\Microsoft\CHome\system\Page1\Value is x characters long: "99.00;25.85;129.30" or "102.00;25.85;129.30" that subtle difference can make all the rest not work.

If we cant use arrays in Mortscript then the best way is to save the values in separated regkeys.

This helps in the problem of what numbers are going to show.

It doesnt solve other problems, for example, on my case that has the extra icons on the condensed view, users have to edit the cpr file manually to add a line, I dont know if there is a easy way to update this... :(
[Windows Mobile Apps and Games] twolf:
To ilustrate my point, here is your script optimized to QVGA:

As you can see the first image is fine, with the correct percentage used. RAM is also fine, but the next image shows errors, because the total is not xx.xx but xxx.xx and that messes up the rest of the substrings.

Then a different problem with the SD Card, that has the correct numbers, but show MB instead of GB, because it doesnt do the variable MB or GB.

On a previous post I did a flash actionscript 2.0 example of a possible solution, but I dont know how to code it in Mortcript (or any other language for that matter)... hehehe :D

I can also do a alternative layout for the pages with the icon on the left and the values represented vertically, but I like your version better. :)
[Windows Mobile Apps and Games] dgaud007:
There are 3 ways around this:

1. There is another Mortscript function that uses a token to search for the end of a substring. I haven't used it but I think that is what it does(?)

string = Part( <string>,<seperator>,<index>[,<trim?>] )

In this case the separator = ";".

2. Change MemStatus.exe so that it automatically controls all "Value" numbers to 5 digits, i.e. 102.XX or 99.XXX.

3. Change MemStatus.exe to always add a leading 0, like 0XX.XXX to 6 digits number.

I didn't want to separate the values because is makes the program longer, and will probably consume more memory, but if is better I can try it. Regarding the additional icons, you're right there is nothing I can do. For layout changes users will need to edit the cpr files.
[Windows Mobile Apps and Games] twolf:
#1 seems to be the easiest way to go then. :)
[Windows Mobile Apps and Games] lesscro:
+ 1 ...

:p
[Windows Mobile Apps and Games] brandontowey:
Installed but doesn't show up. Doubled checked it was enabled in CHome Editor, still no dice.
[Windows Mobile Apps and Games] teorouge:
Same here! :confused:
[Windows Mobile Apps and Games] larbke666:
Have you done a soft reset... Cause that helped me
[Windows Mobile Apps and Games] DJRedLine:
Omnia using latest system panel

The Storage card still does not seem to show correctly?

RAM and Main Memory are fine but Storage shows as 0.131gb total, 0.039gb used, 0.092gb free (8gb storage card)
[Windows Mobile Apps and Games] twolf:
While the new version doesnt come out (bump, hehehe :D), did a temporary cab file already with a skin and all needed tweaks to make it run.

To use, uninstall the previous version first, reset, install this CAB and reset again.

If you get a AtpluginInstaller error, then you need to put all your *.cpr files on the Windows folder without the read-only property (I used Resco Explorer).

As mentioned on this thread, expect some bugs on the correct values.

Edit the .MSCR file with notepad to fit you best. ;)
[Windows Mobile Apps and Games] larbke666:
I'm waiting for the new version :p
[Windows Mobile Apps and Games] dgaud007:
I double checked the *.plg file but can't find anything wrong. Could you please zip and upload your Titanium_480x640.cpr and Titanium_640x480.cpr files so I can take a look at them? I assume you mean the plugin is not even shown in the screen. Thanks.
[Windows Mobile Apps and Games] dgaud007:
I'll look into it. there might be a bug...though is working fine for my 6GB card. If your card is not named "Storage Card" be sure to update the registry key @ HKLM\Software\Microsoft\CHome\system\cardname with the correct name. I'll probably have an answer by tomorrow.
[Windows Mobile Apps and Games] teorouge:
Your assumption fits, in my case. No plugin shown in today though installed and activated (checked in Chome Editor). I'm attaching my cpr's, hope that helps. Thanks again for your efforts! :D
[Windows Mobile Apps and Games] dgaud007:
Thanks for the files. The installer is failing to insert the system layout code into the cpr files. Just to be sure and if you haven't done it already, disable the Windows Default today plugin and make sure the cpr files in Windows ARE NOT read only or hidden, and then try to install again. I can't find anything wrong with my default.plg file. Another option, if you can try, I re-attached the cpr files but manually inserting system panel layout code. Could you try these ones, just copy and paste them to your Windows folder (remember to backup the originals first!)
[Windows Mobile Apps and Games] teorouge:
I'll sure do next morning, unfortunately now I have no time! ;)
[Windows Mobile Apps and Games] DJRedLine:
Thanks

It was the registry setting.

The default is set to \Storage Card

Had to change to \My Storage
[Windows Mobile Apps and Games] teorouge:
It works! Titanium off, overwritten files, titanium on... tada!!

See screenshots attached... now I only have to change Internal Storage to show the integrated 4 GB memory! ;)
[Windows Mobile Apps and Games] dgaud007:
Glad it worked. I'm even more surprised the layout worked correctly this time, and only after 2 iterations :eek:

So we have a working VGA version... if only I could figure out why AppStar's installer did not parse the xml code into the cpr files, as it does with the QVGA versions????
[Windows Mobile Apps and Games] dgaud007:
Just posted an update v2.3 QVGA version that fixes the units in the SD Card page and some other stuff. If you are in a hurry and don't want to uninstall / re-install, just copy the attached (1st post) MemStatus.exe file to your phone and reboot. Let me know how it works. I'll be working with the VGA installer issue in the next couple of days.
[Windows Mobile Apps and Games] teorouge:
Glad to hear that, thanks for your time. By the way, I got to show the right numbers for storage card (changed from "Storage Card" to "Internal Storage" in ChomeEditor) but units are wrong... is that the fix you applied? If so, then it would be perfect... would you mind telling me how to get your latest creation in VGA? And maybe how to change the SD Icon with something more suitable for the Diamond (which I could provide you)? Glad to be a beta tester, if you need one. ;)
[Windows Mobile Apps and Games] Hemant:
hi can someone please upload the file to either rapidshare or megaupload as 4shared doesnt work here in china. thanks for the hard work.