PDA

View Full Version : [APP][11.11.09] CFC GUI - THE Manila/TF3D Image Editor


Chainfire
13th January 2009, 09:45 PM
Update November 11, 2009
CFC and CFC GUI have been updated to 0.60 and 0.60.35 respectively. CFC runtime files have been updated.

Changes:
- Support for new filenames (and categories) used in TF3D v2.5+
- Support for new file formats (read only, "replace" write is always in old format) used in TF3D v2.5+
- Support for new compressed formats that correspond to the new formats mentioned above
- If you are using this with 2.5, please do read the 2.5 specific notes!
- At this time I STRONLY recommend patching Manila files manually instead of using the auto-patching! See the tech thread referenced below.

Update June 5, 2009
CFC and CFC GUI have been updated to 0.55 and 0.55.25 respectively. The CFC runtime files have not been updated.
Changes:

- Better compression ratio (backwards compatible with old runtime)
- UltraHQ en/de-coding support (CFC)
- "Patch Manila on device" function has been improved to work-around the issue of Manila no longer starting that some people have (CFC-GUI)

Update April 20, 2009
CFC GUI v0.50 has been released! LOTS of new features! Also updated CFC runtime (for on the device) to 0.50.

Deployment of CFC 0.50 is needed for UltraHQ background images. "Use Device->Patch Manila on device" to deploy new version to device. Note that CFC Live Patch has been discontinued in favor of this function.

Also, a patch to xboxmod's TF3Dv2-VGA is needed. Can be deployed to device with "TF3Dv2->Deploy xboxmod TF3Dv2-VGA background fix" option. The file in question is also attached to this post ( 2a3d01cc_manila ).

For chefs: see the tech reference thread for updated runtime files or use the "Tools->Patch Manila" function.

Update Feb 26, 2009
CFC and CFC GUI have been updated to 0.46.15. Fixed an issue with PNGs without alpha channel.

Update Jan 15, 2009
CFC Live Patch 0.45.01 has been released. You can run this tool on your phone to make your current Manila installation compatible with CFC compression.

See this post (http://forum.xda-developers.com/showpost.php?p=2798454&postcount=6).

---

Really short
CFC GUI is a Manila3D image tool, somewhat like Manila Editor, but better on some fronts.

Related threads
Technical / reference thread (http://forum.xda-developers.com/showthread.php?t=437777)
CFC command line version, full history / progress, complete technical documentation of all relevant file formats and how to en/decode them.

DONATE!
I do not need your donations to be able to buy my smokes, beers, pizza's, kebabs or phones - though they certainly help! However, nothing shows appreciation like a donation, and encourages people to continue developing and implementing feature requests. If you are a themer actively taking donations for your work, a donation would even be fair, instead of just nice.

Do not underestimate just how much time and research goes into many of the things posted on XDA. Donate something to someone (not necessarily me) or even XDA itself, don't be a cheapskate. (Yes I donate time, effort and funds myself to various projects, more than I get back!)

Things you should know
- RTFM. It will be a few posts down from here. Failure to RTFM will give you 7 years bad luck.
- The tool is called CFC and supports CFC compression, but you can also "not do" that. It's optional. Do note that not all ROMs and TF3D packages support CFC compression (yet).
- CFC GUI uses version notation of Z.XX.YY, where XX is the CFC-core version shared with the command line CFC program, and YY is the version of the GUI.

History
CFC is the tool I originally built to assist me with some things when I ported TF3D to QVGA. At first, I was severely annoyed with the size of TF3D, which lead me to implement extra lossless compression (as it turns out, Manila images compress very well). You will not be surprised to learn that CFC stands for "Chainfire's Compression" :) Unexpectedly, but not completely surprisingly, the compression actually made TF3D faster.

I was however not content with this, and thus wanted to scale images down to QVGA size. Not content with Manila Editor's image quality, I figured out how to do this with much better quality using an ATI tool: The Compressonator. This however required a lot of mucking with different texture formats and the conversions between those, which are all things that could be done with the CFC tool. A lot of things were figured out, and the complete reference can be found in the technical/reference counterpart of this thread (http://forum.xda-developers.com/showthread.php?t=437777).

Now, 3 months after all that, myself and D-MAN666 (one of the people originally behind Manila Editor) have finally figured out the complete QTC format, and I decided to create my own encoder/decoder. Both encoding and decoding quality easily beats Manila Editor, and rivals The Compressonator (but a lot less hassle!).

(< 0.60 : 12497 downloads)

Chainfire
13th January 2009, 09:45 PM
- Last updated for CFC GUI version 0.60.35 on 11.11.2009 -

Window features
The interface is rather simple, so I will not waste too may words on it.

On the left you have a list of the files in the directory you selected, including the resolution and four possible flags: Alpha channel, Padded, Compressed (CFC), RGBA-CFC and BPP (number).

On the top-right you have some boxes in various colors, which allow you to change the image background color, a checkbox that allows you to switch between actual size and 'fit-to-screen', and last but not least, the actual image.

Bottom-right you have some information about the image, and a few buttons. These buttons are also represented under the File menu and should speak for themselves for the most part.

The menu
Items in the File menu (or on the buttons) apply either to the program or the currently selected file.

Items in the Tools menu apply either to all listed files or a Manila package.

Items in the Device menu relate to doing things with Manila on your device.

Items in the TF3Dv2 menu are related only to the new Manila versions from Topaz and newer devices (though available on many older devices now too).

Must-know background info - Headers
If you come from Manila Editor, you might wonder why you never have to select any header info in CFC GUI. This is because the complete QTC image format is now known. The correct headers will be set automatically.

Must-know background info - Alpha channel
There are two different Manila image (QTC) formats, one that has an alpha channel and one that doesn't. Most images have an alpha channel, and those that don't are exactly those images Manila Editor chokes on.

Must-know background info - Padding
Original HTC Manila image files are all padded to make sure they are a multiple of 512 bytes in size. This is because read access is faster if the files are cooked in this way (it makes no difference if not cooked in).

Must-know background info - Compression
CFC GUI allows to use/compress/decompress CFC format compressed image files. These are smaller and usually faster than non-compressed files, however, they are not supported on all ROMs and TF3D packages (yet).

Must-know background info - RGBA
The new CFC 0.50 supports RGBA compressed images. This is very much comparable to PNG, but a different file-format to get Manila to read it and optimize loading the data into the graphics chip. You cannot convert between these and QTC using the "CFC Compress" options. This is by design! Currently the only function making use of this format is the TF3Dv2 background creator, but technically you could use it to create lossless PNG-style images for all Manila content.

Must-know background info - background images
These are generated in a special way to fix up various bugs in Manila background placement. You should not run any other background fixes aside from the xboxmod fix included - and that only if you are using TF3Dv2 on VGA!

Function: Replace with ...
Replace currently selected file with a PNG of your choice.

Function: Save as ...
Save currently selected file to a PNG of your choice.

Function: Pad
Make sure the selected file (or all files) are padded.

Function: Trim
Make sure the selectd file (or all files) are NOT padded.

Function: CFC Compress
Compress the selected file (or all files) to CFC format.

Function: CFC Decompress
Decompress the selected file (or all files) to normal QTC format.

Function: From device
Replaces the current image with the image with the same name from your device.

Function: To device
Saves the image to your device and restarts Manila if needed.

Function: Revert to ROM
Deletes the image from device and restarts Manila if needed - so the image from the ROM will be used. Do not use this function if you installed Manila via a CAB.

Function: Export
Exports all images to PNG format in the folder you select

Function: Fix file attributes
Makes sure all images have the Hidden/System/Archive attributes

Function: Finish up
Asks you a few questions and makes sure all images are optimized and ready. See "When you're done editing ..." below.

Function: Scale VGA -> QVGA
For people working on the QVGA ports. Scales down all images (that are not too small) by half.

Function: Patch Manila
Patches Manila to be able to use CFC compressed images. Also pads the files, sets attributes, and adds required DLLs to the folder. This option is mainly here for cooks. For users who want to make their current Manila on their phone CFC compression compatible, use the CFC Live Patch tool. For both options, see this post (http://forum.xda-developers.com/showpost.php?p=2798454&postcount=6) in the technical / reference thread. Do not use this function without having read that post! Only for VGA and WVGA Manila's, do NOT use it for QVGA Manila!

I STRONGLY ADVISE YOU TO PATCH MANILA MANUALLY AT THIS TIME. SEE THE TECH THREAD FOR HOW

Function: Device->Manila
Start, stop, or restart Manila on your device.

Function: Device->Import from device
Copies all Manila images on your device to the current working folder.

Function: Device->Export to device
Finds all changes compared to the Manila on your device, and sends these changes to your device. Will restart Manila if needed. (Files are not just copied because you would have two copies of unchanged files - one on internal storage and one in ROM!)

Function: Device->Revert to ROM
Reverts all images files on your device to ROM. Do not use with a CAB-installed Manila version! See Revert to ROM function above for more details.

Function: Device->List changes
Finds all changes compared to the Manila on your device.

Function: Device->Export changes as QTC/CFC
Finds all changes compared to the Manila on your device and saves them to a folder of your choice in the actual format used.

Function: Device->Export changes as PNG
Finds all changes compared to the Manila on your device and saves them to a folder of your choice, converted to PNGs.

Function: Device->Patch Manila on device
Deploys the included version of CFC to your device. Will restart Manila if needed.

I STRONGLY ADVISE YOU TO PATCH MANILA MANUALLY AT THIS TIME. SEE THE TECH THREAD FOR HOW

Function: TF3Dv2->Create background
Creates high quality backgrounds for TF3Dv2. Supported are both WVGA and VGA versions of TF3Dv2, and can create portrait as well as landscape files.

Function: TF3Dv2->Deploy xboxmod TF3Dv2-VGA background fix
Deploys fixed LUA for backgrounds on xboxmod's TF3Dv2-VGA. The patch was given to xboxmod before V1D release but he included the wrong version of the patch by accident.

Function: View->By file name / By Manila name
Switches file list view between file name and internal Manila name.

When you're done editing and going to use the images ...
For best performance and usage, you should always make sure when you're done that the files are all either compressed or uncompressed, padded or trimmed, and have the correct file attributes. You can do this manually through the buttons or the menu, but the "Finish up" function (Ctrl+F) does all this for you.

A note on PNG images
It seems not all PNG images are supported equally. If you are using Photoshop, it is known that "Save for web" option may create PNG files CFC GUI cannot read. Please use normal "Save as ..." to PNG!

How to make Manila compatible with CFC compression
The "Tools -> Patch Manila" option exists to patch a complete Manila package. If you want to patch the Manila currently on your device, use "Device -> Patch Manila on device".

Information about both can be found in this post (http://forum.xda-developers.com/showpost.php?p=2798454&postcount=6) in the technical / reference thread.

Manila/TF3D v2.5+ specific notes
- Due to how it is cooked into ROMs, you MUST patch manually at this time, or chances are everything will go wrong. You may need to dump the entire ROM for this.
- The new image formats can now be CFC compressed, but you do need the new 0.60 runtime files.
- The OEM packages spread the *_manila files over multiple folders. You will need to open and compress each folder seperately, CFC GUI does not support scanning sub-dirs at the moment.
- While CFC GUI can read and export to PNG all known (and new) formats, if you replace an image it will currently always be converted to ATI_RGB or ATI_RGB_EXPLICIT_ALPHA (auto-detected) formats. The new formats are not currently supported as target, only as source, so to speak.

Chainfire
13th January 2009, 09:46 PM
0.60.35, 11.11.2009

Support for new filenames (and categories) used in TF3D v2.5+
Support for new file formats (read only, "replace" write is always in old format) used in TF3D v2.5+
Support for new compressed formats that correspond to the new formats mentioned above
If you are using this with 2.5, please do read the 2.5 specific notes!
At this time I STRONLY recommend patching Manila files manually instead of using the auto-patching! See the tech thread referenced below.


0.55.25, 05.06.2009

Improved compression ratio (backwards compatible)
UltraHQ en/de-coding support in command line tool (see tech thread)
"Patch Manila on device" function has been fixed to prevent the non-starting Manila issue


0.50.22, 20.04.2009

TF3Dv2->Deploy xboxmod TF3Dv2-VGA background fix
Background images now support full RGBA mode (takes up lots of space!)
Redone list refresh - only the changes files are reloaded now when doing a simple operation - much faster
File list now allows multiple files to be selected to perform "File" and button-press actions on
Files can now be dragged from the file list to explorer to export as QTC
"Device drop box" added. You can drag files from the file list or from explorer to copy them to the device and restart Manila
TF3Dv2->Create background added
Manila is now only restarted if it was running before a device action was performed
Added display by original Manila filename (instead of hashes)
Added File->From device, reloads the current image from device
Added File->To device, exports the current image to device (restarts Manila)
Added File->Revert to ROM, reverts the current image to the ROM image on the device (only) (restarts Manila)
Added Tools->Import from PNGs, to import a folder full of PNGs
Added Device->Import from Device, imports all images from your Manila install on your device
Added Device->Export to Device, exports the images that are different than on your device to the device (restarts Manila)
Added Device->Revert to ROM, reverts all images on the device (only) to the ROM images (restarts Manila)
Added Device->List changes, compares your local set to the device set and lists changes
Added Device->Export changes to QTCs, copies the changes as ^^^ to a folder
Added Device->Export changes to PNGs, copies the changes converted to PNG as ^^^ to a folder
Added movable splitter between file list and image panel
Made file list auto-sizing


0.46.15, 26.02.2009

Fixed decoding issue with PNGs without alpha channel in CFC core


0.45.15, 14.01.2009

Added some more file attribute handling code
Added some file backup/restore in case of failure code
Adjusted screen layout to cope with different DPI settings
Added progress screen for directory scanning on first load
Added progress screen for encoding PNG -> QTC (Replace with ...)
Added "Tools -> Finish up" feature (see manual)
Added "Tools -> Export" feature (see manual)
Added "Tools -> Fix file attributes" feature (see manual)
Form caption now displays current working directory
You can now provide the directory you want to load as a commandline option
Settings are saved to and loaded from the registry, so it remember the current working directory and such.

Chainfire
13th January 2009, 09:47 PM
-- All mine! --

Chainfire
13th January 2009, 09:47 PM
-- Last one --

CraZyLiLbOy
13th January 2009, 11:09 PM
Thanks for this tool bro I really it :)
I appreciate it

Sergio PC
13th January 2009, 11:51 PM
Woooow very nice, (editing manila as I type)
Guess its time to change my good ol Manila editor:p

Thank you very much I appreciate.

Greets.

tnyynt
14th January 2009, 06:46 AM
S t u c k !

Phat7
14th January 2009, 07:26 AM
Thanks for the great application chainfire! Sorry to be the first with the questions, but I try to replace a png in a manila file, but the manila file disappears from the list on the left and the folder from where I opened it. Same when trying to save a png file. What am I doing wrong? I did rtfm. :)

Btw the buttons on the bottom right appear out of the bottom right border of the app window, i.e. they are almost not visible.

Thanks again! :)

Chainfire
14th January 2009, 07:31 AM
Thanks for the great application chainfire! Sorry to be the first with the questions, but I try to replace a png in a manila file, but the manila file disappears from the list on the left and the folder from where I opened it. Same when trying to save a png file. What am I doing wrong? I did rtfm. :)

Btw the buttons on the bottom right appear out of the bottom right border of the app window, i.e. they are almost not visible.

Thanks again! :)

I'll look into the disappearing problem tomorrow (nap time now) - perhaps zip up and attach some files you know this happens with? May be an attribute issue or smth. The buttons falling out of the screen probably has to do with a non-default DPI setting on your system. TBH I didn't actually look at that. I'll check it out.

OS version?

Phat7
14th January 2009, 08:53 AM
Attached a manila file that the problem appears with. I have XP Pro SP2. Stock 2.03 Europe WWE on my Diamond. Will look into the dpi problem.

Thanks! :)

Chainfire
14th January 2009, 07:37 PM
Attached a manila file that the problem appears with. I have XP Pro SP2. Stock 2.03 Europe WWE on my Diamond. Will look into the dpi problem.

Thanks! :)

Image seems to fine, probably an attribute problem. Some things fixed in the next update will hopefully fix that issue. Let me know.

Also changed some DPI related stuff and tested it on XP SP2 in 96 and 120 DPI modes, as well as Vista in 96 and 120 DPI modes, seems to work, so if you keep having the button problem, let me know and provide a screenshot please.

Chainfire
14th January 2009, 07:47 PM
0.45.15, 14.01.2009

Added some more file attribute handling code
Added some file backup/restore in case of failure code
Adjusted screen layout to cope with different DPI settings
Added progress screen for directory scanning on first load
Added progress screen for encoding PNG -> QTC (Replace with ...)
Added "Tools -> Finish up" feature (see manual)
Added "Tools -> Export" feature (see manual)
Added "Tools -> Fix file attributes" feature (see manual)
Form caption now displays current working directory
You can now provide the directory you want to load as a commandline option
Settings are saved to and loaded from the registry, so it remember the current working directory and such.

Dick Starbuck
14th January 2009, 10:18 PM
Much thanks to chainfire for this wonderful tool.

Also thanks to dman and sushi for their work on manila editor.

It's so easy to use. Keep up the good work!

Phat7
15th January 2009, 06:33 AM
DPI and file disappearance fixed. Thanks! :)

But still can't replace the image in the manila file. I select "Replace with" choose the source png, but the image on the screen stays the same. :confused:

Chainfire
15th January 2009, 06:54 AM
DPI and file disappearance fixed. Thanks! :)

But still can't replace the image in the manila file. I select "Replace with" choose the source png, but the image on the screen stays the same. :confused:

Thats too bad. I have no idea what the issue is with it. I've modified the files on my system, including the one you posted, without issue. I tried manipulating file attributes, and that still works. The only thing I can imagine is that either CFC GUI or you as user don't have the required rights to change the attributes of the file (or delete / overwrite it). Either that or I made a serious error somewhere that didn't show up in my testing ... which was fairly rigorous for this specific issue.

One other last thought... perhaps the reading of the PNG goes wrong somehow, that could also be a reason the file isn't replaced. Try opening the PNG in mspaint or photoshop and saving it to a different name, then replacing the manila file with that. However, I have used the PNG library I'm using for CFC GUI in a lot of projects and so far it has never failed on me...

(perhaps post PNG? There's nothing abnormal about the manila file you attached earlier ...)

If anyone else is seeing this issue please speak up!

Phat7
15th January 2009, 08:39 AM
Problem solved! :)

Just did an extensive work on png's in Photoshop and found out that the problem was with png's saved using "Save for web". Normal "Save as..." png's work fine. "Save for web" png's don't.

Thanks a lot again, chainfire. Awesome stuff! :)

rjmjr69
15th January 2009, 10:37 AM
WOW can't wait to see this in action. I used a theme already compressed with this and it was very fast a bit buggy but very fast.

Chainfire
15th January 2009, 04:56 PM
Problem solved! :)

Just did an extensive work on png's in Photoshop and found out that the problem was with png's saved using "Save for web". Normal "Save as..." png's work fine. "Save for web" png's don't.

Thanks a lot again, chainfire. Awesome stuff! :)

I do not use Photoshop much - I'm a code guy, not a gfx guy, my biz partner always does the graphics for my stuff - perhaps "Save for web" uses artihmic coding, which CFC GUI does not support. I'd be surprised if it does, but it's a possibility. Good to know, though. Will post that info in the first few posts.

GeirFrimann
15th January 2009, 05:25 PM
I resized a 480x800 image to 512x512, downloaded a 4a087e41_manila with a 512x512 image, and replaced the image. I set the 480x800 image as background in the home tab, but the image on the other tabs looks stretched compared to the home tab.
I noticed that the original image in the 4a087e41_manila file didn't filll up the whole canvas, looked like it was 462x512.
I even tried to resize the image to 462x512, but it's still stretched.

Any idea how to make the images on the home tab and the other tabs looks like?

Chainfire
15th January 2009, 05:46 PM
I resized a 480x800 image to 512x512, downloaded a 4a087e41_manila with a 512x512 image, and replaced the image. I set the 480x800 image as background in the home tab, but the image on the other tabs looks stretched compared to the home tab.
I noticed that the original image in the 4a087e41_manila file didn't filll up the whole canvas, looked like it was 462x512.
I even tried to resize the image to 462x512, but it's still stretched.

Any idea how to make the images on the home tab and the other tabs looks like?

I'm not sure (perhaps somebody else knows). I tried checking but it seems original VGA Manila does not have this file. Can you attach the original?

EDIT: Also please try this - save to PNG, then replace the original with the PNG you saved (so same image). See what happens if you put that newly created QTC with the same content in Manila.

GeirFrimann
15th January 2009, 06:10 PM
I'm not sure (perhaps somebody else knows). I tried checking but it seems original VGA Manila does not have this file. Can you attach the original?

EDIT: Also please try this - save to PNG, then replace the original with the PNG you saved (so same image). See what happens if you put that newly created QTC with the same content in Manila.

I found it in this forum: http://forum.xda-developers.com/showthread.php?t=445238&page=5 (post #47)

http://ycyvpg.bay.livefilestore.com/y1pyeh1AsLLhylxpVqgM_3S8ocUmXP6HxYD9Fuzt6ysKdY_RwI 6WTlwKupK6TYoMVaZxKbKmzkTwog/4a087e41_manila?download

I'v also attached the background file I used.

Chainfire
15th January 2009, 06:51 PM
That thread you linked to contains a wealth of information on that... did you see this post?

http://forum.xda-developers.com/showpost.php?p=3086271&postcount=96

GeirFrimann
15th January 2009, 07:18 PM
That thread you linked to contains a wealth of information on that... did you see this post?

http://forum.xda-developers.com/showpost.php?p=3086271&postcount=96


Yes, I saw that after posting the last message.
I Tried first to crop 80 pixels from the top and 80 pixels from the 480x800 wallpaper.
, then resized to 463x512. The image isn't strecthed anymore, but is shifts down.
Tried to crop 160 pixels from the top, but then is shifts up...

Chainfire
15th January 2009, 10:44 PM
CFC Live Patch 0.45.01 has been released. You can run this tool on your phone to make your current Manila installation compatible with CFC compression.

See this post (http://forum.xda-developers.com/showpost.php?p=2798454&postcount=6).

GeirFrimann
15th January 2009, 11:08 PM
Yes, I saw that after posting the last message.
I Tried first to crop 80 pixels from the top and 80 pixels from the 480x800 wallpaper.
, then resized to 463x512. The image isn't strecthed anymore, but is shifts down.
Tried to crop 160 pixels from the top, but then is shifts up...

I think I got it..
I edited the 480x800 background by cropping of 50 pixels from the bottom, and 110 pixels from the top to make it 480x640.
Then I resized it to 460x512, and copied it to a 512x512 bitmap (with transparent background), leaving 52 pixels to the right.

Now, when I switch from the home tab to another tab I see no flicker at all!!

I have attached the original background picture and thre resized cropped image.

PS. No idea why the resized uploaded image looks like its 407x407, it should be 512x512...

c_shekhar
18th January 2009, 06:52 AM
it is a great tool. my falicitations to the developer.........

bilbobrian
18th January 2009, 06:46 PM
Chainfire...Thanks so much for all that you do around here, this is just an awesome tool, keep up the good work! One question though. Does padding the files eliminate the need to hex edit them?

shaks1979
18th January 2009, 08:27 PM
Just used this fantastic tool on my own 3.20 rom
When I used it in my kitchen it shrunk the manila package down from 16.9Mb to 10.9Mb and I can see all the files compressed in the gui.
No errors occured during the compression.
However when I look on my device, I had 105.55Mb total and aroung 86.5Mb free storage memory previously. I still have exactly the same even though the package is 6Mb smaller.
Is there somekind of a cap at 105.55Mb for storage space that needs removing?
As I said, no errors occured & looking at touch flo it does say CFC onthe end of it so I have definitely flashed the correct rom. Just very very strange that's all that I don't benifit from extra space.

One other think I noticed: when running on live device it showed up start in taskmanager but doesn't do this on a cooked rom

EDIT Just tested what happens when I completely remove the manilla package and space goes from 105 to 110mb so looks like something in the kitchen possibly?

Chainfire
18th January 2009, 09:59 PM
Chainfire...Thanks so much for all that you do around here, this is just an awesome tool, keep up the good work! One question though. Does padding the files eliminate the need to hex edit them?

That completely depends on why you would need to hex edit them? Why are you hex editing the image files?

Just used this fantastic tool on my own 3.20 rom
When I used it in my kitchen it shrunk the manila package down from 16.9Mb to 10.9Mb and I can see all the files compressed in the gui.
No errors occured during the compression.
However when I look on my device, I had 105.55Mb total and aroung 86.5Mb free storage memory previously. I still have exactly the same even though the package is 6Mb smaller.
Is there somekind of a cap at 105.55Mb for storage space that needs removing?
As I said, no errors occured & looking at touch flo it does say CFC onthe end of it so I have definitely flashed the correct rom. Just very very strange that's all that I don't benifit from extra space.

One other think I noticed: when running on live device it showed up start in taskmanager but doesn't do this on a cooked rom

EDIT Just tested what happens when I completely remove the manilla package and space goes from 105 to 110mb so looks like something in the kitchen possibly?

Must say I'm not completely sure about that. Initially I thought it might have to do with the DSM file (in which case try deleting it), but if you completely remove Manila and still only gain 5mb, something is fishy. Probably a logical explenation for it, though.

EDIT: About the "start" in taskmanager, not sure about that either. You get the same thing if you take a Manila-less ROM and install a Manila package on it. Has nothing to do with CFC though, that's just normal Manila behaviour.

shaks1979
18th January 2009, 11:12 PM
Must say I'm not completely sure about that. Initially I thought it might have to do with the DSM file (in which case try deleting it), but if you completely remove Manila and still only gain 5mb, something is fishy. Probably a logical explenation for it, though.

EDIT: About the "start" in taskmanager, not sure about that either. You get the same thing if you take a Manila-less ROM and install a Manila package on it. Has nothing to do with CFC though, that's just normal Manila behaviour.

Thanks for the info Chainfire
I'm trying now without the dsm file and will feed back. It is strange that the package is smaller but not when flashed!
I think it may be the kitchen doing some processing to the files possibly.
Has anybody else cooked this in yet on the diamond? I'm using Surface Kitchen and using the !COOK batch file provided starting from the 2.03.401.2 base.

Regards

shaks1979
19th January 2009, 01:35 AM
Retested with no dsm file & touchflo wouldn't load at all.
Tested with blank dsm file & touchflo loads but still the same storage space.
So it looks like there is no extra space when cooked in even though the manila package in the kitchen goes from 16.9Mb to 10.9Mb
Some processing must be done somewhere. Also strange is that removing manila only acheives 5Mb space saving.

bilbobrian
20th January 2009, 02:34 AM
[QUOTE=Chainfire;3187811]That completely depends on why you would need to hex edit them? Why are you hex editing the image files?

I have had to change up the first two lines of hex to get them to work with the ATT manila, learned how to do it from NisseDILLIGAF's thread in the diamond forum. The clock background, the internet globe selected and the background image on all tabs are the only ones that I've run across that have to have the first two lines changed, after that they show up in manila.

Chainfire
20th January 2009, 03:11 AM
That's most likely because Manila Editor doesn't work right with images that do not have alpha. If that's the issue, you won't need to hex-edit an image done with CFC GUI - it'll just work. However, I suggest you try this and let us know if this works :)

(as I'm not 100% sure that is the issue - AFAIK the headers you are changing in that hex-edit are mostly unnecessary and the necessary parts are done by CFC GUI automatically)

Chainfire
20th January 2009, 03:12 AM
Retested with no dsm file & touchflo wouldn't load at all.
Tested with blank dsm file & touchflo loads but still the same storage space.
So it looks like there is no extra space when cooked in even though the manila package in the kitchen goes from 16.9Mb to 10.9Mb
Some processing must be done somewhere. Also strange is that removing manila only acheives 5Mb space saving.

Seems like a kitchen thing then. From my own cooking tests it differed as much as it should, though this was on Kaiser.

PROBEX
20th January 2009, 03:36 AM
Wow I as well have not been fully satisfied with the quality of the PNG conversion on the manila editor, So I am pumped to try out this new proggy... I have tommorow off work and will be converting my newest unreleased theme with your tool, maybe I will post some screens of the differance in quality of the image files if I think of it. :o) Thanks chainfire and everyone who helped you with this tool.

CR7KB24
20th January 2009, 05:54 AM
Does any one know why this might of happened :(

I made the original black touch pro theme into a zip extracted them and cfc compressed them then made them back to a zip then back to a theme file.

I don't understand. If it matters i'm running NAFT v4.1 rom

Chainfire
20th January 2009, 01:39 PM
Does any one know why this might of happened :(

I made the original black touch pro theme into a zip extracted them and cfc compressed them then made them back to a zip then back to a theme file.

I don't understand. If it matters i'm running NAFT v4.1 rom

Your Manila version doesn't support CFC compression, I guess. Decompress the files or patch your Manila.

ecidemon
21st January 2009, 11:43 AM
This is darn smart :)
Only problem I ran into was patcher was not able to patch the version string on my Swedish official 1.93 rom. Same thing happened on the new 2.03 (swe) rom.

I compressed all the manila files and it works great :), nice compression ratio too!

Sir.B
22nd January 2009, 03:11 AM
thanks for your hard work Chainfire

i can't seem to get this going on the Touch HD (live patch or GUI)

when i try to launch TouchFLO 3D
it just says "Launching TouchFLO 3D" and then "Tap to Launch TouchFLO 3D"

no errors just doesn't open, any ideas or suggestions?

also my registry doesn't have the value "Manila" it's called "Manila_KWBR" (i guess because of a custom ROM)
do i rename it and append _CFC
or do i change it's data by appending _CFC (it's data is 1_3_35867_0)
i even tried creating a value Manila but nothing happens

thank you for your time

xboxhaxorz
23rd January 2009, 12:09 AM
I have a cab that i use for the clock and another that i use for the icons at the bottom. Can i still compress these? Since they are not png files.

ecidemon
23rd January 2009, 11:39 AM
You would have to extract the files from the cab first, compress the manila files and re-cab them again.

If it's currently installed you could also copy all manila files to your pc and compress them and then send them back to the phone again.

kwill
24th January 2009, 11:26 PM
ok, im trying to make the mobilematt cab cfc and what ive done so far is extract the files, open cfcgui and loaded all files that i extracted, then hit patch manila, it completed fine and i get all files saying cfc compressed: yes. i copied them to windows and now tf3d wont start. does it have to be cooked in as package? i didnt/wouldnt think so. mobilematts cab has manila.exe in it and i ensured that was patched in the gui first. thanks in advance

schettj
27th January 2009, 06:30 PM
Feedback: live patch failed on stock sprint ROM. Complained about not being able to change version after it seemed to successfully patch everything. Restart of manilia endlessly looped (ie, did not start)

Deleted the two patched files (manila.exe and the dll it patches) to restore old behavior (ie, works but does not support cfc compressed images.)

Image editor itself is great... runs fine under Wine on Ubuntu 8.04, which is wonderful. If there's anything else I can do to help debug the patch fail on the sprint rom let me know.

Chainfire
27th January 2009, 06:34 PM
Yeah, live patch needs to be adjusted for this failure, will do ASAP when I got a moment to spare (very busy right now)

schettj
27th January 2009, 08:29 PM
Yeah, live patch needs to be adjusted for this failure, will do ASAP when I got a moment to spare (very busy right now)

No rush, just wanted to make sure you knew - the app itself is very good and I'm happily changing images here and there uncompressed for now :D

black3188
8th February 2009, 10:39 PM
I really need help i used the tool and i love it but i wanted to know how do i put this in theme format this tool doesnt do that or am i not doing something wrong. If it doesnt work that way then how do i put the manilla files into that format???

Chainfire
9th February 2009, 12:00 AM
I'm not sure how the theme format works. I think it's 3rd party?

johanromijn
11th February 2009, 08:21 PM
Wow, really nice tool!

Very easy to use, and makes files a LOT smaller!!

Tnx, for your hard work. Just made you a small donation. Enjoy the beer (or whatever you like)!

maximo_lider
13th February 2009, 05:40 PM
Thanks for this tool, thank you for your time:)

cloudedhopes
18th February 2009, 04:06 PM
bumped into the same problem as schettj, but apparently manila started fine... however there's a "Start" in currently running programs... if i exit that, tf3d exits

when i start tf3d, it shows up again in the running programs... any idea?

edit: sorry... just read http://forum.xda-developers.com/showpost.php?p=3188127&postcount=31 and understood..

shalfire
18th February 2009, 04:41 PM
hey im having problems replacing image files i can open the 4a087e41_manila file but when i try to replace it with another 512x512 .png image it doesn't replace but it doesn't give me an error or anything either

Thanks in advance.

Chainfire
20th February 2009, 01:30 PM
Can you post the original file and the one you want to replace it with?

Something you may try is opening the replacement PNG file in Photoshop and saving it again, I've noticed some PNGs arent decoded right and thus nothing happens.

shalfire
20th February 2009, 04:55 PM
ya heres the two files

Chainfire
20th February 2009, 06:49 PM
ill look at them when im back :)

TheSopranos16
24th February 2009, 03:48 AM
I tried this tool for the first time, but I couldn't replace the file I wanted to. I would click replace and select the file but then nothing would happen, the old file would remain. Any ideas? Here is a link to the file I was trying to use:

http://home.comcast.net/~cjbellomo/3f00cd2f_manila.png

shalfire
26th February 2009, 04:25 PM
ya im stuck on the same issue :(

Chainfire
26th February 2009, 04:29 PM
Oh ah.. sorry folks I'm back but forgot I was going to check this out (much stuff to do, head filled with nonsense). I'll go check these files now.

Chainfire
26th February 2009, 05:01 PM
New version (0.46.15) attached to first post. Should fix the issue you are both having. Let me know :)

gboybama
26th February 2009, 10:03 PM
Best app of its kind, IMO. Great work!

shalfire
27th February 2009, 05:52 AM
that fixed it :D thanks so much love the program

desol
2nd March 2009, 06:45 PM
Hi Chainfire
Thx for your wonderful applications but I had problem of the live patch. Everything run fine but fail on updateing manila version string. Final is errors have occured :(
My manila verson is 1.1.37126.0_1630.38
I have no idea for that, pls help
Thankyou

SOHKis
17th March 2009, 08:57 PM
great tool man, thanks!

daxy74
24th March 2009, 09:18 PM
Someone can write a small tutorial?
Thanks

Angelusz
25th March 2009, 09:22 PM
Great work chainfire, I use your application a lot - and it helps! Too bad there's still no easy way to "sort" the files into categories, or have a knowledgable name for files, which tells me what they're used for.

Now I'm wondering, will you still be supporting this application and continue development? It's awesome as far as it has gotten so far, would be great to see more.

Chainfire
26th March 2009, 10:52 PM
Great work chainfire, I use your application a lot - and it helps! Too bad there's still no easy way to "sort" the files into categories, or have a knowledgable name for files, which tells me what they're used for.

Now I'm wondering, will you still be supporting this application and continue development? It's awesome as far as it has gotten so far, would be great to see more.

I am open to add stuff if requested and interesting. The original point of CFC was to provide a tool to aid in my original porting of TF3D to the QVGA platform. That triggered more research, that combined with efforts from D-MAN and 6Fg8 ended up being a complete reference for the image format used by TF3D. That was the challenge, and the challenge was met. Because Manila Editor was pretty much discontinued, I made CFC GUI, which is in fact nothing more than a few hour works of GUI coding slapped on top of the original CFC code.

It's pretty much a 'reference' / 'proof of concept' program, that allows you to do things that need doing. If I'm not mistaken, 6Fg8's m9editor also uses stuff based on this research and also supports CFC compression and such as a result.

So, as you may understand, actually building an image editor is not quite my interest - 'new and undiscovered things' are. It doesn't have high priority for me (keep in mind I also run a business). However if you have interesting ideas and do some of the research work for it, it's likely I will I incorporate them 'for the greater good'. For example, the naming thing, I know the algorithm for it is floating around here somewhere, finding it may go a long way to providing the functionality you are seeking.

EDIT: I actually did a bit of searching, the algorithm is a bugged implementation of djb2's hash (man, Dan Bernstein is literally everywhere!). I've since updated my dev version of CFC (cmdline) to scan the Manila files and convert/mix/match on the fly. Seems to have a perfect hit-rate so far (none of the other tools do this?!) and every single QTC I have can be matched with a name. Not quite sure about how to put this into the interface, though. Perhaps I should include a text file for a listing for when you are editing a folder with just a small number of QTCs instead of the entire Manila.. Hmm. Perhaps I should talk with D-MAN and 6Fg8 again for a combined effort to identify every Manila file in the known universe.

EDIT #2: Make that every single QTC I have ever actually seen working in Manila... I have a suspicion a number of QTCs are included but not actually used. Strange.

Chainfire
31st March 2009, 01:38 AM
As people keep asking me for new stuff, here is some from my current development version... should be released pretty soon. near-live device editing, wooo!

0.46.XX, Upcoming

Added display by original Manila filename (instead of hashes)
Added File->From device, reloads the current image from device
Added File->To device, exports the current image to device (restarts Manila)
Added File->Revert to ROM, reverts the current image to the ROM image on the device (only) (restarts Manila)
Added Tools->Import from PNGs, to import a folder full of PNGs
Added Device->Import from Device, imports all images from your Manila install on your device
Added Device->Export to Device, exports the images that are different than on your device to the device (restarts Manila)
Added Device->Revert to ROM, reverts all images on the device (only) to the ROM images (restarts Manila)
Added Device->List changes, compares your local set to the device set and lists changes
Added Device->Export changes to QTCs, copies the changes as ^^^ to a folder
Added Device->Export changes to PNGs, copies the changes converted to PNG as ^^^ to a folder
Added movable splitter between file list and image panel
Made file list auto-sizing


See the attached screenshots. I'm open for new ideas while I'm at it :)

http://www.jongma.org/tmp/cfc-gui-wip-1.png

rjmjr69
31st March 2009, 01:18 PM
Holy cow batman..... Thanks that is going to be a huge improvement much more user friendly thanks

Angelusz
5th April 2009, 01:20 AM
I don't check this thread so often, hence my late-ish reply..!

I understand your motives. Trust me, I don't expect you to do anything, I'd just like to know what I can count on. I'd love to see more of your work, you're doing great!

From what I understand your next version will be able to work on the device directly.. impressive! You've also found a great way of meeting my request. It's good to see that more people are working on the same thing so you can help eachother out.

Now a question that arises instantly - I'm also looking into editing the mode9 files. Is there any chance that the logical filenames can be found in a similar way for those? It's really hard to edit mode9, since I just don't know which of the 500 files does what! (Not to mention HTC's horrible (horrible!) coding style.

As for ideas and suggestions:
- Have the file list display both the real and logical filename. First the real filename though, as I (and I'm guessing most people) are used to working with those by now..!
- Although probably redundant - try and keep the GUI intuitive. All the new device functions as I see them right now kind-of confuse me. Perhaps it's in the way the buttons are named. Could also be me though. Besides, I'm guessing you'll also update the second post with the new user guide.

Out of sheer curiosity, what gave you the knowledge to create applications like you do? Your programming skills are extensive and I'm impressed.. ^_^

Keep up the great work!

Cheers

Chainfire
5th April 2009, 10:36 PM
From what I understand your next version will be able to work on the device directly.. impressive! You've also found a great way of meeting my request. It's good to see that more people are working on the same thing so you can help eachother out.


Well nearly.. you can load from and save to device, restart Manila, compare changes, etc. It's not actual editing on the device.


Now a question that arises instantly - I'm also looking into editing the mode9 files. Is there any chance that the logical filenames can be found in a similar way for those? It's really hard to edit mode9, since I just don't know which of the 500 files does what! (Not to mention HTC's horrible (horrible!) coding style.


Use m9editor for modifying mode9 files. Its listing also translates between the two file names. I gotta warn you though, must stuff is actually set in the LUA files, the mode9 files are irrelevant for large parts these days - you think you changing something but it's all overridden in LUA anyways. Well a lot, not all.


As for ideas and suggestions:
- Have the file list display both the real and logical filename. First the real filename though, as I (and I'm guessing most people) are used to working with those by now..!
- Although probably redundant - try and keep the GUI intuitive. All the new device functions as I see them right now kind-of confuse me. Perhaps it's in the way the buttons are named. Could also be me though. Besides, I'm guessing you'll also update the second post with the new user guide.


Displaying both names at the same time is not possible due to lack of screen real estate. As it is with the new version you really need 1024x768 already. However you can switch views between 'real' and 'manila' name.

If things confuse you, don't use 'em until you read the new guide :) It's all pretty simple once you get what they do.


Out of sheer curiosity, what gave you the knowledge to create applications like you do? Your programming skills are extensive and I'm impressed.. ^_^

I've been practising since I was 7, lol. It helps :) Also, research research research!

Sandeman1976
6th April 2009, 07:39 AM
This is VERY nice, will save me a lot of time comparing those annoying filenames. Well done, thanks. :D

DA BOSS
7th April 2009, 02:07 AM
i wanted to ask if you may have a date in mind for release of this ????

Chainfire
7th April 2009, 02:29 AM
Hopefully this week :)

umberto75
7th April 2009, 08:16 AM
Ive been on this forum for a few months now but this is my first post and im posting because im so excited. This has got to be the coolest most innovating tool for editing manila!
I have learned a tremendous amount about winmo
The reason probably most people got into this was the desire to "make the phone our own". To take a cool little peice of technological marvel and tweak it to our hearts content.
I would think the first and most important step is to tweak it graphically.
This breaks it down barney style. I am anxiously awaiting your new update!

DA BOSS
8th April 2009, 02:25 AM
Thank you for the response and looking foward to it i have alot of custom icons that i designed that i would love to get on the diamond .. oh and if you like i would share sum icons with you if you like i can send you a zip with some of them or i can post hea but let me know..... good work



Hopefully this week :)

DA BOSS
8th April 2009, 08:21 PM
i have one more question im srry to bother you but will this work with the new rhodium tf3d2 roms im assuming yes cuz they are still manila files but you neva know alot of old stuff juz dosent work wit these roms and files on them but thanks again for your answers and time

hlm818
17th April 2009, 10:10 PM
So I am a TOTAL noob to this, ie. NEVER have learned anything about programming or done any, and I must say, this site has helped me so much. This program is fantastic and in about 3 minutes, I'll know if I was successful in creating my first clock for TF3D. It is a great program and if I can use it and figure out how to do editing, ANYONE can:D Thanks to everyone on this site who has helped me learn how to do my own editing!!

Angelusz
18th April 2009, 11:23 AM
Still eagerly awaiting your next release Chainfire. ;)

Chainfire
19th April 2009, 12:09 PM
TF3Dv2
CFC GUI itself works fine with TF3Dv2, in fact most of my latest testing has been done with it.

CFC (Live) Patch itself does not work correctly with TF3Dv2 yet - at least the current xboxmod release. However, it does work with the new TF3Dv2 version that is being ported right now ("topaz final"). Either way I will update the tools to work on all versions. Right now you need to manually hex-edit Manil2.exe as described in the CFC tech reference thread.

The background creation tool will work for TF3Dv2 only. (it is in the TF3Dv2 menu).

CFC updates
There will be an updated libgles_mn.dll for CFC supporting ARGB images instead of QTC. This will be CFCv1.1 or something. The new CFC GUI already supports reading this format and creating them - but the latter only for background images. This is primarily so that "UltraHQ" backgrounds can be created on the device without needing your computer to convert between PNGs, QTCs and CFCs, but having the ability to quickly make them on the device itself. Existing CFC file format already supports this format (as I planned to already have it in first CFC release) but the CFC proxy files for Manila did not actually decode this files until now.

I am also working on CFCv2, which will speed up TF3D a bit more and further reduce file-size, installation time (for CAB installs) and the cluttering of the windows folder with Manila files. However this is a work-in-progress I do not expect to release a test version before the end of May.

Release
I know I promised to release the new CFC GUI earlier, however I was waiting on a new device that got delayed but has by now arrived. Unfortunately it was delivered literally a minute before I had to leave home several days ago, and have been unable to do anything with it yet. I have been away for a while to deal with pressing (and bad news) family business. However I will return home tonight and start final testing and modifications, and hopefully I will be able to release either very late tonight or tomorrow - depending on how testing goes and bugs I may find.

Chainfire
20th April 2009, 12:24 AM
Background generation + fix/patches for TF3Dv2 on a WVGA is complete and has been tested now (on Dutty 2.9). I just need to fix a few bugs and CFC 0.5 deployment, documentation etc, I will do this tomorrow though :)

darkhalf520
20th April 2009, 11:12 AM
Thnx chainfire for your gr8 application....thnx to you and only you i was able to put on my xperia amanila background !!

one thing i noticed is there any problem with the manila file showing the correct png in the box ??
Cause i was like browsing through the files picked up one to edit.....then when i saved it as png showed sth else !? is this normal ?? is this only me ??

Chainfire
20th April 2009, 11:41 AM
Thnx chainfire for your gr8 application....thnx to you and only you i was able to put on my xperia amanila background !!

one thing i noticed is there any problem with the manila file showing the correct png in the box ??
Cause i was like browsing through the files picked up one to edit.....then when i saved it as png showed sth else !? is this normal ?? is this only me ??

Not sure... try with next release, should be up within the hour.

Chainfire
20th April 2009, 12:20 PM
New version is out! Note that for UltraHQ images you need the new libgles_mn CFC runtime file. You may deploy it using "Device->Patch Manila on device" function.

RR33
20th April 2009, 12:41 PM
G r e a t !!!!!!!!

Rozenthal
20th April 2009, 12:43 PM
I must be dreaming :D

darkhalf520
20th April 2009, 12:45 PM
How should I connect my device to enable cfc compression ??
Activesync maybe ?
I'm sorry the question is for sure stupid but i really don't understand the cfc thing from the 1st page :)
EDIT: K done it but fails :S....i'm on tmob rhodium rom for xperia

Chainfire
20th April 2009, 12:46 PM
If your device does not support it yet - most ROMs do these days - just start CFC GUI, make sure your device is connected to your computer, and use the "Device->Patch Manila on device" function

darkhalf520
20th April 2009, 12:50 PM
If your device does not support it yet - most ROMs do these days - just start CFC GUI, make sure your device is connected to your computer, and use the "Device->Patch Manila on device" function

thnx for the help i'll try again
Edit: nth it failed again.....Does your background app fix the problem with the black pixels in portrait mode?

Rozenthal
20th April 2009, 12:53 PM
If your device does not support it yet - most ROMs do these days - just start CFC GUI, make sure your device is connected to your computer, and use the "Device->Patch Manila on device" function

I know from before that Dutty 2.7 and 2.6 didn't have CFC enabled by default. Strangely, but the previous versions did.

Chainfire
20th April 2009, 12:56 PM
I know from before that Dutty 2.7 and 2.6 didn't have CFC enabled by default. Strangely, but the previous versions did.

Funky. 2.9 has it, though, cause that's what I'm testing on :)

darkhalf520
20th April 2009, 01:14 PM
the black pixels problem in portrait backgrounds is still there ....but excellent job !!

Chainfire
20th April 2009, 01:17 PM
the black pixels problem in portrait backgrounds is still there ....but excellent job !!

ROM version, TF3D version, WVGA or VGA, PNG screenshot :) I will need them all to see whats going on :)

(no issue on my Dutty 2.9 WVGA/HD or "whatever I'm running" VGA/TP)

darkhalf520
20th April 2009, 01:21 PM
ROM version, TF3D version, WVGA or VGA, PNG screenshot :) I will need them all to see whats going on :)

(no issue on my Dutty 2.9 WVGA/HD or "whatever I'm running" VGA/TP)
Ok :D
Xperia touch-it 5.61, tf3rd v3 (build 3567), WVGA....mmm a png screenshot I need an app for that, i'll look for it ....
Edit: posted the screenshot
Maybe you could try and post your 4 manila files responsible for the background...ah and post a screenshot 2...maybe you have the prob but you didn't notice it :D

Dredd67
20th April 2009, 02:48 PM
ROM version, TF3D version, WVGA or VGA, PNG screenshot :) I will need them all to see whats going on :)

(no issue on my Dutty 2.9 WVGA/HD or "whatever I'm running" VGA/TP)

I wanted to do a nice bkgd pic but :

Bah doesn't seem to work for me, tried many things but always ends up by a miserable "tap here to launch TF3D".

- tried to patch manilla or to leave alone -> same results
- tried CFC, no CFC, HQ, no HQ etc...

Noticed that my level10 bkg pics weren't padded. Don't know if it's relevant. Tryed to pad them afterwards, worked with the portrait bottom (status went from AC to APC), but not with the upper part (kept saying AC even if padded seemed to work).

By the way, using latest Dutty's 2.9 too, freshly hard reset. Maybe related to Vista ?

Chainfire
20th April 2009, 06:58 PM
Ok :D
Xperia touch-it 5.61, tf3rd v3 (build 3567), WVGA....mmm a png screenshot I need an app for that, i'll look for it ....
Edit: posted the screenshot
Maybe you could try and post your 4 manila files responsible for the background...ah and post a screenshot 2...maybe you have the prob but you didn't notice it :D

Try dumping the attached file from the ZIP in your \Windows folder, maybe it helps :) (restart Manila)

Chainfire
20th April 2009, 06:58 PM
I wanted to do a nice bkgd pic but :

Bah doesn't seem to work for me, tried many things but always ends up by a miserable "tap here to launch TF3D".

- tried to patch manilla or to leave alone -> same results
- tried CFC, no CFC, HQ, no HQ etc...

Noticed that my level10 bkg pics weren't padded. Don't know if it's relevant. Tryed to pad them afterwards, worked with the portrait bottom (status went from AC to APC), but not with the upper part (kept saying AC even if padded seemed to work).

By the way, using latest Dutty's 2.9 too, freshly hard reset. Maybe related to Vista ?

Hmm could be Vista... tried running CFC GUI as administrator? Is your device 'paired' with ActiveSync - in other words, you sync your contacts/calendar etc to it correctly?

BTW about the padding: its likely the file is the same size with or without padding, which is why the P wont show :)

darkhalf520
20th April 2009, 07:26 PM
Try dumping the attached file from the ZIP in your \Windows folder, maybe it helps :) (restart Manila)
it helped somehow....now instead of the black line....i get one with the correct missing part...but in this case the colour is much brighter than the image (guess the original brightness)...wish the whole pic would look so crystal bright :)

P.S just curious....what is that file in the first place ?

Rozenthal
20th April 2009, 11:23 PM
Chainfire, I just had to come back and say it again:

what a GREAT job you've done with this latest version!!!

I absolutely love the new features, especially grouping the Manila files - helps a TON when editing stuff. And the ability to automatically stop Manila, load the files and start Manila again enables me to almost have a live-preview of what I'm doing.

I've been poking around the graphics all evening, just can't stop - it's that good :D

darkhalf520
21st April 2009, 12:43 AM
I found sth very intresting....at least to me .....
I deleted the 4 manila bg files and look at the results :

1-in portrait the bg is grey...in landscape its white...meaning that it IS actually sth overlaying the bg...wish i could understand what this is !!!

2- the line is there even without any bgd .....meaning that its rom related.... wonder if this could be fixed....and wonder it would be a smart move to ask you chainfire to send me the entire batch of files that in cfc gui fall with the background files ......

Chainfire
21st April 2009, 11:55 AM
it helped somehow....now instead of the black line....i get one with the correct missing part...but in this case the colour is much brighter than the image (guess the original brightness)...wish the whole pic would look so crystal bright :)

P.S just curious....what is that file in the first place ?

The file is the script that handles parts of the main Manila screen, including the background. I took it from my HD running Dutty's 2.9.

I found sth very intresting....at least to me .....
I deleted the 4 manila bg files and look at the results :

1-in portrait the bg is grey...in landscape its white...meaning that it IS actually sth overlaying the bg...wish i could understand what this is !!!

2- the line is there even without any bgd .....meaning that its rom related.... wonder if this could be fixed....and wonder it would be a smart move to ask you chainfire to send me the entire batch of files that in cfc gui fall with the background files ......

That is indeed odd. I am going to try and mess around with this a bit later on today. It is likely in portrait this gray is blended over your image, and the line causes the extra brightness. I don't think that line is in the images you made. I would send you all related files, but I thought the one I attached earlier was the only one that dealt with backgrounds... hmm.... and it runs fine here without the line (yes I have double triple quadruple checked - as the images need to be specially modified to fix up these lines on both VGA and WVGA versions anyways). I'll be looking into it.

Perhaps you can figure out yourself if it is an image that is being overlayed. Create a new directory, point CFC GUI to it, do a Device->Import and load all the images from your device. You may find one that is 50% opacity - or you might not...

Can you tell me which version of Manila you have? (you can see under "settings")

EDIT: BTW, try going into settings and setting a wallpaper the 'normal' way. Then removing it again there. See if that changes anything.

Chainfire
21st April 2009, 11:57 AM
Chainfire, I just had to come back and say it again:

what a GREAT job you've done with this latest version!!!



I'm glad its being well received - I worked hard on it :)

Rozenthal
21st April 2009, 05:52 PM
I found sth very intresting....at least to me .....
I deleted the 4 manila bg files and look at the results :

1-in portrait the bg is grey...in landscape its white...meaning that it IS actually sth overlaying the bg...wish i could understand what this is !!!

2- the line is there even without any bgd .....meaning that its rom related.... wonder if this could be fixed....and wonder it would be a smart move to ask you chainfire to send me the entire batch of files that in cfc gui fall with the background files ......

Yep, just as I assumed.

It also seems to me that the "line" issue we all have is caused by this overlaying gray graphic. I'm guessing that the 2 bitmaps that are placed _above_ the custom ones we use are not correctly aligned, and that's why the bright line appears - it's simply a hole in 2 gray images.

darkhalf520
21st April 2009, 07:15 PM
Yep, just as I assumed.

It also seems to me that the "line" issue we all have is caused by this overlaying gray graphic. I'm guessing that the 2 bitmaps that are placed _above_ the custom ones we use are not correctly aligned, and that's why the bright line appears - it's simply a hole in 2 gray images.

Aligning them is not an issue :)
If we can find them....make the tranparent or delete them....problem solved !!

darkhalf520
21st April 2009, 07:21 PM
The file is the script that handles parts of the main Manila screen, including the background. I took it from my HD running Dutty's 2.9.



That is indeed odd. I am going to try and mess around with this a bit later on today. It is likely in portrait this gray is blended over your image, and the line causes the extra brightness. I don't think that line is in the images you made. I would send you all related files, but I thought the one I attached earlier was the only one that dealt with backgrounds... hmm.... and it runs fine here without the line (yes I have double triple quadruple checked - as the images need to be specially modified to fix up these lines on both VGA and WVGA versions anyways). I'll be looking into it.

Perhaps you can figure out yourself if it is an image that is being overlayed. Create a new directory, point CFC GUI to it, do a Device->Import and load all the images from your device. You may find one that is 50% opacity - or you might not...

Can you tell me which version of Manila you have? (you can see under "settings")

EDIT: BTW, try going into settings and setting a wallpaper the 'normal' way. Then removing it again there. See if that changes anything.

I checked in photoshop ...nth on partial overlay

The wallpaper thing had no effect at all but it displayed perfectly ...no grey no line....

And the clearer line IS part of my bg and IS the right brightness

my manila is version 3 build 32567....if you'll need my email to send me the rest of related files pm me....and thnx again for being concerned with my problem !! :D

Chainfire
21st April 2009, 10:50 PM
Yep, just as I assumed.

It also seems to me that the "line" issue we all have is caused by this overlaying gray graphic. I'm guessing that the 2 bitmaps that are placed _above_ the custom ones we use are not correctly aligned, and that's why the bright line appears - it's simply a hole in 2 gray images.

Oh you still have it too? As you didn't say anything I thought you didn't. Just to clarify: I do not have this issue on my HD.

I checked in photoshop ...nth on partial overlay

The wallpaper thing had no effect at all but it displayed perfectly ...no grey no line....

And the clearer line IS part of my bg and IS the right brightness

my manila is version 3 build 32567....if you'll need my email to send me the rest of related files pm me....and thnx again for being concerned with my problem !! :D

I'm still thinking on what the difference may be. This may be a bitch to figure out :D

darkhalf520
21st April 2009, 11:58 PM
Oh you still have it too? As you didn't say anything I thought you didn't. Just to clarify: I do not have this issue on my HD.



I'm still thinking on what the difference may be. This may be a bitch to figure out :D

I had the same feeling :D !!!
Btw many many people are having this.....I looked around in other threads !
Its not the line that's irritating ....that overlay is :@ !

Chainfire
22nd April 2009, 12:03 AM
Right, I get that.

What I need is a Touch HD ROM known to have this issue so I can flash it and figure it out.

If you know of any - let me know.

darkhalf520
22nd April 2009, 12:29 AM
Right, I get that.

What I need is a Touch HD ROM known to have this issue so I can flash it and figure it out.

If you know of any - let me know.

awww prob is i'm on xperia and not hd...i think however any based on rhodium tmobile will have the same issue...i'll look around and tell you

bobsbbq
26th April 2009, 02:04 PM
I have a blacstone HD and using Bepe's kitchen. I tried using your tool on my Latest Topaz Manila package and while the size of the package seemed to be reduced from 34.7 to 21.3 mb. But when I cook the ROM the final ROM size is only 500 kb less than without the compression.

Is this the correct size I should expect? I saw others saying they got 5 mb less?

Thank you for this great tool and I hope I get it working right. Or should I say learn to use it right.

The background part worked great BTW.

m4xx0rz
28th April 2009, 01:31 AM
I read through the forum and the manual, to make sure I wasn't missing anything. I am currently using the Alltel Touch Pro, and when I try to Patch TF3D to use CFC, everything fails. I want to be able to change my themes, but it is hard to find ones that work off the bat with my theme (I usually have to change it to the horribly slow HTC Black Theme, and then change the theme, because the HTC Black theme has some different sized assets, and about two times as many manilla files)

Sorry for that long tangent. Is there any way to patch my Alltel Version of the Touch Pro to be able to work with your program.

crajee
29th April 2009, 06:52 PM
In my THD the background doesn't change whatever I do. i confirmed the manila files in the windows folder DO contain the modified versions. Icona and all change bur background :confused:
I have the original ROM..

Angelusz
2nd May 2009, 12:28 AM
I'm loving the new version's options, BUT:

EDIT: Problem was my bad, I probably accidentally pressed a wrong button, exporting everything to my pc.

Chainfire
4th May 2009, 12:08 PM
In my THD the background doesn't change whatever I do. i confirmed the manila files in the windows folder DO contain the modified versions. Icona and all change bur background :confused:
I have the original ROM..

Probably using TF3Dv1 instead of v2 :)

ElCondor
4th May 2009, 05:46 PM
Nice work, this is way better then Manila Editor, lots of nice functions:D.
I'm always surprised how people can make such good software... When i see all those xml and mode9 files I already start to get crazy:p:o

shagratt
4th May 2009, 09:18 PM
Hi! I cleaned the HOME a lot using this grat app (so I only left the clock and date/alarm lines to see more of my background picture). But I cant find the manila pictures for this 2 icons: missed calls and calendar.
Someone know them ?

PS: If someone is interested.To remove the texts "missed calls" and "calendar" I edited file 590ad244_manila in notepad. Even if no text can be seen, if I miss a call, it appears there. So it only remove the text where thera are no missed calls.No functionality is lost.

vua777
5th May 2009, 03:24 PM
direct "to device" is super
mine is Touch HD

skyli91
5th May 2009, 03:51 PM
direct "to device" is super
mine is Touch HD
My phone is Touch HD too. I'm so happy that Japanese people uses the same phone as me :D

I've just tried the program (I used M9 editor before) and i think i stick with it becouse it knows a bit more and i can see more image names and the images are grouped (weather images, camera images,...). Thank you very much for this great program! GUI is also nice :D Uses the OS's gui :)

Brenn
9th May 2009, 04:49 AM
Hi! I cleaned the HOME a lot using this grat app (so I only left the clock and date/alarm lines to see more of my background picture). But I cant find the manila pictures for this 2 icons: missed calls and calendar.
Someone know them ?

PS: If someone is interested.To remove the texts "missed calls" and "calendar" I edited file 590ad244_manila in notepad. Even if no text can be seen, if I miss a call, it appears there. So it only remove the text where thera are no missed calls.No functionality is lost.


Those icons are part of the backstack on the clock.. you can edit them out of the file 1bbfdc9b_manila

shagratt
10th May 2009, 05:53 AM
Those icons are part of the backstack on the clock.. you can edit them out of the file 1bbfdc9b_manila

JAjaja! I can beleave it! I see that file lots of time but the program replaces the transparencies with a white background and I cannot see them! Thankyou!!

merrlyn
13th May 2009, 03:14 AM
Hi, simple really, just trying to replace those lovely 3D blocks with a pic of my 17month old daughter on the beach . . . . .

Program running and all appears well except when I try to do anything which requires manila to be stopped it always shows "fail" . . . . am I doing something wrong or do I need to disable or allow something on my phone first?

I've RTFM but can't see anything that seems to apply to this . . . sorry all help greatfully received :confused:

skyli91
13th May 2009, 03:31 PM
Did you connect with activesinc(WMDC)? Is it fails when you disabled the TouchFlo3D in Settings-Personal-Today?

shagratt
13th May 2009, 03:55 PM
Hi, simple really, just trying to replace those lovely 3D blocks with a pic of my 17month old daughter on the beach . . . . .

Program running and all appears well except when I try to do anything which requires manila to be stopped it always shows "fail" . . . . am I doing something wrong or do I need to disable or allow something on my phone first?

I've RTFM but can't see anything that seems to apply to this . . . sorry all help greatfully received :confused:

That option dosnt work on my Tpuch HD too. Try disabling it manually deactivating it from the today items menu in your windows mobile settings,do the changes and then reactivate it.

manyun
22nd May 2009, 03:20 PM
DEar senior member

i need a complete tutorial so i dont missing anything to use this cool app

how about if i doing a hard reset (upsidedown my device then remove stylush to push a sofreset + press Voldown together) is it make all reset to factory default (i mean is it clear all modified files including cfc convert)

this things really blow up my brain....helppppp

skyli91
26th May 2009, 03:23 PM
Everything will be back to the ROM's original after Hard Reset.
For me HR is when Voldown+Volup+PowerON :)

tuxing
2nd June 2009, 06:58 PM
i simply love this program
it made modifying manila files a child's play
cant thank you enough !

i am on xperia
i was able to use the "to device" functionality in about 5 roms i tested
but in one rom (itje TOUCH-IT 9) files are being sent to device but gets a fail message
any possible reason for this.? i was able to modify manila files on that rom by
copying the files to storage card and then to windows and overwriting.

thanks again

Chainfire
5th June 2009, 04:14 PM
Update 05.06.2009

- Better compression ratio (backwards compatible with old runtime)
- UltraHQ en/de-coding support (CFC)
- "Patch Manila on device" function has been improved to work-around the issue of Manila no longer starting that some people have (CFC-GUI)

ferlop15
10th June 2009, 01:57 PM
1bbfdc9b_manila : contains icons for call history and calendar in Home tab. If you use manila editor you can find it in "Home" manila files.

Brenn
10th June 2009, 04:53 PM
Update 05.06.2009

- Better compression ratio (backwards compatible with old runtime)
- UltraHQ en/de-coding support (CFC)
- "Patch Manila on device" function has been improved to work-around the issue of Manila no longer starting that some people have (CFC-GUI)

Thank you thank you thank you! My stock Sprint Diamond can now be patched and compressed without issue!

This editor has been the most simple program to use and its so quick. I love all the recent changes that allow us the edit right then and there and move to the phone, no more cabbing or renaming to get the images changed out!

ninja.rogue
11th June 2009, 01:33 PM
I am using WWE Rhodium.
I can't patch Manila because it won't save files.
Can you help me?

Chainfire
11th June 2009, 01:52 PM
I'll check it out as soon as my TP2 arrives :)

xECK29x
16th June 2009, 09:04 PM
Chainfire is there a way just to get the Backround patch? I patched the TouchFLO on my phone and brought the one file over to my EXT package but the backround is still stuck at default regardless if I edit the proper Manila backround files. It is fixed once I apply the patch.

Chainfire
16th June 2009, 11:42 PM
Chainfire is there a way just to get the Backround patch? I patched the TouchFLO on my phone and brought the one file over to my EXT package but the backround is still stuck at default regardless if I edit the proper Manila backround files. It is fixed once I apply the patch.

I'm not quite sure what you mean?

abadon1977
17th June 2009, 05:10 PM
Hi

I have small problem when sending changed files to device. The manilla is stoping than the export to device fails maila starts but the file which was previously not in ROM it has now ROM file in preferences.

So what I get is no change of the file I've tried to change and in addition the target file is changed to the ROM file :-(

What I'm doing wrong ?

PROBEX
17th June 2009, 07:05 PM
I also still have not found a way to cfc compress files for Rhodium that works. The TP2 file protection on the exe and dll's is really a pain in my @ss. I hope you get your phone soon chain... lol you'll prolly figure it out in about 10 secs.

Chainfire
17th June 2009, 07:07 PM
I also still have not found a way to cfc compress files for Rhodium that works. The TP2 file protection on the exe and dll's is really a pain in my @ss. I hope you get your phone soon chain... lol you'll prolly figure it out in about 10 secs.

Worked fine for me actually (TP2 arrived yesterday)... Try installing my AppUnlock CAB from Rhodium/General first. I had it installed before I tried it but it worked.

PROBEX
17th June 2009, 07:24 PM
I will give that a shot thanks Chain. I'll let you know how it goes for me.

empewoow
22nd June 2009, 03:51 PM
Hey guys, it looks like a great app. But I'm not sure what I am doing wrong. I want to change a simple image in manila as a test, for example:

manila\tabbackgroundgraphiclevel0

It gives me an error when I do "Replace with ..." and choose the "1864da05.png" I got from a zipfile called "Icone Slider Trasparenti.zip". (There were images in it and also manila files, and those worked. Dunno where I got the zip from btw.) I also tried to "Pad" it before pushing "To device".

Manila stops and starts on my Blackstone, so that is not the problem. The error is:

Export: 1864da05_manila --> fail

0 images exported

(See attachment for screenshot.) What am I doing wrong?

Software versions I am using:

PC OS: Windows XP SP3
Rom: Duttys V3.4 XT WWE
TF3D: TouchFLO 3D 2.1.38147.5 duttys

michaellychu
3rd July 2009, 05:30 PM
I've got the same problem.
Am using a HTC Diamond 2, TF v3. Build 1913.2627.

I can't even patch my Manila, it says failed at the end.
Anything I can do to send the compressed files to my device?

Thx

Hey guys, it looks like a great app. But I'm not sure what I am doing wrong. I want to change a simple image in manila as a test, for example:

manila\tabbackgroundgraphiclevel0

It gives me an error when I do "Replace with ..." and choose the "1864da05.png" I got from a zipfile called "Icone Slider Trasparenti.zip". (There were images in it and also manila files, and those worked. Dunno where I got the zip from btw.) I also tried to "Pad" it before pushing "To device".

Manila stops and starts on my Blackstone, so that is not the problem. The error is:

Export: 1864da05_manila --> fail

0 images exported

(See attachment for screenshot.) What am I doing wrong?

Software versions I am using:

PC OS: Windows XP SP3
Rom: Duttys V3.4 XT WWE
TF3D: TouchFLO 3D 2.1.38147.5 duttys

nfollmer
14th July 2009, 11:09 PM
Chainfire is there a way just to get the Backround patch? I patched the TouchFLO on my phone and brought the one file over to my EXT package but the backround is still stuck at default regardless if I edit the proper Manila backround files. It is fixed once I apply the patch.

Same issue here.

We get the background file, edit it (I just scribbled on it to see why it looked so odd), then replace it. BUT, it still uses the old background. I even pulled that file back off the device and it shows up drawn on when its on my pc, but Touch Flo is still using the default squares...

michaellychu
17th July 2009, 05:28 AM
I've figured it out. After installing the "App Unlock" CAB, I was able to run the CFC GUI and successfully replace all manila files on my TD2 with CFC compressed.

One other question. I notice there's a "Start" program running at the background using 4116K memory. If I kill that program TF3D will not start again and will have to reset my device. Is there a way to run this program in the background so I won't accidientally kill it by pressing the "kill all" programs icon on the front page?

I've got the same problem.
Am using a HTC Diamond 2, TF v3. Build 1913.2627.

I can't even patch my Manila, it says failed at the end.
Anything I can do to send the compressed files to my device?

Thx

ohyeahar
20th July 2009, 02:47 PM
...One other question. I notice there's a "Start" program running at the background using 4116K memory. If I kill that program TF3D will not start again and will have to reset my device. Is there a way to run this program in the background so I won't accidientally kill it by pressing the "kill all" programs icon on the front page?

Add it into your Exclusive Programs List. Go to Task Manager settings, tap and hold on the program, add to Exclusive.

michaellychu
21st July 2009, 06:08 PM
Resolved! Thx.

Add it into your Exclusive Programs List. Go to Task Manager settings, tap and hold on the program, add to Exclusive.

fatpandas
29th July 2009, 05:45 PM
has anyone else been having trouble with CFC compressed images in WM6.5 builds 23003+? i've applied patches and whatnot but images will not display correctly. i've just been using it to change the backgrounds so i don't know if anything else works or not.
any ideas?

charlie_82
22nd August 2009, 07:01 PM
This is such a fantastic tool! It makes editting my files a breeze.
Thanks so much :D

hdaackda
23rd August 2009, 05:13 AM
When I run CFC_gui.exe , i am asked to select my manila folder!

I have my HTC touch pro connected through USB / Activesync, but I cant select my device from cfc gui...

any ideas how to cfc patch my htc fuze? I wana use the CfC Black Touch theme..

charlie_82
24th August 2009, 10:53 AM
Help please.
I went to Tools -> Export to PNGs
I editted the files i wanted to and then selected Tools -> Import to PNGs.

When I go through the Manila files, my changes are reflected. But when I try to update my files to my device (Device -> Export to Device), all my files fail :(

When I editted each file individually (navigating to the Manila file, then Save As, then edit, then Replace With, then To Device) it worked fine. The batch import/export doesn't seem to be working here...

I tried CFC Compress, CFC Decompress, Pad & Trim but no luck there either. Please help. Doing one file at a time is very tedious :(

charlie_82
24th August 2009, 11:34 AM
Help please.
I went to Tools -> Export to PNGs
I editted the files i wanted to and then selected Tools -> Import to PNGs.

When I go through the Manila files, my changes are reflected. But when I try to update my files to my device (Device -> Export to Device), all my files fail :(

When I editted each file individually (navigating to the Manila file, then Save As, then edit, then Replace With, then To Device) it worked fine. The batch import/export doesn't seem to be working here...

I tried CFC Compress, CFC Decompress, Pad & Trim but no luck there either. Please help. Doing one file at a time is very tedious :(

Oops no worries, I had just did a hard reset and forgot to install the AppUnlock again *hides away in shame* :o

N'da
1st September 2009, 08:07 AM
Hi Chainfire, are you gonna make a version using the new path/name for manila 2.5 ? it's very helpful to have name and category displayed like you did for 2.1 and below, i know that the name algorithm have change, are you planning a new version ? Thanks for your great work.

Chainfire
1st September 2009, 08:21 AM
Perhaps :)

Chainfire
1st September 2009, 11:14 AM
Try this TEST version. I do not run 2.5 myself yet, so I was not able to test it properly. Let me know how it works, so I can update all the relevant posts.

Note that this only deals with the image names, no changes to Manila patching routines for CFC runtime (I don't know if they are necessary, actually).

pp18
11th September 2009, 11:53 AM
Try this TEST version. I do not run 2.5 myself yet, so I was not able to test it properly. Let me know how it works, so I can update all the relevant posts.
Note that this only deals with the image names, no changes to Manila patching routines for CFC runtime (I don't know if they are necessary, actually).
it's great! much more convenient to edit images now! :)

tidus18
17th September 2009, 05:39 AM
Try this TEST version. I do not run 2.5 myself yet, so I was not able to test it properly. Let me know how it works, so I can update all the relevant posts.

Note that this only deals with the image names, no changes to Manila patching routines for CFC runtime (I don't know if they are necessary, actually).

First of all, THANKS Chainfire - for this excellent tool... It works well with Manila 2.5 (Im using Energy 'Genesis' released on 14/09/09). So far i successfully changed all the ugly new slider bar's icons.

However, can someone please post on how to copy the mode9.dll out for CFC patching (tried active sync & total commander without success) ? i was able to patch manila.exe and deploy the 2 additional dll file using CFC GUI.

Any help is greatly appreciated!

dharvey4651
26th September 2009, 10:27 AM
However, can someone please post on how to copy the mode9.dll out for CFC patching (tried active sync & total commander without success) ? i was able to patch manila.exe and deploy the 2 additional dll file using CFC GUI.

Any help is greatly appreciated!

You will need to have the module on your PC and use Visual Kitchen to recmod the module back into a file. Keep in mind, once the file is modified, it will also need to be re-signed using a certificate tool that can be found here on xda.

tidus18
27th September 2009, 03:08 PM
You will need to have the module on your PC and use Visual Kitchen to recmod the module back into a file. Keep in mind, once the file is modified, it will also need to be re-signed using a certificate tool that can be found here on xda.


Ok... Thanks dharvey4651 for the reply!:)

polyu7
30th September 2009, 09:34 PM
what is 2a3d01cc_manila for?

texture
3rd October 2009, 06:49 PM
Try this TEST version. I do not run 2.5 myself yet, so I was not able to test it properly. Let me know how it works, so I can update all the relevant posts.

Note that this only deals with the image names, no changes to Manila patching routines for CFC runtime (I don't know if they are necessary, actually).

Hi Chainfire,

I've tried this test version with manila 2.5.19192828 and works better,compression and patching works,but in this new manila 2.5 there a lot of QTC files that is visualizated in this mode on your CFCGui:

http://img57.imageshack.us/img57/9704/immaginemo.jpg

The same file opened with m9editor don't have color attributes (i don't find RGB or RGBA but ??? )...on this file is not possible to apply compression.

Attached you can find an example of these files.

Chainfire
5th October 2009, 01:15 PM
Hi Chainfire,

I've tried this test version with manila 2.5.19192828 and works better,compression and patching works,but in this new manila 2.5 there a lot of QTC files that is visualizated in this mode on your CFCGui:

http://img57.imageshack.us/img57/9704/immaginemo.jpg

The same file opened with m9editor don't have color attributes (i don't find RGB or RGBA but ??? )...on this file is not possible to apply compression.

Attached you can find an example of these files.

Do you know what it's _supposed_ to look like?

EDIT: Seems this is a format I haven't seen before... 0x05... While before only 0x14 and 0x15 were used. Seems to be 16bpp... Gonna need some patching to figure out exactly which format this is... Unfortunately I have no devices running Manila 2.5... You know where I can find the OEM?

bobsbbq
10th October 2009, 08:17 AM
Could someone who has used this on manila 2.5 help me a little?

First did you run cfc on each folder?

Second do you have to patch the manila folders just to change background?

I tried making a new background and after the manila would not start. Note I did nothing else.

I'm doing all this on folders before cooking not on the device.

bobsbbq
10th October 2009, 10:58 AM
I have had no luck creating my own background, as I have done before with 2.1. When I tried creating the background and check send to device it says failed to copy.

Any ideas?

maranell0
13th October 2009, 03:12 PM
Hello Chainfire,

Have you had any success in identifying the new QTC image format in Manila 2.5?
The backgrounds and the slider icons in newer Manila 2.5 builds are in this format.

Chainfire
15th October 2009, 10:44 AM
Sorry not yet, I'm completely swamped with work, all my hobby projects are temporarily on hold :)

technastar
16th October 2009, 08:45 PM
thank you so much man! i will be using this to help some old friends. please pm me when you have a new update!

Chainfire
19th October 2009, 12:57 PM
Hmm, I was looking into the patching code for 2.5 ... cant read or copy mode9.dll ... anyone know what is up with that?

@texture
Are you also having this issue? If not, can you post your mode9.dll ?

maranell0
21st October 2009, 11:15 PM
Hmm, I was looking into the patching code for 2.5 ... cant read or copy mode9.dll ... anyone know what is up with that?

@texture
Are you also having this issue? If not, can you post your mode9.dll ?

Attached a mode9.dll from Manila_Core_2_5_19193431_0

XDA-Geek
29th October 2009, 02:22 PM
can anybody build a pure manila 2.5 editor ?????

Chainfire
29th October 2009, 06:16 PM
Ok I figured out the new formats!

At least, 3 of the 4. I know there is a 4th, but I have not actually encountered this format in any of the files I have, so I have "guessed" at how to treat it.

In total there are now 6 different QTC formats, excluding the 8 CFC formats, making a grand total of 14 different image formats (ugh!), and no support for the PVR formats yet (from Qilin and such).

In my development version CFC compression is now working on all files I have, reducing the images from a whopping 48mb down to 6. Working on support DLLs now to test on-device, and getting the latest Manila version from NRGZ28 for final research.

Stuff will happen in the following order:
- CFC GUI and support DLLs will be updated
- Tech thread will be updated with the information
- CFC console will be updated

Maranell0, do you have a special need for these formats? I don't think they'd be useful for your wallpaper tool...

Chainfire
29th October 2009, 07:29 PM
Ok, CFC 0.60 seems to work on my device. It is now in testing by some chefs, namely NRG and MightyMike, guess we'll hear sooner or later :)

maranell0
29th October 2009, 08:05 PM
Ok I figured out the new formats!

At least, 3 of the 4. I know there is a 4th, but I have not actually encountered this format in any of the files I have, so I have "guessed" at how to treat it.

In total there are now 6 different QTC formats, excluding the 8 CFC formats, making a grand total of 14 different image formats (ugh!), and no support for the PVR formats yet (from Qilin and such).

In my development version CFC compression is now working on all files I have, reducing the images from a whopping 48mb down to 6. Working on support DLLs now to test on-device, and getting the latest Manila version from NRGZ28 for final research.

Stuff will happen in the following order:
- CFC GUI and support DLLs will be updated
- Tech thread will be updated with the information
- CFC console will be updated

Maranell0, do you have a special need for these formats? I don't think they'd be useful for your wallpaper tool...

I haven't been able to change the default wallpaper or the slider icons by editing any of the image files recognized by CFC GUI 0.55.
There are also references to some "_RAW_" files in the scripts which I haven't been able to find.
So I assumed the wallpaper images & icons were in the new format files.

Chainfire
29th October 2009, 08:23 PM
I haven't been able to change the default wallpaper or the slider icons by editing any of the image files recognized by CFC GUI 0.55.
There are also references to some "_RAW_" files in the scripts which I haven't been able to find.
So I assumed the wallpaper images & icons were in the new format files.

Well, if I add the functions to convert from QTC to PNG (for these formats) and you then use UltraHQ CFC to but them back, will that do?

Because I'm not sure yet if I am adding encoding functions for the new formats..

maranell0
29th October 2009, 08:42 PM
Well, if I add the functions to convert from QTC to PNG (for these formats) and you then use UltraHQ CFC to but them back, will that do?

Because I'm not sure yet if I am adding encoding functions for the new formats..

That would be nice, thank you.

Chainfire
30th October 2009, 12:49 PM
Maranell0, drop me a PM with your e-mail addy and I'll see if I can drop you a test version of CFC (console) before the day ends (I'll be out for a couple of days starting a few hours from now)

bignadad
6th November 2009, 08:13 PM
Maranell0, drop me a PM with your e-mail addy and I'll see if I can drop you a test version of CFC (console) before the day ends (I'll be out for a couple of days starting a few hours from now)
Can i get a the Test Verison to Try?

Spike™
8th November 2009, 10:08 AM
lookin forward to the update too

Chainfire
8th November 2009, 12:20 PM
sorry for the delay people, ill try to release it tomorrow

kinnyfaifai
8th November 2009, 01:20 PM
sorry for the delay people, ill try to release it tomorrow

Sounds good to me! Looking forward to it! :D

EpiphanyNL
11th November 2009, 01:12 PM
sorry for the delay people, ill try to release it tomorrow

Looks like you didnt manage to release. Any idea when you will be able to release? Im eagerly anticipating the new version :)

bignadad
11th November 2009, 03:40 PM
Looks like you didnt manage to release. Any idea when you will be able to release? Im eagerly anticipating the new version :)

me too!!! any word on when?

Chainfire
11th November 2009, 04:54 PM
Ok I released it. It's far from perfect at the moment. Please do make sure you read the 2.5 specific notes on the first page.

Please note the tech thread has not been updated yet, so you'll have to wait a few minutes longer for that :)

EDIT: Done updating both threads.

Don't forget to donate ;)

kinnyfaifai
11th November 2009, 06:06 PM
Excellent work. I'll give it a whirl later tonight.

Anything you need me to report back on? :)

Chainfire
11th November 2009, 06:25 PM
You can always mention things that don't work, though I think I am aware of most of them... and it's bad for my ego too! :P

YYYYY
11th November 2009, 06:53 PM
Everything seems to work fine, thanks a lot mate love your work, a small donation should arrive as soon as I´m back to germany :)

Spike™
11th November 2009, 07:15 PM
big thanks mate!!

bubbleman
14th November 2009, 04:21 PM
Dear Sir,

I am a new comer of CFC GUI.

I need your help to the below point. Hope you can help me how to solve the problem by CFC GUI.

1. I need your help to teach me how to solve my problem about calendar icon (double icon) as the 1st and 2nd attachment, for the CAB I've got from http://forum.ppcgeeks.com/showthread.php?t=83690. When I move slider, you will see very clear 2 sliders on the screen. Once I move the calendar slider to next tab, the problem has been solved. But when calendar to be the mail page, you will see 2 icons are up and down. Do you have any idea how to solve the problem?

2. For the program icon is really bigger to others. Please see the 3rd attachment. Is it possible make it to be smaller about 1/3 or use abother better one for replacement? (I've got another program icon from forum.xda-developers.com/showthread.php?t=498420, the program icon seems very nice)

I know the CFC GUI is a very useful tool, maybe I am too stupid. Help. Help!!

Thanks you very much.:D

Best regards,
Bubbleman

maranell0
15th November 2009, 08:57 PM
Dear Sir,

I am a new comer of CFC GUI.

I need your help to the below point. Hope you can help me how to solve the problem by CFC GUI.

1. I need your help to teach me how to solve my problem about calendar icon (double icon) as the 1st and 2nd attachment, for the CAB I've got from http://forum.ppcgeeks.com/showthread.php?t=83690. When I move slider, you will see very clear 2 sliders on the screen. Once I move the calendar slider to next tab, the problem has been solved. But when calendar to be the mail page, you will see 2 icons are up and down. Do you have any idea how to solve the problem?

2. For the program icon is really bigger to others. Please see the 3rd attachment. Is it possible make it to be smaller about 1/3 or use abother better one for replacement? (I've got another program icon from forum.xda-developers.com/showthread.php?t=498420, the program icon seems very nice)

I know the CFC GUI is a very useful tool, maybe I am too stupid. Help. Help!!

Thanks you very much.:D

Best regards,
Bubbleman

To solve the double icon problem, install the Lucarp78 transparent slider found here:
http://forum.xda-developers.com/showthread.php?t=502799

As for the program icon, open it with an image editor like Paint.net (http://www.getpaint.net/index.html) and resize the content.

santod040
17th November 2009, 11:05 PM
:confused:
I've been doing some manila modifications with CFC GUI lately. Today when I attached my phone to PC and tried to scan my manila files on the device, it says "FAIL" or "not an image" for every single manila file.

I have rebooted my PC and hard reset my phone. As well as flashed a new rom. Nothing seems to get it working again, like it did just last night!

The phone also does not show up in the Folder selections in the CFC file explorer.

Stumped here and would greatly appreciate any guidance or help!

kinnyfaifai
18th November 2009, 04:18 PM
Anyone know how to replace the image files using CFC GUI to match teh orignal bpp? I'm finding for images in 16bpp gets changed to 8bpp even when image being imported is 16bpp?

any help will be much appreciated! :)

keatabeata
18th November 2009, 11:40 PM
I have had no luck with this. I have changed the images I wanted but I don't know how to get them on my phone. I am very frustrated:(, every time I try to export a file back to me phone it says fail 0 images exported. Starting Manila-failed.

What am I doing wrong?

I just want to change a few simple things.

Thanks for any help.

shark147
20th November 2009, 09:27 AM
Hi Chainfire

Great TOOL Congratulation!!!!

I have a Question, it's possible remove patch manila? i have manila 2.1 by Yozgatg, and i would like remove patch CFC, can you implement on TOOL this function?

Thanks so much


Sorry for my bad English

Oobly
1st December 2009, 12:22 PM
Hi Chainfire,

I have managed to get CFC compression working with my 2.5 ROM, but it doesn't seem to be any faster than before.

I noticed you have to change references to the opengles_cm.dll. I am using the Neos2007 driver pack 3 which has an updated opengles_cm.dll.

Is it possible that the Neos dll handles the uncompressed manila files faster than the _mn.dll handles the compressed files?

If that is so, would it be possible to make a new version of the _mn dll using the Neos _cm dll as a base?

Thank you,

-Oobly

ca3sar
21st December 2009, 06:35 PM
I have downloaded a cab that has a theme and a slider packed in it. How would i use this to remove the slider?

capitaljay
30th December 2009, 09:37 AM
Hey guys I was just looking into this brilliant app; just what I've been looking for... haven't been able to look into it much since I'm at work, but I have a - probably stupid - question;

On the slider-editor, I see a nice collection of all the icons to edit, but how can I edit the slider itself, and the bar the icons are placed on?

borgymanotoy
11th January 2010, 06:12 AM
Hello,

will this work on old versions of TouchFLO specifically the one on my diamond now?

TouchFLO 3D Version 1.2.35845.1_1813.6_CFC

I have no luck in newer TouchFLO versions since they eat a lot of memory and most of the time they lags :(

please enlighten me ^_^

TheRealBnold
12th January 2010, 09:59 PM
Thanks for the great app :)

Been using it for changing allmost all craphics, but after the last official SMS (Radio) update it wont no longer accept to change slider icons!?
Export: 71687712_manila --> fail
0 images exported

But i can still change everything else.
And of course i really want to be able to change them back to my white letters...


http://i389.photobucket.com/albums/oo335/TheRealBnold/Screen02-5.png

TheRealBnold
13th January 2010, 03:40 PM
Maybe someone with the update wanna help me out? All i want to know is if they got the same problem...
If they dont, then ill ask someone with brains to help me out :p

mosca
14th January 2010, 01:54 AM
Thanks for the great app

borgymanotoy
19th January 2010, 11:31 AM
Hello all,

this may be irrelevant to the thread, but since this thread is also about 2.1 version of TF3D.. I would like to ask if anyone of you knows how to upgrade my TF3D from 2.1 into 2.5 version? :D

thanks and Godbles ^_^

johnkst
23rd January 2010, 06:25 PM
This looks like it would be a very useful tool if I could get it to work on my device (HD2 running Sense 2.5 manila version 1920).

But I can't! So at best it's useful for finding which images are stored in which manila files.

If anyone has managed to get it to work properly on this device, I would be interested to hear how you did it.

For those of you who like a bit more detail, this is what I mean by 'doesn't work':

1. Updating date files automatically to my device - failed because it cannot stop manila
2. Updating files manually to my device (after stopping manila on the device) - failed (no reason given)
3. It won't patch manila automatically (documented problem)
4. I can't patch manila manually as instructed because I cannot extract a copy of mode9.dll from the device
5. I can't update the registry (add -CFC to manila version string) as there is no string named 'version' and the instruction is too vague otherwise to work out which of the many strings is meant.

Sorry if this post comes across negative. I have tried to stick to reporting the facts as I see them. I do not mean to imply that the application does not work fine for others using other devices and other versions of Sense/manila.

ady_uaic
30th January 2010, 03:18 PM
how can we modify the paths of some icons? i mean that i've installed manila 2.1 on toshiba tg01, but doesn't work all functions, and i want to redirect some shortcuts. For example, when you press camera (on the screen) nothing happens; i think that is not pointing well.

deserted
30th January 2010, 07:40 PM
Yes, its great app.

But sometime i got a small bug in my modified clock :(
imagebam.com/image/fbd27966008927
It happens when i close some application, not always. Any idea?

imnuts
31st January 2010, 01:15 AM
4. I can't patch manila manually as instructed because I cannot extract a copy of mode9.dll from the device

Try and find an OEM package of whatever version of Manila 2.5 you're running and patch the mode9.dll file that way. I just did it this way and then made a cab to overwrite the mode9.dll that was already on my device with the patched one.

bliind
8th February 2010, 11:36 PM
I'm having a bit of a weird issue and can't find anything searching. I'm running the newest EnergyROM with Sense 2.1 and I'm trying to make a background with cfc-gui.. and they keep coming out "warped." I've tried choosing and not choosing the "stretch" option, and tried with and without compression..:confused:

gsm44
13th February 2010, 01:22 AM
Could some one help me please

I am using CFC GUI to edit some manila files on the phone, namely [6e0de01f_manila & 29c862ff_manila] (calendar appointment & calendar today appointment) which are the grey triangle on sense 2.1 calendar appointment in month view.

I replace the original PNG with the same PNG after changing it's colour to green in photoshop, then use [to device] which restarts TF3D but nothing changes on the calendar tab !?

After a soft reset I reconnect, use [CFC GUI/Device/Import from device] & it imports the updated manila file with the green triangle ! :confused: but still shows a grey one on the phone.

My manila is cooked into the ROM I am using which is Gen.Y D2 R5.3 (http://forum.xda-developers.com/showthread.php?t=521941)


What am I missing here?

------------------------

[EDIT]

I actually changed the PNG for above original files in the Gen.Y R5.3 MultiLANG Kitchen (http://forum.xda-developers.com/showthread.php?t=595380) & cooked the ROM, flashed it & it's still showing a grey triangle on the phone's calendar !! :eek:
Yet when I import files from device (the new ROM) with CF GUI it shows in the program as green !! :confused:

What's going on?

wapvirus
16th February 2010, 08:29 PM
Thanks for creating a great tool works flawlessly on windows 7 (Run as Administrator)

Malva
27th February 2010, 11:37 PM
This looks like it would be a very useful tool if I could get it to work on my device (HD2 running Sense 2.5 manila version 1920).

But I can't! So at best it's useful for finding which images are stored in which manila files.

If anyone has managed to get it to work properly on this device, I would be interested to hear how you did it.

For those of you who like a bit more detail, this is what I mean by 'doesn't work':

1. Updating date files automatically to my device - failed because it cannot stop manila
2. Updating files manually to my device (after stopping manila on the device) - failed (no reason given)
3. It won't patch manila automatically (documented problem)
4. I can't patch manila manually as instructed because I cannot extract a copy of mode9.dll from the device
5. I can't update the registry (add -CFC to manila version string) as there is no string named 'version' and the instruction is too vague otherwise to work out which of the many strings is meant.

Sorry if this post comes across negative. I have tried to stick to reporting the facts as I see them. I do not mean to imply that the application does not work fine for others using other devices and other versions of Sense/manila.

i agree, am having mostly the same problems with manila 2.5.19222911.0 and would love to get it working.
for mode9.dll try getting it from an oem version as was recommended a few posts earlier

spacious
2nd April 2010, 10:19 PM
Works great on TouchPro2 Once I found the AppUnlock cab.

Seems like it would help a bunch of folks to link to that in the first post. I read the manual and couldn't figure out why it wouldn't actually change the QTCs on my device. Then I read 14 pages or so of the tech/reference thread that was linked to from the ManilaKitchen thread (where I got CFC - GUI ) before I found a link to this thread where I had to read many pages before I found the link to AppUnlock.

Anyway - I learned a bunch of stuff about how this thing actually works and how much work went into building it.

Thank you.

negromnia90
3rd April 2010, 01:11 PM
Hi chanfire!
I wanted you that this program does not work well with manila 2.5.20121412.1 or manila tab with facebook!

in particular, are unable to carry a theme from PC to PDA

Hello!

betitomiller
1st May 2010, 06:56 PM
in which way i can change manila name of file &

freeriders
12th May 2010, 07:12 PM
Hi!
I am having problems with CFCGui and Windows7 64bit.
I am using WIndows7 Professional but I think its the same problem for each version (?)
I made a screen so that you see what the problem is.
I cant choose any files on the left, it's blank.
I did reload the folder etc but it didn't help.
I also tried compatibility mode with Win XP SP3 but its the same.
Does anybody have the same problem?


Rgds


EDIT:
Doesn't seems to be a problem with Win7.
It was a problem with the files.
I had a Backup folder and there CFCGui could open the files. Very strange but now it works again.
Perhaps because I changed the system, I don't know.


Rgds

Ankleman
22nd May 2010, 07:25 AM
Your the Daddy Chainfire

Nixeus
8th June 2010, 09:56 PM
Hello my friends, i have 2 noobs questions :

1) Why using CFC compression ? Is better quality than original manilla files ?

2) Why when i create a background with CFCGUI, and cooked my device, i don't see my walpapper ( Sense 2.5 on HTC LEO)

Thanks a lot

regards,

Nixeus

niteowl360
11th June 2010, 10:06 PM
I have had no luck with this. I have changed the images I wanted but I don't know how to get them on my phone. I am very frustrated:(, every time I try to export a file back to me phone it says fail 0 images exported. Starting Manila-failed.

What am I doing wrong?

I just want to change a few simple things.

Thanks for any help.

Same here. New to this, so any help would be appreciated.

I get 'fail' message when clicking on 'To Device'.
Should I be stopping Manilla?
I have tried this but same results.

Also the latest version 0.6 doesn't load all the manila files that the earlier version loaded.

Apologies for questions which may be basic.

Thanks in advance.

HD2 ROM 1.66.421 Manila 2.5 1921

Kangmas assisted me.

Essentially create the new png file.

In CFC replace the original with the new.

Close CFC.

Copy the manilla file that you have added the new png and paste into Windows folder using Total Commander or similar.

That's it!

tin2404
12th June 2010, 07:07 PM
I dont get it ! CFC is a great tool and works good...but,how to save manila files from png's on my computer instead porting them to device?
it simply does not save manila files on computer or I am missing something ?

Anyone? Idea?:(

seco10
13th June 2010, 11:27 AM
...how to save manila files from png's on my computer instead porting them to device?...(

Klick on "Tools" and "Export to PNGs" and choose the folder you want - and after doing some changes at the png's the same way to return: "Import from PNGs". And if you have only png's, you may put some other manila files in this folder and by klicking on "Import..." cfc_gui will create manila-files from all png's in the folder.

brent372
27th June 2010, 08:46 PM
Is there an updated version that will catergorize newer Sense2.5 files.
I have version 0.60.35 and it catergorizes some, but the "uknown" section is just gigantic...

vrgolin
26th July 2010, 02:59 PM
hi guys with this tool can i change the slider manila icons? and if i can, how do i do it?
the patch is only for the chefs? and if dont, where is the patch?

atach a pic.

thanxs in advance.

HTC HD2
OS Ver. 5.2.21869
Manila Ver. 2.5.19211619
ROM Ver. 1.66.405.2 (76641) WWE
Radio 2.06.51.07
HSPL2 spl 2.08

5318008
3rd August 2010, 09:13 PM
Try and find an OEM package of whatever version of Manila 2.5 you're running and patch the mode9.dll file that way. I just did it this way and then made a cab to overwrite the mode9.dll that was already on my device with the patched one.

If you still have this .cab, can you post it? This'd help out the rest of us 2.5 users a bit. EDIT: Guess I should add this: I'm using 2.5.20121225.0. Don't know if it makes a difference.

Hi Chainfire,

(...)

If that is so, would it be possible to make a new version of the _mn dll using the Neos _cm dll as a base?

Thank you,

-Oobly

Curious about this myself, as I also use the Neo drivers.

m0bmentality
5th August 2010, 04:23 PM
When i try to get a png into cfc it like divides it into 3 different pics and mashes them back into the area... like this..

http://www.brittondelizia.com/josh/ew.jpg

Doodkapje
12th August 2010, 03:10 PM
CFC seems to be a nice tool, but in one way another it won't work with my HTC HD2 with Manila 2.5.19211xxx.xblabla

I wanted to change the background for HTC's e-mail viewer so I photoshopped the .png in 32820efc_manila. I can save the manila file on my computer, but CFC fails to replace the 32820efc_manila on my HD2.

I tried to remove 32820efc_manila from my device 'manually' but I cannot seem to change the 'read-only' status...

Can anyone help, please?

Thanks in advance!

brent372
12th August 2010, 09:58 PM
CFC seems to be a nice tool, but in one way another it won't work with my HTC HD2 with Manila 2.5.19211xxx.xblabla

I wanted to change the background for HTC's e-mail viewer so I photoshopped the .png in 32820efc_manila. I can save the manila file on my computer, but CFC fails to replace the 32820efc_manila on my HD2.

I tried to remove 32820efc_manila from my device 'manually' but I cannot seem to change the 'read-only' status...

Can anyone help, please?

Thanks in advance!

Don't work from the device.
MANUALLY copy manila files to PC.
Point CFC to where you copied them to.
Extract manila -> PNG
Modify PNG with your photo editor of choice.
With CFC import PNG -> manila
MANUALLY copy mnaila back to phone (SD card)
Then on phone use total commander or another advanced file editor to copy the manila files to \Windows\ on device.
Reboot.

Doodkapje
13th August 2010, 11:24 AM
Don't work from the device.
MANUALLY copy manila files to PC.
Point CFC to where you copied them to.
Extract manila -> PNG
Modify PNG with your photo editor of choice.
With CFC import PNG -> manila
MANUALLY copy mnaila back to phone (SD card)
Then on phone use total commander or another advanced file editor to copy the manila files to \Windows\ on device.
Reboot.

Superb! Thank you!

brent372
13th August 2010, 07:21 PM
Superb! Thank you!

Anytime...

danwesson381
14th December 2010, 10:32 PM
Hi, I would only to modify home background to my HTC Touch HD, so I patched manila on device, activated and deactivated cfc compression. I made my 512x256 background, modifing 1ae0036d_manila. Then I tried to copy it to my device both with CFC GUI and manually. In the first case it says me:
Export: 1ae0036d_manila --> fail
0 images exported
So, I tried to copy it manually with Total Commander. No problems, I reboot the phone but the background remains the same (default)... Need your help please!

swiss420
4th January 2011, 06:01 AM
Chainfire you are a genius. Thank you so much for this great application. Cant beliefe I used Manila Editor this long and missed out on CFC GUI. Would have made my life allot easier.

osiedacz
24th June 2011, 06:10 AM
Chainfire was gracious enough to allow me to add about 300 new manila file names to the list used by CFC GUI 0.60.35. Nothing else changed in the program, but it will now recognize many more manila file names from Sense 2.5 tabs.

If anyone has file names that I don't have in the program and you want them added, please let me know. I plan to update this in the future as I find other files to add.