Posted by mmbr777
Hello everybody!
Can you tell me where I can read about how thm-files are constructed?
I see that one thm-file of theme has XML which describes all parameters and images.
But I can't understand how to form all these files into one file... How to calculate checksum and so on. Maybe you know where I can read about this (structure of thm-files).
Tell me, please...
Posted by buckle247
if you just want to know to create your own theme there are programs available for free that do it all for all (check the developer section on SE website, will need to register).
If you want to know just for general knowledge/intrest then can't really help
Posted by mmbr777
Thank you, buckle247, for advice!..
But I need to create something like own theme-creator...
Posted by max_wedge
there are theme creators that simplify the job, however if you get an existing theme file, and rename it so that the .thm extension says .rar instead , you can then open it with winrar (google it and download and install winrar).
Inside the theme (which is just a rar archive) you will find an xml file and image files that make up the backgrounds etc of the theme.
You can make your own images by using the theme images as a template for your own backgrounds, and you can edit the xml file with notepad to change the colour scheme and ringtone etc.
Posted by mmbr777
Guys, I need exactly thm-format how thm files are inside.
I don't need any archivers (such as winrar).
In thm for mobile themes there are fields such as "checksum" "phone model" "inside file text"... and others... But I don't know in which order, and how to calculate checksum... Maybe this specification is published on some resource. Maybe you used to read it. Maybe you can give me a link to this document.
All I need is specification of thm files for mobile themes...
(Great thanks that you are trying answer me... But that was not that I need...)
Posted by max_wedge
mate, the .thm file IS A RAR ARCHIVE. If you rename the .thm extension to .rar, then you can open the archive and inspect the xml file inside and learn how it works.
Once you understand the xml file (it's obvious from looking at it), all you need to do is zip the xml file, and your new images, into a rar archive, and then rename it to whatever.thm and send it to the phone. You don't need any checksum, just zip your xml file and images into a rar. That's all you need to do.
You then have a theme constructed from scratch. If you don't understand that just download the freaking theme creator and stop asking questions and then ignoring them when answered.
If you are trying to create a program that makes themes, then all you need to know is the structure of the xml file, you don't need to know about checksum's, model or anything like that.
If you bothered to look on Sony Ericsson developer, you would have found this: http://developer.sonyericsson[....]ls/multimedia/p_multimedia.jsp download the developers theme guide.
Other manufacturers will each have their own developer websites which is where you find this sort of info
[ This Message was edited by: max_wedge on 2005-11-12 13:04 ]
Posted by mmbr777
2max_wedge
I've understood that you mean. So... What I'm doing. I'm writing xml-file and painting all images... Then I pack them into rar-archive. Then, I rename this rar-archive to thm-file. And what ??? Inside it I have something like "PKblablabla"... And this thm-file does not open in Sony Ericsson Themes Creator (for example). Possibly it would run on mobile. But I need it openned in Themes Creator!..
So, we just misunderstood each other. What does "structure of thm" in my representetion. This is a file which consists of some blocks:
[Block0Block1Block2...]
where each "BlockN" - is separate file.
Block0 is XML which describes theme.
And Block1, Block2, ... are images that are used.
But! All Blocks are in format like [Filename Checksum Phone-Model ... Filecontent].
So, I want to know the structure (format) of separate blocks...
Maybe someone know... Where I can read about this...
And I need to code own program which will build this thm-files. I AM NOT ABLE to use other soft. You see...
Can anyone help me?
Posted by buckle247
I'm not sure where you are getting this checksum thing from as here is the total XML file for a thm. I can't see the word checksum anywhere in that file, and there are now other files contained within the thm structure (apart from images).
Code: |
|
That was a t610 theme, and looking at a k700 theme it didn't even have the phone model number stored in it.
[ This Message was edited by: buckle247 on 2005-11-13 00:26 ]
[ This Message was edited by: buckle247 on 2005-11-13 00:29 ]
Posted by max_wedge
mmbr777, sorry dude, I see what you mean (I just tried it). Everything I said is correct, except it's not a RAR archive but a TAR!!
So sorry about that mis info. If you create a TAR file with the xml file
and images, it will work. I just created a theme by opening an
existing one and extracting all the images and the xml file. I then
packed them into a TAR archive with tugzip (you can't use winrar to
create TAR archives, so I had to find something else), renamed it
to .thm, and opened it in the theme creator. It opened perfectly, no checksum error.
Then I sent it to the phone where it also worked.
[ This Message was edited by: max_wedge on 2005-11-13 03:11 ]
Posted by mmbr777
Thanks to all ho tried to help me!!!
And Great Thanks to max_wedge!!! Thank you a lot! You've really helped me!
Posted by max_wedge
No worries