关于我们┊AboutMe

昵称:Hopol(■童■)

联系:QQ:18883

邮箱:info(at)18883.com

主页:www.18883.com

手机浏览 日志归档 RSS 2.0 订阅
Register | Login

星际版本转换器 AU3源码

#NoTrayIcon
If FileExists(@ScriptDir&"\sc.ini")<>1 Then
$sc=FileSelectFolder("请浏览星际目录","")
IniWrite (@ScriptDir&"\sc.ini","路径","scpath",$sc)
If FileExists($sc&"\starcraft.exe")=1 Then
msgbox(0,"提示","路径选择成功")
EndIf
If FileExists($sc&"\starcraft.exe")<>1 Then
msgbox(0,"提示","路径选择失败,请重新选择")
FileDelete(@ScriptDir&"\sc.ini")
Exit
EndIf
$hf=FileSelectFolder("请浏览浩方对战平台目录","")
IniWrite (@ScriptDir&"\sc.ini","路径","hfpath",$hf)
If FileExists($hf&"\GameClient.exe")=1 Then
msgbox(0,"提示","路径选择成功")
EndIf
If FileExists($hf&"\GameClient.exe")<>1 Then
msgbox(0,"提示","路径选择失败,请重新选择")
FileDelete(@ScriptDir&"\sc.ini")
Exit
EndIf
$qq=FileSelectFolder("请浏览QQ对战平台目录","")
IniWrite (@ScriptDir&"\sc.ini","路径","qqpath",$qq)
If FileExists($qq&"\QQBattleZone.exe")=1 Then
msgbox(0,"提示","路径选择成功")
EndIf
If FileExists($qq&"\QQBattleZone.exe")<>1 Then
msgbox(0,"提示","路径选择失败,请重新选择")
FileDelete(@ScriptDir&"\sc.ini")
Exit
EndIf
$vs=FileSelectFolder("请浏览VS竞技平台目录","")
IniWrite (@ScriptDir&"\sc.ini","路径","vspath",$vs)
If FileExists($vs&"\VSClient.exe")=1 Then
msgbox(0,"提示","路径选择成功")
EndIf
If FileExists($vs&"\VSClient.exe")<>1 Then
msgbox(0,"提示","路径选择失败,请重新选择")
FileDelete(@ScriptDir&"\sc.ini")
Exit
EndIf
EndIf
GUICreate("星际版本转换器 Made by ybbh",470,160)
GUISetState()
$1=GUICtrlCreateButton("108B",20,20,100,50)
$2=GUICtrlCreateButton("113F",130,20,100,50)
$3=GUICtrlCreateButton("114",240,20,100,50)
$4=GUICtrlCreateButton("115",350,20,100,50)
$5=GUICtrlCreateButton("浩方对战平台",20,80,100,50)
$6=GUICtrlCreateButton("QQ对战平台",130,80,100,50)
$7=GUICtrlCreateButton("VS对战平台",240,80,100,50)
$8=GUICtrlCreateButton("APM工具",350,80,100,50)
while 1
$0=GUIGetMsg()
$scpath=IniRead(@ScriptDir&"\sc.ini","路径","scpath","")
$hfpath=IniRead(@ScriptDir&"\sc.ini","路径","hfpath","")
$qqpath=IniRead(@ScriptDir&"\sc.ini","路径","qqpath","")
$vspath=IniRead(@ScriptDir&"\sc.ini","路径","vspath","")
Switch $0
Case $GUI_EVENT_CLOSE
Exit
Case $1
filecopy(@ScriptDir&"\108\*.*",$scpath,1)
msgbox(0,"转换成功","当前版本为108B")
Case $2
filecopy(@ScriptDir&"\113\*.*",$scpath,1)
msgbox(0,"转换成功","当前版本为113F")
Case $3
filecopy(@ScriptDir&"\114\*.*",$scpath,1)
msgbox(0,"转换成功","当前版本为114")
Case $4
filecopy(@ScriptDir&"\115\*.*",$scpath,1)
msgbox(0,"转换成功","当前版本为115")
Case $5
run($hfpath&"\GameClient.exe")
Case $6
run($qqpath&"\QQBattleZone.exe")
Case $7
run($vspath&"\VSClient.exe")
Case $8
run(@ScriptDir&"\bwrepinfow.exe")
EndSwitch
WEnd

Tags: 星际, 转换器, au3, 源码

« 上一篇 | 下一篇 »

只显示10条记录相关文章

dede5.1 UTF8商业版 (浏览: 231, 评论: 1)
dede5.1 BGK商业版 (浏览: 255, 评论: 0)
PHP在图片上写上中文[备份] (浏览: 203, 评论: 0)
AU3热血江湖群医辅助工具 (浏览: 697, 评论: 0)
AU3---简单任务管理器 (浏览: 630, 评论: 0)
MyBc_V4.6 完整源码 (浏览: 621, 评论: 0)
D版CGO修复程序 源码 (浏览: 627, 评论: 0)
锐起绿色连接器完全后台版 au3源码 (浏览: 673, 评论: 0)
劲舞团3.1启动器代码 au3源码 (浏览: 662, 评论: 0)
YG2007播放器的安装源码 (浏览: 618, 评论: 0)

发表评论