- 积分
- 995
- 实力分
- 点
- 金钱数
- 两
- 技术分
- 分
- 贡献分
- 分
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
有关apatcher的使用,大家应该比较熟悉的,软件很简单:
可以应用补丁,制作替换文件的补丁,导出刷机程序A盘,Z盘文件,制作A盘补丁。
一、patch and sxp(R)editor
1、应用补丁很简单
打开现成的补丁文件,或者复制粘贴补丁到代码窗口,打开刷机程序,按左边第一个图标就可以应用补丁了,或者按第二个图标应用到文件(制作集成版)
如果提示*siemens* not found,还有有关刷机程序改名的问题,看看这里:
《有关刷机程序要改名的问题》
http://mobile.0110.cn/viewthread.php?tid=266077
2、制作替换文件补丁
想替换Z盘的文件,如果新文件不大于原来Z盘的文件,就可以用这个生成替换的补丁,按一下这个按钮,第一个让你选择源文件(这个可以利用apatcher的rolfA盘,Z core/Var Z盘功能获取所需文件,下面介绍),第二次选择要替换到Z盘的新文件,然后选择生成补丁的路径。名字保存就可以了!
二、rolf(A盘)
可以导出A盘,生成A盘补丁,具体可以看看论坛相关教程
carylou的《【新手刷机教程】怎样制作自己的A盘补丁》
http://mobile.0110.cn/viewthread.php?tid=259664
三、Z core/Var Z盘
可以导出Z盘,选择第二个图标“Extract Z from winswup memory”就可以导出Z盘文件了(暂时还不能像制作A盘补丁那样制作Z盘补丁),可以导出中文15版的Z盘的apatcher1.01见这里:
foxcon的《EditorZ用到的简体15版log.txt 另附修正版EditorZv0.4和修正版Apatcherv1.01 》
http://mobile.0110.cn/viewthread.php?tid=266873
四、高级用法
在俄网oslik.ru看到的,可以在补丁里加入命令,实现不同的功能,可以实现对话式的选择是否应用补丁什么的,有兴趣的可以研究一下
原始说明:
The description of commands (for advanced users)
Besides formatting the text in patches, in Apatcher there is an opportunity to add dialogue windows which will be displayed during installation of patches. These windows can contain a various formation on installation of patches, the description. As by means of these commands it is possible to create the original script of installation of a patch, or a firmware mod.
The list and the description of commands:
selectbox:title:str_1:d_1:str_2:d_2: .... str_n:d_n
Shows dialogue of a choice with heading title, and variants str_1..., str_n if it is chosen variant str_k, it is equivalent command jump:d_k an example:
selectbox:Install themes?:Yes:0:No:3:Additional mode:-10:Exit:2
replace:......... (patch 1)
jump:1
break
...
...
...
break
label:10
...
...
label:value[:dialog]
Output from a mode goto if value equally earlier saved (the sign at comparison is not considered only absolute value)
Mode "goto" into this mode we enter, when at selectbox or jump a negative number, the module of this number it is remembered in this mode commands are passed, except for command
label:value
If this command has met it is compared value with remembered if are equal, we leave a mode "goto" in a usual mode label are simply passed as a matter of fact are transitions on labels, but only always forward
example
jump:-10
....
....
label:10
set:flag:value[:dialog]
to establish any flag (?ò 0 ?? 127) in 0 or 1
not:flag[:dialog]
To invert flag
jump:step:flag[:dialog]
To pass on step steps at concurrence of a flag
jumpn:step:flag[:dialog]
To pass on step steps at NOT concurrence of a flag
If the flag is established to pass step command (step> = 0) or transition to a label |step | (step <0) if if the flag is not specified in any case jumpn - all is similar jump, only transition if the flag is dumped, instead of is established.
examples:
1.
jump:4 (to pass 4 commands)
2.
jumpn:-10:127 (If the flag 127 is dumped, transition to a label 10)
...
...
label:10
rundll|x.dll|y[|dialog]
To start in x.dll function GetCommand: function(index: byte): pchar; cdecl; with a parameter "y"
Divider of lines is the symbol 10=0?à
declaration GetCommand for C coders:
extern "C" __declspec(dllexport) char* __cdecl GetCommand(unsigned char cNum);
replacefile:search:entered:file[:dialog]
replacetext:oldtext:newtext[:dialog]
replaceunicode:oldtext:newtext[:dialog]
replace:oldhex:newhex[:dialog]
break[:?:dialog]
x=0 info
x=1 Yes=Break
x=2 No=Break
x=3 Info, then Break
If no parameters, break unconditional
include|x.sxp[|dialog]
include in patch file x.sxp
[ 本帖最后由 segalgx 于 2006-10-4 19:34 编辑 ] |
评分
-
参与人数 1 | 实力分 +2 |
金钱数 +20 |
贡献分 +1 |
收起
理由
|
山高高
| + 2 |
+ 20 |
+ 1 |
奖:感谢-你和大家分享经验! |
查看全部评分
|