VipMSCRexe is a utility to run MortScript without Assigning .mscr to MortScript.exe - Windows Mobile Development and Hacking General

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.....

Related

n00b question about adding my own programs

Okay I understand you have to use mkrom and Linux (or cygwin on Windows) to roll your own ROM my question is regarding how one could say remove one program from the SE ROM and include something else, for instance take off the byte counter and put another different counter on or such, would you just copy the necessary files (.exe and dll's) to the files1 or files2 folder and that's it ? What more is involved? Thanks in advance!
for simple programs, that is all there is to it.
some might need more research, as to which registry settings need to be tweaked to get te program to run from the windows directory. and what settings it needs to run at all.
You copy the files to either files1 or files2. Both sets of files end up in the \Windows subdir. So if you do not want to copy the files to RAM (see below), you should make sure the program is set to run from \Windows. Then you add any necessary registry keys to "default.reg", and any file-copy or directory creation commands to initobj.txt. Then run "mkrom <ROMfile>" and hey-presto.
Thanks so much for all your guys awesome work!!
entropy1980 said:
ok sounds good, what would one need to do to mod the registry for the programs (By that I mean prior to booting) I don't want to be mucking around with a reg editor after the device boots just to get the progs to work...
Click to expand...
Click to collapse
Not sure I understand the question. Default.reg just holds the entire registry as present after a cold restart. So if you put something in there, this will be in the registry when the device wakes up.
I think we wrote at the same time , so you answered my question before I posted it !!! What you said made complete sense! Thanks!
entropy1980 said:
[...]so you answered my question before I posted it !!! [...]
Click to expand...
Click to collapse
I installed the phpBB telepathy mod a couple of days ago, so I guess it's working.
Hey I knew you were going to say that.... :lol: :lol:
hi,
i want to add the skelmir java virtual machine (thats default installed in windows\ceej) and copy the swingall.jar in the windows\ceej map.
I have the cab file of the virtual machine but i can't find out which files are in it (when i open it with cabextract is shows .001 files and not the files that i find back in the device)
please help me
Using Special Edition ROM, Tthe CabInst tool will run CAB files on the device if you move it there manually and double-tap it. It allows to set a new directory to install in.
Also the System Snapshot tool will write a file in the root of the device which holds a list of the entire filesystem and registry contents, so you can compare and see what changed. UltraEdit for the desktop has a compare function.
Good luck...
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
8544 <! 31/12/2002 12:31 1632 FC0E9EE1 Skelmir CEEJ Virtual Machine.DAT
8576 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
8587 <! 16/02/2003 23:10 40 1EAF4EB3 CEEJ Examples.lnk
8588 <! 16/02/2003 23:10 27 AEBB1DF3 CEEJ.lnk
because these are not in the map where i extracted the cab file too. maybe you can take a look for me and tell me what i have to change in mkrom to have ceej by default installed
the extraced cab map:
http://www.devosjansen.nl/xda/java installed.rar
the snapfiles:
http://www.devosjansen.nl/xda/xda snapshots files.rar
thanks in advance
laurens0619 said:
hi,
i installed it to a seperate directory and zipped the files. i also took a snapshot when the xda was fresh and after install. i only can't find where the xda's gets is files from in:
43 <! [\Windows\AppMgr]
Click to expand...
Click to collapse
These files are generated during the install process, and contain uninstall information. You do not need to write them if you install in ROM, since you don't need/want your programs to show up the in the 'Add/Remove Programs' dialogue.
ah i understand,
so i just put the files in the files1 or files2 directory and add this reg files to the default.reg? i dony really understand the readme file
ah little kick,
isn't also good for the next SE rom? because you have finally a java virtual machine on the xda and the app is freeware (got it from www.skelmir.com)
laurens0619 said:
isn't also good for the next SE rom?
Click to expand...
Click to collapse
Noted...
nice but can you please help me out for the moment? i dont know which part i must add to the default.reg file
laurens0619 said:
I dont know which part i must add to the default.reg file
Click to expand...
Click to collapse
default.reg holds the registry that is present when the system wakes up from cold-boot. So any registry entries your installer (or first run of the app) has made that you would like to have present should go in there. Clear enough?
almost
so i just copy paste the **** at the end of the reg file? and the files in the files 2 map
but how will the rom know where to put the files??
sorry if i'm stupid but i don't want to f*ck my rom so i can use me xda's as a frisbee
Yes, the registry entries can be pasted at the end of default.reg. It doesn't matter if there's earlier entries with the same values, since the latter ones override.
All files in files1 and files2 will end up in \Windows, and if you want them somewhere else, (where they'll take up RAM), you must manually copy them (or pre-made links pointing to them) by issueing commands in initobj.txt.
Take a real close look at initobj.txt, and you'll get the picture.

New Soft! ConfigCreator & Restorator

Wazzzzzzzzaaa???
This is my first C# util!
It facilitates ExtRom update process. All you need to do is to put your cab files to Ext and run this utility, then the utility will create Config.txt at Ext with all cabs specified as "CAB: path2cab". If you need to get your original Config, then check ConfigOld at Ext
C# Programmers let's unite!!! ))
ps: the utility is not verbose one, so you won't see any messages & lame stuff. If you see something, then there is a problem
that's good boy! will try it l8r..
THANKS!
Man, wher z feedback?? Did u try it?
Yo,
boobee said:
that's good boy! will try it l8r..
THANKS!
Click to expand...
Click to collapse
Boy, hope you finaally tried it! And try this one also. This is my 2nd C# util
Shortly what it does:
UnZips your files with consecutive registry values (reg V4) import and splash writing
It means that you can zip all your files to one file called Setup.zip and place it anywhere (storage/ext). After hard reset, the utility is called and it extracts all your files and restores your favorite registry settings (saved to Setup.reg) and writes your splash.
btw: read za manual !
ps: the concept is the same, if u see somethin' then there is a trouble
Re: Man, wher z feedback?? Did u try it?
Attention!
The file was re-uploaded, so there mustn't be any CRC errors now
System Requirements
Regarding system requirements, the program needs old version of ER\Autorun.exe that understands ER\Config.txt
Program was not tested on XDA1! It was partially tested (w/o hard-resets on XDA2 / 1.72TM
Version 1.1
Wazzza!
Here is a new version of Restorator utility. The new features are:
+ now it deletes content of \My Documents;\Windows\Start Menu;\Windows\Startup folders (as people wanted
+ TimeZone offset is not resetted anymore
Note:
Make sure you have prepared your customized Start Menu (!!!) and Startup (!!!) folders, otherwise you won't be able to see Programs after hard-resetting your device. Please, check the attached sample to prevent yourself from having problems with this utility or use version 1.0 that don't delete anything
Umm... could anyone translate this into English for me?
I don't even understand the title of the thread.
In another thread, SP says that one of these downloads will retrieve data back on hard resets. Sounds like a useful tool, if only I understood what the hell these posts mean. :lol:
For Ben
sublimatica said:
Umm... could anyone translate this into English for me?
Click to expand...
Click to collapse
Here we go...
(assuming that you downloaded 'RestoreItV1_1_PPC.ARMV4.CAB' & installed it to your device)
This program is designed to restore your files, folders and registry settings from a ZIP-format archive and it can also write some splash screens
For this purpose, you need to make a ZIP-format archive with files & folders you want to get restored after hard-reset. Just run your favorite pocket zip archiver (for instance PocketRAR) and archive those files & folders that you want to see after hard-resetting device. Name your archive "Setup.zip" and place it to one of the following places: storage, storage card or extended rom.
Before doing further instruction make sure you have unlocked your ExtendedROM using ExtUnlocker.
If your rom is unlocked try to run the utility from \Storage\RestoreIt. If you had no messages after running it, then the utility installed itself successively. And your files & folders placed to 'Setup.zip' will be restored on next hard-resets.
If you're interested in restoring registry settings, then you need to get pocket registry editors that support exporting/saving to .reg files. After saving your favorite registry settings you will need to combine them to one .reg file and name it 'Setup.reg'. Then, you will need to place it to your archive's root folder (aka '\') So, you will have a file 'Setup.reg' placed to the root folder of your 'Setup.zip'. That's all folks
I strongly recommend you to see sample 'setup.zip' & 'manual.txt'
DON'T FORGET TO PUT YOUR CURRENT '\WINDOWS\STARTUP' & '\WINDOWS\START MENU' FOLDERS TO YOUR SETUP.ZIP!!!
You're welcome to ask me questions anytime!
Aaah, OK. That makes more sense
Sounds like a handy little tool then. Might have a play later.
Thanks, SP!
RAR-support
Is there anyone who is interested in rar-support for restorator?
Attention: Restorator v1.0 & 1.1
Attention: Restorator v1.0 & 1.1 are originally supported by I-Mate 1.72! All you need to do here is to use Extended ROM unlocker prior to running the utility
Feedback
Any feedback so far?
SP,
Restorator seems like a winner!!! I have been hitting my head on the rocks for a while trying to script a recovery using nscriptm as a scripting tool to call cab files which I keep on a storage card. Looks like using your tool a lot of the tedious scripting can be simplified by simply copying the files where they need to go. The challenge is knowing exactly what to copy & where... Is it possible to add the ability to call CAB files to your already excellent utility?
I am imagining putting all the CAB files in say a folder like \CABs in the Setup.zip and then having Restorator calling them one by one after finishing off with all else that it does. Can this be done? Additionally can you add ability to call registry imports at two points? You may wish to call registry import at the beginning and once more at the end after all cab file execution has been completed. This would be useful to restore application settings etc which the cab execution would overwrite to default. You would obviously need to keep two .reg files in the zip file. Does this make sense?
Thanks once again for all your efforts. Regards
Hi Mate
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
SP, thanks for continuing to work on this utility. I am waiting eagerly for your next update. I will set it up and test it with a hard reset so we can see real outcome. Let me know when ready please. Thanks
Re: Hi Mate
SP said:
k_kirk said:
SP,
Thanks once again for all your efforts. Regards
Click to expand...
Click to collapse
Thanks for your motivating feedback.
I'm planning to put your features in 3 to 5 days...(hope to get some free time on these days).
And more ideas and recommendations are welcome!!!
SP
Click to expand...
Click to collapse
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Re: Hi Mate
Hi SP, this utility sounds great. Does it work with the XDA I as well????
Click to expand...
Click to collapse
Unfortunately I don't have an XDA 1 device at my disposal and I'm unfamiliar with its tech info.
What happens when your xda1 is hard resetted? Does it install cab files? or does it run any configuration software?
If there is a such software (on XDA2 it is autorun.exe placed at ExtendedROM), then you must specify in the runner (which starts on hard-resets) the call to the restorator utility
Looking forward to assist you in porting restorator for XDA1 devices
Cheers
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Restorator V1.2
k_kirk said:
Hi SP. Just dropping by. Any news on new version of Restorator? Cheers.
Click to expand...
Click to collapse
Sorry for the delay...
I'm having lack of time now, thus I couldn't test it very well . Just let me know if you found some bugs...
Now you can create "\CABS" folder and place your cabs there. They will be processed after extraction and before registry import. So, you don't need to have two .reg files then.
I'm looking forward to your new ideas!
ps: another attachment is a set of registry settings splitted by .reg files. I'm using them to get my setup.reg. Just change what you need, delete some of them and run "make.bat". It will create setup.reg with all your settings.
btw, check out "Usher_-_Yeah_[44k].wma" & "Maroon5_-_This_Love_[64k].wma". Home-made ringtones ;-)))
for those who hadn't used Restorator before. !!! DON'T FORGET TO PUT YOUR "START MENU" & "STARTUP" FOLDERS TO THE SETUP.ZIP !!! AND READ DA MANUAL!!!
Cheers
SP,
I tried the Restore-It utility today and found that the earlier functionality of copying files & importing registry etc from setup.zip works quite well.
The \CABS folder was also restored onto my device so I guess thats an indication that my setup.zip file was contructed properly. I am sad to report that none of my cab files were triggered by Restore-It though. I think there is a small bug thats holding back this behaviour.
Your kind assistance to check & correct this will be most appreciated.
Thanks & Best Regards

Someone help to dump WM5.0 Emulator image.

The WM5.0 emulator is working on my PC.
Japanese Emu, S-Chinese emu, and T-CHinese, emulator. also english.
i want dll, mui, exe files from them, to make Japenese or chinese WM5.0
on my Himalaya with english WM5.
Hope someone can help to dump it or make dump tool.
i have a dump tool my friend made for WM2003 emulator, so not worked for WM5.0.
if need emulator image from WM5.0 SDK, i will upload i them.
Please help!
ms would be pretty stupid if they made it possible for one to unload a real rom image from an enulator
as far as i know then all roms have to be 100% made / "compiled" for each pda to work
so unless that emulator was using an 100% image of the rom for the device you want to upload it to later
i doubt it would work
Rudegar said:
ms would be pretty stupid if they made it possible for one to unload a real rom image from an enulator
as far as i know then all roms have to be 100% made / "compiled" for each pda to work
so unless that emulator was using an 100% image of the rom for the device you want to upload it to later
i doubt it would work
Click to expand...
Click to collapse
thanks for your comment,
but plese dont worry i want just take the resourcese from dll or exe, to make mui files to pretend interface of OS.
i used this way to make japanese OS on my Blue Angel with PPC2003se.
Mr, Mamaichi teached this way to me in the past.
for your refference
http://asukal.seesaa.net/article/6114096.html
http://asukal.seesaa.net/article/5052836.html
Japanese site, but you can see the JPGs
ooh got a bit confused then i guess
Asukal
You can dump the ROM image from WM5 emulator with a normal dumprom tool, but first you need to convert image from B000F to the NB format with the command:
perl splitrom.pl PPC_USA_GSM_VR.BIN -wo ROM.BIN -oe 0x82000000
and then dump it as a normal rom:
dumprom.exe ROM.BIN -5 -d C:\ROM_DUMP
I've tested that on english version of emulator.
you'll need splitrom.pl script and a new build of dumprom tool from itsme.
Mamaichi>>>
thanks for your information!
i will try it!!
Thanks Mamaich!
after i got your private message and done it!
i got dumped roms files form mnu!
@Japanese OS image
@Simple chinese OS image
@Smart phone (WM5) japanese image
after succesfull them, the splitrom have error on following emu image.
@English OS image
@Traditional OS image.
i dont know why???
may try to restart windows system and try again
any way, i got it!
thanks!
hi Asukal,
can you please give me the links to your emu images?
i'm too lazy to search.. ;o)))
thanx
buzz
Yes, why not!
Here it it!
http://www.asukal.jp/ROMs/PPC_USA_GSM_VR.rar
20MB <not dumped yet>
i could dumed english image also.
here it it!
http://www.asukal.jp/ROMs/SDK_ENG.rar (17.32MB) dumped files
i dont know why i couldnt up load this as attachment???? :shock:
so i must use my own server :?
Asukal said:
after succesfull them, the splitrom have error on following emu image.
@English OS image
@Traditional OS image.
Click to expand...
Click to collapse
what is the error text? I've dumped english ROM without errors
to mr,mamaich
i got successfult to dump english SDK emu rom after that.
But i took Bin from SDK in another computer.
I guess Bin file which i tryied dump at beggining was broken or have some problem??
or i have already opened and drove this emu image on the Emulator many times so it was not default already.
i have never tried again about T-CHinese Bin.
i think it can be possible if i took out another T-Chinese bin from another SDK.
the error text was...... cant remember exactry because i left that computer coz i am trip in europe now.
maybe.....
This image files has incorrect(or invalid) boot image.....or some like that.
sorry my late rplay.
I am in Germany now and have to visit Milan and paris after here.
thanks
MUI's in wm2005
Hi, everybody!
I followed this thread and successfully created some MUI's for 2005 (I think) but I can't get the device to load them. I tried changing the registry settings (worked for 2003se) but it didn't help.
No changes I made are visible and the files can be deleted, so I guess they are just ignored for some reason.
Can anyone help please :?:
Thank a lot!
that is true, also cant do that.
keep on studying now.
Something different from WM2003!
MUI security signature?
Hallow again!
I think the problem might be with the digital signature Microsoft now requires. :idea:
Also I made the following experiment:
I put the resources in 2003SE MUI officeres and btres and it did load, but when I tried it with shellres or coresres it didn't work.
I think it won't load unsigned system files…
Any ideas?
Any leads will be greatly appreciated!
:lol:
Re: MUI's in wm2005
levenum said:
Hi, everybody!
I followed this thread and successfully created some MUI's for 2005 (I think) but I can't get the device to load them. I tried changing the registry settings (worked for 2003se) but it didn't help.
No changes I made are visible and the files can be deleted, so I guess they are just ignored for some reason.
Can anyone help please :?:
Thank a lot!
Click to expand...
Click to collapse
because on 2003, files are copied to RAM. on 2005 are used directly from ROM.
buzz
Re: MUI's in wm2005
buzz_lightyear. 2005 can also load dlls to RAM, for example when they are started from storage card or built-in storage.
There maybe one more reason. The DLL may be not loaded if your resource DLL does not have some resources that the original DLL has. Or if your DLL is somehow incorrect. You should make a program that calls LoadLibrary() for your MUI DLL and check the error code if it does not load.
For MS Smartphones there was a registry key that allowed to run unsigned applications. Maybe the similar method exists for WM5.
Asukal. I've attached the program that would try to dump shellres.dll of your device to \storage card\shellres.dll. I've tested the program only under emulator, on the real device it may crash.
If it would not crash - you should look into the produced DLL to examine its resources. This dumper would produce DLLs that are unable to load (they have no relocations information), and their size is larger than it should be, but resources should be extracted correctly.
PM me if the program crashes. And it probably would crash. I'll try to do something.
Mr,Buzz and Mr,Mamaichi!
thanks your comments, and i have just back from Paris and too tired to try mamaichi`s testwm5.exe
aftre sleep while, i will try it! (i dont afraid crash! glad to be sarifice!
I'd recommend you to try this tool - http://forum.xda-developers.com/viewtopic.php?t=23520&start=25#152044
To mr,mamaich
The first attached testWM5.exe dumped only dump.dll(?)
the second TESTWM5.exe of the link can extraxt installed files also, and RAM files can be dumped.too.
but not crashed.
i will remake MUI file and test it!
Thanks!

Edit .mui file's....

I whant to change something in that mui file but when i open it with resourche editor i see something like (\0x00) or (000)
after some words..
When i edit this words i can't put buck those 000
Example :
22372, "1\0x00"
22373, "2abc\0x00"
22374, "3def\0x00"
22375, "4ghi\0x00"
Also i have Microsoft Visual Studio 2005 & Pocket PC SDK.
In Microsoft Visual Studio 2005 doesn't show those 000, but if i edit with Microsoft Visual Studio 2005 when i go to sign the file give's me error.
Error: Signing Failed. Result = 80070057, (-2147024809)
Click to expand...
Click to collapse
Please any one to know something about that tell me...
Thank's for your time.
Never ever ever use VS to edit resources! It screws up dialog templates and makes MUIs unusable.
The only good way to edit an MUI is Platform Builder. You can download a free evaluation version that will run for 180 days, but even with most options striped on installation it is still around 1GB.
Hope you have a good internet connection.
what version of Platform builder i need to edit mui files from WM 2003 ?
i see difrent version like: 5, 4.2 and other
but i dont know what chose
levenum said:
Never ever ever use VS to edit resources! It screws up dialog templates and makes MUIs unusable.
The only good way to edit an MUI is Platform Builder. You can download a free evaluation version that will run for 180 days, but even with most options striped on installation it is still around 1GB.
Hope you have a good internet connection.
Click to expand...
Click to collapse
Thank's Levenum ...
I sucesfull download the Windows Embedded CE 6.0 Evaluation Edition but it is say This download is a plug-in for Visual Studio 2005 ...
So what i 'm doing??
I nead the Windows Embedded CE 5.0 ??
I also download the 5 version but at the end give one error and say something like:
the download file have been interuptut before the installation finish...
So what can i do and what for those two version i have to download and if you know how can resolve the error problem on version 5??
Sorry for
&
Many many thank's Levenum
Ok i download and install the platform builder 5.0 but when i load the mui file after do my change's and go to save it he say me:
''Cannot save the file.
Cannot load a resource from the executable.''
So what i'm doing wrong??
Thank's adn sorry again....
I explained this in a PM, but just in case others are interested:
Possible causes are:
1) MUI was signed when you edited it.
2) MUI was extracted using WM5test tool by mamiac. (This tool is excellent for dumping ROMs for viewing but files can not be used on the device)
3) PB sometimes does that for no apparent reason (at least to me)
Get another DLL one that is not signed or dumped from device, delete any resources it has and put the resources from the MUI in it. Then save and rename.
levenum said:
I explained this in a PM, but just in case others are interested:
Possible causes are:
1) MUI was signed when you edited it.
2) MUI was extracted using WM5test tool by mamiac. (This tool is excellent for dumping ROMs for viewing but files can not be used on the device)
3) PB sometimes does that for no apparent reason (at least to me)
Get another DLL one that is not signed or dumped from device, delete any resources it has and put the resources from the MUI in it. Then save and rename.
Click to expand...
Click to collapse
Thank's for your help again Levenum but doesn't work.
I try tu build one new .dll but when i put one string (for test) after i try to save but give's me the same error.
''Cannot save the file.
Cannot load a resource from the executable.''
What else can i do ???
Please help me..
I try weeks now to edit five lines
Thank's and sorry...
Sorry, but now I am stomped. I never had PB fail to save a single string to a new 'clean' DLL.
Any chance there is some kind of access problem to the actual location where the file resides? Could it be 'read only' or under restricted permission?
This is really strange...

[REF][TUT] Improve program launch times - UPX Squeezer BATCH

this is an old trick that was/is used for older devices to fit WinMo 6 on them
but a side effect is faster application load times
i figured i'd try it on the Blackstone and difference is noticeable
HTCAlbum loads in about 1 Second, before it took about 4
so i'm sharing this with anyone who is interested
The batch file is kept as simple as possible for everyone's ease of use
but this is pretty advanced tweaking, so all common warnings apply
and/or
if you are not comfortable with getting files from/to your PocketPC
and/or
can't figure out how to extract this zip and read the "read me.txt"
and/or
don't know what “any key” is DO NOT TRY THIS!
(read the forum and the wiki a bit more, and you'll gain the knowledge)
Version History:
v 1.0 - initial release
v 1.1 - no icon compression switch added to the batch, for more general compatibility
v alt - here geistteufel has released a new branch of the batch file,
this version uses a different method for packing files and may achieve better compression.
At the same time problems have been reported in the past with this method so all usual warnings apply.
a short list of EXEs that i have UPXed and work well for me
AdobeReaderLE.exe
ASyncKiller.exe
BCR.exe
Camera.exe
FMRadio.exe
GoogleMaps.exe
HTCAlbum.exe
iContact.exe
KeePassPPC.exe
kinoma.exe
Labyrinth.exe
LongPressEndKeyApp.exe
MP3Trimmer.exe
MusicID.exe
Opera9.exe
OperaL.exe
QuickGPS.exe
RSSHub.exe
s2p.exe
s2u2 Settings.exe
s2v.exe
StreamingPlayer.exe
TomTom Navigator.exe
USBtoPC.exe
WMRegOptimizer.exe
YotaCenter.exe
YotaCenterUpdater.exe
YouTube.exe
and here is a list of things NOT to compress
manila.exe
cprog.exe
thumbCal.exe
calculator.exe
wt5jetpr.exe
any DLL
Please share your findings so that others can benefit from it
(SEARCH this thread for your application name or EXE filename)
note: you'll have to repeat this proses after upgrading your applications
big thanks to;
edhaas - for the original simple to use batch file More info in this THREAD
UPX Team - a lot of technical info on the Website
kwbr - for a great ROM
and especially XDA-DEVELOPERS as a whole
Wow!
Thank you for sharing this. This also works great for S2U2. I noticed a difference in loading times. Also applied to this to iGO.exe and a few other .exe's
Thanks again for posting this.
Looks like hdtweak.exe and fdotfreds taskmanger have this done already.
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
very very good! I try with commManager, yota contact, opera 9, resco explorer 2008 .....there is a time reduction in all! best performance in yota contacts from 5 seconds to 1 second
If this works so well I wonder why Microsoft doesn't implement it?
upx also works for large dll files!
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
for that you'll need something along the lines of total commander
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
I'm also having problem removing protection from some of the files :/
I tried to change properties via Resco Explorer, but without succes. As soon as I remove "Read only" attribute and click "Done", the attribute restores itself and I can't overwrite the new files.
I managed to update Yota; GoogleMaps, Nimbuzz and Opera - all load with visible speed improvement.
Tried Total Commander but can't get it to see my phone
It isnt working on the diamond saber. Icontacts and Yota center went well
WAUWW!!! my TomTom is now really fast!!
Thanks for sharing this app.
andrewk21 said:
Thanks for your explanations, everything worked fine till I had to copy files to Windows directory: access denied. What must I do to be able to copy files to WD?
Thanks and kind regards,
Click to expand...
Click to collapse
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
usrname said:
upx also works for large dll files!
Click to expand...
Click to collapse
it does indeed,
but in my experience with less noticeable results and much less reliability
so i didn't mention this
please list any DLLs that you have UPXed with us so that we can all benefit
elite-fusion said:
i wish we could do this with manilia.exe but i tried and failed, it doesnt load, so had to restor it
Click to expand...
Click to collapse
i had the same experience, but
best performance boost for Manila/TouchFLO is CFC compression of images (more info here)
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Wow. This is great!
TomTom V7.450 From 6 down to 3 sec to splash screen!
I wonder if it would be possible to do this to all the exe and dll before cooking.
PocketPlayer also works. But most startup time is the drive scanning.
Google Maps also works, but it started up fast anyway. (also the 2 largest dll worked)
gpsVP works, but was already subsecond.
CommManager.exe worked, was a little faster
AdobeReaderLE worked but despite being a huge program, loaded fast to begin with.
PowerPoint worked but also despite being a huge program, loaded fast to begin with.
CorePlayer reports 'Already compressed'
G-Alarm reports '.net not (yet) supported), except for 2 dll's, they worked.
cybermaus said:
Wow. This is great!
I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
thanks much for this tutorial. i upxed most of the exes u had listed and MAN, it really changed launch times in the apps. htcalbum is awesome and even s2p is launching faster
Rozenthal said:
Sir.B, can you please share info on how to remove attributes from System files? Tried through Resco File Explorer, but no effect - still can't overwrite old files, always having errors :/
Click to expand...
Click to collapse
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
cybermaus said:
...I wonder if it would be possible to do this to all the exe and dll before cooking.
Click to expand...
Click to collapse
elite-fusion said:
yea true, that would be GREAT!!!!! the roms would be superfast!!!!
Click to expand...
Click to collapse
to replace all EXE & DLL files would be quite an undertaking
because it's such a trial and error process (manila.exe and mode9.dll don't like to be UPX-ed, maybe many more)
and benifits are only noticeble for the largest of files
never hurts to talk with your chefs
Sir.B said:
some files maybe in memory (used by your phone)
a trick to try is
connect with ActiveSync to the phone
browse into windows folder
rename the file you will be replacing (ex. HTCAlbum.exe to HTCAlbum.old.exe)
copy the UPXed version
restart device and test
if everything works delete the ".old." file
Click to expand...
Click to collapse
No matter what software I tried, I just can't get to replace the protected system files.
I tried Resco, I removed the attributes but they're back as soon as I click "Done".
I also tried your described method, but clicking on "rename" in Windows Explorer via ActiveSync - nothing happens. The files seem to be permanently locked
Sir.B said:
i recommendation you read the WIKI and FORUMS,
this is a general question that has been addressed better than i can many times
Click to expand...
Click to collapse
Actually, I have been searching all over forums, but none of the methods described worked for me. Most recommend using Resco or Total Commander, both of which don't work for me. All of the files that have "ROM" attribute simply refuse to be modified in any way.
Thats right. You cannot modify ROM files. You cannot even copy ROM files. You'd have to dump the ROM to PC, which is not trivial. Best to only use this on post-installed programs that are not in ROM.
Interesting: Coreplayer gives me an "already packed by UPX"
Seems they learned this trick before.....

Categories

Resources