Compare commits

...
2 Commits
Author SHA1 Message Date
korenkonder 84fd22b548 Release v0.4.9.11
A3DA, Light
2021-03-11 08:59:44 +03:00
korenkonder 798b055756 Update DataBank.cs 2021-01-03 08:42:54 +03:00
6 changed files with 13 additions and 18 deletions
+2 -2
View File
@@ -6,12 +6,12 @@
<Configuration></Configuration>
<Copyright>korenkonder (C) 2019-2021</Copyright>
<Description>A base library</Description>
<FileVersion>0.4.9.10</FileVersion>
<FileVersion>0.4.9.11</FileVersion>
<PackageId>KKdBaseLib</PackageId>
<Product>KKdBaseLib</Product>
<TargetFramework>net461</TargetFramework>
<Title>KKdBaseLib</Title>
<Version>0.4.9.10</Version>
<Version>0.4.9.11</Version>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
+5 -10
View File
@@ -39,8 +39,9 @@ namespace KKdMainLib
else if (file.Contains("psrData")) Success = true;
else if (file.Contains("PvList") && (array.Length % 7 == 0 || array.Length % 6 == 0))
{
if (array[2] != "0" && array[3] != "1")
if (array[2] != "0" && array[2] != "1")
{
pvListPDA = true;
pvList = new PvList[array.Length / 6];
for (i = 0; i < pvList.Length; i++) pvList[i].SetValue(array, i, true);
}
@@ -123,15 +124,9 @@ namespace KKdMainLib
for (i = 0; i < this.pvList.Length; i++)
this.pvList[i].SetValue(pvList[i], compact);
}
Success = true;
pvList.Dispose();
}
else if (file.Contains("PvListPDA"))
{
pvListPDA = true;
MsgPack pvList;
if ((pvList = msgPack["PvListPDA", true]).NotNull)
else if ((pvList = msgPack["PvListPDA", true]).NotNull)
{
pvListPDA = true;
this.pvList = new PvList[pvList.Array.Length];
for (i = 0; i < this.pvList.Length; i++)
this.pvList[i].SetValue(pvList[i], compact);
@@ -349,7 +344,7 @@ namespace KKdMainLib
return msgPack;
}
public string ToString(bool pda) => pda
public string ToString(bool pda) => !pda
? UrlEncode($"{PV_ID},{Version},{Edition},{AdvDemoStart},{AdvDemoEnd},{StartShow},{EndShow}")
: UrlEncode($"{PV_ID},{Version},{AdvDemoStart},{AdvDemoEnd},{StartShow},{EndShow}");
}
+1 -1
View File
@@ -797,7 +797,7 @@ namespace KKdMainLib.F2
"SpecularB,SpecularA,PosX,PosY,PosZ,ToneCurveBegin,ToneCurveEnd,ToneCurveBlendRate," +
(file.EndsWith("_chara") ? "コメント" : "ID") + "\n");
for (i0 = 0; i0 < LITs.E[i].C0; i0++)
s.W($"{LITs.E[i].E1[i0]},{i}\n");
s.W($"{LITs.E[i].E0[i0]},{i}\n");
File.WriteAllBytes($"{file}_light.txt", s.ToArray(true));
}
+1 -1
View File
@@ -218,7 +218,7 @@ namespace KKdMainLib
for (int i = 0; i < Files.Count; i++)
{
string ext = Path.GetExtension(Files[i].Name).ToLower();
if (ext == ".a3da" || ext == ".diva" || ext == ".drs" || ext == ".dve" || ext == ".vag")
if (ext == ".a3da" || ext == ".diva" || ext == ".farc" || ext == ".vag")
{ Signature = Farc.FArc; break; }
}
+2 -2
View File
@@ -6,12 +6,12 @@
<Configuration></Configuration>
<Copyright>korenkonder (C) 2018-2021</Copyright>
<Description>A simple library for working with Project Diva AC/DT/F/AFT/F2/X/FT/M39 files</Description>
<FileVersion>0.4.9.10</FileVersion>
<FileVersion>0.4.9.11</FileVersion>
<PackageId>KKdMainLib</PackageId>
<Product>KKdMainLib</Product>
<TargetFramework>net461</TargetFramework>
<Title>KKdMainLib</Title>
<Version>0.4.9.10</Version>
<Version>0.4.9.11</Version>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
+2 -2
View File
@@ -11,5 +11,5 @@ using System.Runtime.InteropServices;
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("7B5D5A3A-A6F8-4813-C97D-ACFC98F7397E")]
[assembly: AssemblyVersion("0.4.9.10")]
[assembly: AssemblyFileVersion("0.4.9.10")]
[assembly: AssemblyVersion("0.4.9.11")]
[assembly: AssemblyFileVersion("0.4.9.11")]