修复读取PVF
This commit is contained in:
parent
df2ebd6501
commit
58c11ab741
|
|
@ -249,7 +249,8 @@ class Rindro_Script {
|
|||
if (strobj.find(">") != null) {
|
||||
local strobjarr = split(strobj, ">");
|
||||
if (strobjarr.len() > 1) {
|
||||
getroottable().RindroLoadStringTable[Type].rawset(strobjarr[0], Sq_ConvertWideChar(strobjarr[1], "big5"));
|
||||
getroottable().RindroLoadStringTable[Type].rawset(strobjarr[0], strobjarr[1]);
|
||||
// getroottable().RindroLoadStringTable[Type].rawset(strobjarr[0], Sq_ConvertWideChar(strobjarr[1], "big5"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -322,13 +323,10 @@ class Rindro_Script {
|
|||
local Before = IO.readn('i');
|
||||
local Buf = Rindro_Script.GetBinString(after);
|
||||
if (!Buf) {
|
||||
Buf = "";
|
||||
return "";
|
||||
} else {
|
||||
Buf = "<" + Before + "::" + Buf + "`" + Rindro_Script.GetLoadString(Type, Buf) + "`>";
|
||||
return Rindro_Script.GetLoadString(Type, Buf);
|
||||
}
|
||||
Buf = Buf + "\r\n";
|
||||
out += Buf;
|
||||
break;
|
||||
}
|
||||
case 2: {
|
||||
IO.seek(-4, 'c');
|
||||
|
|
@ -706,7 +704,7 @@ class Rindro_Script {
|
|||
if (i< Length && Length - i >= 5) {
|
||||
local str = Rindro_Script.UnpackData(IO, i, Type);
|
||||
i += 5;
|
||||
DataArr.push(str);
|
||||
if(str != "")DataArr.push(str);
|
||||
} else break;
|
||||
}
|
||||
Func(DataTable, _PVF_Data_(DataArr));
|
||||
|
|
|
|||
Loading…
Reference in New Issue