前言:
各位Dota2 ER,我带来开服福利了.欢迎学习以及批评指点谢谢(1_1.为Steamcmd架设方式,1_2是为Srcds的架设方式)
工具:
Steamcmd,Srcds(DOTA2),D2FIXUP
全部为Windows 版本
教程:
1_1.下载Steamcmd(http://media.steampowered.com/installer/steamcmd.zip )
1_2.下载Srcds(Dota)(https://forums.alliedmods.net/attachment.php?attachmentid=131318&d=1394307441),以及下载D2FIXUP(https://forums.alliedmods.net/attachment.php?attachmentid=140239&d=1417027876)
1_1.新建记事本,改为.bat的后戳名在里在里面键入:steamcmd.exe +login anonymous +force_install_dir Server +app_update 570 validate +quit" -wait
1_2.丢到Dota2Beta文件夹里,并且对Gameinfo的文件进行修改 [Actionscript3] 纯文本查看 复制代码
?
[table][tr][td]01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[/td][td]"GameInfo"
{
game "DOTA 2"
gamelogo 1
type multiplayer_only
nomodels 1
nohimodel 1
nocrosshair 0
GameData "dota.fgd"
SupportsDX8 0
FileSystem
{
SteamAppId 816 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in \bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _ at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//
//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\\half-life 2.
//
SearchPaths
{
GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game platform
}
}
}
1_1.运行Bat会自动进行下载,会吃内存的,所以放到存盘大一点的盘里面
1_2.把d2fixup解压到dota文件夹里,然后把srcds的程序放在dota2beta的目录下
1_1.下载完后会出现服务端程序,在服务端程序所在文件夹内新建.bat的文件并输入: [Actionscript3] 纯文本查看 复制代码
?
[table][tr][td]1
[/td][td]srcds.exe -console -game dota +map dota
1_2.在Srcds.exe目录键入以下内容: [Actionscript3] 纯文本查看 复制代码
?
[table][tr][td]1
[/td][td]srcds.exe -console -game dota +map dota
1_1.运行后会出现控制台,就证明运行成功了
1_2.在Steam局域网内扫到服务器,证明成功,未扫到,请将VPK的DIR文件解压后再运行
Exrta Part:Sourcemod的安装方法
下载http://www.sourcemod.net/smdrop/1.6/sourcemod-1.6.4-git4607-windows.zip
打开www.sourcemm.net
Sourcemm是打开Downloads子组框下的第一个选项,然后选择一个服务器供应商并下载(随便选一个就行)
两个都解压到服务端目录,也就是dota目录,汉化文件http://pan.baidu.com/s/1eQw5fn8
下载里面的chi文件夹,把chi文件夹复制到addons\sourcemod\translations
再回到sourcemod的目录,打开config文件夹,打开Languages.cfg,内容改为:
来源:http://www.12558.net
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作! |