From 18a0e73a91e116f61cded74099e3e088e70f9c52 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Wed, 30 Apr 2025 09:23:25 -0400 Subject: [PATCH] Bump to v0.2 - Preemptive support for s3pk extensions --- PackageManger.cs | 6 ++++-- README.md | 6 ++++++ S2PK.csproj | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/PackageManger.cs b/PackageManger.cs index 5ef93f3..f22dfdc 100644 --- a/PackageManger.cs +++ b/PackageManger.cs @@ -6,6 +6,7 @@ public static class PackageManager { const string PackageExtension = ".package"; const string S2pkExtension = ".s2pk"; + const string S3pkExtension = ".s3pk"; /// /// Packs a directory into a package file. @@ -16,6 +17,7 @@ public static class PackageManager { var dir = new DirectoryInfo(source); var file = new FileInfo(output); + var extention = S2pkExtension; if (!dir.Exists) { @@ -56,9 +58,9 @@ public static class PackageManager // If The Sims 3 is not specified, use the default destination if (!ts3) - destination = config.Games.Sims2; + destination = config.Paths.Sims2; else - destination = config.Games.Sims3; + destination = config.Paths.Sims3; } var file = new FileInfo(package); diff --git a/README.md b/README.md index 283c864..8b3568f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ While The Sims 2 runs well on Linux through Wine, especially with Lutris setups, ``s2pk`` aims to fill this gap: a no-nonsense CLI utility for packaging, sharing, and managing mods across all platforms. It’s small, clean, and plays nicely with scripts, backups, and version control. In theory, it would be possible to use it on legacy front ends. +## 🚀 Features + +- First-class CLI support for modders on non-Windows platforms +- Custom default unpacking directory for The Sims 2 & 3 +- Pack ``.packages`` into portable ``.s2pk`` archives + ## 🛣️ Project Roadmap | Phase | Goal | Status | diff --git a/S2PK.csproj b/S2PK.csproj index e970283..4747aeb 100644 --- a/S2PK.csproj +++ b/S2PK.csproj @@ -3,7 +3,7 @@ Exe net8.0 - 0.1.101 + 0.2.101 enable enable Tony Bark