差分

ナビゲーションに移動 検索に移動
1,607 バイト追加 、 2019年9月25日 (水) 23:17
テキストを翻訳
119行目: 119行目:  
===データ編集===
 
===データ編集===
 
[[File:Editing a save in Sublime Text.png|thumb|A save file open in Sublime Text with formatted XML.]]
 
[[File:Editing a save in Sublime Text.png|thumb|A save file open in Sublime Text with formatted XML.]]
You can edit your save to fix some common issues or change your choices. '''This can permanently break your save; don't forget to [[#Back up or transfer between two PCs|create a backup first]].''' You should also avoid automatic save editor tools, since they often break the save.
+
セーブファイルを編集して一般的な問題を修正したり、すでに行った選択を変更することができます。'''この操作はセーブデータを永久に変えてしまいます。事前に [[#2PC間でのデータ転送またはバックアップ|バックアップを作成]]してください。''' また、自動でセーブできるエディターツールの使用は避けてください。しばしばファイルが破損してしまいます。
   −
# Install [https://www.sublimetext.com/ Sublime Text] for Linux, Mac, or Windows. (If you already have another text editor which supports XML formatting, feel free to use that instead.)
+
# Linux、Mac、Windowsの場合、[https://www.sublimetext.com/ Sublime Text]をインストールします(すでにXML形式をサポートしているテキストエディターがある場合はそれでもかまいません)。
# Install the [https://packagecontrol.io/installation Package Control extension for Sublime Text].
+
# [https://packagecontrol.io/installation Package Control extension for Sublime Text]をインストールします。
# Use the Package Control extension to install the ''Indent XML'' and ''XPath'' plugins (see [https://packagecontrol.io/docs/usage how to add plugins]).
+
# ''Indent XML''''XPath''プラグインをインストールするため、Package Control extensionを使用します([https://packagecontrol.io/docs/usage how to add plugins]を参照)。
# Open [[#Find your save files|your save file]] (the file that looks like <tt>Name_0123456789</tt>) in Sublime Text.
+
# Sublime Textで[[#セーブファイルを探す|セーブファイル]]を開きます(ファイルは<tt>Name_0123456789</tt>のように表示されます)。
# Click Selection > Format > Indent XML.
+
# Selection Format Indent XMLをクリックします。
# Make any changes you want and save. (See the sections below, and [http://community.playstarbound.com/threads/save-file-editing-guide-for-solving-some-common-issues.110762/ this guide for other changes].)
+
# 変更を加え、セーブします(以下の記載と、[http://community.playstarbound.com/threads/save-file-editing-guide-for-solving-some-common-issues.110762/ その他の変更に関するこのガイド]も参照)。
    
'''ヒント:'''
 
'''ヒント:'''
 
<ul>
 
<ul>
<li>Click an element, and press <tt>CTRL</tt> + <tt>SHIFT</tt> + <tt>[</tt> to collapse the whole section which contains it. This is useful when you want to ignore a large field. For example, given this text in the save file:
+
<li>要素をクリックし、<tt>CTRL</tt> + <tt>SHIFT</tt> + <tt>[</tt> を押すと、その要素を含むセクション全体を折りたたみます。これは、データ内容を非表示にするのに便利です。例えば、セーブファイルに次のテキストがある場合:
 
<source lang="xml">
 
<source lang="xml">
 
<ArrayOfInt>
 
<ArrayOfInt>
141行目: 141行目:  
</ArrayOfInt>
 
</ArrayOfInt>
 
</source>
 
</source>
Click on one of the <tt><int></tt> fields and press those keys, and it will collapse into this:
+
<tt><int></tt> をクリックして上記キーを押すと、次のようになります:
 
<source lang="xml">
 
<source lang="xml">
 
<ArrayOfInt> […]
 
<ArrayOfInt> […]
147行目: 147行目:  
</source>
 
</source>
 
</li>
 
</li>
<li>Click any element, and look in the status bar to see the path to where you are in the save format (like <tt>/SaveGame/player/friendships/item[32]</tt>).</li>
+
<li>任意の要素をクリックすると、セーブフォーマット内のどこに位置するかステータスバーで確認できます。(例:<tt>/SaveGame/player/friendships/item[32]</tt></li>
 
</ul>
 
</ul>
    
===データ複製===
 
===データ複製===
You can duplicate a save for testing purposes, or to explore different options without starting over.
+
セーブデータを複製して何かを試してみたり、ゲームをやり直さずに違う選択を選ぶことができます。
   −
# [[#Find your save files|Find your save files]].
+
# [[#セーブファイルを探す|セーブファイルを探します。]]
# Create the new save folder:
+
# 新しいセーブフォルダーの作成:
## Duplicate the target save folder.
+
## セーブフォルダーを複製します。
## Rename the new folder:
+
## 新しいフォルダーの名前を変更します。
##* change the name so you can recognise it in-game;
+
##* 名前はゲーム内で認識できるものにします。
##* change the number at the end to any number that's not used by another save.
+
##* 名前の最後の数字を他のセーブで使用していないものに変更します。
## Open the new folder for the next steps.
+
## 新しいフォルダーを開きます。
# Prepare the new files:
+
# 新しいファイルを用意:
## Delete any file whose name ends with <tt>_old</tt> or <tt>.back.*</tt>.
+
## 末尾が<tt>_old</tt> <tt>.back.*</tt>で終わるファイルを全て削除します。
## Rename the file that looks like <tt>Name_0123456789</tt> to match your new folder name.
+
## <tt>Name_0123456789</tt>のように表示されているファイルの名前を、新しいフォルダー名に合うよう変更します。
# Edit the save metadata:
+
# セーブのメタデータを編集:
## Open the <tt>SaveGameInfo</tt> file in a text editor like Notepad.
+
## <tt>SaveGameInfo</tt>ファイルをNotepadなどのテキストエディターで開きます。
## Look for <code>&lt;name&gt;</code> on the first line. Your farmer's name should be right after that. Change it to your new name.
+
## <code>&lt;name&gt;</code>と最初の行にある箇所を探します。プレイヤーの名前はそのすぐ後にあります。新しい名前に変えてください。
## Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
+
## 2度目に名前が出てくる場所を探し(ctrl+fで検索)、新しい名前に変えます。
# Edit the save file:
+
# セーブファイルの編集:
## Open the file that looks like <tt>Name_0123456789</tt> in a text editor like Notepad.
+
## <tt>Name_0123456789</tt>のように表示されているファイルをNotepadなどのテキストエディターで開きます。
## Look for <code>&lt;name&gt;</code> on the first line. Your farmer's name should be right after that. Change it to your new name.
+
## <code>&lt;name&gt;</code>と最初の行にある箇所を探します。プレイヤーの名前はそのすぐ後にあります。新しい名前に変えてください。
## Search for the 2nd mention of your name (ctrl+f to 'find') and change it to your new name.
+
## 2度目に名前が出てくる場所を探し(ctrl+fで検索)、新しい名前に変えます。
## Search for the old save ID (the number from the filename). Change it to your new number.
+
## 以前のセーブID(ファイル名の数字)を探し、新しい名前に変えます。
   −
That's it! Launch the game and check the load menu; you'll see both saves now.
+
これで完成です。ゲームを起動してロード画面を見てみましょう。両方のセーブがあるはずです。
    
===牧場レイアウトの変更===
 
===牧場レイアウトの変更===
You can change [[Farm Maps|farm type]] by editing your save file:
+
セーブファイルを編集して [[牧場レイアウト|牧場レイアウト]]を変更することができます:
    
<ol>
 
<ol>
<li>[[#Edit a save|Open your save file for editing]].</li>
+
<li>[[#データ編集|編集するセーブファイルを開きます。]]</li>
<li>Search for <tt>&lt;whichFarm&gt;</tt>. The number after that open tag is the farm type.</li>
+
<li><tt>&lt;whichFarm&gt;</tt>を探します。 そのオープンタグの後の数字が牧場のタイプを示しています。</li>
<li>Change the number to the one you want:
+
<li>変えたい数字に変更:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
188行目: 188行目:  
|-
 
|-
 
| 0
 
| 0
| standard farm
+
| スタンダード
 
|-
 
|-
 
| 1
 
| 1
| riverland farm
+
| リバーランド
 
|-
 
|-
 
| 2
 
| 2
| forest farm
+
| フォレスト
 
|-
 
|-
 
| 3
 
| 3
| hilltop farm
+
| ヒルトップ
 
|-
 
|-
 
| 4
 
| 4
| wilderness farm
+
| ワイルド
 
|}
 
|}
 
</li>
 
</li>
 
</ol>
 
</ol>
   −
That will change the farm map, but everything placed on the farm will stay where it is. You may have things in an invalid position, like trees in a lake. Here are some ways to fix that:
+
これで牧場レイアウトは変更されますが、牧場にあるものはすべて元の場所に残ります。池に木が生えるなど、無効な位置にものがあるかもしれません。次の方法で解決します:
    
<ul>
 
<ul>
<li>Take note of what's out of bounds, then switch back to the old farm type and move them.</li>
+
<li>範囲外にあるものをメモし、古い牧場レイアウトに切り替えて、それらを移動させます。</li>
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], install the [https://www.nexusmods.com/stardewvalley/mods/2329 Passable Objects] or [https://www.nexusmods.com/stardewvalley/mods/2820 BJS No Clip] mod to reach things that are out of bounds, so you can remove or move them.</li>
+
<li>[[:en:Modding:Player Guide/Getting Started|SMAPIを使用]]している場合、[https://www.nexusmods.com/stardewvalley/mods/2329 Passable Objects]か、[https://www.nexusmods.com/stardewvalley/mods/2820 BJS No Clip]をインストールします。範囲外のものを削除したり移動したりできるようになります。</li>
<li>If you [[Modding:Player Guide/Getting Started|use SMAPI]], enter one of these commands in the SMAPI console:
+
<li>[[:en:Modding:Player Guide/Getting Started|SMAPIを使用]]している場合、SMAPIのコンソールで以下のコマンドを入力:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
217行目: 217行目:  
|-
 
|-
 
| <code>world_clear farm debris</code>
 
| <code>world_clear farm debris</code>
| remove stones, branches, weeds, and dead crops.
+
| 石、倒木、雑草、腐った作物を取り除く
 
|-
 
|-
 
| <code>world_clear farm trees</code>
 
| <code>world_clear farm trees</code>
| remove non-fruit trees.
+
| 果樹以外の木を取り除く
 
|-
 
|-
 
| <code>world_clear farm fruit-trees</code>
 
| <code>world_clear farm fruit-trees</code>
| remove fruit trees.
+
| 果樹を取り除く
 
|-
 
|-
 
| <code>world_clear farm grass</code>
 
| <code>world_clear farm grass</code>
| remove tall grass.
+
| 牧草を取り除く
 
|-
 
|-
 
| <code>world_clear farm everything</code>
 
| <code>world_clear farm everything</code>
| remove ''everything'', including placed objects.
+
| 配置されたものを含む''全て''を取り除く
 
|}</li>
 
|}</li>
 
</ul>
 
</ul>
    
===NPCの削除===
 
===NPCの削除===
You can remove an NPC from your save file (e.g. to fix an NPC permanently stuck in an invalid place). If it still exists in the game data, the NPC will respawn when you reload the save file. This should be a last resort.
+
セーブファイルからNPCを削除することができます(NPCが無効な場所にはまって動けなくなった場合など)。 NPCがゲームデータにまだ存在する場合は、セーブファイルをリロードした時にまた登場します。これは最後の手段です。
   −
# [[#Edit a save|Open your save file for editing]]. Make sure you format the file for readability per those instructions.
+
# [[#データ編集|編集するセーブファイルを開きます。]]上記の解説にしたがって、読みやすいようにファイルを整えてください。
# Remove the NPC:
+
# NPCを削除:
## Search for the NPC's default name between 'name' tags (e.g. to remove Penny: <tt>&lt;name&gt;Penny&lt;/name&gt;</tt>).
+
## 'name'の間にあるNPCのデフォルトの名前を探します(ペニーを削除する場合:<tt>&lt;name&gt;Penny&lt;/name&gt;</tt>)。
## Remove the entire 'NPC' section containing the line you found, starting from the previous <tt>&lt;NPC&gt;</tt> line up to the next <tt>&lt;/NPC&gt;</tt> line.
+
## 探し出した行を含む'NPC'セクションを丸ごと削除します。<tt>&lt;NPC&gt;</tt>で始まり、次の<tt>&lt;/NPC&gt;</tt>までの部分です。
# ''(optional)'' Remove the NPC friendship data:
+
# NPCとの友好度を削除:
## Search for the NPC's default name between 'string' tags (e.g. to remove Penny: <tt>&lt;string&gt;Penny&lt;/string&gt;</tt>).
+
## 'string'の間にあるNPCのデフォルトの名前を探します(ペニーを削除する場合:<tt>&lt;string&gt;Penny&lt;/string&gt;</tt>)。
## Remove the entire 'item' section containing the line you found, starting from the previous <tt>&lt;item&gt;</tt> line up to the next <tt>&lt;/item&gt;</tt> line.
+
## 探し出した行を含む'item'セクションを丸ごと削除します。<tt>&lt;item&gt;</tt>で始まり、次の<tt>&lt;/item&gt;</tt>までの部分です。
    
[[Category:ゲームプレイ]]
 
[[Category:ゲームプレイ]]
525

回編集

案内メニュー