爱技术

 找回密码
 注册会员

QQ登录

只需一步,快速开始

微信登录

微信扫一扫,快速登录

搜索
查看: 357|回复: 0
收起左侧

[Flash修改] [MP][C81CV50]Iconbar Additions v3.5

[复制链接]
发表于 2008-9-3 10:13:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?注册会员 微信登录

x
;* Iconbar Additions v3.5 NewSGold *
; (c) benj9, completely revamped for NewSGold by BuG
; (p) starfriend

; (!) Masterpatch, API, Library functions 11, 15, 16,
; 27, 3F, 40, 51, 69, 6A, B1, B6, C4, C9, CA, D6, DB

; recompiled for ELFPack v2.2

29CF58: 341C0028049102D0 004FB847,0xA007B81B ; C81CV50

; don't replace line feeds with spaces in provider name
29E0BA: 0A FF ; mainscreen
35ADB2: 0A FF ; screensaver

#pragma enable old_equal_ff
007B800: 49636F6E6261724164646974696F6E20
007B810: 62656E6A392C20427547C046341C0028
007B820: 0491C046F7B569DF8E48C4DF06D00024
007B830: 061C00F016F80134052CFADD894B0024
007B840: 0134042C08DC181918B4C4DF18BCF7D0
007B850: 061C00F0B6F8F3E76ADFF7BC08BC0433
007B860: 184718B5B178E1400122114001D06400
007B870: A74418BD04E011E015E067E073E003E0
007B880: B6DFB26912188FE0C7DFC98000780028
007B890: EFD0013840088000083002E040DF8000
007B8A0: 1030002471E0C7DFD6800778002F7ED0
007B8B0: 8CB0FF22F270C7DFCA80438882880092
007B8C0: 01A8311C543116DF01A8311C443111DF
007B8D0: 32D4706C018800292ED0023001394900
007B8E0: 00228A4228DC835C02320A2BF9D1835C
007B8F0: 0A2B21D1341C4834271C0232131C0E33
007B900: 8B4200DA191C835C3B70013702328A42
007B910: F9DD012000230A22013F397830394143
007B920: 5B185043A742F7DC706C15DF00207064
007B930: 0CB01A1C50242BE0F378FF2B01D00CB0
007B940: 35E00023F370C7DFCA80B7E751DF0021
007B950: 3CA23EA3545CA04202DD01310829F9DB
007B960: 585C342411E0B6DF3279C24001200240
007B970: 1DD07378F06B316CC2188A4201DD021C
007B980: 002301337370382402E03258002A0ED0
007B990: 002C09D064203FDF031C305B0234315B
007B9A0: 80242402A04203DB101C10A927DF18BD
007B9B0: 01B4C7DFDB800068012801BCF7D0B1DF
007B9C0: F5E718B5A400F768002FF0D5B0790028
007B9D0: 04D03F68002FEAD5F0793F1871780129
007B9E0: 04DB01D03F6802E03F8800E03F78707A
007B9F0: 00241C2C09D00121014003D0317A00F0
007BA00: 0FF809D040080434F3E701210140CED0
007BA10: 002100F005F8CAD0302000190224B4E7
007BA20: 10221219B258012902D004DC97427047
007BA30: 974204DD01E0974201DA002200E00122
007BA40: 012A7047050608090F1213FF1C202428
007BA50: 242C3024F1010000

007BA60: 0xB1C2D3E4,0x00001C00,0000000000000000,"\
{patch=`Iconbar Additions` ver=3.5 cp=benj9 id=1C00}","\
\
{sm `profile`}","\
{2.0 cb engage v=1}","\
{24 i `first icon` v=2064}","\
{endsm}","\
\
{sm `vibra`}","\
{2.1 cb engage v=1}","\
{20 i `vibra icon` v=2073}","\
{16 i `no-vibra icon` v=2072}","\
(0=icon off)","\
{endsm}","\
\
{sm `charging`}","\
{2.5 cb engage v=1}","\
0 = icon off","\
{8 i `charge icon` v=2304}","\
{12 i `full icon` v=2305}","\
{endsm}","\
\
{sm `miniGPS`}","\
Enter icons in 3rd line of minigps files","\
{2.2 cb engage v=1}","\
{80 xy2 position x=32788 y=180}(off=iconbar, on=static)","\
{84 s miniGPS maxlen=31 ","\
value=`0:\\Misc\\gps\\%i\\%i-%i.tmo`}","\
{endsm}","\
\
{sm `net mode`}","\
{2.3 cb engage}","\
{52 xy2 position x=32788 y=100}(off=iconbar, on=static)","\
{28 i iconSearchingLo v=489}","\
{32 i iconPhoneTraffic v=490}","\
{36 i iconSearchingHi v=491}","\
{40 i iconSmsTraffic v=492}","\
{44 i iconSemiIdle v=493}","\
{48 i iconIdle}","\
(0=icon off)","\
{endsm}","\
\
{sm `animation`}","\
{2.4 cb engage}","\
{sm Profiles}","\
{4.0 cb 1 v=1}{4.1 cb 2 v=1}{4.2 cb 3 v=1}{4.3 cb 4 v=1}","\
{4.4 cb 5 v=1}{4.5 cb 6 v=1}{4.6 cb 7 v=1}{4.7 cb 8 v=1}","\
{endsm}","\
{56 xy2 position x=32770 y=142}(off=iconbar, on=static)","\
{60 i `first icon` v=59}","\
{64 i `last icon` v=60}","\
{endsm}",00
#pragma disable old_equal_ff

; ============================================================

#pragma enable old_equal_ff
007C100: 0xB1C2D3E4,0x00001C01,0000000000000000,"\
{patch=`Iconbar Alarm Clock` ver=3 cp=benj9 id=1C01 pf=n}","\
{02 xy2 position x=32780 y=200}(off=iconbar, on=static)","\
{sm focus}","\
\
{12 a address v=A8F5B964}","\
{06 cb `use as pointer` v=0}","\
{07 b offset v=00}","\
{01 o `load type` `byte (1b)`=0 `hword (2b)`=1 `dword (4b)`=2 v=0}{endsm}","\
{08 o `val1-val7 condition` `=`=0 `<=`=1 `>=`=2 v=0}","\
\
{sm `alarm on`}{9.0 cb engage v=1}","\
{16 i value v=01}","\
{48 i icon v=449}{endsm}","\
\
{endsm}",00
#pragma disable old_equal_ff

; ============================================================

#pragma enable old_equal_ff
007BEB0: 0xB1C2D3E4,0x00001C02,0000000000000000,"\
{patch=`Iconbar Key Sequencer` ver=3 cp=benj9 id=1C02 pf=n}","\
{02 xy2 position x=32780 y=200}(off=iconbar, on=static)","\
{sm focus}","\
\
{12 a address v=A8D80040}","\
{06 cb `use as pointer` v=1}","\
{07 b offset v=26}","\
{01 o `load type` `byte (1b)`=0 `hword (2b)`=1 `dword (4b)`=2 v=1}{endsm}","\
{08 o `val1-val7 condition` `=`=0 `<=`=1 `>=`=2 v=0}","\
\
{sm `hotkey on`}{9.0 cb engage v=1}","\
{16 i value v=514}","\
{48 i icon v=508}{endsm}","\
\
{sm `hotkey seq runs`}{9.1 cb engage v=1}","\
{20 i value v=513}","\
{52 i icon v=511}{endsm}","\
\
{sm `standard seq runs`}{9.2 cb engage v=1}","\
{24 i value v=1}","\
{56 i icon v=514}{endsm}","\
\
{endsm}",00
#pragma disable old_equal_ff

; =======================================================

;007B842: 04 05 ; universal icon ptc's are from 1C01.ptc to 1C0?.ptc.

/* general usage:
- after some icons is written (0 = off), means: if you enter 0, icon is supressed
- some icons have a position-xy-button. on=static position, canvas. off=iconbar

MiniGPS usage:
The subfolders of Misc/gps are named: LAC. the files in the subfolders are named: CID-LAC.tmo
open e.g. file of your current cell, e.g. "13746-16394.tmo". Enter in the 3rd line an icon number.
if no file for current cell exists, or no icon number in file, you can define a fallback icon for
the whole LAC subfolder. store a file 0-lac.tmo (e.g. "0-16394.tmo"). Enter in the 3rd line the icon.
"Enter in 3rd line" means: enter 2 "line feeds" after the minigps string (key "1", second position),
then enter icon number ("1234")

Universal Icons usage:
- to remove one set: just remove section from patch
- to add one set: just copy and paste another set, fix the ptc-number (twice), set your values

- engage: whole icon set engine (dis)engaged
- submenue `focus`: load a byte/halfword/word from ram. val1-val7 are compared with it.
--- `address`: an address
--- `use as pointer`:
----- if no, load content byte of `address` directly.
----- if yes, use `address` as pointer to another ram address. add `offset` to that ram address. load its content byte
--- `offset`: see `use as pointer`
--- `load type`: byte/halfword/dword (1/2/4 bytes). it's YOUR responsibility to ALIGN address!
-`val1-val7 condition`: comparison of val1-val7 with content of `focus` is in mode "=", "<=" or ">=". For mode "<=" and ">" think about the order of the content of val1-val7! val1 is first checked, val7 last, vElse very last.
- sub-menues `values`:
--- checkbox `on/off`: enable/disable this check.
---`val`: enter value for comparison with focus content. is evaluated accor由于非常钦佩楼主,不得不说声好! `val1-val7 condition.
---`icon`: add this icon to bar if condition true.
- sub-menues `Else`: if no condition val1-7 is true, display Icon
--- checkbox `on/off`: enable/disable this check.
---`exclude val`: don't display `else` icon for this value
---`icon`: add this icon to bar if none of condition val1-7 are true and if focus content != `exclude val`
*/

评分

参与人数 1实力分 +1 金钱数 +199 技术分 +8 收起 理由
myhaohao521 + 1 + 199 + 8 谢谢分享

查看全部评分

您需要登录后才可以回帖 登录 | 注册会员 微信登录

本版积分规则

小黑屋|Archiver|手机版|爱技术 ( 沪ICP备08115260号-3 )

GMT+8, 2025-6-27 07:45

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表