yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Yes I found this problem out the other day and have already fixed it for the next release. Actually, moving SASHIMI.mscr into the bin directory will not help....mortscript.exe actually already needs to be registered (which you did to fix it) OR in the same directory as the autorun.exe file. So, the only real solution is to include a second copy of mortscript.exe in the Autorun folder so that it will work on a 100% clean flash from 2577.

Having a copy of Mortscript.exe in the same folder as the .mscr file will still

not

allow you to run the .mscr without registering it first (the autorun.exe is an exception as it is coded to look for the mortscript.exe, but still not register it). This is the biggest problem with having a mortscript based application, since the mortscript extensions needs to be registered in order to run the script.

This is one of the fixes I made with the next version, is that it will register .MSCR extension upon install, thus cutting out that step. However on a clean flash you still need to go into the \bin directory and run mortscript.exe once to re-register.... there is really no way around it.

I suppose I can move SASHIMI.mscr into the \bin directory anyway... I guess it would be cleaner, even though it wouldn't resolve the above issue. I'll see.. :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
try this

Try this move SASHIMI.mscr to Bin directory

Copy Autorun.exe to Bin as well

rename Autorun.exe to SASHIMI.mscr

Now run SASHIMI.EXE instead of mscr ( THIS SHOULD WORK EVEN IF MSCR IS NOT REGISTER)

Also use SASHIMI.exe's shortcut in autorun as well.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I think you mean rename autorun.exe to sashimi.exe. Yes, I thought of doing this, but was having some issues passing parameters to sashimi.mscr with this method. If I can get it working this may be a good solution.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] laakness:
I tried the restore this weekend. Worked like a champ! Can't wait until I actually have to use on a new flash.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
Small utility which may help you

Please see attahced small utility and see if this can be helpful to you.

Please see readme attached in zip.

Let me know what you think.

Please get new version from

http://xdaforums.com/showthread.php?t=399276
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks for this...it does work with the parameters..couple of minor things though:

1) It is a little slow...it takes about double the time to startup the Mortscript file. This is probably due to the fact that you are searching for mortscript.exe?

2) The parameter is passed with the quotes. So, if you issue the following command:

Run("vipmscrexe.exe","parameter1")

then what is passed to the application/script is "parameter1" including the quotes. This isn't a huge deal, as you can either strip the quotes out in the script or else make your parameters include the quotes. I'm just pointing it out since I needed to modify my code to strip the quotes out.

Since I included in the installation routine to register Mortscript automatically, this app doesn't really do much more, however it does allow for a direct run of SASHIMI without having to re-register MortScript after a clean flash. So, I will modify the script to include this.

Thanks!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
I discovered SASHIMI a couple of days ago and am very impressed. I had been using UC for a few months, and was trying to figure out how to more fully automate it - especially the registry settings. When I flash, my device is usually working fine, and I like to keep them the way the settings were just before the flash. I had been using rapiconfig, with only moderate success.

I recommend ceregeditor to find all your reg settings. It is a desktop program that connects to your pda registry. You can backup the registry, make a few changes to the programs of interest, and then compare the new registry to the backed up copy. When you compare you will have a list of all the changed registry settings, and you can use those to make your ini file.

speaking of ini file, someone mentioned posting them. I have a quick question. Is the format that I have below ok? I got confused as I was reading the different files.

[MySettings]
RegExportDirMode = Auto
todayscreen = HKCU\Software\Microsoft\Today
color = HKLM\Software\Microsoft\Color
??setting1 = HKLM\Software\Microsoft\Shell\Keys
??setting2 = HKLM\Software\Microsoft\Shell\Rai\:DEFBROWSER
HTChome = HKLM\Software\HTC\HTCHome
phone = HKLM\Services\PhoneExt
alarms = HKLM\Software\Microsoft\Clock
bluetoothdontwork = HKLM\Comm\Security\Bluetooth
taskmanagersettings = HKCU\Software\HTC\TaskManager
wireless = HKLM\Comm\ConnMgr\Providers
quickgps = HKLM\Software\HTC\QuickGPS
repligo = HKCU\Software\Cerience\RepliGo
backlight = HKCU\ControlPanel\BackLight
pocketbible = HKCU\Software\Laridian\PocketBible
notificatinos = HKCU\ControlPanel\Notifications
volume = HKCU\ControlPanel\Volume
ringer = HKCU\ControlPanel\Sounds\RingTone0
keyboard = HKCU\ControlPanel\Sip
owner = HKCU\ControlPanel\Owner
??setting3 = HKLM\Comm\EAP\Extension\25
supermemo = HKCU\Software\Apps\SuperMemo
batteryprog = HKCU\Software\DaProfik\Batti
slidesound = HKLM\Software\HTC\SlidingSound
??setting4 = HKLM\Software\K2
ppcpimbackup = HKCU\Software\FdcSoft\PPCPimBackup
gpssettings = HKLM\Software\HTC\SUPL AGPS
operamobile = HKLM\Software\Opera
tasksettings = HKLM\Software\Microsoft\Tasks
nueled = HKLM\Software\Wei Enterprises\nueLED
ringer2 = HKCU\ControlPanel\SoundCategories\Ring
camera = HKCU\Software\HTC\Camera\4.05\Preferences
s2us = HKCU\Software\A_C\S2U2
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
The ini file looks correct, I'm not sure why you are naming some of the keys with "??" but it should still work. When in doubt, read my documentation.

To clarify what everything is doing:

[MySettings]

This will create a single registry export file called MySettings.reg

RegExportDirMode = Auto

This will create the file in the \Auto\Reg\Exports directory (as opposed to \manual\reg\exports).

color = HKLM\Software\Microsoft\Color
??setting1 = HKLM\Software\Microsoft\Shell\Keys
??setting2 = HKLM\Software\Microsoft\Shell\Rai\:DEFBROWSER
HTChome = HKLM\Software\HTC\HTCHome

Each of these keys (before equal sign) can be called anything as long as they are unique to the section. These keys are enumerated and their values (after the equal sign) are exported from the registry into the Mysettings.reg file. This file can then be restored via SASHIMI, or manual importation into the registry.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
thanks for the clarification. I put question marks on certain keys cause I can't remember what they are for. I keep them because I apparently thought they were important enough to keep at some point.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
New version Available at http://xdaforums.com/showthread.php?t=399276
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] asango:
automated .LNK files generation from exes

Hi Bengalih,

every time I use SASHIMI I have to do one thing still manually:

If I'm putting some standalone exes into the ROOT directory of SASHIMI so that they are just copied to the device by SHASHIMI, I then still have to manually create lnk files for being able to start them from the start menu.

Do you think you can automate this lnk file creation and create a sub directory where all exes in it will be automatically created lnk files in the start menu-programs (configurable?) for after copying the exes to the device?

Thank you very much fpr giving this a thought!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Why don't you just choose to backup your existing .lnk files and restore them?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] asango:
Very simple answer:

It is a lot of work and error prone to create lnk files manually, especially just for testing new program exes.

If there is a command line tool to do this this would help a lot.

SASHIMI is giving the opportunity of automating a device install and since it is able to copy any non installable file that is in the root folder, consequently this question has come up together with this.

It's more than obvious that I could do do what you suggested, but the topic of this thread is "automating things" after all :), so this was meant as a serious suggestion.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Well the issue would be if I created a folder like \Manual\EXE then every file in that folder would have to go to only one location. I'm not sure how handy that would be...and then people might want it more flexible and I can't see it being done easily (meaning I believe to make that option truly flexible would take more code than any other option which currently exists).

Also, why are you creating link files manually? If you just tap and hold to "copy" an exe, then you can "paste" it as a shortcut. This takes about 5 seconds and is error-free. the only reason to create a shortcut manually is if you want to assign it a specific icon and that is something that I can't really do with SASHIMI (well, technically if I wanted to have users create a complex ini file with all sorts of settings it might be doable...but I don't think that is feasible).

There are also some shortcut creator programs already out there.

I'll let it sit for now and see if other's leave feedback on this point. If you want to more fully flesh out how you think it could best work, I'm listening...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
I have several links that I use for programs installed on my storage card. I made links months ago, and I just have the software (formerly user config, but now sashimi) copy the links into the directories I want them to go to. It was a one time thing.

So I agree with just making backups or copies of the shortcuts now, and they should be able to be installed easily.

There are several options for copying the files back over. Sashimi can do it with it's now built in backup function. User configuration can be used to copy the files. And a mortscript can easily be written to copy the files. So I don't think any changes need to be done to Sashimi to automate the process of copying links.

In the specific case given, he could also just copy the .exe files directly to the start menu right? No need to make links. In the root folder, make a folder called windows, and in that folder make a folder call Start Menu, and drop the .exe files there.

I haven't tried this myself yet as I only started using the program a few days ago and have not flashed yet. This will work right?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] herczyn:
how about integrating sashimi with pimbackup?

i would like it to do two things:

1. restoring from the latest backup in a folder

2. scheduling automatic backup to the same folder

this would be sooooo great :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
To backup Using PIMBackup

To backup Using PIMBackup please put attahced files in any folder and then execute Exe. (this is what I am using and working greate but I normally takes incremental backup and do not overwirte provious 10 backups)

You must have run PIMBACKup Once Manually to set up what you want to backup and where do you want to backup. Or change script to put your setting as well (I have backup my registry for PIMBackup so I do not have to run mannully as well.)

Utitlity Support two command line parameters

PIMBackup.exe [Backupfilename] [pathtoPPCPIMBAKCP.exe]

Both are optional if not provided then script will PPCPIMBACKUP.EXE and create Backup file with timstamp in file name e.g "PIM_" + FormatTime("ymdHis")
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] m.zielinski:
Yes i did it by myself. Just because i tried a german ROM and then again a english one. The Name of the SD-Card is used in Links, registry and INI-Files.

To Streamline the new setup after flashing i decided i wouldnt like to change evrything just because of the Name of the SD...

But now i did a reflash - also using Sashimi and did NOT change de Name to the german version.

>>This is very interesting, especially since you use an English ROM. Basically this command is used to "minimize" everything else by showing the Today Screen/Desktop and is for cosmetic purposes only. Again, if you are using an English rom especially I don't know why it wouldn't be able to find this window. Can you tell me what ROM exactly you are using?

I used Shaps V4.x and on the today screen only spb shell and spb diary and deselected all othe today plugins and some i even deleted from registry with sk-tools.

Now i found same strange behaviour. I tried to save "HKLM\software\spb software" and "HKLM\software\spb software 2" but not all data got written only one of the keys with its subkey was written to the Registry-File. Now i repaired this with writing all the subkeys by themself. Before that i made shure that every regkey had a different name before the "="

But i really LOVE the way it worked affter flashing. Even with cabs that needed a small interaction it worked fine and evrything worked so much faster than selecting all the regfiles and cabs by myself...

Still the request from my first post would be handy to have 2 root-folders. Because then i could delete the contents of the folder that is filled with the export-files. At the moment i would have 2 sorts of files there - one from the backlup and the manual saved files that will onkly change when i put new ones there without writing the to the ini for automatic backup.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok, so to confirm you are now using a Storage Card with a name other than "Storage Card" and it is working? I have tested this myself and was successful (with the 4.3 beta)...but I haven't gotten positive confirmation from anyone else.

Hmmmm....spb shell may be the culprit here. I think it replaces "Desktop" with it's own window. I will test this out and see if I am correct.

Are you doing exports of other keys successfully? This seems quite strange especially if other keys work. I will also try this on my test and see what I get.

I have done what you requested. In essense, I have allowed the user to choose what directory the FileBackup and RegBackup operation backup to. These directories are imported/restored during an install in addition the standard \reg and \root directories. I think this should do what you want, and maybe is even a bit more flexible. I hope to have the new version out by the end of the weekend.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I mention this earlier in the thread. I can't really fully integrate PIM Backup because it lacks comprehensive command line parameters. I did however create the custom tools menu which would allow you to add PIM Backup as a "plug-in" so you can still initiate it from SASHIMI as a "one-stop-shop."

Others suggested writing PIM backup routines into SASHIMI, but to be honest PIM Backup will be able to do this better than I could.

Alternatively you can take a look at v3's suggestion above and use his script. You can also add his script as a "Custom Tool" to run from SASHIMI.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok, I just tested this even with SPB shell up and still don't have the issue. If you could download and run this attached MortScript for me on your phone. It will run and wait 10 seconds for you to go back to the today screen/desktop and then it will message the name of the active window. If you could tell me what it returns I would appreciate it.

With SPB Mobile Shell 2 installed I tried to export my "HKLM\software\spb software" key and got nothing. That is until I went into the registry and realized there is no such key. SPB's registry keys are called:

HKLM\software\spb software house

and

HKLM\software\spb software house2

So I used the following lines in my regexport.ini:

[MySettings]
RegExportDirMode = Manual
key1 = HKLM\software\spb software house
key2 = HKLM\software\spb software house 2

I got a 75KB file that contained all the registry setting in those keys. So, I have to say I have no idea why it wouldn't work for you unless you are putting in the wrong registry keys (which you did list incorrectly above).

I will say that some of the registry keys will show empty if they don't actually have anything in them. This is true with most of the subkeys in the "HKLM\software\spb software house" they were empty on my device (maybe because I didn't set up anything after installation?). In any event, it worked for me with no issue.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
Any update on the latest release of SASHIMI with all the enhancements proposed thus far?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Hopefully by week's end. Everything is completed, i just need to do quality control and update the documentation.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
Alarms and Settings

Does anyone have any idea how to find the alarm settings? For example, I always set an alarm called "The Simpsons" to go off MTWTF at 17:50. I can export it and make a cab, but I can't find it.

Similarly, what about backlight settings, I usually do 1 min on battery and 5 min while plugged in, can't find those either.

Any ideas, or places to look?

Gracias.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
see my post 119 for link to desktop program that u can use to compare a saved regisrty with any changes (such as an alarm). For your current questions, I use them both so: HKLM\Software\Microsoft\Clock

HKCU\ControlPanel\BackLight

I think these r right but use that program to double check.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] v3patel:
Alaram Setting

Below My Registry. This will create Alarm Name "Wake up call" rings on MTWTF @6:00 AM with Alarm turn off

Issue is you you can not import Reg with Alarm turn on because then after even if you turn off alarm then also it turn on.

Basically you can export HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0, HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\1, HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\2 registry to backup alarm setting.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock\0]
"AlarmSnd"="1_in"
"Len_AlarmSnd"=dword:00000004
"AlarmText"="Wake up call"
"Len_AlarmText"=dword:0000000c
"AlarmHandle"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00
"AlarmFlags"=hex:00
"AlarmDays"=hex:1f
"AlarmNotFlags"=hex:1f,00,00,00
"AlarmTime"=hex:68,01
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
4.5 is here.

Check first post.

I will most likely be slow on future development as work is picking up.

Honestly I can't think of much more to shove into SASHIMI. :) I would like to continue working out any bugs (of which there shouldn't be many) and ensuring cross-device compatibility.

I will still check in to answer questions or entertain feature requests.

Over 1000 downloads on previous versions...let's keep on growing!

Thx
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
Thanks for the heads up. It didn't dawn on me that I could use the program for individual settings like this--I figured it was one shot good by.

Thanks!!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] rush242:
Good point, and thank you, I don't ALWAYS want it on, thanks again.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] m.zielinski:
I also cant reproduce the Registry Problem.

I tried your script andf expanded it to:

sleepMessage(10,"Please Minimize/Close all apps and go to the today screen.")

message("." & ActiveWindow() & ".")

show("Desktop")

message("a." & ActiveWindow() & ".")

show("Desktop")

message("b." & ActiveWindow() & ".")

The funny thging is that the FIRST show("desktop") works fine - also the "a" is shown but the next show command gives an error.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
It sounds to me like something may be wrong with that ROM....or maybe some App or tweak you installed(?) I can't fathom any reason why the "Desktop" window would exist one second and not the next.

You are the only person to report this issue....

In the newest version (4.5) I have made the show Desktop conditional so that it only shows it if it exists, in case there are others who may experience this.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] GermanGuy:
I am getting some error messages with the latest version 4.5. When i run file tools, i get an error message "filebackup.ini not found"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I think you mean when you run "File Backup" under the "File Tools" menu.

And it's because you need to create a filebackup.ini file first :)

Please read the enclosed documentation.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
running .exe files

I have two programs that I like to run manually after a hard reset. I am now running them with simple mortscripts, but I was wondering if the program was also designed to run them. I didn't see it in the documentation.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
You'll have to be a little more descriptive that that.....

From the sparse info you gave all I can possibly suggest is you put the mortscripts in the \scripts directory to have them run automatically.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] daigoro64:
Thanks bengalih, used v4.5 without any flaws. Will try new features very soon...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] studentjunk:
Sorry for the confusion. My question is does Sashimi support running programs (like ppcpimbackup.exe) natively. I have a script set up on my pda so that ppcpimbackup runs with the manual installations, which is working for fine for me.

I think having the ability to run exe programs natively (without having to write mortscripts for each program) would add more flexibility for people who are not familiar with mortscript programming. I was envisioning being able to add *.exe files to the cab folder, but adding a new folder called exe would work also.

In any case, it's just a thought. I'm not trying to make extra work for you.