diff --git a/Legacy4J/index.json b/Legacy4J/index.json index 3f2b7ab..5daa7f7 100644 --- a/Legacy4J/index.json +++ b/Legacy4J/index.json @@ -12,7 +12,7 @@ "downloadURI": "https://cdn.modrinth.com/data/PbrKfOSH/versions/LaRBCmRN/faithful-legacy.zip" } ], - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/faithful_legacy_preview.png?checksum=c0c03cebb8a0010630788efd1c39ccc3", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/faithful_legacy_preview.png?checksum=1087670d429dfa4a70c477e4c351bb9d", "tags": ["auto_apply_resource_pack"] }, { @@ -20,7 +20,7 @@ "name": "Old UI for Legacy4J", "description": "Originally from Rekindled Legacy, this pack brings back much of the user interface from older versions of the Legacy Console Edition for the Legacy4J mod, taking advantage of FactoryAPI to help recreate these screens.", "downloadURI": "https://cdn.modrinth.com/data/LIHfShYl/versions/XBeg7tkb/Old%20UI%20for%20Legacy4J%20%28RP%20Compat%29.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/old_ui_preview_image.png?checksum=12537dc00c56cbf9b29e08f9e0802889", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/old_ui_preview_image.png?checksum=e1945db476e951bfe4093df120ceea05", "tags": ["auto_apply_resource_pack"] }, { @@ -28,7 +28,7 @@ "name": "Ore4J", "description": "Brings the style of Minecraft: Bedrock Edition's Ore UI into Legacy4J.", "downloadURI": "https://cdn.modrinth.com/data/pEZP92gi/versions/cbeycLW6/ore4j-O4J-3.3.0.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/ore4j_preview.png?checksum=cb6d44f47d2f4f2940f3ce80221eb8bb", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/ore4j_preview.png?checksum=88ef869f7c7c6d1f19d6c5212c2c1d39", "tags": ["auto_apply_resource_pack"] }, { @@ -36,7 +36,7 @@ "name": "Tutorial World Add-on", "description": "This is a small add-on that was originally a part of Re-Console Resources, which was now seperated into this resource pack to allow people to use the Tutorial Worlds without the Resources pack being required.", "downloadURI": "https://cdn.modrinth.com/data/If3YYTYV/versions/UwXUb7sq/TutorialWorldAddon.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png?checksum=33831226611acd0789bc6b04d2d6634f", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png?checksum=049782e1e127c3714ac12cc877670d5d", "tags": ["auto_apply_resource_pack"] }, { @@ -60,7 +60,7 @@ "name": "TU5 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU5 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/YlAndT79/tu5.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu5_preview.png?checksum=21c86da769c1aa846b53327e7ad28a97", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu5_preview.png?checksum=1ff1ee1d7a437d1d7fa4a254192bed37", "tags": ["auto_apply_resource_pack"] }, { @@ -68,7 +68,7 @@ "name": "TU7 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU7 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/LFPMQ4Dq/tu7.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu7_preview.png?checksum=a5bc0ccbc15099e722776d6d2277c00d", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu7_preview.png?checksum=04d61100c1d74b5c8652ee06891ec595", "tags": ["auto_apply_resource_pack"] }, { @@ -76,7 +76,7 @@ "name": "TU12 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU12 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/1BF0T8Dn/tu12.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu12_preview.png?checksum=8736bb2c9315adc4168d92428dea9d94", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu12_preview.png?checksum=b8866b2ab76c89bc49faf59bbbbb2aa7", "tags": ["auto_apply_resource_pack"] }, { @@ -84,7 +84,7 @@ "name": "TU20 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU20 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/ZC58Zj8f/tu20.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu20_preview.png?checksum=63c8f8d1a907d48683dbd1457cc66618", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu20_preview.png?checksum=8e50b43199aeac5e7ad91a0e988c92a1", "tags": ["auto_apply_resource_pack"] }, { @@ -92,7 +92,7 @@ "name": "TU31 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU31 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/TRYIy4nZ/tu31.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu31_preview.png?checksum=2144318484aa2f69705865fef3d17d14", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu31_preview.png?checksum=89c5e0f6b51fcc66c915db5066b74275", "tags": ["auto_apply_resource_pack"] }, { @@ -100,7 +100,7 @@ "name": "TU46 Panorama", "description": "LCE Panorama Collection add-on for Legacy4J, adding the TU46 panorama from Legacy Console Edition.", "downloadURI": "https://cdn.modrinth.com/data/gHHngSJG/versions/CG6yqXOJ/tu46.zip", - "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu46_preview.png?checksum=c40e7320950e899090b9e6aa26f1ca1e", + "imageUrl": "https://raw.githubusercontent.com/creeper2eletricboogaloo/L4JDownloadableContent/main/Legacy4J/preview_images/legacy_panorama_tu46_preview.png?checksum=d3e913b9da9d29d79eb0bb74f60ff126", "tags": ["auto_apply_resource_pack"] }, { diff --git a/Legacy4J/preview_images/faithful_legacy_preview.png b/Legacy4J/preview_images/faithful_legacy_preview.png index 1ece582..6cb7c21 100644 Binary files a/Legacy4J/preview_images/faithful_legacy_preview.png and b/Legacy4J/preview_images/faithful_legacy_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu12_preview.png b/Legacy4J/preview_images/legacy_panorama_tu12_preview.png index 45493ed..2248e23 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu12_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu12_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu20_preview.png b/Legacy4J/preview_images/legacy_panorama_tu20_preview.png index b37a095..ddc9b1e 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu20_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu20_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu31_preview.png b/Legacy4J/preview_images/legacy_panorama_tu31_preview.png index 521932c..10059d3 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu31_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu31_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu46_preview.png b/Legacy4J/preview_images/legacy_panorama_tu46_preview.png index 16f2751..5a67200 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu46_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu46_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu5_preview.png b/Legacy4J/preview_images/legacy_panorama_tu5_preview.png index c68d697..c7c67b5 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu5_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu5_preview.png differ diff --git a/Legacy4J/preview_images/legacy_panorama_tu7_preview.png b/Legacy4J/preview_images/legacy_panorama_tu7_preview.png index 85cfdd5..404ef57 100644 Binary files a/Legacy4J/preview_images/legacy_panorama_tu7_preview.png and b/Legacy4J/preview_images/legacy_panorama_tu7_preview.png differ diff --git a/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png b/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png index 74b0813..e47202e 100644 Binary files a/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png and b/Legacy4J/preview_images/legacy_tutorial_worlds_preview.png differ diff --git a/Legacy4J/preview_images/old_ui_preview_image.png b/Legacy4J/preview_images/old_ui_preview_image.png index 6b1e1c7..d7b1c72 100644 Binary files a/Legacy4J/preview_images/old_ui_preview_image.png and b/Legacy4J/preview_images/old_ui_preview_image.png differ diff --git a/Legacy4J/preview_images/ore4j_preview.png b/Legacy4J/preview_images/ore4j_preview.png index 009ac1c..11bdd68 100644 Binary files a/Legacy4J/preview_images/ore4j_preview.png and b/Legacy4J/preview_images/ore4j_preview.png differ diff --git a/resources/store icons/legacy4j_clean/faithful_legacy_clean.png b/resources/store icons/legacy4j_clean/faithful_legacy_clean.png new file mode 100644 index 0000000..0ac7af1 Binary files /dev/null and b/resources/store icons/legacy4j_clean/faithful_legacy_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu12_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu12_clean.png new file mode 100644 index 0000000..5d90284 Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu12_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu20_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu20_clean.png new file mode 100644 index 0000000..47825c7 Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu20_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu31_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu31_clean.png new file mode 100644 index 0000000..cf47095 Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu31_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu46_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu46_clean.png new file mode 100644 index 0000000..6961bf1 Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu46_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu5_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu5_clean.png new file mode 100644 index 0000000..388ec3b Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu5_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_panorama_tu7_clean.png b/resources/store icons/legacy4j_clean/legacy_panorama_tu7_clean.png new file mode 100644 index 0000000..0e43e9e Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_panorama_tu7_clean.png differ diff --git a/resources/store icons/legacy4j_clean/legacy_tutorial_worlds_clean.png b/resources/store icons/legacy4j_clean/legacy_tutorial_worlds_clean.png new file mode 100644 index 0000000..c57797a Binary files /dev/null and b/resources/store icons/legacy4j_clean/legacy_tutorial_worlds_clean.png differ diff --git a/resources/store icons/legacy4j_clean/old_ui_clean.png b/resources/store icons/legacy4j_clean/old_ui_clean.png new file mode 100644 index 0000000..9f893d6 Binary files /dev/null and b/resources/store icons/legacy4j_clean/old_ui_clean.png differ diff --git a/resources/store icons/legacy4j_clean/ore4j_clean.png b/resources/store icons/legacy4j_clean/ore4j_clean.png new file mode 100644 index 0000000..9e5d14d Binary files /dev/null and b/resources/store icons/legacy4j_clean/ore4j_clean.png differ diff --git a/scripts/regenerate_generic_header_previews.py b/scripts/regenerate_generic_header_previews.py index d60d3da..65ee0f6 100644 --- a/scripts/regenerate_generic_header_previews.py +++ b/scripts/regenerate_generic_header_previews.py @@ -166,6 +166,32 @@ def regenerate_legacy4j_specials(root: Path) -> list[tuple[Path, Path]]: return written +def regenerate_legacy4j_generic(root: Path, logo: Image.Image) -> list[tuple[Path, Path]]: + clean_dir = root / "resources" / "store icons" / "legacy4j_clean" + preview_dir = root / "Legacy4J" / "preview_images" + items = [ + ("faithful_legacy_clean.png", "faithful_legacy_preview.png"), + ("old_ui_clean.png", "old_ui_preview_image.png"), + ("ore4j_clean.png", "ore4j_preview.png"), + ("legacy_tutorial_worlds_clean.png", "legacy_tutorial_worlds_preview.png"), + ("legacy_panorama_tu5_clean.png", "legacy_panorama_tu5_preview.png"), + ("legacy_panorama_tu7_clean.png", "legacy_panorama_tu7_preview.png"), + ("legacy_panorama_tu12_clean.png", "legacy_panorama_tu12_preview.png"), + ("legacy_panorama_tu20_clean.png", "legacy_panorama_tu20_preview.png"), + ("legacy_panorama_tu31_clean.png", "legacy_panorama_tu31_preview.png"), + ("legacy_panorama_tu46_clean.png", "legacy_panorama_tu46_preview.png"), + ] + written: list[tuple[Path, Path]] = [] + for source_name, output_name in items: + source_path = clean_dir / source_name + output_path = preview_dir / output_name + if not source_path.exists(): + raise FileNotFoundError(f"Missing clean Legacy4J base: {source_path}") + save_preview(source_path, output_path, logo) + written.append((source_path, output_path)) + return written + + def regenerate_starter_and_hide_seek(root: Path, logo: Image.Image) -> list[tuple[Path, Path]]: source_path = Path.home() / "Downloads" / "pack.png" if not source_path.exists(): @@ -216,6 +242,7 @@ def main() -> int: "doctor-who", "from-the-shadows", "legacy4j-specials", + "legacy4j-generic", "starterpacks", "bundles", ], @@ -225,7 +252,7 @@ def main() -> int: root = repo_root() logo = Image.open(root / "resources" / "preview logos" / "header.png").convert("RGBA") - categories = set(args.category or ["skinpacks", "texture-packs", "doctor-who", "from-the-shadows", "legacy4j-specials", "starterpacks", "bundles"]) + categories = set(args.category or ["skinpacks", "texture-packs", "doctor-who", "from-the-shadows", "legacy4j-specials", "legacy4j-generic", "starterpacks", "bundles"]) jobs = [] if "skinpacks" in categories: jobs.extend(regenerate_skinpacks(root, logo)) @@ -237,6 +264,8 @@ def main() -> int: jobs.extend(regenerate_from_the_shadows(root)) if "legacy4j-specials" in categories: jobs.extend(regenerate_legacy4j_specials(root)) + if "legacy4j-generic" in categories: + jobs.extend(regenerate_legacy4j_generic(root, logo)) if "starterpacks" in categories: jobs.extend(regenerate_starter_and_hide_seek(root, logo)) if "bundles" in categories: