加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
# 转载请说明出处rpg.blue # by fux2 module Fux2 SP = Win32API.new('kernel32','RtlMoveMemory','lpl','v') GM = Win32API.new('kernel32','GetModuleHandle','p','l') BASE_ADR = GM.call("RGSS103J.dll")+0x14034 GALS_ADR = GM.call("RGSS103J.dll")+0xE7388 def self.rmfix codestr_p = "83 F8 60 7C 07 83 F8 69 7F 02 33 C0 50 FF 15".split(/ /).map{|a| a.to_i(16)} codestr_m = [GALS_ADR].pack("L") codestr_a = "25 00 80 00 00 C2 04 00".split(/ /).map{|a| a.to_i(16)} size = codestr_p.size + 4 + codestr_a.size code = codestr_p.pack("C*")+codestr_m+codestr_a.pack("C*") SP.call(BASE_ADR,code,size) code = nil end end Fux2.rmfix
# 转载请说明出处rpg.blue
# by fux2
module Fux2
SP = Win32API.new('kernel32','RtlMoveMemory','lpl','v')
GM = Win32API.new('kernel32','GetModuleHandle','p','l')
BASE_ADR = GM.call("RGSS103J.dll")+0x14034
GALS_ADR = GM.call("RGSS103J.dll")+0xE7388
def self.rmfix
codestr_p = "83 F8 60 7C 07 83 F8 69 7F 02 33 C0 50 FF 15".split(/ /).map{|a| a.to_i(16)}
codestr_m = [GALS_ADR].pack("L")
codestr_a = "25 00 80 00 00 C2 04 00".split(/ /).map{|a| a.to_i(16)}
size = codestr_p.size + 4 + codestr_a.size
code = codestr_p.pack("C*")+codestr_m+codestr_a.pack("C*")
SP.call(BASE_ADR,code,size)
code = nil
end
end
Fux2.rmfix
放到Main以上
附上这个时候论坛提供的RGSS103J.DLL,以备不时之需
RGSS103J.rar
(539.49 KB, 下载次数: 564)
|