font = Win32API.new('gdi32','AddFontResourceA','p','L') sendmsg = Win32API.new('user32','SendMessageA','l,l,l,l','L') unless Font.exist?("微软雅黑") font.call("Fonts/MSYH.TTF") sendmsg.call(65535,29,0,0) print("字体安装完毕,请重新进入游戏") exit end
弗雷德 发表于 2013-9-29 12:27
font = Win32API.new('gdi32','AddFontResourceA','p','L')
sendmsg = Win32API.new('user32','SendMessage ...
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |