查看完整版本: Diablo 2 Loader所有命令行參數

Edwin 2008-4-4 08:59

Diablo 2 Loader所有命令行參數

D2Loader的所有命令行參數:

每個參數之間有空格才能生效,如下圖:

[img]http://www.kyohk.net/attachments/day_080404/20080404_1f2862842551a55c8444pl7idOhWxeaP.jpg[/img]

<n> 代表數字, <s>代表字符串


短參數       完整參數         描述
[b]1.影像選項[/b]
-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 <n>     -gamma <n>       設置Gamma值為<n>
-vsync       -vsync         打開VSync
-fr <n>       -framerate <n>     甚至幀速率為<n>

[b]2.網絡選項[/b]
-s <s>       -serverip <s>     設置TCP/IP遊戲伺服器的IP為<s>
-gametype <n>   -gametype <n>     設置遊戲類型為<n>
-joinid <n>   -joinid <n>       設置加入遊戲的ID為<n>
-gamename <s>   -gamename <s>     設置遊戲名為<s>
-bn <s>       -battlenetip <s>   設置battle.net伺服器IP為<s>
-mcpip <s>     -mcpip <s>       設置mcpip伺服器IP為<s>
-nopk       -nopk           禁止PK(好像無效)
-openc       -openc         不清楚

[b]3.遊戲選項[/b]
-arena <n>     -arena <n>       無效
-difficulty   -difficulty       無效
-txt         -txt           給MOD製作者,用於創建.bin文件

[b]4.角色選項[/b]
-ama         -ama           設置角色類型為ama
-pal         -pal           設置角色類型為pal
-sor         -sor           設置角色類型為sor
-nec         -nec           設置角色類型為nec
-bar         -bar           設置角色類型為bar
-dru         -dru           設置角色類型為dru
-asn         -asn           設置角色類型為asn
-i         -invincible       隱形?(好像無效)
-bnacct <s>   -bnacct <s>       設置battle.net賬號名字為<s>
-bnpass <s>   -bnpass <s>       設置battle.net密碼為<s>
-name <s>     -name <s>       設置battle.net角色名字為<s>
-realm <s>     -realm <s>       設置battle.net伺服器(Realm)名字為<s>
-ctemp <n>     -ctemp <n>       在arena模式使用第<n>個角色的模板

[b]5.怪物選項[/b]
-nm         -nomonster       無怪物?(無效)
-m <n>       -monsterclass <n>   不清楚
-minfo       -monsterinfo     顯示怪物信息?(無效)
-md <n>       -monsterdebug <n>   不清楚

[b]6.物品選項[/b]
-rare       -rare           全稀有( Rare )物品?(無效)
-unique       -unique         全獨特(Unique)物品?(無效)

[b]7.界面選項[/b]
-act <n>     -act <n>         設置初始位置為第<n>幕

[b]8.Debug選項[/b]
-log         -log           激活log(無效)
-msglog       -msglog         激活msglog
-safe       -safemode       安全模式?
-seed <n>     -seed <n>       設置地圖種子(ala5:可理解為地圖ID)為<n>
-cheats       -cheats         不清初
-ns         -nosound         無聲模式
-questall     -questall       不清楚

[b]9.文件輸入輸出選項[/b]
-npl         -nopreload       不預讀取遊戲文件
-direct       -direct         直接從硬盤上(ala5:而非mpq文件中)讀取數據
-lem         -lowend         不清楚
-nocompress   -nocompress       無壓縮
-comint <n>   -comint <n>       動態數據結構(別碰它)
-token <n>     -token <n>       設置關閉遊戲的令牌為<n>
-gamepass <s>   -gamepass <s>     設置遊戲密碼為<s>
-skiptobnet   -skiptobnet       直接進入battle.net

[b]10.定制選項[/b]
-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
-lng <s>     -lng <s>         設置語言為<s>:ENG(英語),CHN(中文)
-hookwnd <s>   -hookwnd <s>     設置鉤子窗口類為<s>
-hookexe <s>   -hookexe <s>     設置鉤子版本校驗game.exe為<s>
-servername <s> -servername <s>   設置遊戲伺服器端名字為<s>
-title <s>     -title <s>       設置窗口標題為<s>


PS:不是每個參數都有效,都註釋過了。不要逐個去試驗,有些參數可能會造成遊戲甚至系統crush

Re:d2/d2x d2loader參數全解(英文原版)

Full list of Parameters : (ignores them newbies)
<n> here means a number, <s> here means a string

Short name      Full name            Description
1.Video options
-exp            -expansion            switch expansion mode
-w            -window                  switch window mode
-glide            -glide                  use glide video mode
-opengl            -opengl                  use opengl video mode
-d3d            -d3d                  use direct3d video mode
-rave            -rave                  use rave graphics modes,might be Mac only.
-per            -perspective            turn Perspective mode on,available only
                             on full screen non-ddraw mode
-lq            -lowquality            decreases the quality of graphical aspects
                             of the game, therefore speeding up the game
-gamma <n>      -gamma <n>            set gamma to <n>
-vsync            -vsync                  might be turns visual syncronizing on
-fr <n>            -framerate <n>            set frame rate to <n>

2.Network options
-s <s>            -serverip <s>            set tcp/ip game server ip to <s>
-gametype <n>   -gametype <n>            set game type to <n>
-joinid <n>      -joinid <n>            set join id to <n>
-gamename <s>      -gamename <s>            set gamename to <s>
-bn <s>            -battlenetip <s>      set battle.net server ip to <s>
-mcpip <s>      -mcpip <s>            set mcpip server ip to <s>
-nopk            -nopk                  disable pk (seems no function now)
-openc            -openc                  not sure

3.Game options
-arena <n>      -arena <n>            no use now
-difficulty      -difficulty            no use now
-txt            -txt                  for mod creator, generate .bin file

4.Character options
-ama            -ama                  set character class to ama
-pal            -pal                  set character class to pal
-sor            -sor                  set character class to sor
-nec            -nec                  set character class to nec
-bar            -bar                  set character class to bar
-dru            -dru                  set character class to dru
-asn            -asn                  set character class to asn
-i            -invincible            invincible? seems no use now
-bnacct      <s>      -bnacct      <s>            set battle.net account name to <s>
-bnpass      <s>      -bnpass      <s>            set battle.net password to <s>
-name <s>      -name <s>            set battle.net character name to <s>
-realm <s>      -realm <s>            set battle.net realm name to <s>
-ctemp <n>      -ctemp <n>            use <n>th character template in arena mode

5.Monster options
-nm            -nomonster            no monster? no use now
-m <n>            -monsterclass <n>      not sure
-minfo            -monsterinfo            show monster info? no use now
-md <n>            -monsterdebug <n>      not sure

6.Item options
-rare            -rare                  all rare item? (no use now)
-unique            -unique                  all unique item? (no use now)

7.Interface options
-act <n>      -act <n>            set initial act to <n>

8.Debug options
-log            -log                  active log (no use now)
-msglog            -msglog                  active msglog
-safe            -safemode            run in safe mode?
-seed <n>      -seed <n>            set map seed to <n>
-cheats            -cheats                  not sure
-ns            -nosound            disable all sound
-questall      -questall            not sure

9. File I/O options
-npl            -nopreload            no preload game files
-direct            -direct                  load data directly from disk
-lem            -lowend                  not sure
-nocompress      -nocompress            no compression
-comint <n>      -comint <n>            no touch it,dynamic data structure
-token <n>      -token <n>            set close game token to <n>
-gamepass <s>      -gamepass <s>            set game password to <s>
-skiptobnet      -skiptobnet            go battle.net directly

10. Custom options
-client            -client                  run in client mode (in game directly)
-server            -server                  server mode, need d2server.dll
-launch            -launch                  launch mode (default one)
-notitle      -notitle            no window title bar
-res800            -res800                  start window in 800x600 (for d2)
-res640            -res640                  start window in 640x480 (for d2)
-nonotify      -nonotify            no error notify
-noexit            -noexit                  no auto exit
-autorest      -autorest            auto restart after exit
-multiclient      -multiclient            1 cdkey multiple characters
-nohook            -nohook                  disable hook
-nochar            -nochar                  disable character image
-clientexit      -clientexit            exit after quit game
-noscript      -noscript            do not load scripts
-noplugin      -noplugin            do not load plugins
-lng <s>      -lng <s>            set language to <s> (only ENG, CHN now)
-hookwnd <s>      -hookwnd <s>            set hook window class to <s>
-hookexe <s>      -hookexe <s>            set hook version check game.exe to <s>
-servername <s>      -servername <s>            set game server name to <s>
-title <s>      -title <s>            set window title to <s>

vcnoknok 2008-4-7 17:55

一次過用幾個參數得唔得嫁???

oO傑Oo 2008-6-11 16:29

[quote]原帖由 [i]vcnoknok[/i] 於 2008-4-7 17:55 發表 [url=http://bbs.kyohk.net/redirect.php?goto=findpost&pid=5139690&ptid=639535][img]http://bbs.kyohk.net/images/common/back.gif[/img][/url]
一次過用幾個參數得唔得嫁??? [/quote].


得呀~我都係 -skiptobnet後面打

-skiptobnet -w    咁打就變左window@@"正呀xD多謝樓主~~~~

愛麗斯 2008-6-15 19:22

why 我轉唔到-lng <s>     -lng <s>         設置語言為<s>:ENG(英語),CHN(中文)
(我想轉英文)
頁: [1]
查看完整版本: Diablo 2 Loader所有命令行參數