Lua editing and manila editing:the book of secrets - XPERIA X1 Themes and Apps

Hey people,
Many people were pm'ing me n asking me to write tutorials on how to edit manila files n write lua.
As its a very less known topic im one of the few people who knows how to write it and edit it.
I will try to explain the basics first n then the advanced stuff
WHAT WE DO
---
To be frank
manila editing is complicated.Not cause its hard but cause it need a lot of imagination
UnLike other languages that uses graphics like flash or vb or whatever lua and manila editing DOES NOT give you a visual workspace
You have to image what you write in real time and so it needs a lot of trial /error
THE BASICS
What we need
1>m9editor
the files we want to work on
1>As the basics i would like to explain how the background for all tabs mod was made
1.we have a file called 5c9aa261_manila.
for me this is the most important file that a developer needs
in manila this is a file that controls backgrounds
1>For example it runs on every tab and executes its functions on every tab
It is the shadow of tf3d
So anything that you want in the background in every tab or u want to be seen in every tab u put here
So by common sense the slider and the background are in this file
Now what we do for the bgfor all mod
STEP 1
1>Make a png file size 512 X 512
Manila cant take a image of any size.Therea re fixed sizes.i personally always use the size 512 X 512
So now we have a image named lets say sample.png
STEP 2
copy the file 5c9aa261_manila from the windoes folder and open it in m9editor
doubl click it
NOw the hard part
the structure of a manila file was something that took me loads of thinking to figure out
a basic structure
Group (named whatever)
--FIle in group(top most layer)--this is what is seen right on top
--File in group(second layer)--this is what is seen underneath the upper file
and so on a and so forth
LUA
lua files are action script that are recognised by the tf3d
usually lua files are either of two types
1>binaries(damn its just a name nothing more)
using the search button you can search for "binary"
click on it and you will see code in it underneath
2>files that we ad..they always end in .lua ..so using search search for ".lua" and you will find it
Lua is scanned through by tf3d when u start it the first time
lua is usually at the top of the file
so for example lets write a little lua
Code:
money=function()
rotastrainsdonations=whatpeopledonated
if rotastrainsdonations>200$ then
title.String="rotastrainsrich"
else
title.String="need smore donations"
end
end
slider.onPress:money
this is seen by tf3d
whenever you will press the slider this function will be called
and it will display what the function does!!
So when u move around in the file you will see groups and files in them..
if you understand this much its enough to make whatever the hell u want
ok now getting back to what we want to do
Step 3
Searching for the existing background
images are always .qtc files
So search for ".qtc"
you will come to a file called "backgroundlevel1..blahblahblah.qtc"
now that we found it we need to place the file we want on top of it..so thats its seen in right on top and in every tab
so how to make a file that we want?heres secret no1
1>copy any qtc file thats existing by right clicking its entry ..for example the file now is "backgroundlevel1..blahblahblah.qtc"
right click copy
now right click on the entry again
click paste below
so now we have two entries of the same name
Group
--backgroundlevel1..blahblahblah.qtc
--backgroundlevel1..blahblahblah.qtc
change the top entries name
---change this name to whatever you want--for example firstbg
so now we have two entries
--firstbg.qtc
--backgroundlevel1..blahblahblah.qtc
now click ok
move your mouse over the entry
a small popup will appear
with a name like gftfgrh455_manila
thats the name of your file
Write it down somewhere
Click save
owerwrite
Step 4
now we need a qtc file to put ur image in
just take any _manila file from the windeos foler which is a image file
For example the file that i have used in my panoramic background mod
i will attach that here
paste it in the same place as the 5c9aa261_manila file
open it in m9editor
right click it
save as png
open the png file
paste your image in
save
open m9editor
right click the qtc file
load from png
rename the file to what we got earlier "gftfgrh455_manila"
done
Now paste both these files in ur widows folder
and walla
bgforall tabs in a second
This is a basic thing to do
Next step will be to integrate images with lua..
!!
Cheers
Rotastrain

Thank you very much for that dude!
It will be interesting to see if i can do some things with that... =)

Thanks for this basic guide Rotas, I read it and it's interesting!
I know how to code, I haven't used LUA yet, but I'll learn that.
Before I can do this though, I feel like I need a better understanding of the directory structure in manila files.
Do I understand correctly that a manila file (mode9) is basically a library of LUA functions?
Can you tell us some more about the directory structure and how you find certain things? For instance, what if I'd want to change something in the "All Programs" menu of the start button programs menu - where would I need to look, and how do I look for it?

Ok
First about the manila file structure
the file structure is like this
-------LUA files come here at the top of the file..----
Its usually under -scene
this controls everything that is underneath it
Now after thats over
we add all the graphics
so the lua on top controls all the graphics below..thats the main part.
the lua is executed like this
1>---first file
2>---second file
3>---third file
to find something i first copy all the files from ur windows folder to ur pc..open it in m9editor..the names come on the side..
then use imagination
thats y its hard..caus its too unstructured..
now the 'all programs' is not a page.
it is generated by lua that we cant decompile..
so dnt think changing it is possible..but if we can decompile n read thru the shjitn find a few variables tweaking them in a sepearte lua file is possible

Related

to change programs list in the launcher of htc home

i was searching every where for a way to edit the list programs in the launcher and i finally came up with my own method,,,, may be there are easier ways but then i missed it..
using registry editor( i use resco ) edit the lines in the hklm , software, htc, htc home, launcher
there are folders from 0 to 8 open.. they are listed according to the icons on the screen.. open them and create a new string value with name "path" and
string ,the program u want to use
eg: for one mobile note i used
Name--- path
string--- \windows\onenotemobile.exe
the string value depends where you have installed the program....
You can use gs finder to copy the path and then paste it in the sting box....
Problems
i found that i was unable launch programs installed in the storage card.( may be some error that i made) , so i made them appear in the start menu and then took the link from there and pasted it in the string value box....
eg: the link for a program that i use in my clinic daily , thomson clinical drug index, i use the link, \windows\start menu\thomson.lnk
Hope all this made some sense... if some one has found some cab or easier way to do this, please post it here....
Sorry for all the confusion and the mistakes that i made ( busy to edit them )
Hi
Maybe I misunderstand your question, but If you want to edit the program list, you must only select the last icon in the second row.
Now you can delete the app of your choice. Now, when the place is empty, you can press the placeholder and select the program you want from the appearing list.
That's all.
ROFL, dude, you took developing/programming to whole new level!
i am embarrassed. sorry

The First Wm6.1 Kitchen for Excalibur

THIS IS MY WM6.1 ROM KITCHEN
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{STEP 1}
EXTRACT ExcaliburKitchen.ZIP TO C:\
{STEP 2}
DOWNLOAD MY ROM FROM HERE:- http://forum.xda-developers.com/showthread.php?t=387355
IF YOU DONT WHAT TO DOWNLOAD MY ROM THEN DOWNLOAD KAVANAS FROM HERE:- http://forum.xda-developers.com/showthread.php?t=374890
{STEP 3}
EXTRACT THE ROM FROM THE .ZIP OR .EXE
{STEP 4}
PUT RUU_signed.nbh IN TO C:\ExcaliburKitchen\SOURCE
{STEP 5}
NOW CLICK ON (1) DumpOS.bat
{STEP 6}
NOW GOTO WORK FOLDER AND YOU'LL SEE A FOLDER CALLED DUMP GO INTO IT
{STEP 7}
NOW IN THIS FOLDER YOU CAN ADD WHAT YOU WHAT AND YOU CAN TAKE THINGS OUT OF THE ROM
{STEP 8}
IN THE DUMP FOLDER YOU'LL FIND A FILE CALLED InitCmd.ccs IN THIS FILE IS WERE YOU PUT THE START MENU LINK AND THE REGISTRY SETTING FOR YOUR SOFTWARE
IF YOU OPEN IT WITH NOTEPAD IT WILL LOOK LIKE THIS FOR THE LINKS:-
------------------------------------------------------------------
LINK %M\Messaging.lnk,:MSINBOX,,:mailapp
LINK %M\Settings.lnk,:MSSettings,,:settings
LINK %M\Contacts.lnk,:MSCONTACTS,,:contactsapp
LINK %M\Calendar.lnk,:MSCALENDAR,,:calendarapp
LINK %M\Internet Explorer.lnk,:MSPIE,,eapp
LINK %M\Windows Media.lnk,wmplayer.exe,,:mediaplayerapp
LINK %M\Pictures & Videos.lnk,:MSPIMG,,imgapp
LINK %M\File Explorer.lnk,:MSFEXPLORE,,:fexplore
LINK %M\Speed Dial.lnk,:MSScut,,:scutapp
LINK %M\Call History.lnk,:MSClog,,:clogapp
LINK %M\Voice Notes.lnk,:MSTVNOTES,,:notesapp
LINK %M\Tasks.lnk,:MSTASKS,,:tasksapp
LINK %M\ActiveSync.lnk,:MSSYNCAPP,,:syncapp
LINK %M\Camera.lnk,Camera.exe,/i,:cameraapp
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
TO ADD YOUR LINK TO YOUR START MENU ADD YOUR LINK TO THE BOTTOM OF THE LINKS EG:-
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
LINK %M\XXXX XXX.lnk,XXXXXX.EXE
AND FOR THE REGISTRY IT WILL LOOK LIKE THIS:-
-----------------------------------------------
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Ime File"="et9ime.dll"
"Layout Text"="eT9 IME"
"Keyboard Layout"="00000409"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"AvailableLanguages"="0109,0105,0113,011B,011F,0108,0115,0116,0118,010E"
"DefaultLanguage"=dword:00000109
"InstallFolder"="\\Windows"
"ShowExactKeyStrokeThreshold"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME]
TO ADD YOUR SOFTWARE REGISTRY ADD IT TO THE REGISTRY PART AT THE BOTTOM EG:-
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\Launch]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="CHomeGeneric_Settings_PluginIcon.png"
"PICTURES"="\\windows\\CHome_settings_launch.png"
"SK2URL"=":MSSettings;home_setup.cpl.xml"
"TITLETEXT"="Settings"
"TEXT1"="CHome Settings"
"TEXT2"=""
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\XXXXX]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="XXXXXXXXXXXXXXX"
"PICTURES"="\\windows\\XXXXXXXXXX"
"SK2URL"=":MSSettings;XXXXXXXXX"
"TITLETEXT"="XXXXXXXX"
"TEXT1"="XXXXXXXXXXX"
"TEXT2"="XXXXX"
THEN SAVE IT
{STEP 9}
CLICK ON BUILDOS.DAT WAIT TO ITS FINSHED THEN IT WILL OPEN htcrt WHICH CONVERTS THE NB TO NBH
1 CLICK BUILD
2 CLICK DEVICE
3 PICK Excalibur
4 CLICK OS THEN FIND 02_OS.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
5 CLICK SPLASH FIND 00_MainSplash.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
6 CLICK ON RADIO THEN FIND 01_GSM.nb C:\ExcaliburKitchen\Work AND CLICK ON IT
7 ENTER ANY VERSION NUMBER YOU LIKE THEN CLICK BUILD A WINDOW WILL OPEN GO TO C:\ExcaliburKitchen\FLASH ROM\ AND SAVE AS RUU_signed.nbh
THEN FLASH YOUR PHONE WITH YOUR NEW ROM
REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE
By RickWyatt @ xda developers
heres the link :- http://rapidshare.com/files/119437757/ExcaliburKitchen.zip
What if there is no InitCmd.ccs file? Trying to use TMO WM6 ROM. This is the same problem I had trying to use the other kitchens (I thought it was me).
Boo Boo looks almost like a clean ROM:
Tried anyways only removing the handango in hand links (two files) from the rom and built RUU_signed.nbh with os only. Flashed fine with no issues, but most T-Mobile specific apps/settings did not load and do not show in the startmenu. TMO homescreens, ringtones, favorites, etc did not get placed/installed correctly. MyFaves (HTC App) seems to have installed correctly although it tries to load TMO homescreen which is now in the Windows directory, TMO Internet Settings loaded, but the startmenu is laid out differently. Most TMO Customizations just got installed in Windows directory where they will not install (homescreens, ringtones, etc. don't work under Windows directory). The files are there, but the phone runs as if they are missing (almost like running the Brightpoint ROM). The only TMO customizations Visible are the Startup and Shutdown screens, and winwap. Somehow the TMO customizations did not get loaded, but everything seems to work fine.
Recommend the following changes to make the kitchen more universal.
added command to DumpOS.bat
ren *os.nb os.nb
changed filename in BuildOS.bat to os.nb
Just an idea since not all ROM's have the same XX_os.nb filename.
ROM Cooking Hints?
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
EarthQ said:
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
Click to expand...
Click to collapse
if you add stuff to the rom it will slow down the rom but not to much & if you take things out of the rom it will get faster
and if you add to much software then the kitchen will crash
How do you remove programs? What all do you need to delete to safely remove it from your phone?
Did my first attempt at cooking. IT was successful, and I am using it know, but some changes, such as files I added to the InitCmd.tgz worked, and were extracted fine. Other tweaks, such as changing a CPanel's contents and adding media to the windows folder did not work, and came out as if I hadn't changed anything at all.
Do I need to make Cpanel changes in two places (Initcmd and somewhere else?) Is there another step to making files "stick"?
you also have to edit user.hv and default.hv
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Thank you!
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Profezza said:
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Click to expand...
Click to collapse
you have to unhide system files what you have to do is move user.hv and default.hv to to edit user.hv&default.hv folder press disassemble.dat it the make to more files called HKCU.reg and HKLM.reg now download emediter freeware and save HKCU.reg and HKLM.reg UTF-16LE Now move HKCU.reg to notepad2.exe edit it then press save do the same for HKLM.reg then what you do is make a dump folder then press Reassemble.dat if there is no errors in the hv files then you will find user.hv and default.hv in the dump folder that you just made if the is an error it command prompt will tell you were the error is once dont move the hv files back to you dump folder
I think I got all that! Thanks a bunch.
Rickwyatt,
When I run Disassemble.bat it tells me it can't find the default.hv and user.hv file and then it tells me that there is no regedit4.txt file in the Resources directory.
I checked the locations of the files, and there isn't a regedit4.txt file but the default.hv and user.hv files are right where they are supposed to be. Any ideas?
[edit]
Nevermind... unchecked the "hidden" box on the two files... it still doesn't find the regedit4.txt that it's claiming is missing
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Rickwyatt,
The Disassemble.bat file keeps crashing. It tells me that regedit4.txt not found in the Resources directory. It creates a hkcu.txt and an hklm.txt file though.
open hkcu.txt hklm.txt then add REGEDIT4 to the top line then save rename hkcu.txt hklm.txt to hkcu.reg hklm.reg
New HTCRT.exe version 1.1.4
windows media player playing not smooth.
One bug in my own rom (base on your kitchen): Windows media player playing not smooth. How can i fix it, what reg can i edit?
travis.garrison said:
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Click to expand...
Click to collapse
Looking to dump a lot of the same things. If I remove them from the "dump" folder, is that the end of it or do registry settings need to be removed as well. First time doing something like this, thanks for the help and patience.
Instead of going through this tedious process.. why not start with a very light version of the ROM and just add what you need ?

[APP] Michy's Installer - complete wceload repleacement!

- Michy's Installer -
​Have you ever got an "Installation Unsuccesfull" message? Or a "Uninstall failed" message? Or worst thing an "Missing privileges" while installing a cab?
Now this messages are gone. With my installer, which is a complete Wceload and uninstaller replacement, any installation will complete without any problem
Main features:
Full repleacement for winceload
Select if you want or not to run setup dlls
Avoid failing for missing privileges
Get the space that an'installed app consumes after installing too
Search within your device the cabs you have and select what you want to install
Analyze FB_Install folders
Batch cabs installation
Installation processes can be aborted any time
If you are overwriting exes, they will be automatically terminated before installing
Advanced cab analyzer (view files contained, shortcut, regs, extract them......etc)
- MichyPrima_UC - ​
This system will let you to install:
.reg
.cab
.rgu
.xml
.provxml
.exe
Putting them in your SD/Microdrive/Diamond internal storage in the folder FB_Install. And them will be installed at first boot.
Information about files you can install:
- Files .cab -​
For a base installation of cabs you can put them in the folder FB_Install. Setup DLL will not be executed to avoid setup freezes. Anyway, there are ways to customize how your cab will be installed:
Installation to SD
Installation to MD
Activating Setup DLL
Possibility to use wceload to install (not advised)
For using them:
If your cab is mycab.cab and you want to install it to sd, simply create a file called mycab.tosd. if you want to install to MD, the name will be mycab.tomd, if you want to enable setup dll, the name will be mycab.enabledll. If you want to install using wceload... use .old extension.
- Files .reg, .rgu, .provxml e .xml -​Simply put them to FB_Install directory
- Files EXE - ​For a simple execution put them in FB_Install folder. If you need command line arguments, simply put them in a file called as your exe, but with .arguments extension.
- All files - ​All files can be skipped using .skip extension. eg if your file is mycab.cab , create a file with mycab.skip and it will not considered
- Other special functions: -​
File/folder structure restore
Creating the structure on SD it will be reversed into storage. We have more than only one folder where we can put our files (in FB_Install):
CopyInWindowsFolder (\windows)
CopyInProgramsFolder (\windows\start menu\programs)
CopyInProgramFilesFolder (\program files)
CopyInFavoritesFolder (\windows\favorites)
CopyInFontsFolder (\windows\fonts)
CopyInStartupFolder (\windows\startup)
CopyInRootFolder (\)
So, for copy/overwrite files in windows folder, only thing you need is to create a folder in FB_Install with name CopyInWindowsFolder. This is a recursive copy, so all subfolders will be copied.
Shortcut restoring
You can specificate the shortcut to create in shortcuts.txt file and put it in FB_Install folder. Each line will be a shortcut to create. The first part of the line contains where the shortcut will be, 2nd where the shortcut will point. The two parts are separated by ":".
We have ids there to:
%SD% (\storage card)
%PROGRAMS_STARTMENU% (\windows\start menu\programs)
%PROGRAM_FILES% (\program files)
%STARTUP% (\windows\startup)
%MYDOCUMENTS% (\my documents)
Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
This line will create a "Test.lnk" in programs which points to \storage card\myprogram.exe.
Possibility to avoid final reset (not advised)
Just create a file with name NoResetAtEnd without extension in FB_Install folder.
Possibility to temporarily skip customization
Just create a file with name SkipCustomization without extension in FB_Install folder.
Do you want to process config lines to runcc?
Create a file with name AddToConfig.txt and there put your config lines.
Possibility to delete files or folder
Create a file with name Delete.txt. Each line is something to delete. You can use IDs as shortcuts
All I have to say is
Wow, sounds extremely "will have it now"!
Cool
Michy,
This shold be a nice addition to the tool box.
cheers
BR
Attempt of graceful recovery from dbl post
Cool
Michy,
Very nice work. I can't wait to see this released.
Cheers
BR
Michy, you are great!!
Wow, this must have been a LOT of work. Tnx a lot for your efforts!!
Sounds great!
Sounds very useful for those of us that change roms often.
Good work.
PS
My personal holy grail would be an APP that records changes as apps are installed to a point where I am happy then be able to gather all of the changes and build an install routine! Am I dreaming?
Wow sounds awesome and a gui, can't wait & thankyou
SIMPLY AMAZING!!!! cant wait...this should save me tons of time, and unlike other appz this seems easy 2 use and great!!!....thanks for ALL the hard work! ..waiting patiently
ehi my friends! good job, I'm sure that this program is excellent as the other your developments!
Put it online
This sounds amazing!!!
Italians do it very well!!!
Translators needed!!!
Please if anyone interested translating my application, this is the english file to translate and post back:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Language>
<FormMain>
<ListviewColumn1>File</ListviewColumn1>
<ListviewColumn2>Dest</ListviewColumn2>
<ListviewColumn3>Instl.Size</ListviewColumn3>
<ReadyMsg>Ready.</ReadyMsg>
<AbortSoftKey>Abort</AbortSoftKey>
<InstallingMsg>Installing </InstallingMsg>
<AddItemBtn>Add item</AddItemBtn>
<RemoveItemBtn>Remove item</RemoveItemBtn>
<InstallSoftKey>Install</InstallSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Exit</MenuItem1>
<MenuItem2>About</MenuItem2>
<MenuItem3>Clear list</MenuItem3>
<MenuItem4>Enable setup dll</MenuItem4>
<MenuItem5>Get cabs from storages</MenuItem5>
<MenuItem6>Load FB_Install folders</MenuItem6>
<MenuItem7>Uninstaller</MenuItem7>
<MenuItem8>Cab Info</MenuItem8>
<Msg1>Not enough space for this cab: </Msg1>
</FormMain>
<SearchCabsForm>
<Title>SearchCabs</Title>
<ListViewColumn1>File</ListViewColumn1>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Refresh</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SearchCabsForm>
<SelectCabDialog>
<Title>Select cabs</Title>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Up</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SelectCabDialog>
<SelectDestinationDialog>
<Title>SelectDestinationDialog</Title>
<OkSoftKey>Ok</OkSoftKey>
<CancelSoftKey>Cancel</CancelSoftKey>
</SelectDestinationDialog>
<Uninstaller>
<Title>Uninstaller</Title>
<ListviewColumn1>App</ListviewColumn1>
<ListviewColumn2>Mem.Usg.</ListviewColumn2>
<UninstallSoftKey>Uninstall</UninstallSoftKey>
<RefreshSoftKey>Refresh</RefreshSoftKey>
</Uninstaller>
</Language>
the filename should be Installer_CID.xml where cid is your cid. eg for italian: 410, english 409.
Edit: of course the italian one is already made by me
Thst is a great tool, anxiously waiting for release! Thank you sooo much!
Looks like a great tool ,and tools like this make other phones look primitive
Russian?
I might do a Russian translation. as soon as I have the time. in any case, I wanted to subscribe, so I made a post.
Looking forward to the release. when is it?
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Wow, nice release!! simple but powerful =)
benoahriz said:
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Click to expand...
Click to collapse
Should work fine on CDMA devices. A CAB's a CAB, CDMA or GSM
Dave

[APP][v2009-09-23] ai Cab Explorer utility: new way to explore cab files on your disk

***CHANGE LOG START
2009-09-23
- New:file preview (please note that cou can even preview manila encoded images inside cab file, since they are converter internaly!)
- in preview you can choose to extract manila file or PNG image.
- bug fixes, cosmetic changes... new bugs ...
- you probably realized that I publish versions I got at the moment - raw, not too much tested, relative big changes from day to day, version is detected by the pub date... so expect new staf soon...
- !!! IMPORTANT !!! Please download cfc.exe and put it at c:\windows\ "c:\windows\cfc.exe" !!! Download last version from http://forum.xda-developers.com/showpost.php?p=2798441&postcount=1 !!!
(without cfc.exe app won't be able to decode mailla images)
2009-09-22
**IF YOU HEVE BEEN HERE PLEASE READ THE WHOLE POST SINCE IT IS ALL UPDATED!!!
- "Cab Album" support:
A Cab Album is collected information about many Cab files in one place.
Application will here "create" a new Cab Album by scaning folder. (It is possible to include subfolders in search path.)
Since creating a "Cab album" could be time consuming (depends on how many files it has to scan),
collected information - an "Album" can be saved (in xml structured file).
So next time, you can just use the same information by "loading" a saved album from disk (without scaning again).
Creating album is the process that will
a) detact all *.cab files in scaning folder (and subfolders)
b) for each found cab, program will try to locate "_setup.xml" within .cab file and extract information about real / target file names and paths
c) all information will be collected to memory
After that you will be able to
a) browse an album by cab files (from the tree)
b) browse an album by target file names (also from the tree where these files are grouped an counted)
c) search / filter the album by target file names
Also you can
a) click on "save" icon to save the album.
b) double click on cab file (lef side - tree) to open separate window tith that cab info
c) double click on file on the right side to extract it on disk
2009-09-21
- new version suports drag & drop files (from windows explorer)
- small cosmetic changes
2009-09-19
- first published version
***CHANGE LOG END
DID you ever try to find some fine resource (manila file, bmp for phone skin ... or whatever), which you know you have seen somewhere. And you are sure you got it somewhere on your hard or stick or ....
DID you ever wanted to create a new skin based on a few existing skins in some cab files.
DID you ever ask yourself - what will that XY.cab install on my device? Will it remove parst of my customization that I don't want to be changed?
In case you didn't this app is probably NOT for you.
But if you DID then you probably know that
a) most cab extractors will NOT extract files with the correct filenames on your hard disk.
Instead of some "5acc5861_manila" that will be installed on your device, what you get on your pc is some file named "0CABA635.001".
The real target file name "5acc5861_manila" is actually set in _setup,xml which is part of cab file for mobile device.
b) it is hard to find all "5acc5861_manila" resources on your hard disk without decompression of all cab files, and fixing a problem described before - see a
What do you think about a new point of view - an "Album" view.
Album view will help you to "scan" your hard disk folders, searching for cab files, extacting information from them (without extracting cab files on disk), and collecting all important information in one Album list.
That's not all.
Since "scanning" or building an album could be time consuming, you can "save" the album (xml file structure) so next time you just open existing album and you got all information very quick.
You can search albums - for example "Assets*.bmp" will find all files located in album containing dialer skins.
With another few clicks you can extract found files on disk and use you favourite tools to view or edit them.
Prease note tha this application is extended version of
"[APP][v2009-09-17] Cab utility - RENAME cab content/files to normal target names" located at http://forum.xda-developers.com/showthread.php?t=561533
Requirements: .NET framework 3.5 on your PC
BTW: If someone know some good .NET library for converting / previewing or updating _manila files please do let me know.
Also if someone would like to use some of functionality of this app in other projects ... I will be glad if I can help providing details about my libraries.
I hope you'll like it...
Weeeeeeeeeeell
Awesome thank you!
UPDATE
Missing drag & drop support was anoying, so I add it to v2009-09-21.
You can find / download new version in fist post
cablib error
I get an error when opening a cab-file:
FileLoadExeption
Could not load file or assembly 'Cablib, version 10.3.0.0 ... or one of its dependencies. This application has failed to star because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT:0x800736B1)
cc62 said:
I get an error when opening a cab-file:
FileLoadExeption
Could not load file or assembly 'Cablib, version 10.3.0.0 ... or one of its dependencies. This application has failed to star because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT:0x800736B1)
Click to expand...
Click to collapse
Yes in some systems you can get this error. On my laptop I have no problems but on my home PC I had exat the same error.
What I did to solve this problem is to replace version of CabLib, and also I put 2 dlls in the same folder where is application.
You can find CabLibFix in additional attachment in first post. Just put those files in the same directory (replace existing CabLib + additional 2 new files).
Please do let me know if that helps
Could not load file or assembly 'Cablib
Please note that v2009-09-22 should fix problems with error "Could not load file or assembly 'Cablib.." on some systems.
"FIx files" are included in that version, so I removed "fix..." archive.
However if you still have problems please do let me know,
thanks
v2009-09-22
v2009-09-22 works like a charm.
Thank you again
v2009-09-23 now has image / text preview + info about manila type of file (xml, SQLite, Lua_Script, Mode_9 ...)
Also you preview manila IMAGE files (decoded using cfc.exe to png)
The only inconvinience is that I manage to hardcode path to cfc.exe ( "c:\windows\cfc.exe").
Sory!
Error on win64 with an 'any CPU' build
Hi
We are using your CabLib.dll v2009-09-23 to load cab files inside our c# application. It works really well, except for one case.
When we build the application for target 'any cpu' and then install on a windows xp64 machine, we get an error message:
System.BadImageFormatException: Could not load file or assembly 'CabLib, Version=10.3.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'CabLib, Version=10.3.0.0, Culture=neutral, PublicKeyToken=5c838b77b53f84a0'
Everything works fine when we change the target to 'x86', but that then causes problems with our test suite. The 'Any CPU' build only fails in x64 machines.
I was wondering how you build your DLL and if you have any ideas to help us fix this problem.
Here's my config:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
The build and test is on an xp64 SP2 machine.
-- update --
I've also found that aiCabExplorer.exe has the same problem on my win64 machine. I see you are including the 32 bit C run time DLL's which you provide in the release - that appears to be the problem, as the OS is trying to dynamically link against the 64 bit version of MSCOREE.DLL, KERNEL32.DLL, OLE32.DLL and OLEAUT32.DLL and doesn't like mixing them up.
So the solution, I think, is for you to build without explicit dependencies on the 32 bit libraries. Is there any chance of getting a version like that?
Thanks,
Mark
Hi,
I use this app all the time.
Super duper.
Thank you very much.
Keith
Seems great Gonna try it

[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

Categories

Resources