「コンソールコマンド」を編集中

ナビゲーションに移動 検索に移動

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。

最新版 編集中の文章
10行目: 10行目:
 
__TOC__
 
__TOC__
  
== デバッグモード ==
+
== Debug mode ==
デバッグモードは、ゲーム内のツールのセットで、通常はユーザからは見えません。これを使い、ユーザーは通常の手段を超えてゲームの動作を変更できます。デバッグモードには、次のツールが含まれます。
+
Debug mode is a set of tools within the game that are typically hidden from the user. They allow the user to modify game behavior outside normal means. Debug mode contains the following tools:
 +
* Console Window (user can input console commands)
 +
* Debug Menus (including the Portrait Editor, GUI Editor, Tweak Menu and others)
 +
* [[#Debug info|Debug Info]]
 +
* Debug Interactions (user can instantly change opinion, imprison and more)
 +
* Ctrl + clicking on a portrait takes control of the character, while Alt + click kills them.
 +
* File watcher that automatically reloads changed files (including mods) into memory.
  
* コンソールウィンドウ(ユーザがコンソールコマンドを入力するためのもの)
+
=== Enabling debug mode ===
* デバッグメニュー(ポートレートエディタ、GUIエディタ、微調整メニュー、その他いろいろが含まれます)
+
Debug mode must be enabled upon launching the game. It can also be disabled within the Console Window.
* [[#Debug info|デバッグ情報]]
 
* インタラクション(対話型)デバッグ(ユーザーは即座に意見を変えたり、投獄したり、その他いろいろなことができます)
 
* コントロール(Ctrl)キーを押しながらポートレートをクリックすると、キャラクターをコントロールできます。 オルト(Alt)キーを押しながらクリックすると、キャラクターを殺すことができます。
 
* 変更されたファイル(Modも含む)を自動的にメモリーに再ロードするファイル監視機構。
 
 
 
=== デバッグモードを有効にする ===
 
ゲームの起動時にデバッグモードを有効にする必要があります。コンソールウィンドウで無効にすることもできます。
 
  
 
==== Steam ====
 
==== Steam ====
デバッグモードでゲームを開始するには、Steam内で右クリックしてゲームのプロパティを設定し、一般タブを開き、起動オプションに'''-debug_mode'''を追加します<ref>訳者注:SteamのUIが変更されたため、元の文章から多少文言を変更しました。この説明だとわからないかもしれないため、その場合は日本語Discordのチャンネルで質問してみてください。</ref>。ゲームをリスタートする必要があります。
+
To start the game in debug mode, within Steam, right-click to set the game's Properties, then under the General tab, click the Set Launch Options... button. Add '''-debug_mode''' to the launch options. You will have to restart the game.
  
==== Steamを使わない ====
+
==== Without Steam ====
また、Steamを使用せずに、CK3のインストールフォルダに移動し、CK3のアプリケーション<ref>訳者注:Windowsだとexeのことです</ref>を右クリックメニューから「ショートカットを作成」を選択してショートカットを作成することで、ゲームをデバッグモードで起動することもできます。新しいショートカットを右クリックし、プロパティを選択します。「ショートカット」 タブで 「リンク先」を表示し、そのテキストの最後に空白を1文字<ref>訳者注:文言を追記しました</ref>とその後ろに'''-debug_mode'''を追加し、「適用」 をクリックします。このショートカットを使用してゲームを起動すると、デバッグモードが有効になります。
+
Alternatively, without using Steam, you can start the game in debug mode by going to your main CK3 installation folder and creating a shortcut by right-clicking on the main CK3 application and selecting Create shortcut. Right-click the new shortcut and select properties. In the Shortcut tab where it says Target add  -debug_mode to the very end of the field and hit apply. This will enable debug mode when launching the game using that shortcut.
  
==== Xboxゲームパス====
+
==== Xbox game pass ====
Xboxゲームパス版/Windows 10ストア版では、通常のショートカットを作成できないため、ゲームを開くたびにコマンドプロンプトで次のコマンドを実行する必要があります。
+
For the Xbox gamepass edition/windows 10 store edtion it's a tad more complicated, as you cannot create a normal shortcut for it, so you'll have to run the following commands in Command Prompt every time you open the game:
  
 
<code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code>
 
<code>start shell:AppsFolder\ParadoxInteractive.ProjectTitus_zfnrdv2de78ny!App -debug_mode</code>
  
毎回コマンドプロンプトを実行したくない場合は、上記のコマンドを実行するバッチ (.bat) ファイルを作成し、デスクトップから実行できます。
+
Suffice you don't want to run Command Prompt every time, you can create a batch (.bat) file to execute the aforementioned command instead, that can run from your desktop.
Windows 10で単純なバッチファイルを作成するには、次の手順に従います。
+
To create a simple batch file on Windows 10, follow these steps:
* スタートボタンを押す
+
* Open Start.
* メモ帳を検索し、一番上の結果をクリックしてアプリを起動する。
+
* Search for Notepad, and click the top result to start the app.
* 前述のコマンドを貼り付けます。
+
* Paste in the aforementioned command.
* ファイルメニューをクリック
+
* Click the File menu.
* 保存をクリックするか{{key press|CTRL}} + {{key press|SHIFT}} + {{key press|S}}を押して保存処理をする。
+
* Select the Save As option or {{key press|CTRL}} + {{key press|SHIFT}} + {{key press|S}}.
* スクリプトの名前を入力、例えば"ck3debug.bat"など。名前は何でも良いですが、'''.batで終わるように'''してください。
+
* Type a name for the script, for example "ck3debug.bat". '''whatever you call it, it must end in .bat'''
* デスクトップを保存先にする
+
* Select Desktop for location.
* 保存をクリックして実行!
+
* Click save and you're done!
  
=== デバッグモードを無効にする ===
+
=== Disabling debug mode ===
実績を有効にするには、デバッグモードを完全に無効にする必要があります(コンソール・ウィンドウだけでなく)
+
In order to activate your achievement system, you need to totally deactivate the debug mode (not just through the Console Window).
  
 
==== Steam ====
 
==== Steam ====
デバッグモードを無効にするには、Steam内で右クリックしてゲームのプロパティを設定し、一般タブを開き、起動オプションから'''-debug_mode'''を削除します<ref>訳者注:SteamのUIが変更されたため、元の文章から多少文言を変更しました。</ref>ゲームをリスタートする必要があります。
+
To deactivate debug mode, within Steam, right-click to set the game's Properties, then under the General tab, click the Set Launch Options... button. remove -debug_mode in the launch options. You will have to restart the game.
  
=== デバッグ情報 ===
+
=== Debug info ===
デバッグモードを有効にすると、キャラクター、インタラクション、イベントに通常のゲームプレイ中は表示されないデバッグ情報が表示されます。
+
When debug mode is activated, characters, interactions and events will show debug info which is normally hidden during normal gameplay.
  
 
== チート ==
 
== チート ==

ck3wikiへの投稿はすべて、表示 - 継承 3.0 非移植 (CC BY-SA 3.0) (詳細はCk3wiki:著作権を参照)のもとで公開したと見なされることにご注意ください。 自分が書いたものが他の人に容赦なく編集され、自由に配布されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し 編集の仕方 (新しいウィンドウで開きます)