DSM and RGU files - Touch Diamond, MDA Compact IV ROM Development

which function of the files with extension .DSM and .RGU within the packages. How do I create them?

marcolero said:
which function of the files with extension .DSM and .RGU within the packages. How do I create them?
Click to expand...
Click to collapse
.dsm file = this contains what there is in the folder, you can use builddsm to make them.
.rgu file = is the registery files of that folder. You can create this on by yourself in notepad. You just have to remember " REGEDIT4 " at the beginning.

the DSM files that I do in the package creator ervius are blank. what's wrong if I leave them blank?
as I use buildDsm?
grateful for the help

marcolero said:
the DSM files that I do in the package creator ervius are blank. what's wrong if I leave them blank?
as I use buildDsm?
grateful for the help
Click to expand...
Click to collapse
You can also make them blank, dosen't make the biggest' diffrent.

danny_and_2 said:
You can also make them blank, dosen't make the biggest' diffrent.
Click to expand...
Click to collapse
learned to use the buildDsm
have to drag the package into the oem folder for the buildDsm
grateful

And don't forget to save the RGU files as Unicode.
Not populating DSM files just make it harder to extract the rom correctly for beginners.
Even thought i remove .DSM, files i populate them anyway.

Related

Cab Extractor/Rename

Hi there,
I need an application to automatic extract and rename files from a cab installer. files inside cabs have short names and there's a xml file with real name/description for each other file in the cab. I'd like to extract all files and rename them according with xml ... is there an app that do this?
Thank You
Excuse for my english, hope clear enough!
Bye
try with WinCE CABs Analyzer, it can extract files and (if there is a valid XML) registry keys
works great!
Ty Mate.
Bye

problem with registry

Hello everyone,
I have a problem, to create my rom, when I edit in default.hv some changes, such as the 4 columns, the modes camera .... when installing rom, disappear are changing, as if it had not changed anything.
I do not know if it will be for sometime provxml overwrites something, or is not that.
thank you all!
sorry for my english google translate
you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm
whyen you edit the hive. any RGU or provxml files would over write the settings. thus why they do not stick.
iXiR said:
you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm
Click to expand...
Click to collapse
wow!
run ok!
thx!

[UTILITY] CabTools - ROM package <--> CAB converters and more. For ROM builders

These tools will let you create ROM package and install CAB files from each other. I know there are already tools for them, but I didn't like them, because they had many errors. Of course my programs may have errors too, but I like them better anyway Some of these tools use external applications which need .NET and/or VC++ runtimes to work properly!
cab2pkg
This utility will extract a cab and create a ROM package. (just like ervius package creator, but this will get the info from the _setup.xml file). Simply tell him the cab file name as parameter, and it will extract into a new directory. (Or if you don't like the command prompt, simply drag the cab onto this file, and it'll extract it)
pkg2cab
This utility does the reverse of the above. It creates a cab installer from a ROM package.
Usage: pkg2cab [Application Name] [Directory1] {Optional directory 2} {...}
For example: pkg2cab OneNote OneNote OneNote_lang_0409
If everything goes fine the programs should create a setup.cab
pkg2cab does only support "flat" directories, so if your directory contains modules (directories that look like files), then you have to copy the file out of them manually, and delete the directory
extractpkg
This application will extract a package from a ROM, using a SYAKR file removal information file XML. If you don't know what syakr is, then check these pages:
http://winmo.sztupy.hu/syakr.html
http://www.modaco.com/index.php?s=&showtopic=277390
http://forum.xda-developers.com/showthread.php?t=462841
Put this application into a kitchen with an extracted ROM and SYAKR
Enter command prompt and enter "extractpkg XMLfilenamewithoutextension" so for example if you want to extract the fmradio, you should write: "extractpkg fmradio"
This app does the same as SYAKR, but instead of deleting the files/registry settings/initff lines, it will copy them to a separate directory, and adds the appropriate things that are needed for a package, that BuildOs likes
BEWARE! The current SYAKR tasks are not designed for extractpkg to work, and sometimes the extraction might fail, or the created package would be defective. If so, please try to correct the XML file!
After you extracted a package you might use pkg2cab to create a distributable CAB installer
DL link: http://winmo.sztupy.hu/cabtools.html
OHH nice. someone just asked me to make a stock dialer cab for them.. this will make it easy
Amazing!, will try it indeed
wow nice tools i m going to make my own kitchen .. great work
It seems the included cabwiz might not work. You might try replacing it with a newer one: http://www.modaco.com/index.php?s=&showtopic=278074&view=findpost&p=954161
v0.2
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
This Great, Good & Nice Job!!!
sztupy said:
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
Click to expand...
Click to collapse
thanks to you man!!!
v0.3
Fixed a registry creation bug in cab2pkg. The packages should work with older BuildOs versions too.
Source code of cabtools and syakr released: http://winmo.sztupy.hu/cabtools.html
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
jlp_svk said:
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
Click to expand...
Click to collapse
reg2inf uses xml2reg. Does it work?
rjmjr69 said:
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Click to expand...
Click to collapse
????????????????????????
sztupy said:
reg2inf uses xml2reg. Does it work?
Click to expand...
Click to collapse
ehm...sorry for my stupid question, but.... HOW TO TRY???
jlp_svk said:
ehm...sorry for my stupid question, but.... HOW TO TRY???
Click to expand...
Click to collapse
Use (for example) total commander to extract _setup.xml from the cab file. then run xml2reg with this xml.
No...it's also freezing.
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
Are you sure your cab is located in the same folder as cab2pkg.exe? Only time I see an error is when I try dragging from outside the folder
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
You don't have to extract _setup.xml from the cab. If the cab contains _setup.xml then it should work fine. I only wrote to extract it separately, because then you can test whether xml2reg is working or not.
yes are in the same folder. i tried and in the same folder and in separate folders.
maybe should i try in command prompt? what command should i type there? i've tried drag & drop cab2pkg.exe space CorePlayer.v1.2.5.Build.4506.Pre.Regged.cab and i have the same result.

[PC-APP] FindDup - find duplicate files in your ROM

Hi,
I want to share small PC tool - FindDup. I have made it several years ago, as I wanted to know how much disk space is wasted by exactly the same files.
The main feature of this program - it compares all the files in given folders binary and it can found duplicates even if the names of files are different.
I use it now to optimize size of my ROM.
For example - you can see there are 298 junk files, total wasted size 1,56 mb in dumped Mega OEM packages.
HOWTO use:
1. Add folder to "Look in" list. You can use drag'n'drop.
2. Select "Search \ Start" from menu, or click "Start" icon on the toolbar.
3. If there are duplicates - you will see them in a list.
Known issues:
1. It looks like it cannot save result to file under XP. I have made it for Windows 2000 and I need to find sources to fix this...
Download link: FindDup
thanks!
just started cooking, will try to find duplicates on my rom!
Be careful. This tool just give you information. You must to know how to use this information.
For example: Ervius Kitchen copies all the files to "temp" folder. It's OK to have duplicates in temp and for example SYS.
But if there are duplicate Manila resources in dump folder, may be you can edit HTCHomeSettings.xml to reuse one file and delete other.
serfer222 said:
Be careful. This tool just give you information. You must to know how to use this information.
For example: Ervius Kitchen copies all the files to "temp" folder. It's OK to have duplicates in temp and for example SYS.
But if there are duplicate Manila resources in dump folder, may be you can edit HTCHomeSettings.xml to reuse one file and delete other.
Click to expand...
Click to collapse
yes,thanks. just want to have a look if there are duplicated files in some packages, not to delete everything your tool will find.
steph

Merging Registry Files...

I am using Visual Kitchen to build my ROMs. There are five types of files that are used to eventually create the registry: *.hv *.rgu *.reg *.provxml *.xml. I'm trying to find a program that takes all these files one by one and create ONE *.rgu file. When adding keys to the One.reg the program should check whether the key exists with different value and ask the user whick value to keep. Is there a program like that? Could someone make one? I am not a programmer myself so i can't do it but i believe that this would be very useful for all cooks.
Provxml files are only added to the registry after Flash/1st Boot not during cooking process.
You could try and catch the default.hv and user.hv from the Kitchen Temp folder, to at least have those files with all the .rgu entries from the kitchen already inside them.
But i haven't seen an application that does exactly what you need it to do.

Categories

Resources