Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,781 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    Quote Originally Posted by Danation View Post
    Thanks I'm almost finished tweaking it. I do have a couple more questions, though.

    For the .thm files:

    What happens if there is a blank line between items or between an item and a path? Is it ignored or does the process end? (I understand that two blank lines will begin the comment area.)

    Also, at the top of most themes, there are two lines containing version/rom information. Is it specifically two lines every time, or could it be one or three, etc? I want to make sure I do the conversions correctly.

    For the XML files:

    I'm assuming any tag that is not recognized will be ignored, right? So if a themer wants to add notes, they could add a <notes> tag or <message> or something, right? Or does it have to be a specific tag?

    Sorry to pester you
    <description>notes go here</description>
    Nexus S: CM7.1 Kang w/Voodoo
    Backflip: CM7.1
    Cliq: CM7.1
    Follow me on Twitter
    If you like something I have done & want to buy me a RedBull click HERE

  2. The Following User Says Thank You to j_r0dd For This Useful Post:

    Danation (04-10-2010)

  3. #17
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    I meant the notes at the bottom of a .thm.

    Example:

    framework-res.apk
    /system/framework/


    Notes notes notes notes notes notes
    notes
    notes
    notes, etc, etc,
    Also, though, I just wanted to make sure what happens to random tags.

    _.__.__._I have retired. If you PM me, I may not reply.

  4. #18
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,781 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    Quote Originally Posted by Danation View Post
    I meant the notes at the bottom of a .thm.

    Example:



    Also, though, I just wanted to make sure what happens to random tags.
    oh those notes lol.
    Nexus S: CM7.1 Kang w/Voodoo
    Backflip: CM7.1
    Cliq: CM7.1
    Follow me on Twitter
    If you like something I have done & want to buy me a RedBull click HERE

  5. #19
    Superbrad's Avatar
    offline So I Hear You Can Mod
    Join Date
    Dec 2009
    Location
    United Kingdom
    Posts
    163
    Thanks
    64
    Thanked 38 Times in 16 Posts
    Downloads
    13
    Uploads
    0
    Danation do you want to update the howto thread on the new metamorph theme control?
    Phone: Motorola DEXT (UK) | ROM:Blur 2.1 | Memory Stick: 2Gb - Stock

    How To: Creating Metamorph Themes & Bootscreens | Bootscreens: NeXus V2 - Hero - Windows Cupcake

  6. #20
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,781 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    [ame="http://www.youtube.com/watch?v=Mq4AuHKzNFo"]YouTube- MetaMorph ThemeControlFile (XML)[/ame]
    Nexus S: CM7.1 Kang w/Voodoo
    Backflip: CM7.1
    Cliq: CM7.1
    Follow me on Twitter
    If you like something I have done & want to buy me a RedBull click HERE

  7. The Following User Says Thank You to j_r0dd For This Useful Post:

    Danation (04-11-2010)

  8. #21
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    A screenshot now, eh? I'm assuming if you leave the tag empty, it won't hurt anything, right?
    Last edited by Danation; 04-11-2010 at 12:24 PM. Reason: ...

    _.__.__._I have retired. If you PM me, I may not reply.

  9. #22
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,781 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    Quote Originally Posted by Danation View Post
    A screenshot now, eh? I'm assuming if you leave the tag empty, it won't hurt anything, right?
    if you leave the field empty it is fine but i think you need to still have the start & end tags.
    Nexus S: CM7.1 Kang w/Voodoo
    Backflip: CM7.1
    Cliq: CM7.1
    Follow me on Twitter
    If you like something I have done & want to buy me a RedBull click HERE

  10. The Following User Says Thank You to j_r0dd For This Useful Post:

    Danation (04-11-2010)

  11. #23
    sublime1184's Avatar
    offline Retired Moderator
    Join Date
    Apr 2008
    Location
    Chicago, IL
    Posts
    3,740
    Thanks
    3,315
    Thanked 2,124 Times in 1,343 Posts
    Downloads
    49
    Uploads
    1
    Quote Originally Posted by Danation View Post
    ...Please let me know what you think...

    Tried this just now, works perfect, no problems for me. Nice job Dan!

  12. The Following User Says Thank You to sublime1184 For This Useful Post:

    Danation (04-11-2010)

  13. #24
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    I just updated the conversion program to version 1.0.

    It should be fully functional. Every existing theme should convert properly.

    Please let me know if there are any bugs.

    _.__.__._I have retired. If you PM me, I may not reply.

  14. 4 Users Say Thank You to Danation For This Useful Post

    brandonbray (04-13-2010), MillyMoo (04-15-2010), snowdragonusa (05-02-2010), sublime1184 (04-13-2010)

  15. #25
    offline Itty Bitty Modder
    Join Date
    May 2010
    Posts
    3
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Downloads
    2
    Uploads
    0

    convertion problems

    Having some probs with v1.0.

    1. When opening any .thm file I get the 'File Exists' dialog.
    2. When converting said .thm I get a error that there was a prob with the .thm file and to check to make sure the file was created correctly.

    I have attached the theme .thm and created .xml for your review(HexFusionBlueStock). I appears that the framework-res.apk portion of the file is the only thing that does not convert.
    Interestingly, when converting a .thm that only has a framework-res.apk there isn't an issue (see attached PullDownEditor).
    Could this be related to moving Framework to the end?

    Cheers,
    SD
    Attached Files Attached Files

  16. The Following User Says Thank You to snowdragonusa For This Useful Post:

    Danation (05-03-2010)

  17. #26
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    I'll take a look and let you know.

    ___________________________________________

    Ok, I took a look at it.

    I'm also seeing the first problem you mentioned. I'll check my code and release a fix for that. Thanks for pointing it out

    The second problem is actually with the .thm file. Stericson's specifications for the original .thm files are that after the modded files and locations are listed, there must be two blank spaces before additional notes can be added. I asked him about single blank lines, and he said those are ignored.

    So the converter found the "By PMilzie" and thought it was a new item. It couldn't find a location, so it caused the conversion to end. And since it waits until all conversions are done before adding the framework, the framework was never added.

    I'll see if I can tweak the code such that if there's an error, it still adds the framework in.

    Thanks again for the feedback
    Last edited by Danation; 05-03-2010 at 11:15 AM. Reason: Automerged Doublepost

    _.__.__._I have retired. If you PM me, I may not reply.

  18. The Following User Says Thank You to Danation For This Useful Post:

    snowdragonusa (05-03-2010)

  19. #27
    offline Itty Bitty Modder
    Join Date
    May 2010
    Posts
    3
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Downloads
    2
    Uploads
    0
    Nice thanks Danation. I took your lead and put an extra space between the framework and note. Works like a charm. I'll need to go through the themes I have and make sure the authors have that extra space.

    Cheers!
    SD

  20. The Following User Says Thank You to snowdragonusa For This Useful Post:

    Danation (05-04-2010)

  21. #28
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    Both bugs are fixed and the new version has been uploaded to Post #10 of this thread (here). Thanks again for pointing out the problems.

    Added drag and drop for convenience.

    Final version is done (unless there are bug reports or feature requests.)

    Drag and drop directories.

    All .thm files in the directory and all subdirectories will be converted. Other files are ignored.

    Convert all of your themes at once

    Themes that have already been converted won't be damaged.
    Last edited by Danation; 05-10-2010 at 12:26 AM. Reason: Automerged Doublepost

    _.__.__._I have retired. If you PM me, I may not reply.

  22. 2 Users Say Thank You to Danation For This Useful Post

    snowdragonusa (05-10-2010), sublime1184 (05-10-2010)

  23. #29
    offline Itty Bitty Modder
    Join Date
    May 2010
    Posts
    3
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Downloads
    2
    Uploads
    0
    Danation... dude, you ARE the bomb!

    Thanks a million for putting this awesome utility together. You rock!


  24. The Following User Says Thank You to snowdragonusa For This Useful Post:

    Danation (05-11-2010)

  25. #30
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,881
    Thanks
    4,383
    Thanked 3,386 Times in 2,118 Posts
    Downloads
    3
    Uploads
    0
    Thanks

    _.__.__._I have retired. If you PM me, I may not reply.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •