命令与征服吧 关注:77,493贴子:1,609,893
  • 10回复贴,共1

用YASU一键启动CC3

只看楼主收藏回复

0


1楼2007-04-17 11:26回复
    首先感谢游侠网的beat1朋友,他为了让他不会用YASU的CnC铁杆粉丝老妈能玩上CC3,制作了这个脚本文件
    原文地址http://game1.ali213.net/thread-1461330-1-6.html


    2楼2007-04-17 11:32
    回复
      2026-01-10 00:47:25
      广告
      不感兴趣
      开通SVIP免广告
      '以下内容,等号右边的值可根据需要进行修改,但请注意其值一定要写在半角的双引号中

      Game_EXE = "CNC3.exe" '←说明:引号中为游戏的可执行文件名
      YASU_EXE = "YASU.exe" '←说明:引号中为YASU的可执行文件名
      Game_Path = "" '←说明:引号中为游戏所在文件夹,如用当前文件夹请留空
      YASU_Path = "" '←说明:引号中为YASU所在文件夹,如用当前文件夹请留空


      '以下内容不需要修改

      Current_Directory = Left(WScript.ScriptFullName, _
       InStr(1, WScript.ScriptFullName, WScript.ScriptName, 1) - 1)
      If Game_Path = "" Then Game_Path = Current_Directory
      If YASU_Path = "" Then YASU_Path = Current_Directory
      Set WshShell = WScript.CreateObject("WScript.Shell")
      abc = WshShell.CurrentDirectory
      WshShell.CurrentDirectory = YASU_Path
      WshShell.Run YASU_EXE & " -c -s", , False
      Wscript.Sleep 2000
      WshShell.CurrentDirectory = Game_Path
      WshShell.Run Game_EXE, , True
      WshShell.CurrentDirectory = YASU_Path
      WshShell.Run YASU_EXE & " -x -s", , False
      WshShell.CurrentDirectory = abc


      3楼2007-04-17 11:32
      回复
        把3楼的内容复制进记事本,另存为Loader.vbs,保存类型选所有文件。然后把这个vbs文件连同一个YASU.exe一起丢进CC3的安装目录,双击Loader.vbs就可以启动CC3了。它会自动启动YASU、激活其Cloak功能、启动C&C3,并且在退出C&C3后自动结束YASU,就像打了免CD补丁


        4楼2007-04-17 11:39
        回复
          接下来是可选任务
          1,给Loader.vbs创建桌面和开始菜单的快捷方式;
          2,给快捷方式改名字和图标。改名就不说了,改图标:在快捷方式上右键->属性->更改图标->浏览->找到CC3的安装目录,选中CNC3.exe,至此你应该发现了一处隐藏情报.
          Good luck,Commander


          5楼2007-04-17 11:41
          回复
            另附上我在上面的原版基础上修改过的版本,不同在于一启动CC3就关掉YASU,而不是在退出CC3时关掉。因为我发现YASU要占5M内存,我也发现检测完光盘就可以把YASU关掉了。虽然我完全不懂VBScript,但经过测试,It is working..
            再次感谢原作者beta1


            6楼2007-04-17 11:42
            回复
              Game_EXE = "CNC3.exe"
              YASU_EXE = "YASU.exe"
              Game_Path = ""
              YASU_Path = ""
              Current_Directory = Left(WScript.ScriptFullName, _
               InStr(1, WScript.ScriptFullName, WScript.ScriptName, 1) - 1)
              If Game_Path = "" Then Game_Path = Current_Directory
              If YASU_Path = "" Then YASU_Path = Current_Directory
              Set WshShell = WScript.CreateObject("WScript.Shell")
              abc = WshShell.CurrentDirectory
              WshShell.CurrentDirectory = YASU_Path
              WshShell.Run YASU_EXE & " -c -s", , False
              Wscript.Sleep 1000
              WshShell.CurrentDirectory = Game_Path
              WshShell.Run Game_EXE, , False
              Wscript.Sleep 4000
              WshShell.CurrentDirectory = YASU_Path
              WshShell.Run YASU_EXE & " -x -s", , False
              WshShell.CurrentDirectory = abc


              7楼2007-04-17 11:42
              回复
                在2楼把原作者名写错了,汗……非常抱


                8楼2007-04-17 11:44
                回复
                  2026-01-10 00:41:25
                  广告
                  不感兴趣
                  开通SVIP免广告
                  beat……木瓜真有趣


                  9楼2007-04-17 14:01
                  回复
                    按键时的顺序错了而已,我想着是要写beta的O.0


                    10楼2007-04-17 19:40
                    回复
                      玩不起CC3,不需要!


                      11楼2007-04-17 19:42
                      回复