Aiur

ZelluX 的技术博客

D2Loader命令行参数

短参数 完整参数 描述

常用参数: -w -window 切换到窗口模式 -ns -nosound 无声模式 -pdir  -pdir  直接调入内的地图文件(109无效) -locale  -locale  设置语言:ENG(英语),CHN(中文) -mpq  -mpq  加载名为的.mpq文件,一般用于加载cdkey文件或Mod文件

1.11b新增: -sleepy 使非前台的暗黑窗口资源占用率降低 -altcolor 改变怪物血条为绿色

完整参数: 1.视频选项 -exp -expansion 切换到扩展模式 -w -window 切换到窗口模式 -glide -glide 使用Glide显示模式 -opengl -opengl 使用OpenGL显示模式 -d3d -d3d 使用Direct 3D显示模式 -rave -rave 使用Rave显示模式,仅适用于Mac -per -perspective 打开透视模式,仅适用于全屏非Direct Draw模式 -lq -lowquality 低图像质量(提高速度) -gamma  -gamma  设置Gamma值为 -vsync -vsync 打开VSync -fr  -framerate  设置帧速率为

2.网络选项 -s  -serverip  设置TCP/IP游戏服务器的IP为 -gametype  -gametype  设置游戏类型为 -joinid  -joinid  设置加入游戏的ID为 -gamename  -gamename  设置游戏名为 -bn  -battlenetip  设置battle.net服务器IP为 -mcpip  -mcpip  设置mcpip服务器IP为 -nopk -nopk 禁止PK(好像无效) -openc -openc 未知的

3.游戏选项 -arena  -arena  无效 -difficulty -difficulty 无效 -txt -txt 给MOD制作者,用于创建.bin文件 -mpq  -mpq  加载名为的.mpq文件,一般用于加载cdkey文件或Mod文件

4.角色选项 -ama -ama 设置角色类型为ama -pal -pal 设置角色类型为pal -sor -sor 设置角色类型为sor -nec -nec 设置角色类型为nec -bar -bar 设置角色类型为bar -dru -dru 设置角色类型为dru -asn -asn 设置角色类型为asn -i -invincible 隐形?(好像无效) -bnacct  -bnacct  设置battle.net账号名字为 -bnpass  -bnpass  设置battle.net密码为 -name  -name  设置battle.net角色名字为 -realm  -realm  设置battle.net服务器(Realm)名字为 -ctemp  -ctemp  在arena模式使用第个角色的模板

5.怪物选项 -nm -nomonster 无怪物?(无效) -m  -monsterclass  未知的 -minfo -monsterinfo 显示怪物信息?(无效) -md  -monsterdebug  未知的

6.物品选项 -rare -rare 全黄金物品?(无效) -unique -unique 全暗金物品?(无效)

7.界面选项 -act  -act  设置初始位置为第幕

8.调试选项 -log -log 激活log(无效) -msglog -msglog 激活msglog -safe -safemode 安全模式? -seed  -seed  设置地图ID为 -cheats -cheats 未知的 -ns -nosound 无声模式 -questall -questall 未知的

9.文件输入输出选项 -npl -nopreload 不预读取游戏文件 -direct -direct 直接从硬盘上而非mpq文件中读取数据 -lem -lowend 未知的 -nocompress -nocompress 无压缩 -comint  -comint  动态数据结构(别碰它) -token  -token  设置关闭游戏的令牌为 -gamepass  -gamepass  设置游戏密码为 -skiptobnet -skiptobnet 直接进入battle.net

10.定制选项 -client -client 客户端模式 -server -server 服务器端模式,需要d2server.dll -launch -launch 运行模式(默认) -notitle -notitle 无窗口标题栏 -res800 -res800 窗口大小为800x600(仅适用于D2,对D2X无效) -res640 -res640 窗口大小为640x480(仅适用于D2,对D2X无效) -nonotify -nonotify 关闭错误信息报警 -noexit -noexit 不自动退出 -autorest -autorest 退出后自动重新启动游戏 -multiclient -multiclient 1个cdkey可以启动多个客户端游戏 -nohook -nohook 禁止Windows钩子 -nochar -nochar 禁止角色图像 -clientexit -clientexit 退出游戏时自动关闭客户端游戏程序 -noscript -noscript 不读取脚本 -noplugin -noplugin 不导入Plug-in -locale  -locale  设置语言:ENG(英语),CHN(中文) -hookwnd  -hookwnd  设置钩子窗口类为 -hookexe  -hookexe  设置钩子版本校验game.exe为 -servername  -servername  设置游戏服务器端名字为 -title  -title  设置窗口标题为 -pdir  -pdir  直接调入内的地图文件

Comments