restructure pack files

This commit is contained in:
Merith TK 2022-03-01 18:50:49 -08:00
parent df56136103
commit b2ce4a27a4
60 changed files with 28 additions and 11 deletions

1
.gitignore vendored
View file

@ -22,7 +22,6 @@
.minecraft/.*
.minecraft/essential
.minecraft/figura
.minecraft/mods/
.minecraft/ModTranslations
.minecraft/not-enough-crashes
.minecraft/patched_shaders

View file

@ -220,6 +220,11 @@ file = "mods/plasmo-voice.toml"
hash = "57a9ada9e8ce3c8e7ad5329bf9fb23e9e9b67b8218ded7637f6858a6a6b98764"
metafile = true
[[files]]
file = "mods/replaymod.toml"
hash = "3e34335c8ef1e7cdd67398611b5adeb3e5e6dbe01b2dc0a24c20514d12692f79"
metafile = true
[[files]]
file = "mods/roughly-enough-items.toml"
hash = "a5ac3d55f14e556a76eebad326f3cd531b86318df09bdd039ca6d6f567c83ae0"

View file

@ -0,0 +1,8 @@
name = "Replay Mod"
filename = "replaymod-1.18.1-2.6.3.jar"
side = "client"
[download]
url = "https://minio.replaymod.com/replaymod/replaymod-1.18.1-2.6.3.jar"
hash-format = "sha1"
hash = "a68fed1d79349749d92792bd66769957ad9471f7"

View file

@ -6,7 +6,7 @@ pack-format = "packwiz:1.0.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "dac39b129aa696bf2610191bbaed4a10a11afb23b55b427663b02210334f8519"
hash = "3e4de9e26ce9c5afff2e126ecc6bbb11244c2dd44683534edf08f7a3e0f550d1"
[versions]
fabric = "0.13.3"

View file

@ -17,23 +17,28 @@ default:
curseforge:
@echo "Making Curseforge pack"
@-mkdir ../vanillia-curseforge
packwiz curseforge export --mods-folder packwiz-data/mods/ --pack-file packwiz-data/pack.toml
mv *.zip ../vanillia-curseforge/
packwiz curseforge export --pack-file .minecraft/pack.toml -o ../vanillia-curseforge.zip
7z d ../vanillia-curseforge.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
modrinth:
@echo "Making Modrinth pack"
packwiz modrinth export --pack-file .minecraft/pack.toml -o ../vanillia-modrinth.zip
7z d ../vanillia-modrinth.zip overrides/packwiz-installer-bootstrap.jar overrides/pack.toml overrides/index.toml
multimc:
@echo "Making MultiMC pack"
7z d ../vanillia-mulitmc.zip ./* -r
7z d ../vanillia-mulitmc.zip ./.* -r
7z a ../vanillia-mulitmc.zip ./* -r
7z a ../vanillia-mulitmc.zip ./.minecraft -r
7z d ../vanillia-multimc.zip ./* -r
7z d ../vanillia-multimc.zip ./.minecraft -r
7z a ../vanillia-multimc.zip ./* -r
7z a ../vanillia-multimc.zip ./.minecraft -r
7z d ../vanillia-multimc.zip ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
technic:
@echo "Making Technic pack"
-rm -rf .technic
-cp -r .minecraft .technic
mv .technic/vanillia.icon.png .technic/icon.png
cd .technic && java -jar packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/packwiz-data/pack.toml && cd ..
cd .technic && java -jar packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/.minecraft/pack.toml && cd ..
-rm -rf .technic/packwiz*
7z d ../vanillia-technic.zip ./* -r
7z a ../vanillia-technic.zip ./.technic/* -r
@ -42,4 +47,4 @@ clean:
-rm -rf .technic
-git gc --aggressive --prune
all: curseforge multimc technic clean
all: curseforge modrinth multimc technic clean