Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1

    Default Perl script to extract iconres.ezx for A780/E680i

    I write both perl script to extract and rebuild iconres.ezx for A780/E680i base on MotoEzxSE. Its create icons in GIF with IconID in filename and create Hashtable of IconID and HashID.
    Let try this and tell me about result.

    this version 1.05 is new updated.

    old version (1.04) has miss calculated on hashid when integer is overflow. this problem of hashid make icon disappear in theme. version 1.05 was correct this problem.
    Attached Files Attached Files

  2. #2
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    good job!! but you missed something. startblock and data must be aligned on a 4 byte boundary, as per my not so pretty code :
    Code:
      $zeronum = $startblockoffset % 4;
      $zeronum = 4 - $zeronum;
      if ($zeronum ne "0")
      { $startblockoffset = $startblockoffset + $zeronum;
        for ($i=1; $i<=$zeronum; $i++)
        { $zeros1 = pack C, 0;
          $zeros = $zeros . $zeros1;
        }
      }

  3. #3

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    did u mean $zeros in this line

    $headtxt = "$headtxt$zeros" ....

    (Motoezxse 4.0)

    it is not a startblock or data. it 's 1 record of \n-terminated resource ID that contain only character number 0. i don't know its a mistake by moto or else. u can view its in hashtable.txt with hex editor.

  4. #4
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    i suggest you try packing a iconres.ezx with just 2 icons: call_keypad_keybk and call_keypad_keybk_a. then install it in your theme and select that theme. see if it works

  5. #5

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    i just finish test with 2 icon theme. it's work!.

    and i check a startblockoffset in hex editor its point to the right byte. it 's not contain \0\n before startblockoffset.
    Visit my Blog here.http://my.opera.com/eakrin

  6. #6
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    can you attach the iconres.ezx here, i test on my phone

  7. #7

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    this is iconres.ezx that pack from packiconres script.
    its contain 2 icon Call_Btn and Call_Btn_a from liteblue theme.
    i was test on A80. it work fine.
    Attached Files Attached Files

  8. #8
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    can you test with Call_Keypad_KeyBk and Call_Keypad_KeyBk_Acti instead? thx

  9. #9
    Join Date
    Feb 2005
    Location
    sg<br>Mobile: e680 -> i (c5a4p)
    Posts
    1,412

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    nevermind forget it, the e680i/a780 doesnt get its keybk icon from the iconres.ezx. but i can assure you, it will not work with all icons

    Quote Originally Posted by Motorola
    Note: the start block and first entry of the hash table MUST be aligned
    on a 4-byte boundary. If they aren't we don't load the file.

  10. #10

    Default Re: Perl script to extract iconres.ezx for A780/E680i

    does "aligned on a 4-byte boundary" mean start block are store in 4-byte integer? my english is not good.

    i view A780 default iconres.ezx in hex editor. it contain \0 between resource id and start block.And LiteBlue Iconres.ezx does not contain $zeros before start block data. start block is locate after resource id. and its work on my phone.

    and i add your $zeros code in packIconres.pl its pack iconres.ezx with 4-byte larger than original iconres.ezx

    then i try to copy only iconres.ezx to phone. my phone does not found iconres.ezx.

    i continue to test with another theme and will tell about result.
    Visit my Blog here.http://my.opera.com/eakrin


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Skin&Iconres Packager 2.0 E680,E680i,A780,A1200,ROKR E6
    By eakrin in forum Moto Skins Technical Forum
    Replies: 11
    Last Post: 03-03-2009, 05:43 AM
  2. Perl script to create ani icons for A1200 from E680i/A780
    By eakrin in forum Moto Skins Technical Forum
    Replies: 3
    Last Post: 11-06-2006, 02:13 AM
  3. Original iconres.ezx
    By legolas in forum E680i General Chat
    Replies: 2
    Last Post: 06-28-2006, 01:43 AM
  4. new iconres.ezx file
    By noromamai in forum A1200 General Chat
    Replies: 4
    Last Post: 06-23-2006, 02:26 PM
  5. How do you extract an ezx icon file?
    By bbbb in forum E680 General Chat
    Replies: 1
    Last Post: 02-27-2005, 10:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1