• twitter
  • facebook
  • rules
  • news
 
Page 1 of 5 123

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

  • Retweet Thread
  • Vote for Thread to be Featured on the XDA Portal
Default [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

__________________


hTC Touch Pro 2 (Sprint Version)
HardSPL'd
ROM : MightyMike's WAR - HTC Sense 2.5 [FULL LANDSCAPE SUPPORT] Build 21887
SD Card: 8GB Class 6

My OEM Packages (updated 29/06/2008)
My WM6.1 Dark Edition For Hima ( 05/10/08 )
My WM6.1 Diamond Edition For Hima ( 10/07/08 )

Did i help you?

wow nice tools i m going to make my own kitchen .. great work

__________________
T-mobile MDA - G3
IPL/SPL - 2.25/2.25
GSM - 02.25.11
ROM - Hornet Manila 4.5

Bytetips - Get Ready for it!
-----------------------------------------------
Some Must Have Freeware For Pocket pc

Manila 2D Madness in windows mobile Roms

How to Dump, Extract and Build a Rom for Windows Mobile

It seems the included cabwiz might not work. You might try replacing it with a newer one: http://www.modaco.com/index.php?s=&s...dpost&p=954161

__________________
http://winmo.sztupy.hu

The guy behind the Lua 5.1 decompiler.

The usual "If you like my work give money" link

Phones: Omnia, Galaxy S, Touch Pro
Default v0.2

v0.2 released with support for the InstallDir variable in cab2pkg

http://winmo.sztupy.hu/cabtools.html

__________________
http://winmo.sztupy.hu

The guy behind the Lua 5.1 decompiler.

The usual "If you like my work give money" link

Phones: Omnia, Galaxy S, Touch Pro
Thumbs up This Great, Good & Nice Job!!!

Originally Posted by sztupy  View Post

v0.2 released with support for the InstallDir variable in cab2pkg

http://winmo.sztupy.hu/cabtools.html

thanks to you man!!!

__________________

ROMs:
utak3r - DarkVision V5.17 [23017]
+QuePPC - UNLEASH [23064]


My Space on 4Shared
http://forum.xda-developers.com/image.php?type=sigpic&userid=827587&dateline=12478  39199
Default v0.3

Fixed a registry creation bug in cab2pkg. The packages should work with older BuildOs versions too.

__________________
http://winmo.sztupy.hu

The guy behind the Lua 5.1 decompiler.

The usual "If you like my work give money" link

Phones: Omnia, Galaxy S, Touch Pro

Source code of cabtools and syakr released: http://winmo.sztupy.hu/cabtools.html

__________________
http://winmo.sztupy.hu

The guy behind the Lua 5.1 decompiler.

The usual "If you like my work give money" link

Phones: Omnia, Galaxy S, Touch Pro

Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen


Tags

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Rules
Forum Jump
 
All times are GMT +1. The time now is 03:59 AM.