删简空间:直接删除{打开仓库卖掉物资买进物资}的三句台词
注意:本删减必须是基本没有大改的、原版的exe,其他版本并没有测试是否位置类同
画外音:抄写研究新特效,想挤出剩余空间想疯了,偶尔想起这段似乎很多人讨厌…于是……
直接开始↓↓↓↓
三度简化=消除不需要的效果+and off转换+重新排布
0041973C - 004199C7 整段call 先全部 nop
16进制码版
0041973C
55 8B EC 83 EC 74 C7 45 94 00 00 00 00 E8 A5 D3 00 00 89 45 90 8B 45 10 25 FF FF 00 00 3D 6B 05
00 00 0F 85 D0 00 00 00 8B 4D 10 C1 E9 10 81 E1 FF FF 00 00 81 E1 FF FF 00 00 85 C9 0F 85 B6 00
00 00 8B 55 08 52 B9 38 6F 49 00 E8 9C 08 00 00 85 C0 0F 84 A0 00 00 00 6A 00 E8 21 C2 05 00 83
C4 04 B9 38 6F 49 00 E8 18 09 00 00 E8 49 4E 00 00 8B 45 08 89 45 8C 83 7D 8C 03 77 60 8B 4D 8C
3E FF 24 8D 38 98 41 00 6A 01 E8 4D 85 04 00 83 C4 04 EB 49 6A 00 E8 41 85 04 00 83 C4 04 EB 3D
E8 CF 84 04 00 EB 36 B9 90 2F 49 00 E8 7D ED FF FF 89 45 94 83 7D 94 00 74 23 6A 00 8B 15 08 75
4B 00 52 FF 15 E0 62 48 00 6A 00 E8 4C 30 01 00 83 C4 04 C7 05 C0 E4 4A 00 01 00 00 00 83 7D 94
00 75 15 C6 05 48 6F 49 00 00 E8 62 30 01 00 50 E8 8B C1 05 00 83 C4 04 8B E5 5D C3 C4 97 41 00
D0 97 41 00 DC 97 41 00 E3 97 41 00
OLLYDBG版
0041973C /$ 55 PUSH EBP
0041973D |. 8BEC MOV EBP,ESP
0041973F |. 83EC 74 SUB ESP,74
00419742 |. C745 94 000000>MOV DWORD PTR SS:[EBP-6C],0
00419749 |. E8 A5D30000 CALL 00426AF3
0041974E |. 8945 90 MOV DWORD PTR SS:[EBP-70],EAX
00419751 |. 8B45 10 MOV EAX,DWORD PTR SS:[EBP+10]
00419754 |. 25 FFFF0000 AND EAX,0FFFF
00419759 |. 3D 6B050000 CMP EAX,56B
0041975E |. 0F85 D0000000 JNZ 00419834
00419764 |. 8B4D 10 MOV ECX,DWORD PTR SS:[EBP+10]
00419767 |. C1E9 10 SHR ECX,10
0041976A |. 81E1 FFFF0000 AND ECX,0FFFF
00419770 |. 81E1 FFFF0000 AND ECX,0FFFF
00419776 |. 85C9 TEST ECX,ECX
00419778 |. 0F85 B6000000 JNZ 00419834
0041977E |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00419781 |. 52 PUSH EDX ; /Arg1
00419782 |. B9 386F4900 MOV ECX,00496F38 ; |
00419787 |. E8 9C080000 CALL 0041A028 ; \0041A028
0041978C |. 85C0 TEST EAX,EAX
0041978E |. 0F84 A0000000 JE 00419834
00419794 |. 6A 00 PUSH 0 ; /Arg1 = 00000000
00419796 |. E8 21C20500 CALL 004759BC ; \004759BC
0041979B |. 83C4 04 ADD ESP,4
0041979E |. B9 386F4900 MOV ECX,00496F38
004197A3 |. E8 18090000 CALL 0041A0C0
004197A8 |. E8 494E0000 CALL 0041E5F6
004197AD |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004197B0 |. 8945 8C MOV DWORD PTR SS:[EBP-74],EAX
004197B3 |. 837D 8C 03 CMP DWORD PTR SS:[EBP-74],3
004197B7 |. 77 60 JA SHORT 00419819
004197B9 |. 8B4D 8C MOV ECX,DWORD PTR SS:[EBP-74]
004197BC |. 3E:FF248D 3898>JMP DWORD PTR DS:[ECX*4+419838]
004197C4 |> 6A 01 PUSH 1 ; /Arg1 = 00000001
004197C6 |. E8 4D850400 CALL 00461D18 ; \00461D18
004197CB |. 83C4 04 ADD ESP,4
004197CE |. EB 49 JMP SHORT 00419819
004197D0 |> 6A 00 PUSH 0 ; /Arg1 = 00000000
004197D2 |. E8 41850400 CALL 00461D18 ; \00461D18
004197D7 |. 83C4 04 ADD ESP,4
004197DA |. EB 3D JMP SHORT 00419819
004197DC |> E8 CF840400 CALL 00461CB0
004197E1 |. EB 36 JMP SHORT 00419819
004197E3 |> B9 902F4900 MOV ECX,00492F90
004197E8 |. E8 7DEDFFFF CALL 0041856A
004197ED |. 8945 94 MOV DWORD PTR SS:[EBP-6C],EAX
004197F0 |. 837D 94 00 CMP DWORD PTR SS:[EBP-6C],0
004197F4 |. 74 23 JE SHORT 00419819
004197F6 |. 6A 00 PUSH 0 ; /ShowState = SW_HIDE
004197F8 |. 8B15 08754B00 MOV EDX,DWORD PTR DS:[4B7508] ; |
004197FE |. 52 PUSH EDX ; |hWnd => NULL
004197FF |. FF15 E0624800 CALL DWORD PTR DS:[<&USER32.ShowWindow>] ; \ShowWindow
00419805 |. 6A 00 PUSH 0 ; /Arg1 = 00000000
00419807 |. E8 4C300100 CALL 0042C858 ; \0042C858
0041980C |. 83C4 04 ADD ESP,4
0041980F |. C705 C0E44A00 >MOV DWORD PTR DS:[4AE4C0],1
00419819 |> 837D 94 00 CMP DWORD PTR SS:[EBP-6C],0
0041981D |. 75 15 JNZ SHORT 00419834
0041981F |. C605 486F4900 >MOV BYTE PTR DS:[496F48],0
00419826 |. E8 62300100 CALL 0042C88D
0041982B |. 50 PUSH EAX ; /Arg1
0041982C |. E8 8BC10500 CALL 004759BC ; \004759BC
00419831 |. 83C4 04 ADD ESP,4
00419834 |> 8BE5 MOV ESP,EBP
00419836 |. 5D POP EBP
00419837 \. C3 RETN
00419838 . C4974100 DD 004197C4 ; Switch table used at 004197BC
0041983C . D0974100 DD 004197D0
00419840 . DC974100 DD 004197DC
00419844 . E3974100 DD 004197E3
如此一口气就删除3条对话…等同于游戏时已经点过对应的按键
瑕疵:因为不是本段call涉及的,购买卖出时,依然还有对话。比如那句{商人好像对 Lv.3 的
xx非常中意,所以
又给了我们一个xx。"}
本次删简,可以获得387 nop 的海量 空间!肆意实装你想要的新特性吧!
附件:
[测试效果]
Ekd50屏蔽所有开始动画+nop00419848.rar (2024-9-30 12:04, 634.82 K)
该附件被下载次数 1
|