diff --git a/PoE-MxFilterGen/App.config b/PoE-MxFilterGen/App.config
index 88fa402..ecdcf8a 100644
--- a/PoE-MxFilterGen/App.config
+++ b/PoE-MxFilterGen/App.config
@@ -1,6 +1,6 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/PoE-MxFilterGen/PoE-MxFilterGen.csproj b/PoE-MxFilterGen/PoE-MxFilterGen.csproj
index 7a2a700..e77f31d 100644
--- a/PoE-MxFilterGen/PoE-MxFilterGen.csproj
+++ b/PoE-MxFilterGen/PoE-MxFilterGen.csproj
@@ -9,11 +9,12 @@
Exe
PoE_MxFilterGen
mxfiltergen
- v4.5.2
+ v4.7.2
512
true
+
AnyCPU
@@ -54,10 +55,12 @@
+
+
diff --git a/PoE-MxFilterGen/TierGen.cs b/PoE-MxFilterGen/TierGen.cs
new file mode 100644
index 0000000..ec08e09
--- /dev/null
+++ b/PoE-MxFilterGen/TierGen.cs
@@ -0,0 +1,122 @@
+using PoE_MxFilterGen.json;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace PoE_MxFilterGen
+{
+ class TierGen
+ {
+ private static string iB;
+
+ public static void Gen(string section, string api, string league, int minValue)
+ {
+ string giturl = settings.GetGIT();
+ var js = web.ReadString($@"{giturl}/PoE-MxFilter-Structure/master/Tiers.txt");
+
+ if (iB == null) { iB = @""""""; }
+ string fn = @"gen\" + section + ".filter";
+ File.AppendAllText(fn, string.Format("# Section: {0}", section) + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" HasExplicitMod ""Veiled""" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 112 255 112 255" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " MinimapIcon 1 Green Star" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " PlayEffect Green" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " FracturedItem True" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 112 255 112 255" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " MinimapIcon 1 Green Star" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " PlayEffect Green" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SynthesisedItem True" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 112 255 112 255" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " MinimapIcon 1 Green Star" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " PlayEffect Green" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Identified True" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 0 0 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 35" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Corrupted True" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 210 0 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 35" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel >= 75" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel <= 100" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 184 218 242" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel >= 60" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel <= 74" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 222 118 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+
+ File.AppendAllText(fn, "" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, "Show" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, $" BaseType {js}" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel >= 60" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " ItemLevel <= 74" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " Rarity = Rare" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetTextColor 255 215 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBackgroundColor 54 54 54" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetBorderColor 222 118 0" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, " SetFontSize 40" + Environment.NewLine, Encoding.UTF8);
+ File.AppendAllText(fn, @" CustomAlertSound ""mx_tier.mp3""" + Environment.NewLine, Encoding.UTF8);
+ }
+
+ }
+}
diff --git a/PoE-MxFilterGen/generator/fossil.cs b/PoE-MxFilterGen/generator/fossil.cs
new file mode 100644
index 0000000..584c33e
--- /dev/null
+++ b/PoE-MxFilterGen/generator/fossil.cs
@@ -0,0 +1,122 @@
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Text;
+
+namespace FOSSIL__GEN_
+{
+ public class Sparkline
+ {
+ public List data { get; set; }
+ public double totalChange { get; set; }
+
+ }
+
+ public class LowConfidenceSparkline
+ {
+ public List data { get; set; }
+ public double totalChange { get; set; }
+
+ }
+
+ public class ExplicitModifier
+ {
+ public string text { get; set; }
+ public bool optional { get; set; }
+
+ }
+
+ public class Line
+ {
+ public int id { get; set; }
+ public string name { get; set; }
+ public string icon { get; set; }
+ public int mapTier { get; set; }
+ public int levelRequired { get; set; }
+ public object baseType { get; set; }
+ public int stackSize { get; set; }
+ public object variant { get; set; }
+ public object prophecyText { get; set; }
+ public object artFilename { get; set; }
+ public int links { get; set; }
+ public int itemClass { get; set; }
+ public Sparkline sparkline { get; set; }
+ public LowConfidenceSparkline lowConfidenceSparkline { get; set; }
+ public List