让CS1.4与1.3共存
尽管个人认为1.4的跳跃改动的实在令人不敢恭为,但大大小小的正规战网都已经升级1.4了
想要上战网就没得什么选择,另外1.4还是有他优秀的一面.观察模式的改变就非常出色
通过比较发现1.4跟1.3除两个DLL文件.一个地图文件不一样一外其他都是一样,在此基础上很容易就可以实现两个版本的共存,两个小小的批处理文件就可以解决问题
下面简单的说说过程,
1,首先还是升级halflife客户端,1.4必须建立在HL1109客户端之上,
2,安装CS1.3完全版本(已经是1.3的跳过此步)
3,备份1.3的相关文件(将dlls目录里的mp.dll改名为mp.13,cl_dlls目录里的client.dll改名为client.13,改maps目录里的de_train.bsp为de_train.13,用画笔打开gfxshellsplash.bmp,找个自己看着舒服的地方写个V1.3的标识保存后改名为splash.13)
4,安装CS1.4完全版本
5,在halflife的目录里建一个空文件, 文件名为ver.14
6,写批处理文件(因安装路径不统一以下文件仅供参考)
用来启动CS1.4的批处理文件
--------------------------------------cs14.bat----------------------------------
@echo off
d:
cdhalflife
if exist ver.13 goto v14
goto begin
:v14
ren ver.13 ver.14
ren cstrikedllsmp.dll mp.13
ren cstrikedllsmp.14 mp.dll
ren cstrikecl_dllsclient.dll client.13
ren cstrikecl_dllsclient.14 client.dll
ren cstrikemapsde_train.bsp de_train.13
ren cstrikemapsde_train.14 de_train.bsp
ren cstrikegfxshellsplash.bmp splash.13
ren cstrikegfxshellsplash.14 splash.bmp
goto begin
:begin
D:HalfLifehl.exe -console -game cstrike -noipx
-------------------------end files-------------------------------------
用来启动CS1.3的批处理文件
-------------------------cs13.bat--------------------------------------
@echo off
d:
cdhalflife
if exist ver.14 goto v13
goto begin
:v13
ren ver.14 ver.13
ren cstrikedllsmp.dll mp.14
ren cstrikedllsmp.13 mp.dll
ren cstrikecl_dllsclient.dll client.14
ren cstrikecl_dllsclient.13 client.dll
ren cstrikemapsde_train.bsp de_train.14
ren cstrikemapsde_train.13 de_train.bsp
ren cstrikegfxshellsplash.bmp splash.14
ren cstrikegfxshellsplash.13 splash.bmp
goto begin
:begin
D:HalfLifehl.exe -console -game cstrike -noipx
-------------------------end files--------------------------------------
以上是针对MOD版本的改动方法,商业版本基本差不多,请参考着修改
|