|
@@ -136,7 +136,7 @@ public class Menu : MonoBehaviour
|
|
text = mp.strFileName;
|
|
text = mp.strFileName;
|
|
}
|
|
}
|
|
TBody body = maid.body0;
|
|
TBody body = maid.body0;
|
|
- if (mp.idx == 61 || mp.idx == 64 || mp.idx == 65 || mp.idx == 66)
|
|
|
|
|
|
+ if (mp.idx == 72 || mp.idx == 75 || mp.idx == 76 || mp.idx == 77)
|
|
{
|
|
{
|
|
TBodySkin slot = body.GetSlot(1);
|
|
TBodySkin slot = body.GetSlot(1);
|
|
if (slot.PartsVersion < 110)
|
|
if (slot.PartsVersion < 110)
|
|
@@ -195,18 +195,18 @@ public class Menu : MonoBehaviour
|
|
}
|
|
}
|
|
if (stringCom == "name")
|
|
if (stringCom == "name")
|
|
{
|
|
{
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "ver")
|
|
if (stringCom == "ver")
|
|
{
|
|
{
|
|
TBodySkin slot2 = body.GetSlot(stringList[1]);
|
|
TBodySkin slot2 = body.GetSlot(stringList[1]);
|
|
version = int.Parse(stringList[2]);
|
|
version = int.Parse(stringList[2]);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "アイテム")
|
|
if (stringCom == "アイテム")
|
|
{
|
|
{
|
|
Menu.SetMaidItemTemp(maid, stringList[1], f_bTemp);
|
|
Menu.SetMaidItemTemp(maid, stringList[1], f_bTemp);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "アイテム条件")
|
|
if (stringCom == "アイテム条件")
|
|
{
|
|
{
|
|
@@ -305,47 +305,69 @@ public class Menu : MonoBehaviour
|
|
NDebug.Assert("アイテム条件が不正です。「なら」が必要です。\n" + text7, false);
|
|
NDebug.Assert("アイテム条件が不正です。「なら」が必要です。\n" + text7, false);
|
|
goto IL_414;
|
|
goto IL_414;
|
|
IL_414:
|
|
IL_414:
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "if")
|
|
if (stringCom == "if")
|
|
{
|
|
{
|
|
- if (stringList[1].IndexOf("maidprop[") != 0)
|
|
|
|
- {
|
|
|
|
- goto IL_594;
|
|
|
|
- }
|
|
|
|
- string value = stringList[1].Substring(9, stringList[1].Length - 9 - 1);
|
|
|
|
- MPN mpn = (MPN)Enum.Parse(typeof(MPN), value, false);
|
|
|
|
- MaidProp prop = maid.GetProp(mpn);
|
|
|
|
- if (!(stringList[2] == "==") || !(stringList[3] == "nothing") || prop.nFileNameRID != 0 || !(stringList[4] == "?") || stringList[5].IndexOf("setprop[") != 0)
|
|
|
|
|
|
+ if (stringList[1].IndexOf("maidprop[") == 0)
|
|
{
|
|
{
|
|
|
|
+ string value = stringList[1].Substring(9, stringList[1].Length - 9 - 1);
|
|
|
|
+ MPN mpn = (MPN)Enum.Parse(typeof(MPN), value, false);
|
|
|
|
+ MaidProp prop = maid.GetProp(mpn);
|
|
|
|
+ if (!(stringList[2] == "==") || !(stringList[3] == "nothing") || prop.nFileNameRID != 0 || !(stringList[4] == "?") || stringList[5].IndexOf("setprop[") != 0)
|
|
|
|
+ {
|
|
|
|
+ goto IL_594;
|
|
|
|
+ }
|
|
|
|
+ string value2 = stringList[5].Substring(8, stringList[5].Length - 8 - 1);
|
|
|
|
+ MPN idx = (MPN)Enum.Parse(typeof(MPN), value2, false);
|
|
|
|
+ if (!(stringList[6] == "="))
|
|
|
|
+ {
|
|
|
|
+ goto IL_594;
|
|
|
|
+ }
|
|
|
|
+ string text10;
|
|
|
|
+ if (stringList[7].IndexOf("getprop[") == 0)
|
|
|
|
+ {
|
|
|
|
+ string value3 = stringList[7].Substring(8, stringList[7].Length - 8 - 1);
|
|
|
|
+ MPN mpn2 = (MPN)Enum.Parse(typeof(MPN), value3, false);
|
|
|
|
+ MaidProp prop2 = maid.GetProp(mpn2);
|
|
|
|
+ text10 = prop2.strFileName;
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ text10 = stringList[7];
|
|
|
|
+ }
|
|
|
|
+ if (!string.IsNullOrEmpty(text10))
|
|
|
|
+ {
|
|
|
|
+ maid.SetProp(idx, text10, 0, false, false);
|
|
|
|
+ goto IL_594;
|
|
|
|
+ }
|
|
goto IL_594;
|
|
goto IL_594;
|
|
|
|
+ IL_594:
|
|
|
|
+ goto IL_677;
|
|
}
|
|
}
|
|
- string value2 = stringList[5].Substring(8, stringList[5].Length - 8 - 1);
|
|
|
|
- MPN idx = (MPN)Enum.Parse(typeof(MPN), value2, false);
|
|
|
|
- if (!(stringList[6] == "="))
|
|
|
|
|
|
+ if (stringList[1].IndexOf("slot[") != 0)
|
|
{
|
|
{
|
|
- goto IL_594;
|
|
|
|
|
|
+ goto IL_677;
|
|
}
|
|
}
|
|
- string text10;
|
|
|
|
- if (stringList[7].IndexOf("getprop[") == 0)
|
|
|
|
|
|
+ string[] array = stringList[1].Split(new char[]
|
|
{
|
|
{
|
|
- string value3 = stringList[7].Substring(8, stringList[7].Length - 8 - 1);
|
|
|
|
- MPN mpn2 = (MPN)Enum.Parse(typeof(MPN), value3, false);
|
|
|
|
- MaidProp prop2 = maid.GetProp(mpn2);
|
|
|
|
- text10 = prop2.strFileName;
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
|
|
+ '.'
|
|
|
|
+ });
|
|
|
|
+ string value4 = array[0].Substring(5, array[0].Length - 5 - 1);
|
|
|
|
+ TBody.SlotID f_nSlotNo = (TBody.SlotID)Enum.Parse(typeof(TBody.SlotID), value4, true);
|
|
|
|
+ TBodySkin slot6 = maid.body0.GetSlot((int)f_nSlotNo);
|
|
|
|
+ if (2 > array.Length || !(array[1] == "ver") || !(stringList[2] == "<"))
|
|
{
|
|
{
|
|
- text10 = stringList[7];
|
|
|
|
|
|
+ goto IL_677;
|
|
}
|
|
}
|
|
- if (!string.IsNullOrEmpty(text10))
|
|
|
|
|
|
+ int num4 = int.Parse(stringList[3]);
|
|
|
|
+ if (slot6.PartsVersion < num4 && stringList[4] == "?" && stringList[5] == "skip")
|
|
{
|
|
{
|
|
- maid.SetProp(idx, text10, 0, false, false);
|
|
|
|
- goto IL_594;
|
|
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
- goto IL_594;
|
|
|
|
- IL_594:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_677;
|
|
|
|
+ IL_677:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "アイテムパラメータ")
|
|
if (stringCom == "アイテムパラメータ")
|
|
{
|
|
{
|
|
@@ -360,26 +382,26 @@ public class Menu : MonoBehaviour
|
|
text12,
|
|
text12,
|
|
text13
|
|
text13
|
|
}));
|
|
}));
|
|
- goto IL_609;
|
|
|
|
|
|
+ goto IL_6EC;
|
|
}
|
|
}
|
|
Debug.LogError("アイテムパラメータ 命令の引数が不正です。SlotNameを明示的に指定しする必要があります。アイテムパラメータ <スロット名> <変数名> <値> の順です。" + text7);
|
|
Debug.LogError("アイテムパラメータ 命令の引数が不正です。SlotNameを明示的に指定しする必要があります。アイテムパラメータ <スロット名> <変数名> <値> の順です。" + text7);
|
|
- goto IL_609;
|
|
|
|
- IL_609:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_6EC;
|
|
|
|
+ IL_6EC:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "半脱ぎ" || stringCom == "リソース参照")
|
|
if (stringCom == "半脱ぎ" || stringCom == "リソース参照")
|
|
{
|
|
{
|
|
string key;
|
|
string key;
|
|
- string value4;
|
|
|
|
|
|
+ string value5;
|
|
if (stringCom == "半脱ぎ")
|
|
if (stringCom == "半脱ぎ")
|
|
{
|
|
{
|
|
key = "半脱ぎ";
|
|
key = "半脱ぎ";
|
|
- value4 = stringList[1];
|
|
|
|
|
|
+ value5 = stringList[1];
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
key = stringList[1];
|
|
key = stringList[1];
|
|
- value4 = stringList[2];
|
|
|
|
|
|
+ value5 = stringList[2];
|
|
}
|
|
}
|
|
int hashCode = Path.GetFileName(text.ToLower()).ToLower().GetHashCode();
|
|
int hashCode = Path.GetFileName(text.ToLower()).ToLower().GetHashCode();
|
|
SortedDictionary<string, string> sortedDictionary;
|
|
SortedDictionary<string, string> sortedDictionary;
|
|
@@ -388,35 +410,35 @@ public class Menu : MonoBehaviour
|
|
string empty = string.Empty;
|
|
string empty = string.Empty;
|
|
if (sortedDictionary.TryGetValue(key, out empty))
|
|
if (sortedDictionary.TryGetValue(key, out empty))
|
|
{
|
|
{
|
|
- sortedDictionary[key] = value4;
|
|
|
|
- goto IL_6BB;
|
|
|
|
|
|
+ sortedDictionary[key] = value5;
|
|
|
|
+ goto IL_79E;
|
|
}
|
|
}
|
|
- sortedDictionary.Add(key, value4);
|
|
|
|
- goto IL_6BB;
|
|
|
|
- IL_6BB:
|
|
|
|
- goto IL_6E0;
|
|
|
|
|
|
+ sortedDictionary.Add(key, value5);
|
|
|
|
+ goto IL_79E;
|
|
|
|
+ IL_79E:
|
|
|
|
+ goto IL_7C3;
|
|
}
|
|
}
|
|
sortedDictionary = new SortedDictionary<string, string>();
|
|
sortedDictionary = new SortedDictionary<string, string>();
|
|
- sortedDictionary.Add(key, value4);
|
|
|
|
|
|
+ sortedDictionary.Add(key, value5);
|
|
Menu.m_dicResourceRef.Add(hashCode, sortedDictionary);
|
|
Menu.m_dicResourceRef.Add(hashCode, sortedDictionary);
|
|
- goto IL_6E0;
|
|
|
|
- IL_6E0:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_7C3;
|
|
|
|
+ IL_7C3:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "set")
|
|
if (stringCom == "set")
|
|
{
|
|
{
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "setname")
|
|
if (stringCom == "setname")
|
|
{
|
|
{
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "setslotitem")
|
|
if (stringCom == "setslotitem")
|
|
{
|
|
{
|
|
string tag = stringList[1];
|
|
string tag = stringList[1];
|
|
uint val = uint.Parse(stringList[2]);
|
|
uint val = uint.Parse(stringList[2]);
|
|
maid.SetProp(tag, (int)val, false);
|
|
maid.SetProp(tag, (int)val, false);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "additem")
|
|
if (stringCom == "additem")
|
|
{
|
|
{
|
|
@@ -457,25 +479,25 @@ public class Menu : MonoBehaviour
|
|
}
|
|
}
|
|
body.AddItem((MPN)Enum.Parse(typeof(MPN), text9, true), text14, stringList[1], attachSlot, attachName, f_bTemp, version);
|
|
body.AddItem((MPN)Enum.Parse(typeof(MPN), text9, true), text14, stringList[1], attachSlot, attachName, f_bTemp, version);
|
|
body.SetVisibleNodeSlot(text14, true, "_ALL_");
|
|
body.SetVisibleNodeSlot(text14, true, "_ALL_");
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "nofloory")
|
|
if (stringCom == "nofloory")
|
|
{
|
|
{
|
|
TBody.SlotID index = (TBody.SlotID)Enum.Parse(typeof(TBody.SlotID), stringList[1], true);
|
|
TBody.SlotID index = (TBody.SlotID)Enum.Parse(typeof(TBody.SlotID), stringList[1], true);
|
|
body.goSlot[(int)index].m_bHitFloorY = false;
|
|
body.goSlot[(int)index].m_bHitFloorY = false;
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "saveitem")
|
|
if (stringCom == "saveitem")
|
|
{
|
|
{
|
|
text5 = stringList[1];
|
|
text5 = stringList[1];
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "category")
|
|
if (stringCom == "category")
|
|
{
|
|
{
|
|
text9 = stringList[1];
|
|
text9 = stringList[1];
|
|
flag2 = (text9 == "skin");
|
|
flag2 = (text9 == "skin");
|
|
flag3 = (text9 == "haircolor");
|
|
flag3 = (text9 == "haircolor");
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "maskitem")
|
|
if (stringCom == "maskitem")
|
|
{
|
|
{
|
|
@@ -483,11 +505,11 @@ public class Menu : MonoBehaviour
|
|
{
|
|
{
|
|
string maskslot = stringList[1];
|
|
string maskslot = stringList[1];
|
|
body.AddMask(text9, maskslot);
|
|
body.AddMask(text9, maskslot);
|
|
- goto IL_92C;
|
|
|
|
|
|
+ goto IL_A0F;
|
|
}
|
|
}
|
|
- goto IL_92C;
|
|
|
|
- IL_92C:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_A0F;
|
|
|
|
+ IL_A0F:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "delitem")
|
|
if (stringCom == "delitem")
|
|
{
|
|
{
|
|
@@ -497,27 +519,27 @@ public class Menu : MonoBehaviour
|
|
slotname3 = stringList[1];
|
|
slotname3 = stringList[1];
|
|
}
|
|
}
|
|
body.DelItem((MPN)Enum.Parse(typeof(MPN), text9, true), slotname3);
|
|
body.DelItem((MPN)Enum.Parse(typeof(MPN), text9, true), slotname3);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "node消去")
|
|
if (stringCom == "node消去")
|
|
{
|
|
{
|
|
body.SetVisibleNodeSlot(text9, false, stringList[1]);
|
|
body.SetVisibleNodeSlot(text9, false, stringList[1]);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "node表示")
|
|
if (stringCom == "node表示")
|
|
{
|
|
{
|
|
body.SetVisibleNodeSlot(text9, true, stringList[1]);
|
|
body.SetVisibleNodeSlot(text9, true, stringList[1]);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "パーツnode消去")
|
|
if (stringCom == "パーツnode消去")
|
|
{
|
|
{
|
|
body.SetVisibleNodeSlotParts(text9, stringList[1], false, stringList[2]);
|
|
body.SetVisibleNodeSlotParts(text9, stringList[1], false, stringList[2]);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "パーツnode表示")
|
|
if (stringCom == "パーツnode表示")
|
|
{
|
|
{
|
|
body.SetVisibleNodeSlotParts(text9, stringList[1], true, stringList[2]);
|
|
body.SetVisibleNodeSlotParts(text9, stringList[1], true, stringList[2]);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "color")
|
|
if (stringCom == "color")
|
|
{
|
|
{
|
|
@@ -526,69 +548,97 @@ public class Menu : MonoBehaviour
|
|
string prop_name = stringList[3];
|
|
string prop_name = stringList[3];
|
|
Color col = new Color(float.Parse(stringList[4]) / 255f, float.Parse(stringList[5]) / 255f, float.Parse(stringList[6]) / 255f, float.Parse(stringList[7]) / 255f);
|
|
Color col = new Color(float.Parse(stringList[4]) / 255f, float.Parse(stringList[5]) / 255f, float.Parse(stringList[6]) / 255f, float.Parse(stringList[7]) / 255f);
|
|
body.ChangeCol(name, matno, prop_name, col);
|
|
body.ChangeCol(name, matno, prop_name, col);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "mancolor")
|
|
if (stringCom == "mancolor")
|
|
{
|
|
{
|
|
Color manColor = new Color(float.Parse(stringList[1]) / 255f, float.Parse(stringList[2]) / 255f, float.Parse(stringList[3]) / 255f, 1f);
|
|
Color manColor = new Color(float.Parse(stringList[1]) / 255f, float.Parse(stringList[2]) / 255f, float.Parse(stringList[3]) / 255f, 1f);
|
|
maid.ManColor = manColor;
|
|
maid.ManColor = manColor;
|
|
maid.ManColorUpdate();
|
|
maid.ManColorUpdate();
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "tex" || stringCom == "テクスチャ変更")
|
|
if (stringCom == "tex" || stringCom == "テクスチャ変更")
|
|
{
|
|
{
|
|
string text15 = stringList[1];
|
|
string text15 = stringList[1];
|
|
- int num4 = int.Parse(stringList[2]);
|
|
|
|
- string text16 = stringList[3];
|
|
|
|
|
|
+ string[] array2 = stringList[2].Split(new char[]
|
|
|
|
+ {
|
|
|
|
+ '&'
|
|
|
|
+ });
|
|
|
|
+ int num5 = -1;
|
|
|
|
+ if (2 <= array2.Length)
|
|
|
|
+ {
|
|
|
|
+ foreach (string text16 in array2)
|
|
|
|
+ {
|
|
|
|
+ string[] array4 = text16.Split(new char[]
|
|
|
|
+ {
|
|
|
|
+ '='
|
|
|
|
+ });
|
|
|
|
+ MPN mpn3 = (MPN)Enum.Parse(typeof(MPN), array4[0], true);
|
|
|
|
+ if (mpn3 == (MPN)mp.idx)
|
|
|
|
+ {
|
|
|
|
+ int.TryParse(array4[1], out num5);
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (num5 == -1)
|
|
|
|
+ {
|
|
|
|
+ NDebug.Assert("tex mat no error.", false);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ int.TryParse(array2[0], out num5);
|
|
|
|
+ if (mp.idx == 72)
|
|
|
|
+ {
|
|
|
|
+ num5 = 7;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ string text17 = stringList[3];
|
|
string filename = stringList[4];
|
|
string filename = stringList[4];
|
|
MaidParts.PARTS_COLOR parts_COLOR = MaidParts.PARTS_COLOR.NONE;
|
|
MaidParts.PARTS_COLOR parts_COLOR = MaidParts.PARTS_COLOR.NONE;
|
|
if (stringList.Length == 6)
|
|
if (stringList.Length == 6)
|
|
{
|
|
{
|
|
- string text17 = stringList[5];
|
|
|
|
|
|
+ string text18 = stringList[5];
|
|
try
|
|
try
|
|
{
|
|
{
|
|
- parts_COLOR = (MaidParts.PARTS_COLOR)Enum.Parse(typeof(MaidParts.PARTS_COLOR), text17.ToUpper());
|
|
|
|
|
|
+ parts_COLOR = (MaidParts.PARTS_COLOR)Enum.Parse(typeof(MaidParts.PARTS_COLOR), text18.ToUpper());
|
|
}
|
|
}
|
|
catch
|
|
catch
|
|
{
|
|
{
|
|
- NDebug.Assert("無限色IDがありません。" + text17, false);
|
|
|
|
|
|
+ NDebug.Assert("無限色IDがありません。" + text18, false);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (mp.idx == 61)
|
|
|
|
- {
|
|
|
|
- num4 = 7;
|
|
|
|
- }
|
|
|
|
if (flag2 && parts_COLOR == MaidParts.PARTS_COLOR.SKIN)
|
|
if (flag2 && parts_COLOR == MaidParts.PARTS_COLOR.SKIN)
|
|
{
|
|
{
|
|
- if (text15 == "body" && num4 == 0 && text16.ToLower() == "_maintex")
|
|
|
|
|
|
+ if (text15 == "body" && num5 == 0 && text17.ToLower() == "_maintex")
|
|
{
|
|
{
|
|
- body.ChangeShader(text15, num4, "CM3D2_Toony_Lighted_Outline_Tex");
|
|
|
|
|
|
+ body.ChangeShader(text15, num5, "CM3D2_Toony_Lighted_Outline_Tex");
|
|
flag = true;
|
|
flag = true;
|
|
- body.ChangeTex(text15, num4, "_OutlineTex", filename, null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
- body.ChangeTex(text15, num4, "_OutlineToonRamp", "toonBlackA1.tex", null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
|
|
+ body.ChangeTex(text15, num5, "_OutlineTex", filename, null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
+ body.ChangeTex(text15, num5, "_OutlineToonRamp", "toonBlackA1.tex", null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
}
|
|
}
|
|
- else if (text15 == "head" && num4 == 5 && text16.ToLower() == "_maintex")
|
|
|
|
|
|
+ else if (text15 == "head" && num5 == 5 && text17.ToLower() == "_maintex")
|
|
{
|
|
{
|
|
- body.ChangeShader(text15, num4, "CM3D2_Toony_Lighted_Outline_Tex");
|
|
|
|
|
|
+ body.ChangeShader(text15, num5, "CM3D2_Toony_Lighted_Outline_Tex");
|
|
flag = true;
|
|
flag = true;
|
|
- body.ChangeTex(text15, num4, "_OutlineTex", filename, null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
- body.ChangeTex(text15, num4, "_OutlineToonRamp", "toonBlackA1.tex", null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
|
|
+ body.ChangeTex(text15, num5, "_OutlineTex", filename, null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
|
|
+ body.ChangeTex(text15, num5, "_OutlineToonRamp", "toonBlackA1.tex", null, MaidParts.PARTS_COLOR.SKIN_OUTLINE);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (Product.isEnglish && !Product.isPublic && flag2 && text15 == "body" && num4 == 0 && text16.ToLower() == "_maintex")
|
|
|
|
|
|
+ if (Product.isEnglish && !Product.isPublic && flag2 && text15 == "body" && num5 == 0 && text17.ToLower() == "_maintex")
|
|
{
|
|
{
|
|
if (parts_COLOR == MaidParts.PARTS_COLOR.SKIN)
|
|
if (parts_COLOR == MaidParts.PARTS_COLOR.SKIN)
|
|
{
|
|
{
|
|
- body.ChangeShader(text15, num4, "CM3D2_Toony_Lighted_Outline_Tex_Texwidth");
|
|
|
|
|
|
+ body.ChangeShader(text15, num5, "CM3D2_Toony_Lighted_Outline_Tex_Texwidth");
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- body.ChangeShader(text15, num4, "CM3D2_Toony_Lighted_Outline_Texwidth");
|
|
|
|
|
|
+ body.ChangeShader(text15, num5, "CM3D2_Toony_Lighted_Outline_Texwidth");
|
|
}
|
|
}
|
|
- body.ChangeTex(text15, num4, "_OutlineWidthTex", "skin_en_outline_width.tex", null, MaidParts.PARTS_COLOR.NONE);
|
|
|
|
|
|
+ body.ChangeTex(text15, num5, "_OutlineWidthTex", "skin_en_outline_width.tex", null, MaidParts.PARTS_COLOR.NONE);
|
|
flag = true;
|
|
flag = true;
|
|
}
|
|
}
|
|
- body.ChangeTex(text15, num4, text16, filename, null, parts_COLOR);
|
|
|
|
|
|
+ body.ChangeTex(text15, num5, text17, filename, null, parts_COLOR);
|
|
if (parts_COLOR != MaidParts.PARTS_COLOR.NONE)
|
|
if (parts_COLOR != MaidParts.PARTS_COLOR.NONE)
|
|
{
|
|
{
|
|
maid.Parts.SetPartsColor(parts_COLOR, maid.Parts.GetPartsColor(parts_COLOR));
|
|
maid.Parts.SetPartsColor(parts_COLOR, maid.Parts.GetPartsColor(parts_COLOR));
|
|
@@ -596,22 +646,22 @@ public class Menu : MonoBehaviour
|
|
if ((flag2 || flag3) && !flag)
|
|
if ((flag2 || flag3) && !flag)
|
|
{
|
|
{
|
|
body.RestoreShader(text15);
|
|
body.RestoreShader(text15);
|
|
- goto IL_D49;
|
|
|
|
|
|
+ goto IL_ED9;
|
|
}
|
|
}
|
|
- goto IL_D49;
|
|
|
|
- IL_D49:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_ED9;
|
|
|
|
+ IL_ED9:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "prop")
|
|
if (stringCom == "prop")
|
|
{
|
|
{
|
|
string tag2 = stringList[1];
|
|
string tag2 = stringList[1];
|
|
string s = stringList[2];
|
|
string s = stringList[2];
|
|
maid.SetProp(tag2, int.Parse(s), false);
|
|
maid.SetProp(tag2, int.Parse(s), false);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "テクスチャ乗算")
|
|
if (stringCom == "テクスチャ乗算")
|
|
{
|
|
{
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "テクスチャ合成")
|
|
if (stringCom == "テクスチャ合成")
|
|
{
|
|
{
|
|
@@ -622,12 +672,12 @@ public class Menu : MonoBehaviour
|
|
if ((text9 == "accTatoo" || text9 == "hokuro") && !text.Contains("_del"))
|
|
if ((text9 == "accTatoo" || text9 == "hokuro") && !text.Contains("_del"))
|
|
{
|
|
{
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), true, 0, 0, 0f, 0f, true, f_SubProp, 1f, 1024);
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), true, 0, 0, 0f, 0f, true, f_SubProp, 1f, 1024);
|
|
- goto IL_EAC;
|
|
|
|
|
|
+ goto IL_103C;
|
|
}
|
|
}
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), false, 0, 0, 0f, 0f, false, null, 1f, 1024);
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), false, 0, 0, 0f, 0f, false, null, 1f, 1024);
|
|
- goto IL_EAC;
|
|
|
|
- IL_EAC:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_103C;
|
|
|
|
+ IL_103C:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "テクスチャセット合成")
|
|
if (stringCom == "テクスチャセット合成")
|
|
{
|
|
{
|
|
@@ -636,7 +686,7 @@ public class Menu : MonoBehaviour
|
|
NDebug.Assert("テクスチャセット合成 の引数が不正です。" + stringList.Length, false);
|
|
NDebug.Assert("テクスチャセット合成 の引数が不正です。" + stringList.Length, false);
|
|
}
|
|
}
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), true, 0, 0, 0f, 0f, true, null, 1f, 1024);
|
|
body.MulTexSet(stringList[1], int.Parse(stringList[2]), stringList[3], int.Parse(stringList[4]), stringList[5], (GameUty.SystemMaterial)Enum.Parse(typeof(GameUty.SystemMaterial), stringList[6]), true, 0, 0, 0f, 0f, true, null, 1f, 1024);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "マテリアル変更")
|
|
if (stringCom == "マテリアル変更")
|
|
{
|
|
{
|
|
@@ -644,7 +694,7 @@ public class Menu : MonoBehaviour
|
|
int f_nMatNo = int.Parse(stringList[2]);
|
|
int f_nMatNo = int.Parse(stringList[2]);
|
|
string f_strFileName = stringList[3];
|
|
string f_strFileName = stringList[3];
|
|
body.ChangeMaterial(f_strSlotName, f_nMatNo, f_strFileName);
|
|
body.ChangeMaterial(f_strSlotName, f_nMatNo, f_strFileName);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "shader")
|
|
if (stringCom == "shader")
|
|
{
|
|
{
|
|
@@ -653,14 +703,14 @@ public class Menu : MonoBehaviour
|
|
string f_strShaderFileName = stringList[3];
|
|
string f_strShaderFileName = stringList[3];
|
|
body.ChangeShader(f_strSlotName2, f_nMatNo2, f_strShaderFileName);
|
|
body.ChangeShader(f_strSlotName2, f_nMatNo2, f_strShaderFileName);
|
|
flag = true;
|
|
flag = true;
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "アタッチポイントの設定")
|
|
if (stringCom == "アタッチポイントの設定")
|
|
{
|
|
{
|
|
if (stringList.Length < 5)
|
|
if (stringList.Length < 5)
|
|
{
|
|
{
|
|
Debug.LogError("アタッチポイントの設定引数の数が不正です。 " + text7 + " " + text3);
|
|
Debug.LogError("アタッチポイントの設定引数の数が不正です。 " + text7 + " " + text3);
|
|
- goto IL_106F;
|
|
|
|
|
|
+ goto IL_11FF;
|
|
}
|
|
}
|
|
Vector3 v = new Vector3(float.Parse(stringList[2]), float.Parse(stringList[3]), float.Parse(stringList[4]));
|
|
Vector3 v = new Vector3(float.Parse(stringList[2]), float.Parse(stringList[3]), float.Parse(stringList[4]));
|
|
Quaternion q = Quaternion.identity;
|
|
Quaternion q = Quaternion.identity;
|
|
@@ -673,27 +723,27 @@ public class Menu : MonoBehaviour
|
|
Debug.LogError("アタッチポイントの設定引数に角度指定がありません。 " + text7 + " " + text3);
|
|
Debug.LogError("アタッチポイントの設定引数に角度指定がありません。 " + text7 + " " + text3);
|
|
}
|
|
}
|
|
body.SetAttachPoint(slotname, stringList[1], v, q, f_bTemp);
|
|
body.SetAttachPoint(slotname, stringList[1], v, q, f_bTemp);
|
|
- goto IL_106F;
|
|
|
|
- IL_106F:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_11FF;
|
|
|
|
+ IL_11FF:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "blendset")
|
|
if (stringCom == "blendset")
|
|
{
|
|
{
|
|
string blendSetName = stringList[1];
|
|
string blendSetName = stringList[1];
|
|
- int num5 = (stringList.Length - 2) / 2;
|
|
|
|
|
|
+ int num6 = (stringList.Length - 2) / 2;
|
|
body.Face.morph.NewBlendSet(blendSetName);
|
|
body.Face.morph.NewBlendSet(blendSetName);
|
|
- for (int j = 0; j < num5; j++)
|
|
|
|
|
|
+ for (int k = 0; k < num6; k++)
|
|
{
|
|
{
|
|
- string tag3 = stringList[2 + j * 2].ToLower();
|
|
|
|
- float val2 = float.Parse(stringList[3 + j * 2]);
|
|
|
|
|
|
+ string tag3 = stringList[2 + k * 2].ToLower();
|
|
|
|
+ float val2 = float.Parse(stringList[3 + k * 2]);
|
|
body.Face.morph.SetValueBlendSet(blendSetName, tag3, val2);
|
|
body.Face.morph.SetValueBlendSet(blendSetName, tag3, val2);
|
|
}
|
|
}
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "paramset")
|
|
if (stringCom == "paramset")
|
|
{
|
|
{
|
|
body.Face.NewParamSet(text7);
|
|
body.Face.NewParamSet(text7);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "commenttype")
|
|
if (stringCom == "commenttype")
|
|
{
|
|
{
|
|
@@ -702,18 +752,18 @@ public class Menu : MonoBehaviour
|
|
maid.status.partsDic.Add(stringList[1], string.Empty);
|
|
maid.status.partsDic.Add(stringList[1], string.Empty);
|
|
}
|
|
}
|
|
maid.status.partsDic[stringList[1]] = stringList[2];
|
|
maid.status.partsDic[stringList[1]] = stringList[2];
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "useredit")
|
|
if (stringCom == "useredit")
|
|
{
|
|
{
|
|
if (stringList[2].ToLower() == "material")
|
|
if (stringList[2].ToLower() == "material")
|
|
{
|
|
{
|
|
body.SetMaterialProperty(text9, stringList[3], int.Parse(stringList[4]), stringList[5], stringList[6], stringList[7], false);
|
|
body.SetMaterialProperty(text9, stringList[3], int.Parse(stringList[4]), stringList[5], stringList[6], stringList[7], false);
|
|
- goto IL_11C7;
|
|
|
|
|
|
+ goto IL_1357;
|
|
}
|
|
}
|
|
- goto IL_11C7;
|
|
|
|
- IL_11C7:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_1357;
|
|
|
|
+ IL_1357:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "bonemorph")
|
|
if (stringCom == "bonemorph")
|
|
{
|
|
{
|
|
@@ -724,43 +774,43 @@ public class Menu : MonoBehaviour
|
|
if (stringList.Length == 9)
|
|
if (stringList.Length == 9)
|
|
{
|
|
{
|
|
body.bonemorph.ChangeMorphPosValue(stringList[1], stringList[2], new Vector3(float.Parse(stringList[3]), float.Parse(stringList[4]), float.Parse(stringList[5])), new Vector3(float.Parse(stringList[6]), float.Parse(stringList[7]), float.Parse(stringList[8])));
|
|
body.bonemorph.ChangeMorphPosValue(stringList[1], stringList[2], new Vector3(float.Parse(stringList[3]), float.Parse(stringList[4]), float.Parse(stringList[5])), new Vector3(float.Parse(stringList[6]), float.Parse(stringList[7]), float.Parse(stringList[8])));
|
|
- goto IL_138D;
|
|
|
|
|
|
+ goto IL_151D;
|
|
}
|
|
}
|
|
- string text18 = stringList[1].ToLower();
|
|
|
|
|
|
+ string text19 = stringList[1].ToLower();
|
|
string strPropName = stringList[2];
|
|
string strPropName = stringList[2];
|
|
string f_strBoneName = stringList[3];
|
|
string f_strBoneName = stringList[3];
|
|
Vector3 f_fAddMin = new Vector3(float.Parse(stringList[4]), float.Parse(stringList[5]), float.Parse(stringList[6]));
|
|
Vector3 f_fAddMin = new Vector3(float.Parse(stringList[4]), float.Parse(stringList[5]), float.Parse(stringList[6]));
|
|
Vector3 f_fAddMax = new Vector3(float.Parse(stringList[7]), float.Parse(stringList[8]), float.Parse(stringList[9]));
|
|
Vector3 f_fAddMax = new Vector3(float.Parse(stringList[7]), float.Parse(stringList[8]), float.Parse(stringList[9]));
|
|
- if (text18 != null)
|
|
|
|
|
|
+ if (text19 != null)
|
|
{
|
|
{
|
|
- if (text18 == "pos")
|
|
|
|
|
|
+ if (text19 == "pos")
|
|
{
|
|
{
|
|
body.bonemorph.ChangeMorphPosValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
body.bonemorph.ChangeMorphPosValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
- goto IL_138D;
|
|
|
|
|
|
+ goto IL_151D;
|
|
}
|
|
}
|
|
- if (text18 == "rot")
|
|
|
|
|
|
+ if (text19 == "rot")
|
|
{
|
|
{
|
|
body.bonemorph.ChangeMorphRotatioValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
body.bonemorph.ChangeMorphRotatioValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
- goto IL_138D;
|
|
|
|
|
|
+ goto IL_151D;
|
|
}
|
|
}
|
|
- if (text18 == "scl")
|
|
|
|
|
|
+ if (text19 == "scl")
|
|
{
|
|
{
|
|
body.bonemorph.ChangeMorphSclValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
body.bonemorph.ChangeMorphSclValue(strPropName, f_strBoneName, f_fAddMin, f_fAddMax);
|
|
- goto IL_138D;
|
|
|
|
|
|
+ goto IL_151D;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
Debug.LogError(string.Concat(new string[]
|
|
Debug.LogError(string.Concat(new string[]
|
|
{
|
|
{
|
|
"BoneMorpのタイプ指定が不正です[",
|
|
"BoneMorpのタイプ指定が不正です[",
|
|
- text18,
|
|
|
|
|
|
+ text19,
|
|
"]\n",
|
|
"]\n",
|
|
text7,
|
|
text7,
|
|
" ",
|
|
" ",
|
|
text3
|
|
text3
|
|
}));
|
|
}));
|
|
- goto IL_138D;
|
|
|
|
- IL_138D:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_151D;
|
|
|
|
+ IL_151D:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "length")
|
|
if (stringCom == "length")
|
|
{
|
|
{
|
|
@@ -769,7 +819,7 @@ public class Menu : MonoBehaviour
|
|
Debug.LogError("lengthの設定引数の数が不正です。 " + text7 + " " + text3);
|
|
Debug.LogError("lengthの設定引数の数が不正です。 " + text7 + " " + text3);
|
|
}
|
|
}
|
|
body.SetHairLengthDataList(stringList[1], stringList[2], stringList[3], stringList[4], new Vector3(float.Parse(stringList[5]), float.Parse(stringList[6]), float.Parse(stringList[7])), new Vector3(float.Parse(stringList[8]), float.Parse(stringList[9]), float.Parse(stringList[10])));
|
|
body.SetHairLengthDataList(stringList[1], stringList[2], stringList[3], stringList[4], new Vector3(float.Parse(stringList[5]), float.Parse(stringList[6]), float.Parse(stringList[7])), new Vector3(float.Parse(stringList[8]), float.Parse(stringList[9]), float.Parse(stringList[10])));
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "anime")
|
|
if (stringCom == "anime")
|
|
{
|
|
{
|
|
@@ -785,7 +835,7 @@ public class Menu : MonoBehaviour
|
|
f_bLoop = (stringList[3] == "loop");
|
|
f_bLoop = (stringList[3] == "loop");
|
|
}
|
|
}
|
|
body.ItemAnimationPlay(f_slot, stringList[2], f_bLoop);
|
|
body.ItemAnimationPlay(f_slot, stringList[2], f_bLoop);
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "param2")
|
|
if (stringCom == "param2")
|
|
{
|
|
{
|
|
@@ -793,23 +843,23 @@ public class Menu : MonoBehaviour
|
|
{
|
|
{
|
|
string slotname4 = stringList[1];
|
|
string slotname4 = stringList[1];
|
|
body.GetSlot(slotname4).SetParam2(stringList[2], stringList[3]);
|
|
body.GetSlot(slotname4).SetParam2(stringList[2], stringList[3]);
|
|
- goto IL_1500;
|
|
|
|
|
|
+ goto IL_1690;
|
|
}
|
|
}
|
|
Debug.LogError("param2の設定引数の数が不正です。 " + text7 + " " + text3);
|
|
Debug.LogError("param2の設定引数の数が不正です。 " + text7 + " " + text3);
|
|
- goto IL_1500;
|
|
|
|
- IL_1500:
|
|
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_1690;
|
|
|
|
+ IL_1690:
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
if (stringCom == "animematerial")
|
|
if (stringCom == "animematerial")
|
|
{
|
|
{
|
|
TBody.SlotID f_slot2 = (TBody.SlotID)Enum.Parse(typeof(TBody.SlotID), stringList[1], true);
|
|
TBody.SlotID f_slot2 = (TBody.SlotID)Enum.Parse(typeof(TBody.SlotID), stringList[1], true);
|
|
string s2 = stringList[2];
|
|
string s2 = stringList[2];
|
|
body.MaterialAnimatorAdd(f_slot2, int.Parse(s2));
|
|
body.MaterialAnimatorAdd(f_slot2, int.Parse(s2));
|
|
- goto IL_1546;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
}
|
|
}
|
|
- goto IL_1546;
|
|
|
|
- IL_1546:
|
|
|
|
- goto IL_15C9;
|
|
|
|
|
|
+ goto IL_16D6;
|
|
|
|
+ IL_16D6:
|
|
|
|
+ goto IL_1759;
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
catch (Exception ex)
|
|
{
|
|
{
|
|
@@ -827,19 +877,19 @@ public class Menu : MonoBehaviour
|
|
ex.StackTrace
|
|
ex.StackTrace
|
|
}));
|
|
}));
|
|
NDebug.Assert("メニューファイル処理中にエラーが発生しました。" + Path.GetFileName(text), true);
|
|
NDebug.Assert("メニューファイル処理中にエラーが発生しました。" + Path.GetFileName(text), true);
|
|
- goto IL_15C9;
|
|
|
|
|
|
+ goto IL_1759;
|
|
}
|
|
}
|
|
- IL_15C9:
|
|
|
|
|
|
+ IL_1759:
|
|
goto IL_108;
|
|
goto IL_108;
|
|
}
|
|
}
|
|
list.Sort((Menu.LastParam a, Menu.LastParam b) => a.nOrder - a.nOrder);
|
|
list.Sort((Menu.LastParam a, Menu.LastParam b) => a.nOrder - a.nOrder);
|
|
- for (int k = 0; k < list.Count; k++)
|
|
|
|
|
|
+ for (int l = 0; l < list.Count; l++)
|
|
{
|
|
{
|
|
- Menu.LastParam lastParam = list[k];
|
|
|
|
|
|
+ Menu.LastParam lastParam = list[l];
|
|
if (lastParam.strComm == "アイテムパラメータ")
|
|
if (lastParam.strComm == "アイテムパラメータ")
|
|
{
|
|
{
|
|
- TBodySkin slot6 = body.GetSlot(lastParam.aryArgs[0]);
|
|
|
|
- slot6.SetParam(lastParam.aryArgs[1], lastParam.aryArgs[2]);
|
|
|
|
|
|
+ TBodySkin slot7 = body.GetSlot(lastParam.aryArgs[0]);
|
|
|
|
+ slot7.SetParam(lastParam.aryArgs[1], lastParam.aryArgs[2]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
binaryReader.Close();
|
|
binaryReader.Close();
|
|
@@ -924,7 +974,7 @@ public class Menu : MonoBehaviour
|
|
Directory.CreateDirectory(text);
|
|
Directory.CreateDirectory(text);
|
|
}
|
|
}
|
|
StreamWriter streamWriter = new StreamWriter(text + "\\" + text2 + ".txt", false, Encoding.UTF8);
|
|
StreamWriter streamWriter = new StreamWriter(text + "\\" + text2 + ".txt", false, Encoding.UTF8);
|
|
- streamWriter.WriteLine("出力バージョン\t" + 1470);
|
|
|
|
|
|
+ streamWriter.WriteLine("出力バージョン\t" + 1480);
|
|
streamWriter.WriteLine("基本アイテム\t" + filename.Replace(" ", ":"));
|
|
streamWriter.WriteLine("基本アイテム\t" + filename.Replace(" ", ":"));
|
|
try
|
|
try
|
|
{
|
|
{
|
|
@@ -1292,7 +1342,7 @@ public class Menu : MonoBehaviour
|
|
|
|
|
|
private static void ProcModScriptBin(Maid maid, byte[] cd, string filename, MaidProp mp, bool f_bTemp = false)
|
|
private static void ProcModScriptBin(Maid maid, byte[] cd, string filename, MaidProp mp, bool f_bTemp = false)
|
|
{
|
|
{
|
|
- if (mp != null && maid.body0 != null && (mp.idx == 61 || mp.idx == 64 || mp.idx == 65 || mp.idx == 66))
|
|
|
|
|
|
+ if (mp != null && maid.body0 != null && (mp.idx == 72 || mp.idx == 75 || mp.idx == 76 || mp.idx == 77))
|
|
{
|
|
{
|
|
TBodySkin slot = maid.body0.GetSlot(1);
|
|
TBodySkin slot = maid.body0.GetSlot(1);
|
|
if (slot.PartsVersion < 110)
|
|
if (slot.PartsVersion < 110)
|
|
@@ -1421,7 +1471,7 @@ public class Menu : MonoBehaviour
|
|
}
|
|
}
|
|
}
|
|
}
|
|
int matno = int.Parse(array[2]);
|
|
int matno = int.Parse(array[2]);
|
|
- if (mp != null && mp.idx == 61)
|
|
|
|
|
|
+ if (mp != null && mp.idx == 72)
|
|
{
|
|
{
|
|
matno = 7;
|
|
matno = 7;
|
|
}
|
|
}
|