diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ad7fcb5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Disable Git line ending conversion, to prevent packwiz index hashes changing when committing from Windows +* -text diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..610a5ef --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: Build with Packwiz + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install nix + uses: cachix/install-nix-action@v22 + + - name: Build Modrinth Modpack + run: | + nix develop --command packwiz modrinth export + shell: bash + + - name: Build CurseForge Modpack + run: | + nix develop --command packwiz curseforge export + shell: bash + + - uses: actions/upload-artifact@v4 + with: + name: Modrinth Pack + path: | + *.mrpack + + - uses: actions/upload-artifact@v4 + with: + name: CurseForge Pack + path: | + *.zip diff --git a/.github/workflows/zip-modpack.yml b/.github/workflows/zip-modpack.yml index 48c1d84..71deda1 100644 --- a/.github/workflows/zip-modpack.yml +++ b/.github/workflows/zip-modpack.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: modpack path: | diff --git a/.gitignore b/.gitignore index e7ff66c..016afeb 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,6 @@ panorama.dat icon.png usernamecache.json usercache.json + +# Workspace +.idea/ diff --git a/.packwizignore b/.packwizignore new file mode 100644 index 0000000..d6485de --- /dev/null +++ b/.packwizignore @@ -0,0 +1,3 @@ +# Workspace +.github/ +.idea/ diff --git a/index.toml b/index.toml new file mode 100644 index 0000000..875cd61 --- /dev/null +++ b/index.toml @@ -0,0 +1,21 @@ +hash-format = "sha256" + +[[files]] +file = "config/simple-rpc/server-entries.toml" +hash = "8df93f32e1e331a11a5119038d148ee4fd4e2b8bb748242815eb4203398fc2a1" + +[[files]] +file = "config/simple-rpc/simple-rpc.toml" +hash = "dd2d90432f7449abccac3369a92a91553fbe00a6f1ed5e5a77a3da5e87a3f2ca" + +[[files]] +file = "mods/serverpacklocator.jar" +hash = "a1ead3d00a8affce33f12c55f0cb354b988b5c4a34858fb3e7956d13e6a80ebe" + +[[files]] +file = "options.txt" +hash = "2ea7f0ac940c148cf93c362f009fc96ce7eae33914127c10d123b91a24b18dec" + +[[files]] +file = "servermods/serverpacklocator.toml" +hash = "7b12a9835c3ddabf77938bab979c076a657c39f9eefbcbb1d3bc641674c88c5e" diff --git a/options.txt b/options.txt index 44e90fb..b0f209b 100644 --- a/options.txt +++ b/options.txt @@ -37,7 +37,7 @@ simulationDistance:12 entityDistanceScaling:1.0 guiScale:0 particles:0 -maxFps:120 +maxFps:80 graphicsMode:1 ao:true prioritizeChunkUpdates:0 diff --git a/pack.toml b/pack.toml new file mode 100644 index 0000000..4d5c4d8 --- /dev/null +++ b/pack.toml @@ -0,0 +1,13 @@ +name = "Love Tropics 2024" +author = "The Love Tropics Team" +version = "1.0.0" +pack-format = "packwiz:1.1.0" + +[index] +file = "index.toml" +hash-format = "sha256" +hash = "fc612a0e7bd24e1402b190d56d4b434f87d012724ecb0e295ecc1ca4816d29fc" + +[versions] +minecraft = "1.21.1" +neoforge = "21.1.77"