Difference between revisions of "Emuera/eramacsv"

From Era Wiki
Jump to: navigation, search
(page created)
(translated half of the page)
Line 1: Line 1:
<B>eramaker CSVファイル書式(暫定版)</B><BR>
+
<B>eramaker CSV file format (provisional version)</B><BR>
 
<em><b>このファイルの説明を見るだけではイメージが沸きづらい</b></em>と思います。まずサンプルゲームをプレイし、その後でサンプルゲームのCSVファイルをながめながら見ていくとわかりやすいです。<BR>
 
<em><b>このファイルの説明を見るだけではイメージが沸きづらい</b></em>と思います。まずサンプルゲームをプレイし、その後でサンプルゲームのCSVファイルをながめながら見ていくとわかりやすいです。<BR>
  
==基本情報==
+
==Basic Info==
===CSVファイルについて===
+
===About CSV Files===
eramaker.exeの直下に、CSVという名前のフォルダをおきます。<BR>
+
Put a folder named CSV directly under eramaker.exe.<BR>
CSVファイルには、以下のようなものがあります。<BR>
+
The CSV files include the following.<BR>
 
<BR>
 
<BR>
  
 
<TABLE border=1>
 
<TABLE border=1>
<TR><TD>GameBase.csv</TD><TD>ゲームの基本的データを登録します。</TD></TR>
+
<TR><TD>GameBase.csv</TD><TD>Registers the basic data of the game.</TD></TR>
<TR><TD>Palam.csv</TD><TD>調教中パラメータ(快C、苦痛、反感など)を登録します。</TD></TR>
+
<TR><TD>Palam.csv</TD><TD>Registers parameters used during training (such as C Pleasure, Pain, Hate)</TD></TR>
<TR><TD>Abl.csv</TD><TD>能力(V感覚、奉仕精神、マゾっ気など)を登録します。</TD></TR>
+
<TR><TD>Abl.csv</TD><TD>Registers character abilities (such as V Sense, Service, Masochism).</TD></TR>
<TR><TD>Talent.csv</TD><TD>素質(臆病、自制心、回復早いなど)を登録します。</TD></TR>
+
<TR><TD>Talent.csv</TD><TD>Registers qualities (such as Cowardice, Self-Control, Quick Recovery).</TD></TR>
<TR><TD>Mark.csv</TD><TD>刻印(快楽刻印、恥辱刻印など)を登録します。</TD></TR>
+
<TR><TD>Mark.csv</TD><TD>Registers marks (such as Pleasure Mark, Shame Mark).</TD></TR>
<TR><TD>Exp.csv</TD><TD>経験(V経験、自慰経験など)を登録します。</TD></TR>
+
<TR><TD>Exp.csv</TD><TD>Registers experiences (such as V Exp, Masturbation Exp).</TD></TR>
<TR><TD>Train.csv</TD><TD>調教コマンド(クンニ、フェラチオ、鞭など)を登録します。</TD></TR>
+
<TR><TD>Train.csv</TD><TD>Registers training commands (such as Cunnilingus, Blowjob, Whip).</TD></TR>
<TR><TD>Item.csv</TD><TD>アイテム(バイブ、針など)を登録します。</TD></TR>
+
<TR><TD>Item.csv</TD><TD>Registers items (such as Vibrator, Needle).</TD></TR>
<TR><TD>Str.csv</TD><TD>ゲーム中で使う色々な文章を登録します。</TD></TR>
+
<TR><TD>Str.csv</TD><TD>Registers various sentences to be used in the game.</TD></TR>
<TR><TD>CharaXX.csv</TD><TD>キャラの初期データを登録します。Chara00.csvからChara99.csvまで可能です。</TD></TR>
+
<TR><TD>CharaXX.csv</TD><TD>Registers the initial data of your character. From Chara00.csv to Chara99.csv.</TD></TR>
 
</TABLE>
 
</TABLE>
  
===CSVファイルの書き方===
+
===How to write a CSV file===
すべてのCSVファイルにおいて、<BR>
+
In all CSV files,<BR>
 
<BR>
 
<BR>
* 1列目の1文字目が半角の;(セミコロン)だった場合、その行は無視されます。また、空行も無視されます。
+
* If the first character in the first column is a ; (semicolon), the line is ignored. Empty lines are also ignored.
  
 
<BLOCKQUOTE>
 
<BLOCKQUOTE>
<B></B><BR>
+
<B>Example</B><BR>
;体力と気力の設定<BR>
+
;Setting up the physical and mental strength<BR>
 
基礎,0,2000<BR>
 
基礎,0,2000<BR>
 
基礎,1,1000<BR>
 
基礎,1,1000<BR>
 
<BR>
 
<BR>
;能力の設定<BR>
+
;Setting up abilities<BR>
 
能力,0,2<BR>
 
能力,0,2<BR>
 
</BLOCKQUOTE>
 
</BLOCKQUOTE>
  
* 数値を入力するときは半角にしてください。
+
* Please use half-width characters when entering numbers.
  
 
<BLOCKQUOTE>
 
<BLOCKQUOTE>
<B></B><BR>
+
<B>Correct</B><BR>
121,ふたなり<BR>
+
121,Futanari<BR>
<B></B><BR>
+
<B>Wrong</B><BR>
121,ふたなり<BR>
+
121,Futanari<BR>
 
</BLOCKQUOTE>
 
</BLOCKQUOTE>
  
* 文字列を""でくくると正常に動作しません。OpenOfficeなどでは初期設定でこれになっているようです。
+
* It won't work properly if you put "" around a string, which seems to be the default setting in OpenOffice.
  
 
<BLOCKQUOTE>
 
<BLOCKQUOTE>
<B></B><BR>
+
<B>Correct</B><BR>
0,従順<BR>
+
0,Obedience<BR>
1,欲望<BR>
+
1,Desire<BR>
2,技巧<BR>
+
2,Technique<BR>
  
<B></B><BR>
+
<B>Wrong</B><BR>
0,"従順"<BR>
+
0,"Obedience"<BR>
1,"欲望"<BR>
+
1,"Desire"<BR>
2,"技巧"<BR>
+
2,"Technique"<BR>
 
</BLOCKQUOTE>
 
</BLOCKQUOTE>
  
設定方法はお使いの表計算ソフトのヘルプを参照してください。
+
Please refer to the help of your spreadsheet software for the setting method.
  
==各ファイルの書式==
+
==Format for each file==
  
===GameBase.csvの書式===
+
===Format for GameBase.csv===
  
1列目に命令を、2列目以降にデータを書きます。<BR>
+
Write instructions in the first column and data in the second and subsequent columns.<BR>
 
<BR>
 
<BR>
 
====コード,(Number)====
 
====コード,(Number)====
* ゲームコードを(Number)に設定します。これは、誤って別のゲームのセーブデータをロードしてしまうことを防ぐために使います。(Number)は適当な値でかまいません。
+
* Code. Sets the game code to (Number). This is used to prevent you from accidentally loading another game's save data. (Number) can be any value.
  
 
====バージョン,(Number)====
 
====バージョン,(Number)====
* ゲームのバージョンを(Number)に設定します。画面上は、(Number)を1000で割ったものが表示されます(100なら0.10)。初期状態では、違うバージョンで保存されたセーブデータは読み込まないようになっています。
+
* Version. Sets the version of the game to (Number). On the screen, you will see (Number) divided by 1000. By default, save data from a different version will not be loaded.
  
 
====タイトル,(String)====
 
====タイトル,(String)====
* ゲームのタイトルを(String)に設定します。起動時に表示されます。
+
* Title. Sets the title of the game to (String). It is displayed at startup.
  
 
====作者,(String)====
 
====作者,(String)====
* ゲームの作者を(String)に設定します。起動時に表示されます。
+
* Author. Sets the author of the game to (String). It is displayed at startup.
  
 
====製作年,(String)====
 
====製作年,(String)====
* ゲームの製作年を(String)に設定します。起動時に表示されます。数値ではないので2005-2006などの表記も可能です。
+
* Development year. Sets the production year of the game to (String). It is displayed at startup. Since it is not a numerical value, it is possible to put 2005-2006, for example.
  
 
====追加情報,(String)====
 
====追加情報,(String)====
* ゲームの追加情報を(String)に設定します。起動時に表示されます。
+
* Additional Information. Sets the game's additional information to (String). It is displayed at startup.
  
 
====最初からいるキャラ,(Number)====
 
====最初からいるキャラ,(Number)====
* ゲーム開始時に、主人公以外でいるキャラを設定します。era lightのように、最初から調教するキャラが決まっているゲームで使います。(Number)にはキャラ番号を指定します。たとえば1を指定すればChara01.csvを、12を指定すればChara12.csvを見に行きます。
+
* Sets the character who is not the main character at the start of the game. It's used in games like Era Light, where the characters to be trained are decided from the beginning. (Number) specifies the character number. For example, if you specify 1, you get Chara01.csv, if you specify 12, you get Chara12.csv.
  
 
====アイテムなし,(Number)====
 
====アイテムなし,(Number)====
* (Number)を1にすると、バイブなどの調教時にアイテムが必要な調教でも、アイテムなしで調教できるようにします。アイテムの概念がないゲームを作るとき、1にしてください。
+
* No items. If you set (Number) to 1, you will be able to train without items when you need to train a vibrator. When you make a game that has no concept of items, make it 1.
  
 
====バージョン違い認める,(Number)====
 
====バージョン違い認める,(Number)====
* セーブデータのバージョンが(Number)以上の場合、バージョンが違っても読み込めるようにします。全体に影響を及ぼさないバージョンアップをした場合、これを設定してください。
+
* Admit different versions. If the version of the saved data is (Number) or more, it can be loaded even if the version is different. Set this if you have upgraded to a new version that does not affect the entire system.
  
 
<BLOCKQUOTE>
 
<BLOCKQUOTE>
<B></B><BR>
+
<B>Example</B><BR>
;バージョン1.20より後のセーブデータは読み込む<BR>
+
;Save data after version 1.20 can be loaded.<BR>
 
バージョン違い認める,1200
 
バージョン違い認める,1200
 
</BLOCKQUOTE>
 
</BLOCKQUOTE>
  
===Palam.csvの書式===
+
===Format for Palam.csv===
* 1列目にパラメータ番号を、2列目にパラメータ名を書きます。<BR>
+
* Write the Parameter number in the 1st column and the Parameter name in the 2nd column.<BR>
* パラメータ番号の数値は0からはじめ、空き番号は作らないことを推奨します。<BR>
+
* It is recommended that the Parameter numbers start at 0 and you do not make blank free numbers.<BR>
* パラメータ番号は最高で99です。<BR>
+
* The maximum Parameter number is 99.<BR>
  
===Abl.csvの書式===
+
===Format for Abl.csv===
* 1列目に能力番号を、2列目に能力名を書きます。<BR>
+
* Write the Ability number in the 1st column and the Ability name in the 2nd column.<BR>
* 能力番号の数値は0からはじめ、空き番号は作らないことを推奨します。<BR>
+
* It is recommended that the Ability numbers start at 0 and you do not make blank free numbers.<BR>
* 能力番号は最高で99です。<BR>
+
* The maximum Ability number is 99.<BR>
  
===Talent.csvの書式===
+
===Format for Talent.csv===
* 1列目に素質番号を、2列目に素質名を書きます。<BR>
+
* Write the Talent number in the 1st column and the Talent name in the 2nd column.<BR>
* 空き番号を作ってもかまいません。<BR>
+
* You can also create blank numbers.<BR>
* 素質番号は最低で0、最高で99です。<BR>
+
* The trait number is a minimum of 0 and a maximum of 99.<BR>
  
===Mark.csvの書式===
+
===Format for Mark.csv===
* 1列目に刻印番号を、2列目に刻印名を書きます。<BR>
+
* Write the Mark number in the 1st column and the Mark name in the 2nd column.<BR>
* 刻印番号の数値は0からはじめ、空き番号は作らないことを推奨します。<BR>
+
* It is recommended that the parameter numbers start at 0 and you do not make blank free numbers.<BR>
* 刻印番号は最高で99です。<BR>
+
* The maximum Mark number is 99.<BR>
  
===Exp.csvの書式===
+
===Format for Exp.csv===
* 1列目に経験番号を、2列目に経験名を書きます。<BR>
+
* Write the Experience number in the 1st column and the Experience name in the 2nd column.<BR>
* 空き番号を作ってもかまいません。<BR>
+
* You can also create blank numbers.<BR>
* 経験番号は最低で0、最高で99です。<BR>
+
* The minimum experience number is 0 and the maximum is 99.<BR>
  
===Train.csvの書式===
+
===Format for Train.csv===
* 1列目にコマンド番号を、2列目にコマンド名を書きます。<BR>
+
* Write the Command number in the 1st column and the Command name in the 2nd column.<BR>
* 空き番号を作ってもかまいません。<BR>
+
* You can also create blank numbers.<BR>
* コマンド番号は最低で0、最高で99です。<BR>
+
* The minimum Command number is 0 and the maximum is 99.<BR>
  
===Item.csvの書式===
+
===Format for Item.csv===
* 1列目にアイテム番号を、2列目にアイテム名を、3列名にアイテムの価格を書きます。<BR>
+
* Write the item number in the 1st, the name of the item in the 2nd, and the price of the item in the 3rd.<BR>
* 空き番号を作ってもかまいません。<BR>
+
* You can also create blank numbers.<BR>
* アイテム番号は最低で0、最高で99です。<BR>
+
* The minimum item number is 0 and the maximum is 99.<BR>
  
===Str.csvの書式===
+
===Format for Str.csv===
* 1列目に文字列番号を、2列目に文字列を書きます。<BR>
+
* Write the string number in the 1st column and the string in the 2nd column.<BR>
* いちおう文字列の長さに制限はありません。<BR>
+
* There is no limit to the length of the string.<BR>
* 空き番号を作ってもかまいません。<BR>
+
* You can also create blank numbers.<BR>
* 文字列番号は最低で0、最高で19999です。<BR>
+
* The minimum string number is 0 and the maximum is 19999.<BR>
  
===CharaXX.csvの書式===
+
===Format for CharaXX.csv===
 
====番号,(Number)====
 
====番号,(Number)====
 
* キャラ番号を(Number)に設定します。キャラ同士の相性、同一キャラのスペシャルバージョンなどを作るときに重要です。<BR>
 
* キャラ番号を(Number)に設定します。キャラ同士の相性、同一キャラのスペシャルバージョンなどを作るときに重要です。<BR>
Line 158: Line 158:
  
 
<BLOCKQUOTE>
 
<BLOCKQUOTE>
<B></B><BR>
+
<B>Example</B><BR>
;体力が2000で気力が1000<BR>
+
;2000 in stamina and 1000 in spirit.<BR>
 
基礎,0,2000<BR>
 
基礎,0,2000<BR>
 
基礎,1,1000<BR>
 
基礎,1,1000<BR>

Revision as of 20:27, 8 April 2020

eramaker CSV file format (provisional version)
このファイルの説明を見るだけではイメージが沸きづらいと思います。まずサンプルゲームをプレイし、その後でサンプルゲームのCSVファイルをながめながら見ていくとわかりやすいです。

Basic Info

About CSV Files

Put a folder named CSV directly under eramaker.exe.
The CSV files include the following.

GameBase.csvRegisters the basic data of the game.
Palam.csvRegisters parameters used during training (such as C Pleasure, Pain, Hate)
Abl.csvRegisters character abilities (such as V Sense, Service, Masochism).
Talent.csvRegisters qualities (such as Cowardice, Self-Control, Quick Recovery).
Mark.csvRegisters marks (such as Pleasure Mark, Shame Mark).
Exp.csvRegisters experiences (such as V Exp, Masturbation Exp).
Train.csvRegisters training commands (such as Cunnilingus, Blowjob, Whip).
Item.csvRegisters items (such as Vibrator, Needle).
Str.csvRegisters various sentences to be used in the game.
CharaXX.csvRegisters the initial data of your character. From Chara00.csv to Chara99.csv.

How to write a CSV file

In all CSV files,

  • If the first character in the first column is a ; (semicolon), the line is ignored. Empty lines are also ignored.

Example

Setting up the physical and mental strength

基礎,0,2000
基礎,1,1000

Setting up abilities

能力,0,2

  • Please use half-width characters when entering numbers.

Correct
121,Futanari
Wrong
121,Futanari

  • It won't work properly if you put "" around a string, which seems to be the default setting in OpenOffice.

Correct
0,Obedience
1,Desire
2,Technique

Wrong
0,"Obedience"
1,"Desire"
2,"Technique"

Please refer to the help of your spreadsheet software for the setting method.

Format for each file

Format for GameBase.csv

Write instructions in the first column and data in the second and subsequent columns.

コード,(Number)

  • Code. Sets the game code to (Number). This is used to prevent you from accidentally loading another game's save data. (Number) can be any value.

バージョン,(Number)

  • Version. Sets the version of the game to (Number). On the screen, you will see (Number) divided by 1000. By default, save data from a different version will not be loaded.

タイトル,(String)

  • Title. Sets the title of the game to (String). It is displayed at startup.

作者,(String)

  • Author. Sets the author of the game to (String). It is displayed at startup.

製作年,(String)

  • Development year. Sets the production year of the game to (String). It is displayed at startup. Since it is not a numerical value, it is possible to put 2005-2006, for example.

追加情報,(String)

  • Additional Information. Sets the game's additional information to (String). It is displayed at startup.

最初からいるキャラ,(Number)

  • Sets the character who is not the main character at the start of the game. It's used in games like Era Light, where the characters to be trained are decided from the beginning. (Number) specifies the character number. For example, if you specify 1, you get Chara01.csv, if you specify 12, you get Chara12.csv.

アイテムなし,(Number)

  • No items. If you set (Number) to 1, you will be able to train without items when you need to train a vibrator. When you make a game that has no concept of items, make it 1.

バージョン違い認める,(Number)

  • Admit different versions. If the version of the saved data is (Number) or more, it can be loaded even if the version is different. Set this if you have upgraded to a new version that does not affect the entire system.

Example

Save data after version 1.20 can be loaded.

バージョン違い認める,1200

Format for Palam.csv

  • Write the Parameter number in the 1st column and the Parameter name in the 2nd column.
  • It is recommended that the Parameter numbers start at 0 and you do not make blank free numbers.
  • The maximum Parameter number is 99.

Format for Abl.csv

  • Write the Ability number in the 1st column and the Ability name in the 2nd column.
  • It is recommended that the Ability numbers start at 0 and you do not make blank free numbers.
  • The maximum Ability number is 99.

Format for Talent.csv

  • Write the Talent number in the 1st column and the Talent name in the 2nd column.
  • You can also create blank numbers.
  • The trait number is a minimum of 0 and a maximum of 99.

Format for Mark.csv

  • Write the Mark number in the 1st column and the Mark name in the 2nd column.
  • It is recommended that the parameter numbers start at 0 and you do not make blank free numbers.
  • The maximum Mark number is 99.

Format for Exp.csv

  • Write the Experience number in the 1st column and the Experience name in the 2nd column.
  • You can also create blank numbers.
  • The minimum experience number is 0 and the maximum is 99.

Format for Train.csv

  • Write the Command number in the 1st column and the Command name in the 2nd column.
  • You can also create blank numbers.
  • The minimum Command number is 0 and the maximum is 99.

Format for Item.csv

  • Write the item number in the 1st, the name of the item in the 2nd, and the price of the item in the 3rd.
  • You can also create blank numbers.
  • The minimum item number is 0 and the maximum is 99.

Format for Str.csv

  • Write the string number in the 1st column and the string in the 2nd column.
  • There is no limit to the length of the string.
  • You can also create blank numbers.
  • The minimum string number is 0 and the maximum is 19999.

Format for CharaXX.csv

番号,(Number)

  • キャラ番号を(Number)に設定します。キャラ同士の相性、同一キャラのスペシャルバージョンなどを作るときに重要です。

名前,(String)

  • キャラの名前を(String)に設定します。いちおう文字列の長さに制限はありませんが、長すぎると表示が乱れることが考えられます。

呼び名,(String)

  • キャラの呼び名を(String)に設定します。あだ名のあるキャラなどに使いましょう。
  • いちおう文字列の長さに制限はありませんが、長すぎると表示が乱れることが考えられます。

基礎,(数値1),(数値2)

  • キャラの基礎パラメータの(数値1)番目を(数値2)に設定します。
  • サンプルゲームでは0番目が体力、1番目が気力、2番目が射精ゲージになっています。
  • (数値1)は最低で0、最高で99です。

Example

2000 in stamina and 1000 in spirit.

基礎,0,2000
基礎,1,1000

能力,(数値1),(数値2)

  • キャラの初期能力の(数値1)番目を(数値2)に設定します。
  • (数値1)にはAbl.csvで指定した能力番号を使ってください。
  • (数値2)に特に制限はありませんが、サンプルゲームでは0から5までとしています。

素質,(Number)

  • キャラの素質に(Number)番目のものを加えます。
  • (Number)にはTalent.csvで指定した素質番号を使ってください。

経験,(数値1),(数値2)

  • キャラの初期経験の(数値1)番目を(数値2)に設定します。
  • (数値1)にはExp.csvで指定した経験番号を使ってください。

相性,(数値1),(数値2)

  • (数値1)番目のキャラに対する相性を(数値2)に設定します。
  • (数値1)にはCharaXX.csvでそれぞれ指定したキャラ番号を使ってください。
  • (数値2)は100が標準で、それより低いと相性が悪い、高いと相性がよいという意味になります。

助手,(Number)

  • (数値)を1にすると、初期状態から助手として扱われます。

フラグ,(数値1),(数値2)

  • (数値1)番目のキャラフラグを(数値2)に設定します。
  • (数値1)は最低で0、最高で999です。
  • キャラフラグはゲーム製作者のアイデア次第で自由に使えます。サンプルゲームでは、0番目のフラグが1であるキャラは「スペシャルキャラ」であるとしています。
  • (※フラグという名前ですが、整数の値なら0と1以外でも大丈夫です)

知っておくと便利なこと

Str.csvでの***や+++について

  • サンプルゲームera lightのStr.csvには、***や+++などが多く出てきます。ゲーム内ではそれぞれ「あかり」「浩之ちゃん」と変換されているはずです。
  • これを完全に理解するにはera basicの知識が必要ですが、ひとまず***は調教しているキャラの名前、+++は主人公の呼び名、$$$は調教しているキャラの呼び名だと知っていればよいでしょう。
  • サンプルゲームerakanonでは助手システムがあります。///は助手の名前、===はそのとき調教している人(主人公or助手)の呼び名に変換されます。

更新履歴

  • 06/05/01 暫定版公開。