mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 08:27:44 +01:00
Create dupes file in interpolation step
This commit is contained in:
@@ -159,13 +159,8 @@ namespace Flowframes
|
||||
Logger.Log($"Copied loop frame to {loopFrameTargetPath}.", true);
|
||||
}
|
||||
|
||||
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount); // Always
|
||||
|
||||
if (canceled) return;
|
||||
|
||||
if (!stepByStep)
|
||||
await FrameRename.Rename();
|
||||
|
||||
if (current.alpha)
|
||||
{
|
||||
Program.mainForm.SetStatus("Extracting transparency...");
|
||||
@@ -179,6 +174,8 @@ namespace Flowframes
|
||||
public static async Task RunAi(string outpath, AI ai, bool stepByStep = false)
|
||||
{
|
||||
if (canceled) return;
|
||||
await Dedupe.CreateDupesFile(current.framesFolder, currentInputFrameCount);
|
||||
await FrameRename.Rename();
|
||||
await FrameOrder.CreateFrameOrderFile(current.framesFolder, Config.GetBool("enableLoop"), current.interpFactor);
|
||||
|
||||
Program.mainForm.SetStatus("Downloading models...");
|
||||
|
||||
@@ -80,8 +80,6 @@ namespace Flowframes.Main
|
||||
return;
|
||||
}
|
||||
|
||||
await FrameRename.Rename();
|
||||
|
||||
currentInputFrameCount = await InterpolateUtils.GetInputFrameCountAsync(current.inPath);
|
||||
|
||||
// TODO: Check if this works lol, remove if it does
|
||||
|
||||
@@ -35,10 +35,11 @@ namespace Flowframes.UI
|
||||
List<string> goldPatrons = new List<string>();
|
||||
List<string> silverPatrons = new List<string>();
|
||||
string str = "Gold:\n";
|
||||
string[] lines = csvData.SplitIntoLines();
|
||||
string[] lines = csvData.SplitIntoLines().Select(x => x.Replace(";", ",")).ToArray();
|
||||
|
||||
for (int i = 0; i < lines.Length; i++)
|
||||
{
|
||||
string line = lines[i].Replace(";", ",");
|
||||
string line = lines[i];
|
||||
string[] values = line.Split(',');
|
||||
if (i == 0 || line.Length < 10 || values.Length < 5) continue;
|
||||
string name = values[0].Trim();
|
||||
|
||||
Reference in New Issue
Block a user