設定ファイルガイド
の編集
http://mars.kmc.gr.jp/~dis/dcss_wiki/index.php?%E8%A8%AD%E5%AE%9A%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%AC%E3%82%A4%E3%83%89
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
BracketName
Centaur Fighter of Okawaru
Deck of destruction
Deck of dungeons
Deck of escape
Deck of oddities
Deck of summonings
Deck of wonders
Deep Dwarf Berserker of Trog
Deep Dwarf Fighter of Elyvilon
Deep Dwarf Necromancer of Cheibriados
Deep Dwarf Necromancer of Makhleb
Deep Elf Conjurer of Vehumet
Demigod Wizard
Demonspawn Wizard of Qazlal
Felid Monk of Kikubaaqudgha(15ルーンコンプのススメ)
FormattingRules
Formicid Abyssal Knight of Lugonu
Formicid Fighter of Cheibriados
FrontPage
Gargoyle Conjurer of Ru
Gargoyle Earth Elementalist of Vehumet
Gargoyle Fire Elementalist of Kikubaaqudgha
Gargoyle Venom Mage of Vehumet
Gnoll Wizard
Help
High Elf Arcane Marksman of Cheibriados
High Elf Fire Elementist of Okawaru(15ルーンコンプのススメ)
High Elf Wizard of Okawaru
High Elf Wizard of Vehumet
Hill Orc Abyssal Knight of Lugonu
Hill Orc Fighter of Beogh
Hill Orc Fighter of Elyvilon
Human Wizard
InterWiki
InterWikiName
InterWikiSandBox
Kobold Abyssal Knight of Lugonu
Kobold Berserker of Trog
Link
MRについて
MenuBar
Merfolk Ice Elementalist of Okawaru
Merfolk Transmuter of Cheibriados(15ルーンコンプのススメ)
Minotaur Fighter of Trog
Mummy Fighter of Okawaru(15ルーンコンプのススメ)
Mummy Ice Elementalist of Sif Muna(15ルーンコンプのススメ)
Naga Conjurer of Dithmenos
Naga Wizard of Nemelex Xobeh
Ogre Wizard of Ashenzari
Ogre of Cheibriados
PHP
PukiWiki
PukiWiki/1.4
PukiWiki/1.4/Manual
PukiWiki/1.4/Manual/Plugin
PukiWiki/1.4/Manual/Plugin/A-D
PukiWiki/1.4/Manual/Plugin/E-G
PukiWiki/1.4/Manual/Plugin/H-K
PukiWiki/1.4/Manual/Plugin/L-N
PukiWiki/1.4/Manual/Plugin/O-R
PukiWiki/1.4/Manual/Plugin/S-U
PukiWiki/1.4/Manual/Plugin/V-Z
RecentDeleted
Spriggan Enchanter of Gozag
Tips
Tips/Sprint VI Thunderdomeのアイテム
Tips/オーブラン
Tips/鑑定虎の巻
Tips/鑑定虎の巻/0.14
Vampire Earth Elementalist of Makhleb
Vampire Enchanter of Ashenzari
Vampire Enchanter of Kikubaaqudgha
Vampire Enchanter of Makhleb
Vampire Enchanter of Sif Muna
Vampire Necromancer of Sif Muna(Zot Defense)
Vampire Summoner of Sif Muna
Vine Stalker Berserker of Trog
WikiEngines
WikiName
WikiWikiWeb
YukiWiki
Zot_Defense
Zot_Defense/Ability
Zot_Defense/おすすめキャラメイク
Zot_Defense/システム
choose your promo code
dcss Wiki
dis-
sprint
sprint/1_Red_Sonja
sprint/2_The_Violet_Keep_of_Menkaure
sprint/3_The_Ten_Rune_Challenge
sprint/4_Fedhas'_Mad_Dash
sprint/5_Ziggurat_Sprint
sprint/6_Thunderdome
sprint/7_The_Pits
sprint/8_Arena_of_Blood
sprint/9_|||||||||||||||||||||||||||||
statistics/magic
statistics/potion
statistics/routes
statistics/scroll
testpage
using promo codes to save
おすすめキャラメイク
ウィザードモードコマンドリスト
エラー報告所
コマンドリスト
デッキ
不意打ちについて
中立化成功率
変更点
変更点/0.1
変更点/0.10
変更点/0.11
変更点/0.12
変更点/0.13
変更点/0.14
変更点/0.15
変更点/0.16
変更点/0.17
変更点/0.18
変更点/0.19
変更点/0.2
変更点/0.20
変更点/0.21
変更点/0.22
変更点/0.3
変更点/0.4
変更点/0.5
変更点/0.6
変更点/0.7
変更点/0.8
変更点/0.9
変更点/Branches, environment
変更点/Cards
変更点/Character
変更点/Gods
変更点/Intefaces
変更点/Items
変更点/Monsters
変更点/Spells
暗殺耐性
武器一覧
死亡診断書
死亡診断書/CeHu of Okawaru
死亡診断書/DrCj of Vehumet
死亡診断書/DrSu of Okawaru
死亡診断書/DsAK of Lugonu
死亡診断書/FoEE of Cheibriados
死亡診断書/FoFi of Cheibriados
死亡診断書/FoFi of Elyvilon
死亡診断書/HECj of Vehumet
死亡診断書/HaBe of Kikubaaqudgha
死亡診断書/KoAK of Lugonu
死亡診断書/MiFi of Gozag
死亡診断書/MiFi of Trog
死亡診断書/MiTm of Cheibriados
死亡診断書/OpTr of Cheibriados
死亡診断書/OpWz of Gozag
死亡診断書/SpCj of Gozag
死亡診断書/SpEn of Ashenzari
死亡診断書/SpEn of Gozag
死亡診断書/SpEn of Gozag 2
死亡診断書/SpIE of Ashenzari
死亡診断書/TeAr of Gozag
死亡診断書/TeFi of Okawaru
死亡診断書/TrMo of Qazlal
死亡診断書/VSBe of Trog
死亡診断書/VpEn of Gozag
死亡診断書/VpEn of Gozag2
死亡診断書/VpEn of Kikubaaqudgha
死亡診断書/VpSu of Sif Muna
死亡診断書/template
略語辞典
石鍋 Wiki
石鍋Wiki
脱出報告書
脱出報告書/BaWz of Cheibriados
脱出報告書/CeGl of The Shining One
脱出報告書/CeHu_of_Okawaru
脱出報告書/DDFi of Ru
脱出報告書/DECj of Sif Muna
脱出報告書/DECj of Sif Muna 2
脱出報告書/DsBe of Trog
脱出報告書/DsIE of Vehumet
脱出報告書/DsIE of Vehumet 2
脱出報告書/DsWz of Ashenzari
脱出報告書/DsWz of Cheibriados
脱出報告書/FeBe of Trog
脱出報告書/FeBeその2
脱出報告書/FeWz of Nemelex Xobeh
脱出報告書/FoAK of Lugonu
脱出報告書/FoEE of Cheibriados
脱出報告書/FoEE of Cheibriados 2
脱出報告書/FoFi of Kikubaaqudgha
脱出報告書/FoFi of Lugonu
脱出報告書/FoFi of Qazlal
脱出報告書/FoTm of Lugonu
脱出報告書/FoWz of Cheibriados
脱出報告書/GhMo of Cheibriados
脱出報告書/GhMo of Makhleb
脱出報告書/GnTm of Cheibriados
脱出報告書/GrAM of Cheibriados
脱出報告書/GrCj of Ru
脱出報告書/GrFi of Trog
脱出報告書/HEFE of Ashenzari
脱出報告書/HOFi of Beogh
脱出報告書/HaBe of Trog
脱出報告書/HaBe of Trog 2
脱出報告書/HaFi of Igni
脱出報告書/HoFi of Elyvilon
脱出報告書/HuWz of Cheibriados
脱出報告書/KoAK of Lugonu
脱出報告書/KoAs of Pakellas
脱出報告書/KoBe of Lugonu
脱出報告書/KoBe of Trog
脱出報告書/KoWr of Kikubaaqudgha
脱出報告書/MfSu of Cheibriados
脱出報告書/MfVm of Qazlal
脱出報告書/MfWz of Cheibriados
脱出報告書/MiBe of Trog
脱出報告書/MiFi of Jiyva
脱出報告書/MiFi of Ru
脱出報告書/MiFi of Yredelemnul
脱出報告書/MiMo of Cheibriados
脱出報告書/MiTm of Cheibriados
脱出報告書/MuWz of Okawaru
脱出報告書/NaWz of Ashenzari
脱出報告書/NaWz of Cheibriados
脱出報告書/NaWz of Makhleb
脱出報告書/OPWz of Cheibriados
脱出報告書/OgFE of Vehumet
脱出報告書/OgWz of Cheibriados
脱出報告書/OpBe of Ashenzari
脱出報告書/OpIE of Sif Muna
脱出報告書/OpTm of Gozag
脱出報告書/OpWz of Gozag
脱出報告書/SpCj of Gozag
脱出報告書/SpCj of Gozag(20141227)
脱出報告書/SpEn of Ashenzari
脱出報告書/SpEn of Gozag
脱出報告書/SpEn of Gozag その2
脱出報告書/SpHu of Okawaru
脱出報告書/SpWz of Gozag
脱出報告書/TeCj of Vehumet
脱出報告書/TeWz of Cheibriados
脱出報告書/TrCK of Xom
脱出報告書/TrMo of Dithmenos
脱出報告書/TrMo of Jiyva
脱出報告書/TrMo of Okawaru
脱出報告書/TrMo of Qazlal
脱出報告書/TrWz of Cheibriados
脱出報告書/TrWz of Cheibriados(20150428)
脱出報告書/TrWz of Cheibriados(20151030)
脱出報告書/VSBe of Trog
脱出報告書/VSBe of Trog 2
脱出報告書/VSWz of Ashenzari
脱出報告書/VSWz of Cheibriados
脱出報告書/VSWz of Dithmenos
脱出報告書/VSWz of Uskayaw
脱出報告書/VpAK of Lugonu
脱出報告書/VpEn of Nemelex Xobeh
脱出報告書/VpEn of kikubaaqudgha
脱出報告書/VpEn 無信仰
脱出報告書/VpSu of Sif Muna
脱出報告書/template
脱出報告書/スキル13縛り VSAs of Kikubaaqudgha
脱出報告書yiuf branch/ImAK of Makhleb
設定ファイルガイド
設定ファイルレシピ
質問コーナー
遠距離武器
隠密
DCSS設定ガイドの訳(意訳含む)です。(書きかけ) 原文: https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt ---- #contents ---- * 0- 設定一般 [#za07925c] // * 0- Generalities on options. ** 0-a 標準または追加の設定ファイル [#oa75b8cf] // ** 0-a Standard and additional option files. Dungeon Crawl Stone Stop(以下DCSS)は下記のうち最初に見つかったファイルを設定ファイルとして取り扱う。 - setting/init.txt - init.txt(DCSS実行ファイルと同一ディレクトリ) - .crawlrc(Unixホームディレクトリ内) 代替手段として、下記のコマンドラインオプションを使い設定ファイルの場所を指定することもできる。 -rc <file> スタート画面において、どの設定ファイルが読み込まれたか表示される。((訳注: スタンドアロン版の場合。)) // Crawl uses the first file of the following list as its option file: // * settings/init.txt // * init.txt (in the Crawl directory) // * .crawlrc (in the Unix home directory) // // Alternatively, you can use the command line option // -rc <file> // which tells Crawl to use precisely that file. // // On the starting screen, Crawl tells you which init file it uses, if any. 以下のようにして追加の設定ファイルを指定することもできる。 include = <file> Note that these are treated as if their content was entered verbatim in the options file. ~ 初期状態では、DCSSプログラムは追加読み込みするファイルを settings/ ディレクトリから検索するが、以下のように特定のディレクトリをコマンドラインオプションで指定することもできる。 -rcdir <dir> // It is possible to include additional files within the options file via // include = <file> // Note that these are treated as if their content was entered verbatim // in the options file. By default, Crawl searches for all these included // files in the settings/ directory but you can specify a special folder // using the command line option // -rcdir <dir> // 外部設定ファイルにはいくつかの使い道がある。~ DCSSの一般設定(メッセージの強調/抑制、インベントリの設定等)を手軽にカスタマイズすることを可能にする。~ 複雑に作り上げた渾身の設定ファイル(大抵luaスクリプトを含む)を適切に隠蔽することもできる。~ また、settings/ ディレクトリに含まれる追加の設定ファイルを用いて古いバージョンのモンスター文字を初期設定として指定することもできる。~ さらに詳しい内容については[[init.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/settings/init.txt]]内のコメントを参照すべし。 // External option files have several uses: They allow quick customisation // of Crawl's general appearance (colouring/suppression of messages, and // the inventory style). More elaborate option magic (usually containing // lua) can also be conveniently hidden this way. Finally, there are some // additional option files in the settings/ directory; these allow setting // some options and monster glyphs to their defaults from older versions. // See the header of the default init.txt for more details. ** 0-b コマンドラインからのオプション指定 [#ac9cd63e] // ** 0-b Options on the command line. ちょっとした設定変更を設定ファイルの切り替えなしに行う簡単な方法はコマンドラインオプション -extra-opt-first および -extra-opt-lastである。~ これらは指定された設定文字列を設定ファイルの最初、もしくは最後に追加する。例えば -extra-opt-last wiz_mode=yes の指定により、常に新規ゲームをウィザードモードで開始できる。~ ~-extra-opt-first および -extra-opt-lastは同一コマンドラインにおいて複数回指定することができる。 // A quick way to make small changes to the options, without having to // switch to a different option file, is to use the command line options // -extra-opt-first or -extra-opt-last, which make it as if the given // option was (respectively) at the top or bottom of the option file. For // example, // // -extra-opt-last wiz_mode=yes // // will cause any new game to start in wizard mode. -extra-opt-first and // -extra-opt-last can be used multiple times on the same command line. ** 0-c オプションの設定のしかた [#qf4e1786] // ** 0-c Options and how to set them. DCSSの設定には大きく分けて3つの指定方法が存在する。 - true / false (真偽値) - 任意の文字列指定 - 設定値のリスト この文書においては、各オプションはデフォルト値(存在すれば)とともに記述される。~ デフォルト値の記述はオプション設定が前述の3つのどれに対応するかを明示すべきである。 それぞれの設定値はよく使われる内容に指定されるべきだが、設定内容はプレイヤーのプレイングスタイル、およびOSによってばらばらなのを留意すること。 // There are three broad types of Crawl options: true/false values // (booleans), arbitrary values, and lists of values. In this document, // options are usually described with their default values (if there is a // default); this should also explain which of the above-mentioned types // it is. Each option should have some remarks on how it's typically used // - but keep in mind that the options you want to use depend on your // playing style and sometimes also on your operating system. オプションの指定について以下の2つのやり方がある。~ ひとつは伝統的な(オプション名)=(設定値)を1行ごとに書くやり方: remember_name = true explore_greedy = false confirm_butcher= never もうひとつはNetHack類似の複合指定方法: OPTION = remember_name, !explore_greedy, confirm_butcher:never 後者は簡単な設定を少ない行で書くのに向いているが、リスト値を対象に取る設定(例: autopickup_exception)に対して使うことはできない。 // There are two styles you can use to set options. The classic // name=value syntax, one option per-line: // remember_name = true // explore_greedy = false // confirm_butcher= never // And the NetHack-style combined option line: // OPTION = remember_name, !explore_greedy, confirm_butcher:never // // The second style is useful to specify simple options in a few lines, // but it cannot be used for options that take complex lists of values // (such as the autopickup_exceptions option). いくつかのオプションは引数としてパスを要求するため、プレイヤーが各々のシステムに合わせたファイルシステムパスを指定しなければならない。~ また、別のオプションは正規表現を引数に取れる。here you can simply use ordinary strings, adapt the suggested regexes to your needs or search the internet for regex syntax. // Some options need a path as an argument; here you have to use a // filesystem path suitable for your system. Other options accept regular // expressions (regexes): here you can simply use ordinary strings, adapt // the suggested regexes to your needs or search the internet for regex // syntax. チュートリアルモードでは設定のいくつかは説明のために上書きされることに注意。~ This concerns the following options, and their enforced setting for tutorial games are as follows:~ clear_messages = true weapon = hand axe, for Berserkers in hints mode タイル版の場合は tile_tag_pref = tutorial // Note that in the tutorial and hints modes, some of your options settings may // get overwritten to facilitate the explanations. This concerns the following // options, and their enforced setting for tutorial games are as follows: // clear_messages = true // weapon = hand axe, for Berserkers in hints mode // and, for Tiles, // tile_tag_pref = tutorial ** 0-d 設定のリスト [#b58bde38] // ** 0-d List options. 多くのオプションが値としてリストを取る。全てではないが多くのオプションがカンマで区切ることにより複数値を1行で指定することができる。~ それらのオプションを初期化/再設定、または値を追加および削除することが可能である。 値をリストの末尾に追加(append) drop_filter += useless, enchant 値をリストの先頭に追加(prepend) drop_filter ^= fobidden 値をリストから削除(完全一致のみ) drop_filter -= enchant リストを再設定 drop_filter = bad_item, dangerous_item リストを空にする drop_filter = // A number of options can have a list of values. Most but not all of these // options allow setting multiple values in a single line, separated by commas. // It is possible to reset, add items to, or remove items from such an option. // Add values to the end of the list (append): // drop_filter += useless, enchant // Add values to the beginning of the list (prepend): // drop_filter ^= forbidden // Remove values from the list (exact match only): // drop_filter -= enchant // Reset the list: // drop_filter = bad_item, dangerous_item // Empty the list: // drop_filter = "listopt = value" 文はまずリストを空にし、値を追加する。In previous versions of Crawl it was a synonym for +=, and only bare "listopt =" cleared the list. // The "listopt = value" syntax first clears the list, then adds values. In // previous versions of Crawl it was a synonym for +=, and only bare // "listopt =" cleared the list. drop_filterを初めとして、実際のところ前追加(prepend)と後追加(append)に違いがないオプションが多い。しかし、message_colourのように値の並びが意味を持つオプションもあり、これらは解説文に「順序付きリストオプション(Ordered list options)」と書かれている。~ 多くの場合、頭の方の設定値が後のものより優先されるため、+= は既存値の方を優先するのに対し、^= はそれらを上書きする。.~ 例えば以下のような連続した設定文字列について message_colour = cyan:hits message_colour ^= red:crimson message_colour += yellow:killer "The crimson imp hits you!" というメッセージは赤く表示されるが、"The killer bee hits you!" というメッセージは水色(cyan)で表示される。 // For many options, such as drop_filter, there is effectively no difference // between appending and prepending. However, other options, such as // message_colour, do care about the order of items; these will be noted as // "Ordered list options" in their descriptions. In most cases, earlier items // take precedence over later ones, so += defers to existing matches (including // defaults) while ^= overrides them. So, for example, with the sequence of // options: // message_colour = cyan:hits // message_colour ^= red:crimson // message_colour += yellow:killer // the message "The crimson imp hits you!" will be displayed in red, while "The // killer bee hits you!" will be displayed in cyan. ** 0-e 別名と変数 [#rc852b1f] // ** 0-e Aliases and variables. // ** 0-e Aliases and variables. 以下のようにして長い設定名の別名を作ることができる。 alias := long_option_name 具体例は以下の通り: ae := autopickup_exceptions 以後は "ae" を "autopickup_exceptions" の代わりにして用いることができる。 ae += >uselessness, >inaccuracy // For long option names, you can define option aliases by doing: // alias := long_option_name // For instance, you can use: // ae := autopickup_exceptions // and thereafter use "ae" instead of "autopickup_exceptions": // ae += >uselessness, >inaccuracy 設定値を変数として扱うことができる。例えば以下のように用いる。 $useless := darkgrey menu_colour += $useless:random uselessness // You can define shortcuts for option values (variables). For example, // $useless := darkgrey // could be used in conjunction with // menu_colour += $useless:random uselessness 変数に格納された値の変更を防ぐために定数値とすることができる。 constant = useless これはインクルードされたファイルを変数値の変更から防御するのに有用である。 // To prevent a variable from being changed you can make it a constant: // constant = useless // This is useful if you wish to prevent an included file from altering // a variable. 別名と変数値の使用の実例として[[dat/defaults/standard_colours.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/source/dat/defaults/standard_colours.txt]] および [[dat/defaults/food_colouring.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/source/dat/defaults/food_colouring.txt]]が参考になる。~ デフォルト値は既に読み込まれているため、これらのファイルに定義された変数を変更することはプレイヤー自身の設定ファイルにのみ影響を及ぼすことに注意。これらの値を変更したければ、プレイヤーそれぞれが設定値を上書きしなければならない。 // See dat/defaults/standard_colours.txt and dat/defaults/food_colouring.txt // for usage of aliases and variables. Note that changing the variables defined // in these files will only affect your own configuration file, as the default // options will have already been loaded. If you want to change them, you will // have to override the options themselves. * 1- 起動オプション [#df68a67b] // * 1- Starting Screen. 以下のオプションを指定することでゲームの開始がより便利になる。 // The following options are a convenience to help you quickly start your game of Crawl. - name = Delilah ~ 設定した文字列がキャラクター名として用いられる。 // If set, that's the name all your Crawl characters will get. - remember_name = true ~ // Crawl remembers the options (species, background etc.) you used // to create your last character. You may recycle them in the // starting screen for a new character. If this option is set to // true, Crawl will also remember the last name you used. // // If you use this option and want to enter a name _after_ // choosing your species and background, you must enter . at the // initial name prompt - hitting Enter at the name prompt will // simply reuse your old name if remember_name is set. - weapon += (short sword |...| unarmed | random | viable), <weapon>, ... ~ (リストオプション) // (List option) // Specifying the weapon option allows you to bypass the weapon // selection screen. Tridents, flails, cutlasses, long swords, and war // axes are restricted to fighters and gladiators only, quarterstaves // are restricted to gladiators, and unarmed is restricted to races // with claws. The standard weapon prompt will be shown if an illegal // choice for the selected background is specified. The "viable" option // makes a random choice from among the "good" weapons for the chosen // character. Specifying more than one option causes the game to // randomly select a weapon from the given list. The combo option // overrides (and is overriden by) this option. - species += (Human |...| Vampire | random | viable), <species>, ... ~ // (List option) // The usual abbreviations (Hu, HE, etc.) work. "viable" will choose a // viable species for a given background if the background is chosen // first. Specifying multiple species causes one to be selected at // random from the given species. The combo option overrides (and is // overridden by) this option. - background += (Fighter |...| Wanderer | random | viable), <background>, ... ~ // (List option) // Here again the abbreviations (Fi, Wz, AK, etc.) can be used. The same // caveat applies to "viable": it is only really meaningful if the // species option is also set. Specifying multiple backgrounds causes // one to be selected at random from the given species. The combo option // overrides (and is overridden by) this option. - combo += (HuFi . short sword | Human Monk | ...), <combo>, ... ~ // (List option) // Specifies a complete set of species, background, and (where // applicable) weapon. If a combo requires a weapon choice and one isn't // specified, it is prompted for. Combos may be abbreviated or specified // in full. If multiple combos are specified, one is selected randomly // from the specified combos. The weapon, species, and background // options are overriden by (and override) this option. - random_pick = false ~ // The random_pick option will randomly generate a character. // The above options (weapons and species/background options) will // override where appropriate. - good_random = true ~ // Whenever random_pick is used, species or background are set // random, or a remembered random choice is executed in the character // selection, the game will only pick good (viable) combinations. - restart_after_game = true/false ~ // When a game ends, Crawl will return to the main menu if // restart_after_game is set. This option is enabled by default // for tiles builds and disabled by default for other builds. - restart_after_save = false ~ // When the game is saved, return to the main menu. This option // has no effect unless restart_after_game is also enabled. - default_manual_training = false ~ // When set to true, new characters will start with skill training // set to manual mode instead of automatic mode. - autopickup_starting_ammo = true ~ // When set, at game start, autopickup is forced on (as per the \ // menu) for the player's starting ammunition type (including stones // for Earth Elementalists and arrows for Transmuters). Even when this // option is set, autopickup of those items can be disabled from the // \ menu once the game has begun. * 2- ディレクトリ設定 [#nd8e1ef7] // * 2- File System. - crawl_dir = <path> ~ 他のファイルを見つける際の相対パスを指定する。デフォルトではDCSS実行ファイルを含むディレクトリである。 // The path used for the relative paths when looking for other // files. Defaults to the directory that contains the Crawl // executable. - morgue_dir = morgue ~ 死亡/脱出ダンプおよびキャラクターダンプ((ゲーム中に'#'で出力されるダンプ))が出力されるディレクトリである。 // Directory where morgue dumps files (morgue*.txt and // morgue*.lst) as well as character dumps files are written. - save_dir = saves ~ セーブファイルおよびboneファイルが保存されるディレクトリである。この設定はコンパイル時の設定により無視されるかもしれないが、should be honoured for the official Crawl binaries. // Directory where saves and bones are stored. This option may be // ignored depending on the settings used to compile Crawl, but // should be honoured for the official Crawl binaries. - macro_dir = settings/ ~ macro.txtを読み込むためのディレクトリである。タイルを利用したゲームの場合、wininit.txtもまたここに保存される。~ この設定はパス区切り文字を末尾に記述すべきである。 // Directory for reading macro.txt. // For tile games, wininit.txt will also be stored here. // It should end with the path delimiter. - sound ^= <regex>:<path to sound file>, <regex>:<path>, ... ~ (順序付きリストオプション)~ 指定した正規表現がマッチするメッセージが表示された際に音声ファイルを再生する。正規表現パターンにカンマ ',' およびコロン ':' を含んではならない。例えば: sound += LOW HITPOINT WARNING:sound\sounds2\danger3.wav // (Ordered list option) // Plays the sound file if a message contains regex. The regex // should not include commas or colons. For example // sound += LOW HITPOINT WARNING:sound\sounds2\danger3.wav * 3- ゲームインターフェイス [#o1a98ecf] // * 3- Interface. ** 3-a 自動拾い [#dfec6cb3] // ** 3-a Picking up and Dropping. - autopickup = $?!+"/% $?!+"/% がデフォルトの自動拾い設定である。有効な記号は以下の通り: ) 武器 ( 矢・弾・飛び道具 [ 防具 / 杖 % 食料 ? 巻物 " or = 装身具 ! 水薬 + or : 本 | 杖 \ ロッド 0 オーブ } その他 X 死体 $ 金貨 どのアイテムが自動的に拾われるか否かにかかわらず、Ctrl-Aで自動拾い自体をオンオフできることに注意。また、自動拾いには(物品の量にかかわらず)1ターン消費が伴う。~ 通常自動で拾うことになっているアイテムの上に瞬間移動(teleportやblink)した場合、そのアイテムは拾われない。 // Note that _whether_ items are picked up automatically or not, is // controlled by the in-game toggle Ctrl-A. Also note that picking // up takes a turn, but only one turn (regardless of the number of // items). If you teleport or blink onto a square with interesting // items, these will not be picked up. - autopickup_exceptions ^= <pickup-regex, >don't-pickup-regex, ... // (Ordered list option) // A set of regexes that force matching items to be picked up (if // prefixed with <), or never picked up (if prefixed with >). // Excludes (>) take precedence over includes (<), so if the same // item is matched by both an exclude and an include, it will not // be subject to autopickup. // // An example: // autopickup_exceptions += <curare-tipped needle // Forces autopickup to grab all curare-tipped needles, even if // missiles are not set in the "autopickup" option. // // Whitespace between <> and the match expression is significant, // so the following won't work: // autopickup_exceptions += < ebony casket // // autopickup_exceptions replace the older ban_pickup. Using // autopickup_exceptions += >uselessness, >inaccuracy // is the same as using // ban_pickup += uselessness, inaccuracy // // If the regexes are not prefixed with < or >, > is implied, so // the option setting above can also be written as // autopickup_exceptions += uselessness, inaccuracy // // You can use multiple autopickup_exceptions lines. Some examples: // autopickup_exceptions += inaccuracy, scrolls? of paper // autopickup_exceptions += immolation, curse (armour|weapon) // autopickup_exceptions += uselessness, noise, torment // // Unless you clear the list of exceptions, you won't need to set // autopickup exceptions for potions except maybe for very special // cases. - default_autopickup = true ~ falseに設定した場合、自動拾いがオフの状態でゲームが開始される。この状態でも、ゲーム中にCtrl-Aを押すことで自動拾いをオンにできる。 // When set to false, the game starts with autopickup turned off. // You can still toggle autopickup in-game with Ctrl-A. - pickup_thrown = true ~ pickup_thrownをtrueに設定すると打ち出した矢弾を自動で拾うように設定でき、射撃プレイの際に便利である。~ 自動拾い自体にターン消費を要し、視界内に敵対的モンスターがいる際は拾われないことに注意。 // pickup_thrown = true causes autopickup to pick up thrown/fired // missiles, which can make life much easier for hunter types. Be // aware that autopickup uses a turn, though it won't trigger if // there are hostile monsters in sight. - assign_item_slot = (forward | backward) ~ // When picking up items, the inventory slot into which the item // goes is normally the first free slot from a-zA-Z (this is the // default "forward" behaviour). Setting assign_item_slot to // "backward" changes the slot assignment to the first letter after // the last slot. // For instance, if you have items on 'a' and 'c', then with // assign_item_slot = forward, the next item will go into 'b', // assign_item_slot = backward, the next item will go to 'd' // instead. // With "backward", items dropped/fired and picked up later are // more likely to get their old slot back. - pickup_menu_limit = 1 ~ // If there are more items than this on your square, a menu will be // displayed when picking up multiple items instead of prompting for each // item. If zero, never use the menu. If negative, use the value of // item_stack_summary_minimum - 1, instead. // // Note that no matter the vaulue of the option, picking up will always // take one turn. - drop_filter += <regex>, <regex>, ... ~ // (List option) // When selecting items using the global (de)select keys (',' or // '-') in a multidrop menu, you can choose to select only items // that match a search regex using this option. // // For instance, to quickly select items forbidden by your god, you could // use: // drop_filter += forbidden // Other choices can come in handy as well, e.g. if you want to // regularly sacrifice all weapons except axes, use: // drop_filter += axe, broadaxe // // drop_filter will match against the same keywords menu_colour uses, // except that it lacks identification status and chunk information. It // defaults to useless_item. // // When a drop_filter is set, using the select/deselect keys will // set/clear selection of items that match the filter // expression(s). ** 3-b 既知の怪物またはアイテムの表示 [#d457b4aa] // ** 3-b Passive Sightings (detected or remembered entities). - detected_monster_colour = lightred ~ 感知したモンスターが指定した色で表示される。 // Detected monsters will be given this colour. - detected_item_colour = green ~ 感知したアイテムが指定した色で表示される。 // Detected items will be given this colour. - remembered_monster_colour = darkgrey ~ 以前目にしたモンスターが指定した色で表示される。 // The colour for monsters you have seen before. ** 3-c 怪物またはアイテムの強調表示 [#bfb1db93] // ** 3-c Branding (Item and monster highlighting). ** 3-d 階層に関する設定 [#w752e2ee] // ** 3-d Level Map Functions. ** 3-e Viewport Display Options. [#pe8e68d5] // ** 3-e Viewport Display Options. ** 3-f 自動探索関連設定 [#uafd96f9] // ** 3-f Travel and Exploration. ** 3-g コマンド関連設定 [#rc2fa6a0] // ** 3-g Command Enhancements. ** 3-h メッセージ表示関連設定 [#t921f03d] // ** 3-h Messages and Display Enhancements. ** 3-i メッセージ及びメニューの色設定 [#k84ddd6e] // ** 3-i Colours (messages and menus) ** 3-j 飛び道具 [#xd598d1a] // ** 3-j Missiles. ** 3-k メッセージ欄 [#o467762e] // ** 3-k Message Channels. ** 3-l 銘 [#i22bf9f5] // ** 3-l Inscriptions. ** 3-m マクロ関連設定 [#m070a606] // ** 3-m Macro related Options. ** 3-n タイル関連設定 [#e9cb7303] // ** 3-n Tiles Options. * 4- キャラクターダンプ [#u8d304f9] // * 4- Character Dump. ** 4-a ダンプ保存 [#tcd3d0d1] // ** 4-a Saving. - dump_on_save = true ~ trueにセットした場合、ゲームが保存された際にキャラクターダンプが生成、もしくは更新される。 // If set to true, a character dump will automatically be created or // updated when the game is saved. ** 4-b アイテムおよび殺害数 [#zf3fa4f5] // ** 4-b Items and Kills. // The character dump or morgue files end with a list of all monsters that // perished while the character was active. By default, dead monsters are // grouped in three parts: // Vanquished Creatures -- monsters killed by the character // Collateral Kills -- kills of friendly monsters // Others -- all other casualties (e.g. traps, hostile // monsters) - kill_map = friend:you, other:you ~ // will merge friendly and other kills into the main vanquished // creatures list. Note that the merging is only for display (the // game still maintains three separate lists internally) and that // kill places (see below) may be in the wrong order for merged // entries. The default is an empty list. - dump_kill_places = (none | all | single) ~ // In the Vanquished Creatures list, this option controls how the // locations of each kill are displayed. Use 'none' to suppress // place display altogether, 'all' to display all known (up to 5) // kill places, anything else to the default of showing kill places // only for single kills - dump_item_origins = artefacts, rods ~ // The game remembers where you find items. If you want this item // origin memory listed in your dumps, use this option to select // which items get annotated. Available selectors are: // artefacts, ego_arm, ego_weap, jewellery, runes, // rods, staves, books, all, none. // If you use multiple dump_item_origins lines, the last line takes // effect; all preceding lines are ignored. // If you don't want any items to be annotated, set // dump_item_origins to none, and set dump_item_origin_price to -1. - dump_item_origin_price = -1 ~ // Item origins are dumped if the price of the item is greater than // or equal to this amount. Set this to -1 to prevent selection by // price. - dump_message_count = 20 ~ // The number of last messages to be displayed in character dump // files. - dump_order = header,hiscore,stats,misc,notes,inventory, ~ - dump_order += skills,spells,overview,mutations,messages,screenshot, ~ - dump_order += monlist,kills,action_counts ~ // (Ordered list option) // Controls the order of sections in the dump. // Two optional dump sections are "turns_by_place" and // "kills_by_place", which add detailed statistics to where turns // were spent and monsters were killed. You can add them to your // dump as: // dump_order += turns_by_place, kills_by_place // Another optional dump section is "vaults", which will list the // locations and names of all the vaults that have been generated // in the game. This will only be included in the final dump // which happens when you die, quit or win (or in ordinary dumps // while in wizard mode). The "vaults" section is enabled by default // in trunk builds of Crawl (not releases or pre-release betas), // appearing between "kills" and "action_counts". - dump_book_spells = true ~ // By default all randart spellbooks in inventory will have all their // spells listed in the dump. If this option is set to true, spells will // also be dumped for non-randart spellbooks. ** 4-c 注釈 [#bdcff1a4] // ** 4-c Notes. * 5- その他 [#g1480daa] // * 5- Miscellaneous. ** 5-a 全OS対象 [#m75f3646] // ** 5-a All OS. ** 5-b DOSおよびWindows [#o9c468b3] // ** 5-b DOS and Windows. ** 5-c Unix [#v06abb97] // ** 5-c Unix. * 6- Lua [#v5c39187] // * 6- Lua. ** 6-a luaファイルの読み込み [#u0928d37] // ** 6-a Including lua files. // Lua files are scripts which can provide existing commands with a new // meaning or create new commands (to be used in macros). To use Lua // files, Crawl needs to be compiled with support for user Lua scripts. // You can if your Crawl has Lua support by hitting ?V in-game. The list // of features Crawl displays should include "Lua user scripts". // Lua files are included using the lua_file option (one file per line): // lua_file = <path/name.lua> // Lua functions can be macroed in-game by setting the macro action to "===", // followed by the function name. // The wizard-mode Lua interpreter (&^T) will, the first time it's invoked, // load all of the files that are specified with the terp_file option: // terp_file = <path/name.lua> // The Lua in these files will have access to all of the Crawl Lua internals // (that is, will be run in the context of dlua, not clua). ** 6-b 組み込みluaの実行 [#ad364f95] // ** 6-b Executing inline lua. // Lua code can be used directly in your init.txt/.crawlrc. You can // execute Lua code using the following syntax. // : Single line of lua code // < Possibly multi-line // Lua code > // { Possibly multi-line // Lua code } // In the second and third cases, the restriction is that the delimiter // characters appear at the beginning and end of a line, respectively. // The difference between the <> and {} is when the code gets executed. // Code {}, it is executed right away. Other Lua code is executed only // after the entire init file is read in. // Examples: // # Print a welcome message // : crawl.mpr("Hello " .. you.name()) // < // -- Another welcome message (lua code uses lua comments) // crawl.mpr("Hi there") // > // { // function ch_autopickup(it) [ ... body omitted ... ] end // } ** 6-c 条件付き設定 [#j5fd326c] // ** 6-c Conditional options. // You can use Lua to selectively include parts of your init.txt (based // on character type, for instance) using the same syntax. // Example: // : if you.race() == "Mummy" then // autopickup = $?+"/ // : else // autopickup = $?+"/!% // : end // Options can be referenced by lua via "options.option_name". For // example: // :if string.find(options.autopickup, "!") then // # Do something here if potions are included in autopickup // :end // "options.option_name" can even be used for options that crawl itself // doesn't recognize. This can be combined with setting options on the // command line (see section 0-b) to use the command line to control // conditionalization of options in the options files. For example, on the // command line you could set the option "foobar" with "-extra-opt-first // foobar=true", and then do: // :if options.foobar then // # Do things here // :end ** 6-d 条件付き設定の注意 [#q757c7ce] // ** 6-d Conditional option caveats. // Note that none of the options listed under "Starting Screen" (section 1) // can be set conditionally. This is because the options files are // actually read in twice: once before character creation with Lua turned // off, and a second time after character creation with Lua turned on. If // you attempt to set a starting-screen option conditionally then the value // furthest down in the options file will be used regardless of what // conditions you set. // The above caveat applies to the "wiz_mode" option as well. Instead of // conditionalized wiz_mode, you can add to the command line // "-extra-opt-last wiz_mode=yes" to make any new game start in wizard // mode.
タイムスタンプを変更しない
DCSS設定ガイドの訳(意訳含む)です。(書きかけ) 原文: https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt ---- #contents ---- * 0- 設定一般 [#za07925c] // * 0- Generalities on options. ** 0-a 標準または追加の設定ファイル [#oa75b8cf] // ** 0-a Standard and additional option files. Dungeon Crawl Stone Stop(以下DCSS)は下記のうち最初に見つかったファイルを設定ファイルとして取り扱う。 - setting/init.txt - init.txt(DCSS実行ファイルと同一ディレクトリ) - .crawlrc(Unixホームディレクトリ内) 代替手段として、下記のコマンドラインオプションを使い設定ファイルの場所を指定することもできる。 -rc <file> スタート画面において、どの設定ファイルが読み込まれたか表示される。((訳注: スタンドアロン版の場合。)) // Crawl uses the first file of the following list as its option file: // * settings/init.txt // * init.txt (in the Crawl directory) // * .crawlrc (in the Unix home directory) // // Alternatively, you can use the command line option // -rc <file> // which tells Crawl to use precisely that file. // // On the starting screen, Crawl tells you which init file it uses, if any. 以下のようにして追加の設定ファイルを指定することもできる。 include = <file> Note that these are treated as if their content was entered verbatim in the options file. ~ 初期状態では、DCSSプログラムは追加読み込みするファイルを settings/ ディレクトリから検索するが、以下のように特定のディレクトリをコマンドラインオプションで指定することもできる。 -rcdir <dir> // It is possible to include additional files within the options file via // include = <file> // Note that these are treated as if their content was entered verbatim // in the options file. By default, Crawl searches for all these included // files in the settings/ directory but you can specify a special folder // using the command line option // -rcdir <dir> // 外部設定ファイルにはいくつかの使い道がある。~ DCSSの一般設定(メッセージの強調/抑制、インベントリの設定等)を手軽にカスタマイズすることを可能にする。~ 複雑に作り上げた渾身の設定ファイル(大抵luaスクリプトを含む)を適切に隠蔽することもできる。~ また、settings/ ディレクトリに含まれる追加の設定ファイルを用いて古いバージョンのモンスター文字を初期設定として指定することもできる。~ さらに詳しい内容については[[init.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/settings/init.txt]]内のコメントを参照すべし。 // External option files have several uses: They allow quick customisation // of Crawl's general appearance (colouring/suppression of messages, and // the inventory style). More elaborate option magic (usually containing // lua) can also be conveniently hidden this way. Finally, there are some // additional option files in the settings/ directory; these allow setting // some options and monster glyphs to their defaults from older versions. // See the header of the default init.txt for more details. ** 0-b コマンドラインからのオプション指定 [#ac9cd63e] // ** 0-b Options on the command line. ちょっとした設定変更を設定ファイルの切り替えなしに行う簡単な方法はコマンドラインオプション -extra-opt-first および -extra-opt-lastである。~ これらは指定された設定文字列を設定ファイルの最初、もしくは最後に追加する。例えば -extra-opt-last wiz_mode=yes の指定により、常に新規ゲームをウィザードモードで開始できる。~ ~-extra-opt-first および -extra-opt-lastは同一コマンドラインにおいて複数回指定することができる。 // A quick way to make small changes to the options, without having to // switch to a different option file, is to use the command line options // -extra-opt-first or -extra-opt-last, which make it as if the given // option was (respectively) at the top or bottom of the option file. For // example, // // -extra-opt-last wiz_mode=yes // // will cause any new game to start in wizard mode. -extra-opt-first and // -extra-opt-last can be used multiple times on the same command line. ** 0-c オプションの設定のしかた [#qf4e1786] // ** 0-c Options and how to set them. DCSSの設定には大きく分けて3つの指定方法が存在する。 - true / false (真偽値) - 任意の文字列指定 - 設定値のリスト この文書においては、各オプションはデフォルト値(存在すれば)とともに記述される。~ デフォルト値の記述はオプション設定が前述の3つのどれに対応するかを明示すべきである。 それぞれの設定値はよく使われる内容に指定されるべきだが、設定内容はプレイヤーのプレイングスタイル、およびOSによってばらばらなのを留意すること。 // There are three broad types of Crawl options: true/false values // (booleans), arbitrary values, and lists of values. In this document, // options are usually described with their default values (if there is a // default); this should also explain which of the above-mentioned types // it is. Each option should have some remarks on how it's typically used // - but keep in mind that the options you want to use depend on your // playing style and sometimes also on your operating system. オプションの指定について以下の2つのやり方がある。~ ひとつは伝統的な(オプション名)=(設定値)を1行ごとに書くやり方: remember_name = true explore_greedy = false confirm_butcher= never もうひとつはNetHack類似の複合指定方法: OPTION = remember_name, !explore_greedy, confirm_butcher:never 後者は簡単な設定を少ない行で書くのに向いているが、リスト値を対象に取る設定(例: autopickup_exception)に対して使うことはできない。 // There are two styles you can use to set options. The classic // name=value syntax, one option per-line: // remember_name = true // explore_greedy = false // confirm_butcher= never // And the NetHack-style combined option line: // OPTION = remember_name, !explore_greedy, confirm_butcher:never // // The second style is useful to specify simple options in a few lines, // but it cannot be used for options that take complex lists of values // (such as the autopickup_exceptions option). いくつかのオプションは引数としてパスを要求するため、プレイヤーが各々のシステムに合わせたファイルシステムパスを指定しなければならない。~ また、別のオプションは正規表現を引数に取れる。here you can simply use ordinary strings, adapt the suggested regexes to your needs or search the internet for regex syntax. // Some options need a path as an argument; here you have to use a // filesystem path suitable for your system. Other options accept regular // expressions (regexes): here you can simply use ordinary strings, adapt // the suggested regexes to your needs or search the internet for regex // syntax. チュートリアルモードでは設定のいくつかは説明のために上書きされることに注意。~ This concerns the following options, and their enforced setting for tutorial games are as follows:~ clear_messages = true weapon = hand axe, for Berserkers in hints mode タイル版の場合は tile_tag_pref = tutorial // Note that in the tutorial and hints modes, some of your options settings may // get overwritten to facilitate the explanations. This concerns the following // options, and their enforced setting for tutorial games are as follows: // clear_messages = true // weapon = hand axe, for Berserkers in hints mode // and, for Tiles, // tile_tag_pref = tutorial ** 0-d 設定のリスト [#b58bde38] // ** 0-d List options. 多くのオプションが値としてリストを取る。全てではないが多くのオプションがカンマで区切ることにより複数値を1行で指定することができる。~ それらのオプションを初期化/再設定、または値を追加および削除することが可能である。 値をリストの末尾に追加(append) drop_filter += useless, enchant 値をリストの先頭に追加(prepend) drop_filter ^= fobidden 値をリストから削除(完全一致のみ) drop_filter -= enchant リストを再設定 drop_filter = bad_item, dangerous_item リストを空にする drop_filter = // A number of options can have a list of values. Most but not all of these // options allow setting multiple values in a single line, separated by commas. // It is possible to reset, add items to, or remove items from such an option. // Add values to the end of the list (append): // drop_filter += useless, enchant // Add values to the beginning of the list (prepend): // drop_filter ^= forbidden // Remove values from the list (exact match only): // drop_filter -= enchant // Reset the list: // drop_filter = bad_item, dangerous_item // Empty the list: // drop_filter = "listopt = value" 文はまずリストを空にし、値を追加する。In previous versions of Crawl it was a synonym for +=, and only bare "listopt =" cleared the list. // The "listopt = value" syntax first clears the list, then adds values. In // previous versions of Crawl it was a synonym for +=, and only bare // "listopt =" cleared the list. drop_filterを初めとして、実際のところ前追加(prepend)と後追加(append)に違いがないオプションが多い。しかし、message_colourのように値の並びが意味を持つオプションもあり、これらは解説文に「順序付きリストオプション(Ordered list options)」と書かれている。~ 多くの場合、頭の方の設定値が後のものより優先されるため、+= は既存値の方を優先するのに対し、^= はそれらを上書きする。.~ 例えば以下のような連続した設定文字列について message_colour = cyan:hits message_colour ^= red:crimson message_colour += yellow:killer "The crimson imp hits you!" というメッセージは赤く表示されるが、"The killer bee hits you!" というメッセージは水色(cyan)で表示される。 // For many options, such as drop_filter, there is effectively no difference // between appending and prepending. However, other options, such as // message_colour, do care about the order of items; these will be noted as // "Ordered list options" in their descriptions. In most cases, earlier items // take precedence over later ones, so += defers to existing matches (including // defaults) while ^= overrides them. So, for example, with the sequence of // options: // message_colour = cyan:hits // message_colour ^= red:crimson // message_colour += yellow:killer // the message "The crimson imp hits you!" will be displayed in red, while "The // killer bee hits you!" will be displayed in cyan. ** 0-e 別名と変数 [#rc852b1f] // ** 0-e Aliases and variables. // ** 0-e Aliases and variables. 以下のようにして長い設定名の別名を作ることができる。 alias := long_option_name 具体例は以下の通り: ae := autopickup_exceptions 以後は "ae" を "autopickup_exceptions" の代わりにして用いることができる。 ae += >uselessness, >inaccuracy // For long option names, you can define option aliases by doing: // alias := long_option_name // For instance, you can use: // ae := autopickup_exceptions // and thereafter use "ae" instead of "autopickup_exceptions": // ae += >uselessness, >inaccuracy 設定値を変数として扱うことができる。例えば以下のように用いる。 $useless := darkgrey menu_colour += $useless:random uselessness // You can define shortcuts for option values (variables). For example, // $useless := darkgrey // could be used in conjunction with // menu_colour += $useless:random uselessness 変数に格納された値の変更を防ぐために定数値とすることができる。 constant = useless これはインクルードされたファイルを変数値の変更から防御するのに有用である。 // To prevent a variable from being changed you can make it a constant: // constant = useless // This is useful if you wish to prevent an included file from altering // a variable. 別名と変数値の使用の実例として[[dat/defaults/standard_colours.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/source/dat/defaults/standard_colours.txt]] および [[dat/defaults/food_colouring.txt>https://github.com/crawl/crawl/blob/master/crawl-ref/source/dat/defaults/food_colouring.txt]]が参考になる。~ デフォルト値は既に読み込まれているため、これらのファイルに定義された変数を変更することはプレイヤー自身の設定ファイルにのみ影響を及ぼすことに注意。これらの値を変更したければ、プレイヤーそれぞれが設定値を上書きしなければならない。 // See dat/defaults/standard_colours.txt and dat/defaults/food_colouring.txt // for usage of aliases and variables. Note that changing the variables defined // in these files will only affect your own configuration file, as the default // options will have already been loaded. If you want to change them, you will // have to override the options themselves. * 1- 起動オプション [#df68a67b] // * 1- Starting Screen. 以下のオプションを指定することでゲームの開始がより便利になる。 // The following options are a convenience to help you quickly start your game of Crawl. - name = Delilah ~ 設定した文字列がキャラクター名として用いられる。 // If set, that's the name all your Crawl characters will get. - remember_name = true ~ // Crawl remembers the options (species, background etc.) you used // to create your last character. You may recycle them in the // starting screen for a new character. If this option is set to // true, Crawl will also remember the last name you used. // // If you use this option and want to enter a name _after_ // choosing your species and background, you must enter . at the // initial name prompt - hitting Enter at the name prompt will // simply reuse your old name if remember_name is set. - weapon += (short sword |...| unarmed | random | viable), <weapon>, ... ~ (リストオプション) // (List option) // Specifying the weapon option allows you to bypass the weapon // selection screen. Tridents, flails, cutlasses, long swords, and war // axes are restricted to fighters and gladiators only, quarterstaves // are restricted to gladiators, and unarmed is restricted to races // with claws. The standard weapon prompt will be shown if an illegal // choice for the selected background is specified. The "viable" option // makes a random choice from among the "good" weapons for the chosen // character. Specifying more than one option causes the game to // randomly select a weapon from the given list. The combo option // overrides (and is overriden by) this option. - species += (Human |...| Vampire | random | viable), <species>, ... ~ // (List option) // The usual abbreviations (Hu, HE, etc.) work. "viable" will choose a // viable species for a given background if the background is chosen // first. Specifying multiple species causes one to be selected at // random from the given species. The combo option overrides (and is // overridden by) this option. - background += (Fighter |...| Wanderer | random | viable), <background>, ... ~ // (List option) // Here again the abbreviations (Fi, Wz, AK, etc.) can be used. The same // caveat applies to "viable": it is only really meaningful if the // species option is also set. Specifying multiple backgrounds causes // one to be selected at random from the given species. The combo option // overrides (and is overridden by) this option. - combo += (HuFi . short sword | Human Monk | ...), <combo>, ... ~ // (List option) // Specifies a complete set of species, background, and (where // applicable) weapon. If a combo requires a weapon choice and one isn't // specified, it is prompted for. Combos may be abbreviated or specified // in full. If multiple combos are specified, one is selected randomly // from the specified combos. The weapon, species, and background // options are overriden by (and override) this option. - random_pick = false ~ // The random_pick option will randomly generate a character. // The above options (weapons and species/background options) will // override where appropriate. - good_random = true ~ // Whenever random_pick is used, species or background are set // random, or a remembered random choice is executed in the character // selection, the game will only pick good (viable) combinations. - restart_after_game = true/false ~ // When a game ends, Crawl will return to the main menu if // restart_after_game is set. This option is enabled by default // for tiles builds and disabled by default for other builds. - restart_after_save = false ~ // When the game is saved, return to the main menu. This option // has no effect unless restart_after_game is also enabled. - default_manual_training = false ~ // When set to true, new characters will start with skill training // set to manual mode instead of automatic mode. - autopickup_starting_ammo = true ~ // When set, at game start, autopickup is forced on (as per the \ // menu) for the player's starting ammunition type (including stones // for Earth Elementalists and arrows for Transmuters). Even when this // option is set, autopickup of those items can be disabled from the // \ menu once the game has begun. * 2- ディレクトリ設定 [#nd8e1ef7] // * 2- File System. - crawl_dir = <path> ~ 他のファイルを見つける際の相対パスを指定する。デフォルトではDCSS実行ファイルを含むディレクトリである。 // The path used for the relative paths when looking for other // files. Defaults to the directory that contains the Crawl // executable. - morgue_dir = morgue ~ 死亡/脱出ダンプおよびキャラクターダンプ((ゲーム中に'#'で出力されるダンプ))が出力されるディレクトリである。 // Directory where morgue dumps files (morgue*.txt and // morgue*.lst) as well as character dumps files are written. - save_dir = saves ~ セーブファイルおよびboneファイルが保存されるディレクトリである。この設定はコンパイル時の設定により無視されるかもしれないが、should be honoured for the official Crawl binaries. // Directory where saves and bones are stored. This option may be // ignored depending on the settings used to compile Crawl, but // should be honoured for the official Crawl binaries. - macro_dir = settings/ ~ macro.txtを読み込むためのディレクトリである。タイルを利用したゲームの場合、wininit.txtもまたここに保存される。~ この設定はパス区切り文字を末尾に記述すべきである。 // Directory for reading macro.txt. // For tile games, wininit.txt will also be stored here. // It should end with the path delimiter. - sound ^= <regex>:<path to sound file>, <regex>:<path>, ... ~ (順序付きリストオプション)~ 指定した正規表現がマッチするメッセージが表示された際に音声ファイルを再生する。正規表現パターンにカンマ ',' およびコロン ':' を含んではならない。例えば: sound += LOW HITPOINT WARNING:sound\sounds2\danger3.wav // (Ordered list option) // Plays the sound file if a message contains regex. The regex // should not include commas or colons. For example // sound += LOW HITPOINT WARNING:sound\sounds2\danger3.wav * 3- ゲームインターフェイス [#o1a98ecf] // * 3- Interface. ** 3-a 自動拾い [#dfec6cb3] // ** 3-a Picking up and Dropping. - autopickup = $?!+"/% $?!+"/% がデフォルトの自動拾い設定である。有効な記号は以下の通り: ) 武器 ( 矢・弾・飛び道具 [ 防具 / 杖 % 食料 ? 巻物 " or = 装身具 ! 水薬 + or : 本 | 杖 \ ロッド 0 オーブ } その他 X 死体 $ 金貨 どのアイテムが自動的に拾われるか否かにかかわらず、Ctrl-Aで自動拾い自体をオンオフできることに注意。また、自動拾いには(物品の量にかかわらず)1ターン消費が伴う。~ 通常自動で拾うことになっているアイテムの上に瞬間移動(teleportやblink)した場合、そのアイテムは拾われない。 // Note that _whether_ items are picked up automatically or not, is // controlled by the in-game toggle Ctrl-A. Also note that picking // up takes a turn, but only one turn (regardless of the number of // items). If you teleport or blink onto a square with interesting // items, these will not be picked up. - autopickup_exceptions ^= <pickup-regex, >don't-pickup-regex, ... // (Ordered list option) // A set of regexes that force matching items to be picked up (if // prefixed with <), or never picked up (if prefixed with >). // Excludes (>) take precedence over includes (<), so if the same // item is matched by both an exclude and an include, it will not // be subject to autopickup. // // An example: // autopickup_exceptions += <curare-tipped needle // Forces autopickup to grab all curare-tipped needles, even if // missiles are not set in the "autopickup" option. // // Whitespace between <> and the match expression is significant, // so the following won't work: // autopickup_exceptions += < ebony casket // // autopickup_exceptions replace the older ban_pickup. Using // autopickup_exceptions += >uselessness, >inaccuracy // is the same as using // ban_pickup += uselessness, inaccuracy // // If the regexes are not prefixed with < or >, > is implied, so // the option setting above can also be written as // autopickup_exceptions += uselessness, inaccuracy // // You can use multiple autopickup_exceptions lines. Some examples: // autopickup_exceptions += inaccuracy, scrolls? of paper // autopickup_exceptions += immolation, curse (armour|weapon) // autopickup_exceptions += uselessness, noise, torment // // Unless you clear the list of exceptions, you won't need to set // autopickup exceptions for potions except maybe for very special // cases. - default_autopickup = true ~ falseに設定した場合、自動拾いがオフの状態でゲームが開始される。この状態でも、ゲーム中にCtrl-Aを押すことで自動拾いをオンにできる。 // When set to false, the game starts with autopickup turned off. // You can still toggle autopickup in-game with Ctrl-A. - pickup_thrown = true ~ pickup_thrownをtrueに設定すると打ち出した矢弾を自動で拾うように設定でき、射撃プレイの際に便利である。~ 自動拾い自体にターン消費を要し、視界内に敵対的モンスターがいる際は拾われないことに注意。 // pickup_thrown = true causes autopickup to pick up thrown/fired // missiles, which can make life much easier for hunter types. Be // aware that autopickup uses a turn, though it won't trigger if // there are hostile monsters in sight. - assign_item_slot = (forward | backward) ~ // When picking up items, the inventory slot into which the item // goes is normally the first free slot from a-zA-Z (this is the // default "forward" behaviour). Setting assign_item_slot to // "backward" changes the slot assignment to the first letter after // the last slot. // For instance, if you have items on 'a' and 'c', then with // assign_item_slot = forward, the next item will go into 'b', // assign_item_slot = backward, the next item will go to 'd' // instead. // With "backward", items dropped/fired and picked up later are // more likely to get their old slot back. - pickup_menu_limit = 1 ~ // If there are more items than this on your square, a menu will be // displayed when picking up multiple items instead of prompting for each // item. If zero, never use the menu. If negative, use the value of // item_stack_summary_minimum - 1, instead. // // Note that no matter the vaulue of the option, picking up will always // take one turn. - drop_filter += <regex>, <regex>, ... ~ // (List option) // When selecting items using the global (de)select keys (',' or // '-') in a multidrop menu, you can choose to select only items // that match a search regex using this option. // // For instance, to quickly select items forbidden by your god, you could // use: // drop_filter += forbidden // Other choices can come in handy as well, e.g. if you want to // regularly sacrifice all weapons except axes, use: // drop_filter += axe, broadaxe // // drop_filter will match against the same keywords menu_colour uses, // except that it lacks identification status and chunk information. It // defaults to useless_item. // // When a drop_filter is set, using the select/deselect keys will // set/clear selection of items that match the filter // expression(s). ** 3-b 既知の怪物またはアイテムの表示 [#d457b4aa] // ** 3-b Passive Sightings (detected or remembered entities). - detected_monster_colour = lightred ~ 感知したモンスターが指定した色で表示される。 // Detected monsters will be given this colour. - detected_item_colour = green ~ 感知したアイテムが指定した色で表示される。 // Detected items will be given this colour. - remembered_monster_colour = darkgrey ~ 以前目にしたモンスターが指定した色で表示される。 // The colour for monsters you have seen before. ** 3-c 怪物またはアイテムの強調表示 [#bfb1db93] // ** 3-c Branding (Item and monster highlighting). ** 3-d 階層に関する設定 [#w752e2ee] // ** 3-d Level Map Functions. ** 3-e Viewport Display Options. [#pe8e68d5] // ** 3-e Viewport Display Options. ** 3-f 自動探索関連設定 [#uafd96f9] // ** 3-f Travel and Exploration. ** 3-g コマンド関連設定 [#rc2fa6a0] // ** 3-g Command Enhancements. ** 3-h メッセージ表示関連設定 [#t921f03d] // ** 3-h Messages and Display Enhancements. ** 3-i メッセージ及びメニューの色設定 [#k84ddd6e] // ** 3-i Colours (messages and menus) ** 3-j 飛び道具 [#xd598d1a] // ** 3-j Missiles. ** 3-k メッセージ欄 [#o467762e] // ** 3-k Message Channels. ** 3-l 銘 [#i22bf9f5] // ** 3-l Inscriptions. ** 3-m マクロ関連設定 [#m070a606] // ** 3-m Macro related Options. ** 3-n タイル関連設定 [#e9cb7303] // ** 3-n Tiles Options. * 4- キャラクターダンプ [#u8d304f9] // * 4- Character Dump. ** 4-a ダンプ保存 [#tcd3d0d1] // ** 4-a Saving. - dump_on_save = true ~ trueにセットした場合、ゲームが保存された際にキャラクターダンプが生成、もしくは更新される。 // If set to true, a character dump will automatically be created or // updated when the game is saved. ** 4-b アイテムおよび殺害数 [#zf3fa4f5] // ** 4-b Items and Kills. // The character dump or morgue files end with a list of all monsters that // perished while the character was active. By default, dead monsters are // grouped in three parts: // Vanquished Creatures -- monsters killed by the character // Collateral Kills -- kills of friendly monsters // Others -- all other casualties (e.g. traps, hostile // monsters) - kill_map = friend:you, other:you ~ // will merge friendly and other kills into the main vanquished // creatures list. Note that the merging is only for display (the // game still maintains three separate lists internally) and that // kill places (see below) may be in the wrong order for merged // entries. The default is an empty list. - dump_kill_places = (none | all | single) ~ // In the Vanquished Creatures list, this option controls how the // locations of each kill are displayed. Use 'none' to suppress // place display altogether, 'all' to display all known (up to 5) // kill places, anything else to the default of showing kill places // only for single kills - dump_item_origins = artefacts, rods ~ // The game remembers where you find items. If you want this item // origin memory listed in your dumps, use this option to select // which items get annotated. Available selectors are: // artefacts, ego_arm, ego_weap, jewellery, runes, // rods, staves, books, all, none. // If you use multiple dump_item_origins lines, the last line takes // effect; all preceding lines are ignored. // If you don't want any items to be annotated, set // dump_item_origins to none, and set dump_item_origin_price to -1. - dump_item_origin_price = -1 ~ // Item origins are dumped if the price of the item is greater than // or equal to this amount. Set this to -1 to prevent selection by // price. - dump_message_count = 20 ~ // The number of last messages to be displayed in character dump // files. - dump_order = header,hiscore,stats,misc,notes,inventory, ~ - dump_order += skills,spells,overview,mutations,messages,screenshot, ~ - dump_order += monlist,kills,action_counts ~ // (Ordered list option) // Controls the order of sections in the dump. // Two optional dump sections are "turns_by_place" and // "kills_by_place", which add detailed statistics to where turns // were spent and monsters were killed. You can add them to your // dump as: // dump_order += turns_by_place, kills_by_place // Another optional dump section is "vaults", which will list the // locations and names of all the vaults that have been generated // in the game. This will only be included in the final dump // which happens when you die, quit or win (or in ordinary dumps // while in wizard mode). The "vaults" section is enabled by default // in trunk builds of Crawl (not releases or pre-release betas), // appearing between "kills" and "action_counts". - dump_book_spells = true ~ // By default all randart spellbooks in inventory will have all their // spells listed in the dump. If this option is set to true, spells will // also be dumped for non-randart spellbooks. ** 4-c 注釈 [#bdcff1a4] // ** 4-c Notes. * 5- その他 [#g1480daa] // * 5- Miscellaneous. ** 5-a 全OS対象 [#m75f3646] // ** 5-a All OS. ** 5-b DOSおよびWindows [#o9c468b3] // ** 5-b DOS and Windows. ** 5-c Unix [#v06abb97] // ** 5-c Unix. * 6- Lua [#v5c39187] // * 6- Lua. ** 6-a luaファイルの読み込み [#u0928d37] // ** 6-a Including lua files. // Lua files are scripts which can provide existing commands with a new // meaning or create new commands (to be used in macros). To use Lua // files, Crawl needs to be compiled with support for user Lua scripts. // You can if your Crawl has Lua support by hitting ?V in-game. The list // of features Crawl displays should include "Lua user scripts". // Lua files are included using the lua_file option (one file per line): // lua_file = <path/name.lua> // Lua functions can be macroed in-game by setting the macro action to "===", // followed by the function name. // The wizard-mode Lua interpreter (&^T) will, the first time it's invoked, // load all of the files that are specified with the terp_file option: // terp_file = <path/name.lua> // The Lua in these files will have access to all of the Crawl Lua internals // (that is, will be run in the context of dlua, not clua). ** 6-b 組み込みluaの実行 [#ad364f95] // ** 6-b Executing inline lua. // Lua code can be used directly in your init.txt/.crawlrc. You can // execute Lua code using the following syntax. // : Single line of lua code // < Possibly multi-line // Lua code > // { Possibly multi-line // Lua code } // In the second and third cases, the restriction is that the delimiter // characters appear at the beginning and end of a line, respectively. // The difference between the <> and {} is when the code gets executed. // Code {}, it is executed right away. Other Lua code is executed only // after the entire init file is read in. // Examples: // # Print a welcome message // : crawl.mpr("Hello " .. you.name()) // < // -- Another welcome message (lua code uses lua comments) // crawl.mpr("Hi there") // > // { // function ch_autopickup(it) [ ... body omitted ... ] end // } ** 6-c 条件付き設定 [#j5fd326c] // ** 6-c Conditional options. // You can use Lua to selectively include parts of your init.txt (based // on character type, for instance) using the same syntax. // Example: // : if you.race() == "Mummy" then // autopickup = $?+"/ // : else // autopickup = $?+"/!% // : end // Options can be referenced by lua via "options.option_name". For // example: // :if string.find(options.autopickup, "!") then // # Do something here if potions are included in autopickup // :end // "options.option_name" can even be used for options that crawl itself // doesn't recognize. This can be combined with setting options on the // command line (see section 0-b) to use the command line to control // conditionalization of options in the options files. For example, on the // command line you could set the option "foobar" with "-extra-opt-first // foobar=true", and then do: // :if options.foobar then // # Do things here // :end ** 6-d 条件付き設定の注意 [#q757c7ce] // ** 6-d Conditional option caveats. // Note that none of the options listed under "Starting Screen" (section 1) // can be set conditionally. This is because the options files are // actually read in twice: once before character creation with Lua turned // off, and a second time after character creation with Lua turned on. If // you attempt to set a starting-screen option conditionally then the value // furthest down in the options file will be used regardless of what // conditions you set. // The above caveat applies to the "wiz_mode" option as well. Instead of // conditionalized wiz_mode, you can add to the command line // "-extra-opt-last wiz_mode=yes" to make any new game start in wizard // mode.
テキスト整形のルールを表示する