diff --git a/dist/GameData/SatisfactoryIcons/Resource/Parts/AIExpansion/_AIExpension.png b/dist/GameData/SatisfactoryIcons/Resource/Parts/AIExpansion/AIExpension.png similarity index 100% rename from dist/GameData/SatisfactoryIcons/Resource/Parts/AIExpansion/_AIExpension.png rename to dist/GameData/SatisfactoryIcons/Resource/Parts/AIExpansion/AIExpension.png diff --git a/src/Tools/SatisfactoryIconExporter/Exporter.ts b/src/Tools/SatisfactoryIconExporter/Exporter.ts index a66524f..49f840c 100644 --- a/src/Tools/SatisfactoryIconExporter/Exporter.ts +++ b/src/Tools/SatisfactoryIconExporter/Exporter.ts @@ -133,7 +133,10 @@ function getResultingPath(originalPath: string): string | undefined let { path, name } = match.groups!; - return `${path.replace("UI/", "")}${name}.png`; + + path = path.replace("_UI/", ""); + path = path.replace("UI/", ""); + return `${path}${name}.png`; } return undefined; diff --git a/src/Tools/SatisfactoryRecipeExporter/Exporter.ts b/src/Tools/SatisfactoryRecipeExporter/Exporter.ts index c209602..7757819 100644 --- a/src/Tools/SatisfactoryRecipeExporter/Exporter.ts +++ b/src/Tools/SatisfactoryRecipeExporter/Exporter.ts @@ -146,7 +146,8 @@ let descriptorsMap = new Map(satisfactory + `Id: ${docsDescriptor.ClassName}`); } - iconPath = match.groups!.path.replace("UI/", ""); + iconPath = match.groups!.path.replace("_UI/", ""); + iconPath = iconPath.replace("UI/", ""); iconName = match.groups!.name; }