simple mortscript question, to the mortscripters? - Windows Mobile Development and Hacking General

i know there are a lot of mortscipt experts on this forum. so i guess i should ask it here.
OK i have looked through the threads, google and the mort script manual but i cant find a way to extract the size of a file. i know i can see it under file properties. but is there a script to extract the file size.
thanks
joe

Its in the manual:
9.13.3 Get file size (FileSize)
x = FileSize( file name )
Returns the size of the file in bytes.

Furbious said:
Its in the manual:
9.13.3 Get file size (FileSize)
x = FileSize( file name )
Returns the size of the file in bytes.
Click to expand...
Click to collapse
Thank you very much, i do remember reading that but coudnt figure out the syntax for the script.
joe

Furbious said:
Its in the manual:
9.13.3 Get file size (FileSize)
x = FileSize( file name )
Returns the size of the file in bytes.
Click to expand...
Click to collapse
spoke too soon that is "not a valid function". and
9.13.3 returns file attributes like hidden,system file,read only file etc.(check attributes under file >>properties)
i need the file size.
so does anyone have another idea.

I don't think you are using the right syntax, or theres something wrong with your code.
Code:
x=filesize("\storage card\testfile.txt")
message(x)
Pops a message dialogue with the filesize, no errors

Furbious said:
I don't think you are using the right syntax, or theres something wrong with your code.
Code:
x=filesize("\storage card\testfile.txt")
message(x)
Pops a message dialogue with the filesize, no errors
Click to expand...
Click to collapse
I tried this exact script with mortscript 4 and it says
"Unknown function filesize"
i guess there is some different funtions in your version, I am using mortscriptv4, is yours different than mine?
and can someone else please try this simple script out and provide some feedback?
thankyou
joe

Get the newest version of MortScript at http://www.sto-helit.de/index.php?module=download&action=list&category=16
Currently newest is MortScript 4.01 beta 19

Related

VipMSCRexe is a utility to run MortScript without Assigning .mscr to MortScript.exe

VipMSCRexe is a utility to run MortScript without Assigning .mscr extension to MortScriptexe.
How to Use it
Rename exe to your scriptname.exe e.g if your script name is sashimi.mscr then rename this VipMSCRexe.exe to sashimi.exe
This utility will first find MortScript.exe in Current directory and Sub directory under it
if not found then look in \Program Files and sub directory
if still not found then look in \Storage Card\Program Files
if still not found then look in root directory.
Once MortScript.exe found then find <exename>.mscr in same above fashion.
Once script found then execute command like MortScript.exe scriptname.mscr parameter1 parameter2 etc.
Advantages of this Utility
you can have only one installation of MortScript and may be all your script in one another folder.
Now if you want to call any of script copy this exe and rename to your scriptname.exe
Basically if you have script name sashimi.mscr then copy this exe and rename to sashimi.exe and put it in any folder
Root or storage card any where and run exe will execute your script you do not give any path or tell where it located etc.
To me MortScript.exe only support one parameter where as this Utility support multiple parameter
Version 1.0
Initial version
Version 2.0
Make changes so that Arguments are passed properly
Performance Improvement using config file
Version 3.0
Performance and Special Chars Handling in Mortscript's Path
Version 5.0
Performance improvement Using registry values
Version 6.0
Fixed Langeuge issue
Fixed Error Handling Routine
Very interesting. I have several uses for this right away so I'll download it and test. Many thanks for sharing!
Just want to note that although this is a fine tool (I'm using it for SASHIMI), if you DON'T need to pass parameters to your program you would be better off to use a renamed Autorun.exe file from the MortScript download.
The only reason I say this is becuase of the delay that VipMSCRexe has when locating/opening the script.
But, if you need to pass parameters to your script, this is the tool!
Don't work in my PC "System.ArgumentException: URI formats are not supported"
In smartphone with WM6.1 is the same error
hurtavy said:
Don't work in my PC "System.ArgumentException: URI formats are not supported"
In smartphone with WM6.1 is the same error
Click to expand...
Click to collapse
Don't work in my PC "System.ArgumentException: URI formats are not supported"
Only Supported for Pocket PC's not for desktops
In smartphone with WM6.1 is the same error
SmartPhone and WM6.1 I am not sure you have smartphone or Wm6.1
Can you please let me know which phone you have?
I have Motorola MPx200 with WM6.1 Standart Russian.
Error message is in russian language. Translate:
System.ArgumentException: It is not possible to show the error message, since it is impossible to find its containing additional assembling of resources in System.IOath:InternalCombine()...
Do you have .netCf 3.0 installed?
hurtavy said:
I have Motorola MPx200 with WM6.1 Standart Russian.
Error message is in russian language. Translate:
System.ArgumentException: It is not possible to show the error message, since it is impossible to find its containing additional assembling of resources in System.IOath:InternalCombine()...
Click to expand...
Click to collapse
Do you have .netCf 3.0 installed?
v3patel said:
Do you have .netCf 3.0 installed?
Click to expand...
Click to collapse
No. Only .NETcf 2.0
I do not have smartphone to test but can you try changing your languegue to english and then try. I just want to see is it languege problem or somthing else.
Posted Version 6.0
Posted Version 6.0
v3patel said:
Posted Version 6.0
Click to expand...
Click to collapse
You Can make it run in Win-CE ?
Great App.
But I have a same problem, it delayed 3-4 second before running a script.
Hope that you can fix it!
Thank u.
blue1311218 said:
Great App.
But I have a same problem, it delayed 3-4 second before running a script.
Hope that you can fix it!
Thank u.
Click to expand...
Click to collapse
Me too, I know that you may have heavy code inside to do like path checking & etc., may be another version with just execute the .mscr in same folder as MortScript.exe & <VipMSCRexe>.exe ?
Many thanks for this great app.,
Thanks, that the thing I need~~~
Hope you can me help
Hello,
i have program in the startup of my WinCE 5 Falk GPS. After the Hard Reset, has a Error. And the text:
Script \Temp\0084Script.mscr not found, waiting for existence (Storage Card not Initializied?)... After 3 sec. my falk stops.
Sry for bad english, im german.....

[APP] xcopyce - 0v04 [08 SEP 2008]

Hi
This app was created a few months ago and lived in the UC thread created by Sleuth255. I said if there was enough interest I would move the post to the it's own thread. I got to 0v03, so I started a new thread.
xcopyce v0-04
This is an application idea l3v5y came up with and somehow convinced me into writing .
Purpose
To copy folders as part of the UC process.
Requirements
* .Net CF 2.0
* UC (Of course).
Usage
*Download the Zip file and extract xcopyce.exe onto your the root of your storage card.
*Add the following lines to your UC File
Code:
CPY1:\Storage Card\xcopyce.exe
CPY2:\Temp\xcopyce.exe
EXEC:\Temp\xcopyce.exe
Replace folder paths where necessary, remeber that EXEC: does not support spaces (hence why I'm copying to \Temp).
Config
Create a file on the root of your storage card called xcopyce.txt - this is the config file.
*The format of the file is "source" "destination" attribs.
*Comments begin with a # symbol.
*By default destination files are created without attributes.
*File attributes are as follows (case insensitive):
Code:
r - read-only
a - archive
s - system
h - hidden
Example:
Code:
[COLOR="DarkGreen"]#Copy Temp from Storage Card to your Device[/COLOR]
"\Storage Card\Temp" \Temp
[COLOR="DarkGreen"]#Copy Folder making all files Read only in the Destination[/COLOR]
\Temp "\Temp2" r
[COLOR="DarkGreen"]#Copy Folder making all files Hidden and System in the Destination[/COLOR]
\Temp2 \Temp3 sh
[COLOR="DarkGreen"]#Copy Folder making all files System, hidden, read-only and archive in the Destination[/COLOR]
\Temp3 \Temp4 shra
Double Quotes can surround either the source or destination, but must surround paths with spaces in. This is the same as when using the xcopy command line. If in doubt surround both sides with quotes.
Logging
A log file is created on the root of your storage card called xcopyce.log. This file is over written every time you run.
Change Log
0v01
- Initial Development.
0v02
- No longer requires the storage card to be called "\Storage Card".
0v03
- Support for destination file attribute setting.
- Now over writes read-only files in the destination.
- Changes to log file structure.
- Handles blank lines in the config file.
0v04
- Bug fix: Line parser algorithm should handle work in all cases. (#10)
Credits
l3v5y for the idea.
Sleuth255 for his UC work in the first place.
nikagl for inspiring more updates.
Download
Here
MD5 Hash
Code:
9E08A46EC3E049FF71BFF476FE818BD4
Thanks
Dave
Thanks Dave! And now let's add some tags for the search engines which I had initially used to find this wonderful program, but did not (I only accidentaly stumbled accross it because you had the link in your sig!):
This tool is the perfect addition to Sashimi and/or UC / User Customization as it can be executed using a Command Line on any Windows Mobile (WM5 or WM6) device to copy files and overwrite read only files!
Regards,
Nika.
Me likey file attributes!
Now I'm going to have to flash a ROM to try it out!
One question though... Can this copy files as well as folders?
BTW, I added this to the UC post.
l3v5y said:
Me likey file attributes!
Now I'm going to have to flash a ROM to try it out!
One question though... Can this copy files as well as folders?
BTW, I added this to the UC post.
Click to expand...
Click to collapse
Thanks mate. At the moment just folders. I'll look at files for 0v04.
Ta
Dave
Hi Dave,
I guess for compatibility with UC you've created the current tool, where it uses a file to perform the copy tasks. Would it be possible to create a 100% command line method, like xcopy in Windows?
For instance here's the usage of xcopyce I'd love to see (straight from xcopy /? ):
XCOPYCE source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/i] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/u] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/EXCLUDE:file1[+file2][+file3]...]
source: Specifies the file(s) to copy.
destination: Specifies the location and/or name of new files.
/A = Copies only files with the archive attribute set, doesn't change the attribute.
/M = Copies only files with the archive attribute set, turns off the archive attribute.
/D:m-d-y = Copies files changed on or after the specified date. If no date is given, copies only those files whose source time is newer than the destination time.
/EXCLUDE:file1[+file2][+file3]... = Specifies a list of files containing strings. Each string should be in a separate line in the files. When any of the strings match any part of the absolute path of the file to be copied, that file will be excluded from being copied. For example, specifying a string like \obj\ or .obj will exclude all files underneath the directory obj or all files with the .obj extension respectively.
/P = Prompts you before creating each destination file.
/S = Copies directories and subdirectories except empty ones.
/E = Copies directories and subdirectories, including empty ones. Same as /S /E. May be used to modify /T.
/V = Verifies each new file.
/W = Prompts you to press a key before copying.
/C = Continues copying even if errors occur.
/I = If destination does not exist and copying more than one file, assumes that destination must be a directory.
/Q = Does not display file names while copying.
/F = Displays full source and destination file names while copying.
/L = Displays files that would be copied.
/G = Allows the copying of encrypted files to destination that does not support encryption.
/H = Copies hidden and system files also.
/R = Overwrites read-only files.
/T = Creates directory structure, but does not copy files. Does not include empty directories or subdirectories. /T /E includes empty directories and subdirectories.
/U = Copies only files that already exist in destination.
/K = Copies attributes. Normal Xcopy will reset read-only attributes.
/N = Copies using the generated short names.
/O = Copies file ownership and ACL information.
/X = Copies file audit settings (implies /O).
/Y = Suppresses prompting to confirm you want to overwrite an existing destination file.
/Z = Copies networked files in restartable mode.
Regards,
Nika.
nikagl said:
Hi Dave,
I guess for compatibility with UC you've created the current tool, where it uses a file to perform the copy tasks. Would it be possible to create a 100% command line method, like xcopy in Windows?
For instance here's the usage of xcopyce I'd love to see (straight from xcopy /? ):
...snip...
Regards,
Nika.
Click to expand...
Click to collapse
If I ever get enough free time I might do...
Ta
Dave
It's working well!
But, I must disagree with
This is an application idea l3v5y came up with and somehow conned me into writing .
Click to expand...
Click to collapse
I did not "con" you into doing it. You chose to do it.
l3v5y said:
It's working well!
But, I must disagree with
I did not "con" you into doing it. You chose to do it.
Click to expand...
Click to collapse
Lighten up
DaveShaw said:
Just for the record I was not conned, hoodwinked, tricked or in any way forced against my will by l3v5y to create this program.
Click to expand...
Click to collapse
Hows that suit you ?
Only kidding, I'll expand the word conned into convinced.
Ta
Dave
Thanks a lot. It's a great tool. I'll try to use it with my batterystatus theme.
Error in parser ?
Hi,
first of all, thanks for this apps !
I've found an error : I'm using this line :
"\Carte de Stockage\@Backup\Apps\Application Data" "\Application Data"
and it doesn't work as it must do. I looked at the log file, and found that it try :
source: \Carte de Stockage\@Backup\Apps\Application Data ---- ok
dest: \Application
attribs: Data
so even with double quotes, the parser find a space, and so choose last chars (in my case the end of path) as attribs.
I made a few tests, always bad :
"\Carte de Stockage\@Backup\Apps\Application Data" "\Application Data" r ---> attribs are Data "r
without quotes
...
Can you fix it please?
Thanks
TheBeO said:
Hi,
first of all, thanks for this apps !
I've found an error : I'm using this line :
"\Carte de Stockage\@Backup\Apps\Application Data" "\Application Data"
and it doesn't work as it must do. I looked at the log file, and found that it try :
source: \Carte de Stockage\@Backup\Apps\Application Data ---- ok
dest: \Application
attribs: Data
so even with double quotes, the parser find a space, and so choose last chars (in my case the end of path) as attribs.
I made a few tests, always bad :
"\Carte de Stockage\@Backup\Apps\Application Data" "\Application Data" r ---> attribs are Data "r
without quotes
...
Can you fix it please?
Thanks
Click to expand...
Click to collapse
Doh!
I'll make a fix by then end of play tomorrow, providing I can re-create this first time.
Dave
Woah I really envy you all programmers I dun understand at all what you all are talking about but it seems nice for people who understand it
0v04 is up:
Change Log
0v04
- Bug fix: Line parser algorithm should handle work in all cases. (#10)
Yessss
DaveShaw said:
0v04 is up:
Change Log
0v04
- Bug fix: Line parser algorithm should handle work in all cases. (#10)
Click to expand...
Click to collapse
Yes thank you DaveShaw, it works fine now ;-)
And thanks for your speed!
Wow... I like it. I just tried it with my Diamond and it works great on entire folders. My question is:
I have a folder of ringtones on my storage card. I want to copy those to the \windows\rings folder, but it didn't seem to do it. It didn't overwrite any files in a folder that already existed.
I also want to copy the PIM.VOL from my backup to the root of the device. It also didn't work. Any suggestions?
EDIT: it's my turn to go DOH!
I think I found my error. I read the log and found I had mistyped the path. I also read back through the posts and found it can't do just a single file, only a directory. That's why the PIM.VOL file didn't get copied.
JohnBecker said:
Wow... I like it. I just tried it with my Diamond and it works great on entire folders. My question is:
I have a folder of ringtones on my storage card. I want to copy those to the \windows\rings folder, but it didn't seem to do it. It didn't overwrite any files in a folder that already existed.
I also want to copy the PIM.VOL from my backup to the root of the device. It also didn't work. Any suggestions?
EDIT: it's my turn to go DOH!
I think I found my error. I read the log and found I had mistyped the path. I also read back through the posts and found it can't do just a single file, only a directory. That's why the PIM.VOL file didn't get copied.
Click to expand...
Click to collapse
Yeah for single file's just use UC.
And for the \Rings, if it's cooked into the ROM you might not be able to overwrite the file. Nothng I can do about that
Ta
Dave
sorry guys but i dont really get this lil app much. theres not much to it and no info about how to use it? no real examples and explanations to what it does or how.
So could somebody break it down?
m00moo said:
sorry guys but i dont really get this lil app much. theres not much to it and no info about how to use it? no real examples and explanations to what it does or how.
So could somebody break it down?
Click to expand...
Click to collapse
I wrote it because when you are using Slueth's UC you can only copy files using the CPY1 and CPY2 commands.
This application allows you to copy folders as part of the UC process.
To use...
You create a config file on your card, with the source and destination folders (and any attributes you want) - See post #1.
Then you just execute the xcopyce exe in your UC SDConfig.txt file. (You must copy it to a location on your phone becase the UC EXEC: command cannot cope with spaces ) - The line to add to SDConfig.txt is in Post #1.
Ta
Dave
sorry i think i understand now.
just that upon first inspection of the atributes they seemed to be clumped up and i believed that was the whole code.
thanks for the cool handy app!
m00moo said:
sorry i think i understand now.
just that upon first inspection of the atributes they seemed to be clumped up and i believed that was the whole code.
thanks for the cool handy app!
Click to expand...
Click to collapse
I've updated the sample code to colour the comments green, to help with the reading a little
Dave

Extracting Omnia Rom

Hi there,
i would like to try to make a hybrid rom with an omnia rom.
Can anyone explain how to extract the exe file.
I downloaded the rom from kaiser rom dev section.
Its the normal update file from Samsung
Thanks in advance
C'mon guys, no one around here knows how to get the rom out of that file?
JeckyllHavok said:
C'mon guys, no one around here knows how to get the rom out of that file?
Click to expand...
Click to collapse
Get winrar or something, right click on the exe and click extract here?
veyka said:
Get winrar or something, right click on the exe and click extract here?
Click to expand...
Click to collapse
thats not the way for Omnia's ROM
the procedure is as follows:
1. check out this post.
2. after step 5, download this and use viewbin.exe to find out the start offset and length of imgfs.
3. use cvrtbin -r -a (start offset, don't use '0x' prefix) -l (length of imgfs, don't use '0x' prefix) -w 32 xxx.bin
4. after this u will get an nb0 file. use nbsplit with -kaiser switch on the nb0 to get xx.nb0.payload
5. use prepare_imgfs.exe xxx.nb0.payload -nosplit
6. use view_imgfs.exe or imgfstodump.exe to get the 'dump' folder.
thats not the way for Omnia's ROM
Click to expand...
Click to collapse
Yes, you can't open the file with winrar or zip.
Its not just a self extractin file.
It doesn't create temp files, too.
JeckyllHavok said:
Yes, you can't open the file with winrar or zip.
Its not just a self extractin file.
It doesn't create temp files, too.
Click to expand...
Click to collapse
check out my post above for the procedure
PS: i didn't learn this procedure myself, so i don't take the credit.
Hey man,
thanks for your answer, but i can't find B000F in the file.
I use WinHex
JeckyllHavok said:
Hey man,
thanks for your answer, but i can't find B000F in the file.
I use WinHex
Click to expand...
Click to collapse
B000FF is in ASCII (text). search again, it must be there 3 times
OK now i found it but i don't understand part 3 of the manual.
The string 0x060000EA3B is in Hex 30 78 30 36 30 30 30 30 45 41 33 42, right?
But i can't find it.
htctouchp said:
thats not the way for Omnia's ROM
the procedure is as follows:
1. check out this post.
2. after step 5, download this and use viewbin.exe to find out the start offset and length of imgfs.
3. use cvrtbin -r -a (start offset, don't use '0x' prefix) -l (length of imgfs, don't use '0x' prefix) -w 32 xxx.bin
4. after this u will get an nb0 file. use nbsplit with -kaiser switch on the nb0 to get xx.nb0.payload
5. use prepare_imgfs.exe xxx.nb0.payload -nosplit
6. use view_imgfs.exe or imgfstodump.exe to get the 'dump' folder.
Click to expand...
Click to collapse
Great! it works for me. In my case I had an img file (I presume that some one extracted from exe). If you run GrandPrix flahs utility and load this .img file you get a _xip0.nb0 that can be used as xxx.bin as stated above.
btw, how can we extract xip? Failed to extract with dumprom/rommaster the payload file generated in step 5...
hey guys,
no luck with the above procedure.
i Made a bin file starting at B000FF and finish after the 12 "00" before
060000EA3B .
But cvrtbin gives the error "Could not allocate memory for raw data"
Please Help
g77 said:
Great! it works for me. In my case I had an img file (I presume that some one extracted from exe). If you run GrandPrix flahs utility and load this .img file you get a _xip0.nb0 that can be used as xxx.bin as stated above.
btw, how can we extract xip? Failed to extract with dumprom/rommaster the payload file generated in step 5...
Click to expand...
Click to collapse
sorry, i didn't work on extrating xip.bin from the 'exe', didn't get time to.
JeckyllHavok said:
hey guys,
no luck with the above procedure.
i Made a bin file starting at B000FF and finish after the 12 "00" before
060000EA3B .
But cvrtbin gives the error "Could not allocate memory for raw data"
Please Help
Click to expand...
Click to collapse
thats the only procedure which should work for u. just follow/read everything carefully and also make sure u downloaded the cvrtbin.exe from the link that i gave (msvcr80.dll should also be there).
Thanks for your answer, i made the mistake that i just cut the unneeded lines and save it as an other filename. When i copy the lines in a new file it workes
JeckyllHavok said:
Thanks for your answer, i made the mistake that i just cut the unneeded lines and save it as an other filename. When i copy the lines in a new file it workes
Click to expand...
Click to collapse
could you zip that .bin up and upload it please?
i'm having a ton of trouble with this
anybody?
sorry to be a nag
There's a thread in modaco.com where they are extracting the ROM with a P535 kitchen. You can join in the funs there

how to rename "Start" in system tray?

how to rename "Start" in system tray? anyone knows?
it's in shellres.dll.0409.mui if you have a english system
really? i didn't know that, thanks for the info.
COOL! I did a quick test with the emulator, and it worked..
find it in 'string data-321'
joemanb said:
COOL!
find it in 'string data-321'
Click to expand...
Click to collapse
Changing from Start to Begin. That is what I call a Major overhaul
Sorry for the noob question, but I used Resco Explorer and even though I found the shellres.dll.mui file (only by doing search), it doesn't allow me to do anything with it. How can I dump it to my SD card (or maybe modify it in situ)?
Do I need to dump the rom in order to extract it? (please say no...)
EDIT: Never mind. I got it!!
For those of you wondering on how to do it, you need the following tools:
1. ResHack
2. ROM Extractor (found here: http://forum.xda-developers.com/showthread.php?p=2686907#post2686907)
a. Extract the shellres.dll.0409.mui from \Wndows (replace 0409 for your device code) with ROM extractor
b. Dump the file in Windows and open it up with ResHack
c. Look for the String Data folder 321 and open it. Once there, you will see the word "Start." Just replace it for whatever you want.
d. Copy the file back using ActiveSync. File explorers will not allow you to copy over a system file in use.
e. Soft Reset.
f. Enjoy
i did this and i'm stuck on the splash screen
Extract the shellres.dll.0409.mui from \Wndows you will only have this file if you have installed a M&M wait cusor the original file is shellres.dll.0409 if uk or us
i already had that,must be cooked into the rom,but i can easily do a HR and retry til i perfect it
please, anyone can post english shellres.dll.0409.mui here to do not need to extract ROM?
patr!k said:
please, anyone can post english shellres.dll.0409.mui here to do not need to extract ROM?
Click to expand...
Click to collapse
Shellres.dll.0409.mui attached. This is from HTC Kaiser (WWE stock 6.1 ROM), extracted after installing M&M wait cusor...
thank you!
btw: is shallres the same for different devices? what is M&M cursor affecting exactly in this file?
update: ok, here is shallres from touch pro eng version. feel free to edit as you wish. copy back with AS
do not forget to backup your device, already needed to make a hard reset - because of edited file
What program do you use to edit the dll as i have Resource Hacker and when i open the shellres.96.dll.0409.mui the only folders in this file are Bitmap,Icon,String Table,Icon Group, In the folder String Table i only see 1143 and this contains STRINGTABLE
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
18275, "13,700,Segoe Condensed"
18276, "8,700,Segoe Condensed"
18277, "13,400,Segoe Condensed"
18278, "9,400,Segoe Condensed"
}
?????
wapvirus said:
What program do you use to edit the dll as i have Resource Hacker and when i open the shellres.96.dll.0409.mui the only folders in this file are Bitmap,Icon,String Table,Icon Group, In the folder String Table i only see 1143 and this contains STRINGTABLE
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
18275, "13,700,Segoe Condensed"
18276, "8,700,Segoe Condensed"
18277, "13,400,Segoe Condensed"
18278, "9,400,Segoe Condensed"
}
?????
Click to expand...
Click to collapse
I believe that you got the wrong file. The one that needs to be modified is shellres.dll.0409.mui and NOT shellres.96.dll.0409.mui. Try that, it should work just fine. I have attached mine. I have a Blue Angel with WM6.1 build 19693.
patr!k said:
btw: is shallres the same for different devices? what is M&M cursor affecting exactly in this file?
Click to expand...
Click to collapse
No, shellres is different for devices and 0409 is US localization, for singapore you might have shellres.96.dll.1234.mui (just an example, i know that's not true...)
MarshallSkins and his(her? ) waitcursor skin is a shellres.dll.mui file with different animations, you need this because you cannot directly copy the shellres.dll file from the ROM...
How do I transfer shellres.dll.0409 using WMDC? Even with Activesync, but how? It gives me the same error message. Can someone show me step by step please?
Awesome Post. I searched High and Low for this hack only to find it on XDA.. Thanks again guys.
I did get this to work perfect with the steps provided on this thread.
ReDz
wapvirus said:
What program do you use to edit the dll as i have Resource Hacker and when i open the shellres.96.dll.0409.mui the only folders in this file are Bitmap,Icon,String Table,Icon Group, In the folder String Table i only see 1143 and this contains STRINGTABLE
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
18275, "13,700,Segoe Condensed"
18276, "8,700,Segoe Condensed"
18277, "13,400,Segoe Condensed"
18278, "9,400,Segoe Condensed"
}
?????
Click to expand...
Click to collapse
OMG, so i can use EVERY font, THANKS for info!!!
Ughhh
this bricked my phone. Used the file shellres.......mui
unsigned, altered and signed placed in windows directory. Now I got a brick
did you try a hard reset

(Q) mapping hardware keyboard, polish layout

Hello everyone
I am trying to acheive the right method for mapping hardware keyboard. Usb host works perfectly, always does what it should on firmware 1.21 with nook manager, kernel version 176. I found some polish keychar kcm file on the net, then I renamed that file with right vendor and product id for my keyboard (terminal, keyboard connected in host mode, typed: lsusb) and placed it in system/usr/keychars... But that didn't make any effect on keyboard mapping, looks like that file is ignored. I could try to edit qwerty.kl in system/usr/keylayouts but from what I know, you cant add there symbols like "ą" or "ś". What I am going for is just these few polish letters : Ą,Ę,Ś,Ó,Ż,Ź. Normally you get them by pressing modifier (alt) and for example, " A", what gives you "Ą" etc. Usb mode ultilty, and little app avaible on net - Key Test, both will show you the same keycode when you pressing a letter or letter+modifier. That makes hard to find out how to edit keylayout file (qwerty.kl) as you cant guess that needed keycode. I was looking quite a lot for answers on xda before I decided to ask, but what I finds does'nt look like exact sollutions. Hopefully I didn't miss anything. Adb is working fine for me, any hints appreciated, Thanks
Step one, determine what .kl and kcm.bin the Nook is trying to load.
You will see this if you have ADB and logcat running when you connect.
It will try to load one based on the VID/PID.
It will tell you the exact name of the file.
Probably your naming is different.
I ran into this already.
I didn't bother, I just use qwerty.kl and qwerty.kcm.bin
These are the defaults when there is no VID/PID specific files.
If your kcm.bin is correct it should have the UTF-16 values inside.
The format is pretty simple. After the header (32 bytes) it's like:
Code:
{
uint32 keycode;
uint16 label;
uint16 keypad;
uint16 normal;
uint16 shifted;
uint16 alt;
uint16 altshifted;
}
You can just enter the little-endian UTF-16 values using a hex editor.
Ok I got it! It is easy to find some proper tutorials for hex editing qwerty.kcm. But before I did that effort and started learning about it, I searched for some very lazy sollution: qwerty.kcm.bin already prepared by someone else. I found one (obviosly with polish layout),I swapped the original file with it, set the permissions to be the same as in original file, reboot (don't know if absolutely necessary)... thats it, easy. All that thanks to some hard working man who (as he has mentioned on other forum) spent the whole night learning on how to edit qwerty.kcm in hex editor.
Anyway, thank you very much for directing me in the right way. Knowing which files should be edited helped me to resolve the problem. Also logcat is very interesting tool, as it might give some image of how the system works. Thanks
hi, I have the same problem but i can't find the qwerty.kcm.bin with polish letters. Could you provide the file ??
bartbrudz said:
hi, I have the same problem but i can't find the qwerty.kcm.bin with polish letters. Could you provide the file ??
Click to expand...
Click to collapse
Hi, I'll try to copy it from my nook directory, once I have some time.
hi, here is my whole keychars folder (/system/usr/keychars). You can make a backup of your keychars forder and then overwrite it with mine. You can let me know if it works for you. Find attachment below. Powodzonka.
Awesome!!! works perfectly. :victory: Thank U !!!
bartbrudz said:
Awesome!!! works perfectly. :victory: Thank U !!!
Click to expand...
Click to collapse
cool, I am glad I could help! : ) (although real credits goes to someone who created this qwerty.kcm file)

Categories

Resources