Blog Tag: windows
Windows&Linux 下 LibCurl 7.21.2 最新版本的编译
完美解决win7下玩星际争霸内网对战、花屏和卡死
作为经久不衰的一款游戏,星际争霸第一版仍然很受欢迎,这段时间经常玩,但是自从用上了win7之后,就出现了花屏和游戏中卡死的情况,也琢磨了一些解决办法(例如:使用xp版面等等),很多都效果不好。我想到了类似win7下玩魔兽也有类似的问题,解决的办法是游戏中不要使用本地浏览器,经过测试,这个方法也使用于星际争霸!为了偷懒我写了一个脚本,通过它来启动星际争霸就没有花屏和卡死的问题了,建议使用它一直在后台守护,直到游戏结束,不然需要手动执行一些东西。(其实也没有什么,就是启动一个进程而已,懂的人看看就知道了。)
使用方法:
将下面的代码保存为.bat的批处理格式或者下载本文后面的一个附件,将里面的StartSCWin7.bat中第三行的D:\starcraft\StarCraft.exe这个路径改成是你的星际执行文件的路径就可以了,用记事本打开就ok了。
至于内网对战,由于在1.09之前都没有UDP的协议,必须使用tcp/ip,而将xp下面的这个协议安装到win7下面,还是不能正常运行(至少我的7600不行),这就只能使用UDP了,在后文的附件里面将压缩包内的STANDARD.SNP文件复制到星际的根目录(其他的联网用户也需要覆盖,如果是1.09以前的版本的话),就可以使用UDP进行对战了。是不是很爽呢?哈哈。。
set “exec=D:\starcraft\StarCraft.exe”
if “%exec%” == “” goto setPath
echo 正在创建环境……( ==Powered by Kooqi.LEE== )
echo **********************************************
echo *** Blog : http://www.icnote.com/ ***
echo **********************************************
echo 请正常关闭资源浏览器和IE
CHOICE /C YNF /M “确认请按 Y,否请按 N,强制结束请按 F。”
if errorlevel 3 goto force
if errorlevel 2 goto no
if errorlevel 1 goto yes
:setPath
echo 你没有设置星际争霸的运行路径
echo & pause
goto end
:force
taskkill /f /IM explorer.exe
goto StartSC
:no
goto end
:yes
taskkill /f /IM explorer.exe
goto StartSC
:StartSC
%exec%
goto startI
:startI
start explorer.exe
goto end
:end
echo good bye
(更多…)
VPC和Win CE Em导致windows无法加载这些驱动程序
有一段时间了,但是没有怎么去注意,昨天在调试一手机程序时,出现了不能启动模拟器的问题,所以着手解决了下。
症状:“virtual PC/Windows CE Emulator会造成windows不稳定,windows使这些驱动程序无法加载” 、 EVC “One or more files from the Emulator for Windows CE installation is missing. Please reinstall Emulator for Windows CE and try again.”
解决方法:MS的官方说了一大堆,其实就一句话:修改boot.ini文件。在浏览器或者是命令行运行“file:///C:/boot.ini”,修改里面的启动参数,如果有/page的,去掉,有/noexecute的改成/execute就ok了,重启。。
起因:当hardware-based DEP (基于硬件的数据执行保护)启用时,Windows XP SP2(SP3应该也是) 的驱动保护机制不允许加载Virtual PC/Windows CE Emulator driver (VPCAppSv.sys)。
如果愿意去看官方的,这里围观(E文的):http://support.microsoft.com/default.aspx?scid=kb;en-us;891667
PS:史上最长的国庆假期来了(又老一岁!!!),还是决定回老家看看,因为有可能过年有可能不在家过了。。。
附上微软的解决方案:
2、In the System Properties dialog box, click the Advanced tab.
3、Under Start and Recovery, click Settings.
4、In the Startup and Recovery dialog box, click Edit.
5、Disable PAE mode by removing the /pae option if it exists.
6、If you are using Windows XP SP2, remove the /noexecute option if it exists, and then add the /execute option.
7、On the File menu, click Save.
8、To exit Notepad, click Exit on the File menu.
9、To close System Properties, click OK two times.
10、Restart your computer.
适用于:
Microsoft Visual Studio .NET 2003 Enterprise Architect
Microsoft Visual Studio .NET 2003 Enterprise Developer
Microsoft Visual Studio .NET 2003 Academic Edition
Microsoft Windows CE Platform Builder 4.0
Microsoft Windows CE Platform Builder 4.1
Microsoft Windows CE Platform Builder 4.2
Microsoft Software Development Kit for Windows Mobile 2003-based Smartphones
Microsoft Software Development Kit for Windows Mobile 2003-based Pocket PCs
Microsoft Windows CE 5.0Microsoft Windows XP Home Edition
Microsoft Windows XP ProfessionalMicrosoft Windows XP Service Pack 1
Microsoft Windows XP Service Pack 2