Related
Hi, I dont know how Rom Kitchen Cooker were doing this till date ( some like me just ignored in past) but some how i got this (iv not created it) and would like to share this.
1) Place ur OEM, with its dsm file inside.
2)take out option.xml temporarily
3)Drag and drop OEM folder over BuildDSM.exe
4)u got ur dsm populated.
5)place back option.xml in OEM folder, and thats done.
View attachment BuildDSM.zip
BTW, I always leave my Option.xml in the OEM. Never had a problem
looks very nice does it work for system dsm's?
Midget_1990 said:
looks very nice does it work for system dsm's?
Click to expand...
Click to collapse
ya its working on sys dsm's also.
looks easy, i look forward to trying it, great work.
oww..!
nandlal_mk.Thanks a lot..!
Trying now..!
Thanks man !
I'll use it now.
I had hard time locating this one. Good thing you sent the link in the pm
To be honest I dont quite get what this does. I thought that for OEM packages we make, we just need a zero-bite file with the GUID and .dsm in the end.
WizeMan said:
To be honest I dont quite get what this does. I thought that for OEM packages we make, we just need a zero-bite file with the GUID and .dsm in the end.
Click to expand...
Click to collapse
Yes, but that would result with "missing" packages
Aha, Uhum, I Get it.
Is that really all the need and reason to use a populated DSM?
So that when the Rom gets extracted there won't be missing files?
So Empty Bites DSM have no effect on performance or whatsoever?
(Except the fact they or 0 bites)
I've got 2 small questions;
1. Can somebody explain to me what the function of these *.dsm files is?
2. Wouldn't it be nicer to exclude the option.xml file automatically instead of taking it out by hand?
But as far as I can understand it looks very promising!!!
Great tool, just trying it today, big thanks !!!
Is there an option to bypass the "press a key to continue" ?
looks easy, trying it, great work.
Thank you very much.
The system cannot execute the specified program.
Requires:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/...D9-AE1A-4A14-984D-389C36F85647&displaylang=en
... installing VC2K5 SP1 Redist allows the application to run although Dependency Walker also shows a delay-load on DWMAPI.DLL.
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.....
Introdution:
This small app will help you out when you have a bunch of cab files to install after flashing the new rom.
How to use:
1. Select or input a directory that contains a bunch of cab files.
2. Generate the list file that is [INSERT SELECTED DIRECTORY]\batch-list.txt. You can manually edit this file to select which to install.
3. Batch install. It will promot you if you really want to install that file.
Problems:
1. The small utility can not silently install cab files.
Todo:
1. More UI friendly to select the files.
Note:
I am rather new at windows mobile programming. I have learned it from scratch. The whole program uses pure C and winapi, no managed code, no MFC/ATL.
Acknowledge:
Thanks legedug for packaging the cab file.
Copyleft:
The source code is available, anyone can modify it and redistribute it. But you should contain at least a piece of my name in it and should distribute with full source code.
reserved for future.
Or no future.
thank you very much for this tool
Will try it! This will be super good as my P3600i constantly needs a hard reset due to all available roms are for P3600. I'll let you know how this go! Thanks
This will differentiate itself from other similar programs (TierAutoinstall) if it can popup when dialogs are displayed after installs on some cabs.
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
jackkkkk said:
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
Click to expand...
Click to collapse
Ok, you can manually input the directory. I do not know how to invoke folder selection dialog. If anyone know , please help me.
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
stanglifemike said:
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
Click to expand...
Click to collapse
You can try it next time
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
nothin said:
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
Click to expand...
Click to collapse
Thanks for your kudos. I will continue develop this little app making it better and easier to use.
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
legedug said:
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
Click to expand...
Click to collapse
Ok, thanks ,I will cab it next time.
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
thanks man, this is actually exactly what i needed
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
absorber786 said:
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
Click to expand...
Click to collapse
Yes, I forget to add it. There is a big OK button to do that.
I fail to make upgrade recently because I don't have visual studio 2008 as in the lab before.
This one is written in pure C. So It can run without any additions.
laser21 said:
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
Click to expand...
Click to collapse
It can not install things very silently. Because you have to select where to install.
My ambition plan is to parse the XML manually and let it really silent.
Now I don't have a Windows OS and Visual Studio. I will delay upgrade this software.
I have released the source, it is welcome for anyone to help.
Ok so i have tried it a couple of times..and after using the tool from v3patel(see my sig) im sorry.....
v3patel's is mortscript; quick and already allows for a silent install. However, my suggestion fro you to get the silent install working is to have a look at the command he uses in his script and see you can replicate it for your tool....
If it works, i will be more than to hard-reset my device to test...(and it better work lol)
helloworld1
excuse me;
can this be used to install all ones cab file apps etc, after a system hard reset if all cabs are say kept in a pacific folder for that purpose.
thanks
Hey guys,
does anyone know some of the basic commands for editing .txt files and an example. I cant seem to find any on Google other than echo, and i ned some for a project im working on.
Thanks!
if you're using linux, just use vi. if you're on windows, download vim for windows.
alongenemylines said:
if you're using linux, just use vi. if you're on windows, download vim for windows.
Click to expand...
Click to collapse
is there any way of doing this natively on a windows machine?
mbarvian said:
is there any way of doing this natively on a windows machine?
Click to expand...
Click to collapse
Are you talking Windows or Windows Mobile? If standard plain windows then Notepad should work just fine. It's included in all windows versions.
pananza said:
Are you talking Windows or Windows Mobile? If standard plain windows then Notepad should work just fine. It's included in all windows versions.
Click to expand...
Click to collapse
I'm talking about windows, and is there a command line usage for notepad?
What exactly are you trying to do? You can start notepad.exe from the command line, but that's about it I think. If you want to automate search/replace, save, insert etc you'll have to find another tool.
pananza said:
What exactly are you trying to do? You can start notepad.exe from the command line, but that's about it I think. If you want to automate search/replace, save, insert etc you'll have to find another tool.
Click to expand...
Click to collapse
to be specific: I am trying to create a batch file that I plan on using daily that replaces a line in a .txt file with a particular line I want, and I'd rather not use notepad because I have this batch file set on startup
OK, now I understand what you want.....
Have a look at SFK (Swiss File Knife ) see here
or FR (File Replace) see here
Both are freeware, neither are "native" to Windows, but either should - with a bit of trial and error - get you to where you wanna be
HTH,
Mark.
mbarvian said:
to be specific: I am trying to create a batch file that I plan on using daily that replaces a line in a .txt file with a particular line I want, and I'd rather not use notepad because I have this batch file set on startup
Click to expand...
Click to collapse
I don't think thats possible... but why don't you use mortscript, maybe that works (they have a pc version), otherwise M$ has a new version out of an application that should replace the bat language...just can't recall the name...
-=Google Time=-
PowerShell
If that also fails I could write you a small exe which should be able to do what you want it.....
Hi!
There a lot of kitchens avaialable for ROM building. Now this one is to ease TouchFlo3D building.
This kitchen uses the knowledge and works of 6Fg8, D-MAN666, xboxmod, chainfire and many others who are involved in Manila hacking.
If you use this kitchen and/or any of the decompiled scripts then be so kind and share back the source code of your modified scripts too!
This kitchen (v1.5) has the following utilities included:
6Fg8's mode 9 editor (v3.3.0.1)
sztupy's mode9 converter (v1.0)
chainfire's CFC compressor (v0.46)
MKT: a tool for batch converting/compressing/compiling mode9,qtc,png,xml,lua files (v1.1)
LuaDec (2.0)
A work in progress lua and xml IDE
And various other tools
In the center of this kitchen stands MKT aka manila_kitchen_tool, which is like 'make' but for manila kitchen developement.
It has the following functionality:
split hased _manila files back to their original filenames
join a bunch of files in a directory back to their hashed form
mass decompile mode9 files back to xml and save their lua scripts
mass convert qtc files to/from png files
mass compile lua files
It works like 'make' in sense that only the modified files will be recompiled/recompressed so after the firts setup it might be ideal for manila development.
The output of the kitchen was tested with the Rhodium manila (WVGA version) on a HTC raphael device and it works, so this project is no longer a prototype, but is still considered beta stuff
Kitchen set up
I uploaded a complete Rhodium2 Manila kitchen in case you want to use that as a base (download both the kitchen and the rhodium files, then copy them to the same directory), but of course you can use any other manila pakcage you get across. To set up the kitchen copy the package into the 'pkg' directory then run:
Code:
mkt split
to split the hashed files back into their filenames. (For this conversion it uses the same table as m9editor uses.)
You will get a "bin" directory. This will hold all "compiled" stuff, so here you will find all the files that don't need more preprocessing, and can be hashed/installed to the device
Next you want to get some editable files out from the luac, mode9 and qtc files, so use:
Code:
mkt -x bin frommode9
To decompile mode9 files back to XML (it will also extract the scripts out of the package)
Next:
Code:
mkt -c d,qp fromqtc
or
mkt fromqtc
Will convert all qtc files to png files. (the first type will work on cfc compressed qtc files, the second will work on non cfc compressed files)
After this only the scripts are remaining. Unfortunately these can't be decompiled easily, so grap the decompilation of someone (like me ), and put these files into the "insrc" directory. After this run
Code:
mkt -d insrc -o src split
so all the hashed _manila files will be converted back to their original filenames to ease searching through them.
After this you're ready with your prepared kitchen. These things were already done with the Rhodium manila so you might use that package to start manila modding.
Compiling
You can use tomode9, compile and toqtc commands to compile these files back to their binary counterpart. Alternatively you can use:
Code:
mkt -c pq,c,p make
to run this three command after each other. It's like a Makefile, so it will only compile things that have changed. Of course you might want to 'make all':
Code:
mkt -a -c pq,c,p make
This will build all files from the "src" directory into the "bin" directory
Creating the package
After you're done you can use
Code:
mkt -o outdir join
to hash all files from the bin directory back to hashed form, and put it into the 'outdir' directory. Next add the binaries and you're ready to flash
Alternatively I included createpkg that will create a cab package from the OEM apckage found in the 'pkg' directory
Download and other stuff: http://winmo.sztupy.hu/manilakitchen.html
Sounds great! Downloading now. Thanks sztupy!
Yeah, good job sztupy, this will be a great addition.
nice...gotta buy a bigger house...so many kitchens
pcarvalho said:
nice...gotta buy a bigger house...so many kitchens :d
Click to expand...
Click to collapse
roflcopter
pcarvalho said:
nice...gotta buy a bigger house...so many kitchens
Click to expand...
Click to collapse
what you need is a microwave
sztupy said:
Missing functionality / bugs:
Embedded decompiled scripts can't be re-embedded into mode9 files automatically (this would need a command line mode9 editor
Click to expand...
Click to collapse
I can help you out with that. Not that it's already done but copying the relevant parts from m9editor together isnt the big deal.
6Fg8 said:
I can help you out with that. Not that it's already done but copying the relevant parts from m9editor together isnt the big deal.
Click to expand...
Click to collapse
I hoped so
unfortunately it's hard to tell a command line tool where to inject the scripts... An XML export/import function would be cool (export it to XML, without the binary scripts, then add the decomp'd scripts, and the importer would do its job esolving everything), but I know that won't be possible until you resolve the mode9 files completely...
sztupy said:
I hoped so
unfortunately it's hard to tell a command line tool where to inject the scripts... An XML export/import function would be cool (export it to XML, without the binary scripts, then add the decomp'd scripts, and the importer would do its job esolving everything), but I know that won't be possible until you resolve the mode9 files completely...
Click to expand...
Click to collapse
hm, didnt do much with xml, but i think i can figure that out. mode9 is almost done, there's only one bytegrave at the end of a mode9 file still unknown to me.
6Fg8 said:
hm, didnt do much with xml, but i think i can figure that out. mode9 is almost done, there's only one bytegrave at the end of a mode9 file still unknown to me.
Click to expand...
Click to collapse
your visualization of the m9 files look like xml, that's why I thought about that (but yaml could be a good serializator too). But this is just an idea, if you can tel me an easy way to tell a command line script where to inject a script that would be fine
And a command line CFC compressor is also needed
sztupy said:
your visualization of the m9 files look like xml, that's why I thought about that (but yaml could be a good serializator too). But this is just an idea, if you can tel me an easy way to tell a command line script where to inject a script that would be fine
And a command line CFC compressor is also needed
Click to expand...
Click to collapse
mode9 is basically binary XML, so i had no choice
The easiest way (at least for me) is byte positions just kidding ...
I'm on vacation next week, maybe i'll get struck by an ocean of light while skiing on one of the wonderful austrian mountains
CFC compressor .... I've that lying around somewhere here, shouldnt be a problem to adapt it.
an ambitious project... thank you
nice work great addition
Scripts update addon with the newest decompiled stuff.
Kitchen is now tested and considered BETA. Also added a great new tool: MKT to the kitchen. Read first post.
sztupy said:
Kitchen is now tested and considered BETA. Also added a great new tool: MKT to the kitchen. Read first post.
Click to expand...
Click to collapse
Just downloaded kitchen and getting ready to start playing. Just wondering, will this make a installable cab file for rhodium manila for touch pro? Of course with vga adapted files. I've noticed that previous attempts of making a cab for it have failed, but oem packages work when cooked in. I'm making a theme, which shouldn't require a full install, but would be nice to know.
showaco said:
Just downloaded kitchen and getting ready to start playing. Just wondering, will this make a installable cab file for rhodium manila for touch pro? Of course with vga adapted files. I've noticed that previous attempts of making a cab for it have failed, but oem packages work when cooked in. I'm making a theme, which shouldn't require a full install, but would be nice to know.
Click to expand...
Click to collapse
I tried to install it as a cab on NATF's ROM I'm using, and it worked flawlessly. It might break on a stock ROM though. The whole convert to cab thingy is alpha currently, but hopefully it will be solved.
sztupy, So how do you go about fixing the main function? I have the LUA file I've been working on done except for the main function and all the Q16.16 instances. But looking at the src.lua file, it appears chunks of the main are scattered throughout the file. Literally, I have code parts at the beginning of the file, in the middle and at the end of the file.
That's how the luadec output that you ran for me (because luadecguess was inaccurate) outputted the decompile.
So I'm stuck because I'm not sure how to proceed with fixing it. What do you do, just leave it where it's at and search for what it's referring to and fix it where you find it? Or do you cut/paste (move) it at the top of the src code in the order it's supposed to be in?
EDIT: never mind, left the code where it was and just searched out and fixed what it referenced. Other then the Q16.16 lines, everything is good.
Hi sztupy. Excellent work. Im poor and unemployed so although Id like to, I cant donate any cash at the moment. I like this project enough to offer body parts though, if any of yours fail
EDIT - bug report removed. was related to luaconv.exe. moving to another thread.
smotrs said:
sztupy, So how do you go about fixing the main function? I have the LUA file I've been working on done except for the main function and all the Q16.16 instances. But looking at the src.lua file, it appears chunks of the main are scattered throughout the file. Literally, I have code parts at the beginning of the file, in the middle and at the end of the file.
That's how the luadec output that you ran for me (because luadecguess was inaccurate) outputted the decompile.
So I'm stuck because I'm not sure how to proceed with fixing it. What do you do, just leave it where it's at and search for what it's referring to and fix it where you find it? Or do you cut/paste (move) it at the top of the src code in the order it's supposed to be in?
Click to expand...
Click to collapse
You can consider every function in the file as a value. It's just like a number or a string in this case, because in the main body you assign functions to some variables. So if you find something:
Code:
SomeStuff = function(foo)
lots of stuff
lots of stuff
lots of stuff
end
SomeOtherStuff = function(bar)
lots of stuff
lots of stuff
lots of stuff
end
Then in the main body this will translate to:
Code:
SomeStuff = funtion1
SomeOtherStuff = function2
And in the disassemlby to something like this:
Code:
R0 := Function(f1)
SomeStuff := R0
R0 := Function(f2)
SomeOtherStuff := R0
And of course the definitions of these functions will be put after the main body (just as with any other inlined function, the only exception is that compare/luadec and the other tools I made will handle these functions separately to ease decompiling). So if you have to fix the main body you have to only look at the part of the script which is not in a function...end body