yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
So, almost 400 downloads so far on 6.5beta and not too many bug reports.

I have been finishing up the official release (slated for this weekend) and this is where I'm currently at:

NEW! - Simple PIM backup/restore capabilities.

NEW! - .AUTO tandem file for .CABs now allows additional automated interaction when installing CABs which require it.

NEW! - Added ability to toggle between full path and just file name during status dialog progress.

NEW! - Added feature to check settings.ini for changes in Storage Card\Internal Storage when flashing between different ROM types.

UPDATED! - IdleTimerReset method. Now SASHIMI should not time out during any phase of installation, for any reason.

UPDATED! - Changed the Owner.reg file creation from the \Bin to the to \Backups directory.

UPDATED! - UCINIT methods for starting SASHIMI via UC after a clean flash.

UPDATED! - Fixed bug with custom registry export skipping multiple files.

UPDATED! - Fixed bug regarding error on shortcut creation if ICON.LNK files already exist.

UPDATED! - Moved SDAutoRun.exe to \UCINIT directory.

UPDATED! - General code restructuring for easier flow.

Due to work catching up with me this week, and my desire to get an official release out by this weekend, I probably won't be adding anything additional (unless its really easy :)). Of course, additional bug reports are always welcome as I want it functioning as cleanly as possible.

Thanks for all of your feedback/support. Remember, should you feel obliged to donate, the link in my sig will allow you to give back to those less fortunate that us!

Even if you can't afford to donate, please post if you are using the program! The download link shows almost 140,000 downloads of version 6.0. I just can't believe that's accurate! But, I hope there are at least a percentage of that enjoying SASHIMI!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
One other thing.

There have been a few posts around expressing the idea that SASHIMI is "too complicated" (not a direct quote...but the general idea).

While SASHIMI can take a while to figure out all of its advanced features, it is

incredibly simple

to do a basic installation of all your critical files.

I made a quick video to show a "one-click" setup of a device after a fresh-flash.

If you are new to SASHIMI and possibly overwhelmed, see how easy it can be to get up and running to do a

quick restore

!

http://www.youtube.com/watch?v=X-b4uLDdQk0

And see all the SASHIMI vids here:

http://www.youtube.com/view_play_list?p=A0D550239D3CAE10
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] CLHatch:
I quite understand! I noticed it does take a while for the script to process, which makes sense, as MortScript is an interpreted language. It's just amazing that it can be done at all...

Don't know if I'll ever use it, but I plan on doing EncodeBase64 and DecodeBase64 functions, just for fun. Haven't done any programming in years, and am quite enjoying myself with MortScript.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
I totally agree, it's DEFINATELY NOT too complicated. If anyone really thinks it is, I really wonder why! Basic usage only requires three steps without knowledge other than running a cab and copying files, whereas for instance UC requires the knowledge of the fileformat of SDConfig.txt.

The three steps are:

1. Install SASHIMI to your Storage Card

2. Copy the right files to the Auto\CAB folder

More advanced installs require a little more, but that is needed with UC too. So definately not more complex than UC. For instance:

3. Export registry to figure out settings

4. Copy the reg-files to the Auto\REG folder

5. Create XML-provisioning files

6. Copy the xml-files to the Auto\XML folder

And if you really want to go deep:

7. Create mortscript files to manually copy or move files or do other things

8. Put files in the Manual\* folders if you sometimes install them and sometimes do not

When installing a new ROM you just need to run SASHIMI on your Storage Card and select Auto which will install all files in the Auto folders...

That's all - and definately remember: it's in no way more difficult than UC!!

Regards,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] dimanto:
Testing of 6.5 beta in HTC Diamond

Just used it in my HTC Diamond. Everything was perfect, fast and easy.

Of course I have only used the basic features of the application, but installation both in the device and the Internal storage were performed in the Auto mode with no problems at all. Really happy with SASHIMI, upgrading to a new ROM is not a pain any more.

Congratulations bengalih for your excellent effort.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
I've been flashing a few ROMs over the past few days and running SASHIMI for my 70 cabs in the Auto\SC folder and 165 cabs in the Manual\CAB folder has resulted in inconsistent performance each time:

First time: Auto\SC install worked perfectly with no error

Second time: with same ROM after hard reset and fresh install (incl creation of shortcuts) of SASHIMI, the Auto\SC process failed with a "Window txt...not found" error. I then deleted the Bin folder and re-installed SASHIMI but still no luck.

Third time: new ROM, process failed again and I tried the Manual\CAB process but ONLY 46 cabs could be enumerated (I have 165 cabs in this folder). I changed the Manual\CAB folder path and pointed it to the Auto\SC folder which has only 70 cabs but enumeration still failed and ONLY 46 cabs could be enumerated successfully.

Not quite sure what's going on here...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Just started wondering - why is this in the Kaiser forum? Shouldn't it be moved to the Software Development forum as it's not only Kaiser related?

Regards,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
Started out specifically for Kaiser ONLY but has been updated wonderfully to work on lots of devices now, including Diamond :D. I agree, it's time to move it to Software Dev..nice suggestion Nikagl.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
1st: I cant figure this out... How do i make SAHIMI turn off all options for the home screen and turn throttle launcher on? Yes ive read, and searched... just cant figure it out.

2nd: Is there a way to completely overwrite a folder... root inserts which is great, but one folder I want to completley overwrite.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ZaJules:
Dude this app is Fantastic!!!

Its the answer to all my prayers!

and on another note, Developers should pay you (Big Bucks) to create their documentation and tutorials, I have never seen such details and easy to follow support documentation with ANY piece of software I have used. 10 out of 10. The Videos are super slick and professional!!

Jules
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
Can someone make the autorun in the 2577 pull up a dialogue asking to "Run SASHIMI, or exit"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
This could be due to a race condition happening in between checking for a window and trying to display it, but I can't know for sure without EXACT error messages. Please remember to record them verbatim in the future :).

In the meantime I see the opportunity to possibly lessen the race condition by using a While loop instead of an If/Then check. If that code works I may put it in place. However I can't guarantee that's the issue as I don't know the exact error.

I ran some tests here with SASHIMI and with MortScript in general.

It seems that MortScript has a bug when presenting a choice dialog presented from an array with more than 49 elements in it.

At present, I don't have a solution, so this will go into the known problems category.

However, please realize that this is only cosmetic in presenting the choice dialog. You will notice that all cabs get enumerated, just 45 will get displayed. This means that if you put 200 CABs in \AUTO, they will all get installed as there is not a choice dialog presented during Auto. However, for manual installs I recommend only having 45 types of each file per targer directory. You can use the additional file-type install option to select additional files as a workaround.

I am going to post this to Mort to see if he can fix this in a future release.

I am considering removing the choice dialogs list and instead going straight to a file selection dialog to choose the file to install for each phase. This might be a better solution until the problem is fixed.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I have a post in the Main forums linking to here which I update when a new version comes out. I know that there are people on several devices using this, however I only own a Kaiser and can only definitively code it to work on that device.

I'd prefer it stay in here, but if the devs want to move it..up to them. If they do however, I'd like a perma-link to be left here too.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I honestly have no idea what you mean when you say either:

"turn off all options for the home screen"

OR

"turn the throttle launcher on"

I don't think i have ever used the term "throttle" with SASHIMI, so I really don't know what you are looking to do.

As far as your 2nd question... the Root copy DOES overwrite folders it has the xcopy overwrite flag set to TRUE and I have tested this to confirm.

However, if the destination files are read-only it probably will not overwrite them. There is really no easy way to code for this because XCOPY works on a folder (and all subfolder) basis, whereas the MortScript command to turn off read-only attribute is only on a file-by-file basis.

Also, remember that some files are cooked into the ROM and can't be deleted/overwritten. Other than that I can guarantee that the overwrite works.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks for the kudos. Documentation is (occassionally) part of my job...now just need to get the Big Bucks for it ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I would ask that requests such as these are not made within the forum.

The reason being is that I don't want people to start customizing the code and then reporting errors. Because it is usually going to fall back on me to troubleshoot and resolve these issues.

I cannot stop anyone from customizing SASHIMI for their personal use, but I would prefer that it stays out of this thread so it doesn't appear to be "official" or "condoned" by the author (a.k.a me)

So, you have two options:

If you want to customize the code, download the Mortscript manual and have at it. You can also post in the Mortscript forum if you need assistance.

If you have a feature request, please make one, along with the reasoning for the request. I think you will see from the history of this thread that I will generally implement a feature if it is worthwhile.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
Well, it is a feature request.

I love that it autoruns upon insertion of the card, but sometime i take mine out and opt for the faster reader... and everytime i put it back in it autoruns.

I know i can just delete the 2577 folder but id then have to recopy it everytime.

Im just asking for you to make the autorun pull up a simple "continue / end" promt before it starts auto customization.

I love your work and will remove this and the other post if you still dont think this is fit...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
It should not be doing that. After Autorun runs once it creates an entry in the registry:

HKLM\\Software\bengalih\SASHIMI\Autorun

and sets the value to 1

This way, it prevents SASHIMI from Autorunning more than 1 time unintentionally. To get Autorun to run again you have to delete that reg value (or set it to 0). This way it should only run once per clean flash.

Perhaps this isn't working in the beta...I don't really have the time to go checking it now...but I'm sure it will work in the official release as I have tested it multiple times.

I suggest wait until the weekend for the official release and see if you're happy with the reg key solution. If not, then advise if it is either not working, or you see the need for something additional.

thx.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
1st: Under: Settings->Today->Items :How can I make sashimi uncheck all items then recheck certain items(in my case throttlelauncher)

2nd: I put my start menu folder in "root/Windows" and it just added to it, not overwite. Ex. a program "opera" originally puts a shortcut in the "programs" folder. I moved this shortcut to the "internet" folder. But when sahimi executes, it is in the "internet" folder where it should be, but is also in the "programs" folder, where it shouldn't.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
My error, sorry. The feature works correctly.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
ahh... ok. Well you are just trying to figure out what is the proper regentry you need to import/export to reset up your today screen the way you want? As stated multiple times, the best way to determine proper regentires is to export your registry, make the change, then export your registry again and compare the two. As this is not a SASHIMI specific issue, but a registry in general I don't have the answer readily available.

Ok, I got a little lost with that description...but I think you are saying something like this:

Device Memory has:

\FolderA\sample01.txt

\FolderA\sample02.txt

And your storage memory (SASHIMI) has:

\Root\FolderA\sample03.txt

When you copy the Root with SASHIMI you are going to end up with:

Device Memory:

\FolderA\sample01.txt

\FolderA\sample02.txt

\FolderA\sample03.txt

Because xcopy copies the files/folders overwriting any existing, but not deleting. So, it is effectively a merge (with conflicts being overwritten by SASHIMI). This is the nature of xcopy...it's not going to wipe out the directory contents that exist.

I think most people want it this way. Because if not, let's say you have in your SASHIMI directory the following:

\Root\Program Files\MyApp

When you copy this over you don't want it overwrite the entire \Program Files directory on your device...or you would lose all your programs. Instead, you want to add MyApp to all your other program directories.

I suppose I can see why you would want to overwrite in certain cases, but at present I don't see an easy way of giving the choice (especially in Auto mode). I will entertain the idea of adding delete/overwrite as an option in manual mode if there is enough user interest.

In the meantime..you could write a simple script to delete the dir first...and then have SASHIMI copy...or simple write a simple plugin script to do it all and throw it in the script directory to auto execute.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
More Like:

Device Memory has:

\FolderA\sample01.txt

\FolderA\sample02.txt

And your storage memory (SASHIMI) has:

\Root\FolderA\sample03.txt

When you copy the Root with SASHIMI you are going to end up with:

Device Memory:

\FolderA\sample03.txt
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
I understand. That is what you would like to happen. But as I explain above you will end up with all 3 files. Everything else in above response still stands.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
We are understanding each other then... Is there a way to make it do what I want?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Hi guys,

Here's the two solutions I use:

1. For setting certain Today Items to on or off I use the corresponding registry settings (which are added to my Auto\REG folder) - here's my reg-file that turns off all but not HTC Home and Owner Info:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today]
"Date"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC Home]
"Order"=dword:00000002
"Enabled"=dword:0000000[B]1[/B]
"Type"=dword:00000004

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Owner Info"]
"Order"=dword:00000003
"Enabled"=dword:0000000[B]1[/B]

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Tasks"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Calendar"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\Windows Live]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\Windows Live Search]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Internet Calling"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Messaging"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Device Lock"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTCHomeplug]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\RSS Hub]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\HTC BT Quicklink]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\Music Plug-In]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"TodayAgenda"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"TomTom"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"GPRS Monitor"]
"Enabled"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\"Wireless"]
"Enabled"=dword:00000000
"Type"=dword:00000004
"DLL"="netui.dll"

2. For moving my items out of one folder to another I use a mortscript which is added to Auto\Scripts (I use QuickMenu and don't want my Start Menu, but want them in my Programs):

Sleepmessage(3, "This script moves the Start Menu links to Programs...", "Moving Links", 1)
Move( "\Windows\Start Menu\*.lnk", "\Windows\Start Menu\Programs", 1 )
Sleepmessage(3, "Done...")

Regads,

Nika.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Carlo626:
already answered

already answered - read slower :rolleyes:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Carlo626:
thanks

will try-it :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] emj1s:
Thanks guys!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
Here is that error I mentioned in post # 412 above:

"Window 'Installation' could not be found

Line 1968(\storage card\SASHIMI\bin\SASHIMI.mscr):

Show(txtInstallWindow)"

And the Auto\SC process fails.

The first time around, on a different ROM, the process was successful...I created sub folders in the Auto\SC main folder...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok, thanks... the error is what I think I expected... a possible race condition (this is when two different things that are expected to happen at certain time, somehow don't!).

Basically, to explain this, look at my following code:

If(WndExists(txtInstallWindow))
Show(txtInstallWindow)
...

What this shows is that it FIRST checks to see if txtInstallWindow exists. ONLY if it exists does it go to the next step which is to SHOW the window.

Somehow, in a rare circumstance, it might find the window exists, but by the time it shows it..the window is gone!

Can you recreate the issue or was it a one time thing?

I am going to try and add some more code to make this less likely.

Also, you shoudn't need to create subfolders in SC\ that really shouldn't make a difference.

Regarding the 49 item limit you found in the Manual mode:

Mort states that this isn't a bug but rather his choice to limit the list to 50 entries (even though it really only does 49). I am trying to get more information from him and maybe see if he will change this with his next version.

In the meantime, I am changing the interface for the manual mode in the official release so that it doesn't use the choice list but rather opens right up to a file selection dialog.

I will post a new video today showing what the new Manual Mode will look like.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Moe5508:
Fantastic - thanks for that response! I can't recreate the issue...it's kinda temperamental...happens now, doesn't happen the next time but it's basically the same error message I get.

I created sub-folders purely to group cabs that require a manual input (me tapping an OK key/menu or something like that for install to continue) and placed these by themselves in the last subfolder (Sub8)...just trying to be ingenious...

Looking forward to the official release! Is that still on for this weekend despite these fixes you have to do?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Still on track. Most of the changes are done...it takes me almost as long to update the documentation and probably longer to test for errors.

Video showing the new Manual Mode (and Destructive Overwrite) is up.

Check Video 11

http://www.youtube.com/view_play_list?p=A0D550239D3CAE10

In a way I like this menu without the Choice dialog better. It is definitely quicker as I don't need to enumerate the CABs. The only two things which we lose out are:

1 - Not all CABs are in a single list... you need to browse to a subdirectory if you want. However, this isn't all bad, and some might prefer it.

2 - No "*" next to files already installed. I don't miss it too much...it was kind of gimmicky anyway.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] nikagl:
Another great video Bengalih! Regarding the Destructive Overwrite, I'd clearly state that this wipes all files in the subfolder as I usually only copy certain files for a folder (for instance the .dat files and not .exe/.dll files which are created by the installed) and that would wipe out the actual program that is in the folder ;). I've understood there's no way to xcopy over read-only files, but wouldn't there be some itterative way of you scripting the files (like you do with the cab-files) and one-by-one check whether it exists, delete it and copy the newer file? And... we should be asking Mort for a "xxcopy" command that also overwrites readonly files...

Regards,

Nika.