Initial commit
This commit is contained in:
BIN
build/assets/icon.png
Normal file
BIN
build/assets/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
15
build/auto-update
Executable file
15
build/auto-update
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir="$(dirname "$(readlink -f "$0")")"
|
||||
root="${dir}/../"
|
||||
root="$(realpath "$root")"
|
||||
|
||||
source "${dir}/pack.properties"
|
||||
|
||||
cd "${dir}/legacy"
|
||||
zip -rv "${root}/dist/${TITLE}_Auto-Update-Legacy.zip"
|
||||
cd -
|
||||
cd "${dir}/unsup" || exit
|
||||
zip -rv "${root}/dist/${TITLE}_Auto-Update.zip" .
|
||||
cd - || exit
|
||||
printf %s\\n "Auto update distributions created!"
|
||||
BIN
build/legacy/.minecraft/packwiz-installer-bootstrap.jar
Normal file
BIN
build/legacy/.minecraft/packwiz-installer-bootstrap.jar
Normal file
Binary file not shown.
BIN
build/legacy/.minecraft/packwiz-installer.jar
Normal file
BIN
build/legacy/.minecraft/packwiz-installer.jar
Normal file
Binary file not shown.
0
build/legacy/.packignore
Normal file
0
build/legacy/.packignore
Normal file
BIN
build/legacy/icon.png
Normal file
BIN
build/legacy/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
9
build/legacy/instance.cfg
Normal file
9
build/legacy/instance.cfg
Normal file
@@ -0,0 +1,9 @@
|
||||
InstanceType=OneSix
|
||||
OverrideMemory=true
|
||||
MaxMemAlloc=5120
|
||||
MinMemAlloc=512
|
||||
OverrideCommands=true
|
||||
PreLaunchCommand="$INST_JAVA" -jar packwiz-installer-bootstrap.jar https://dakedres.sys42.net/modpacks/raspberry-flavoured-de/pack/pack.toml
|
||||
name=Raspberry Flavoured (DE)
|
||||
iconKey=icon
|
||||
notes=dakedres wuz here ;3
|
||||
38
build/legacy/mmc-pack.json
Normal file
38
build/legacy/mmc-pack.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"cachedName": "LWJGL 3",
|
||||
"cachedVersion": "3.3.1",
|
||||
"cachedVolatile": true,
|
||||
"dependencyOnly": true,
|
||||
"uid": "org.lwjgl3",
|
||||
"version": "3.3.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Minecraft",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"suggests": "3.3.1",
|
||||
"uid": "org.lwjgl3"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "1.19.2",
|
||||
"important": true,
|
||||
"uid": "net.minecraft",
|
||||
"version": "1.19.2"
|
||||
},
|
||||
{
|
||||
"cachedName": "Forge",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"equals": "1.19.2",
|
||||
"uid": "net.minecraft"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "43.3.7",
|
||||
"uid": "net.minecraftforge",
|
||||
"version": "43.3.7"
|
||||
}
|
||||
],
|
||||
"formatVersion": 1
|
||||
}
|
||||
1
build/modrinth/modrinth.index.json
Normal file
1
build/modrinth/modrinth.index.json
Normal file
@@ -0,0 +1 @@
|
||||
{"dependencies":{"forge":"47.4.10","minecraft":"1.20.1"},"files":[],"formatVersion":1,"game":"minecraft","name":"pwb-test","versionId":"1.0.0"}
|
||||
3
build/modrinth/overrides/unsup.ini
Normal file
3
build/modrinth/overrides/unsup.ini
Normal file
@@ -0,0 +1,3 @@
|
||||
version=1
|
||||
source_format=packwiz
|
||||
source=http://127.0.0.1:8000/pack.toml
|
||||
BIN
build/modrinth/pwb-test.mrpack
Normal file
BIN
build/modrinth/pwb-test.mrpack
Normal file
Binary file not shown.
1
build/pack.properties
Normal file
1
build/pack.properties
Normal file
@@ -0,0 +1 @@
|
||||
TITLE="Pack-With-Brooke"
|
||||
11
build/packsquash.toml
Normal file
11
build/packsquash.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
allow_mods = ['OptiFine']
|
||||
|
||||
# Force include any weird mod asset structures
|
||||
['**/*.png']
|
||||
force_include=true
|
||||
|
||||
['**/*.json']
|
||||
force_include=true
|
||||
|
||||
['**/*.txt']
|
||||
force_include=true
|
||||
73
build/packwiz
Executable file
73
build/packwiz
Executable file
@@ -0,0 +1,73 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir="$(dirname "$(readlink -f "$0")")"
|
||||
root="${dir}/../"
|
||||
root="$(realpath "$root")"
|
||||
|
||||
source "${dir}/pack.properties"
|
||||
|
||||
create_list() {
|
||||
find "$1" -mindepth 1 -maxdepth 1 -type d | while read -r path
|
||||
do
|
||||
realpath -s --relative-to="${root}/pack" "$path"
|
||||
done
|
||||
}
|
||||
|
||||
create_config() {
|
||||
printf '
|
||||
pack_directory = "%s"
|
||||
output_file_path = "%s.zip"
|
||||
' "${root}/pack/$1" "${root}/dist/pack/$1"
|
||||
cat "${dir}/packsquash.toml"
|
||||
}
|
||||
|
||||
package_resources() {
|
||||
printf %s\\n "$resource_list" | while read -r line
|
||||
do
|
||||
create_config "$line" | packsquash
|
||||
done
|
||||
}
|
||||
|
||||
package_data() {
|
||||
printf %s "$data_list" | while read -r line
|
||||
do
|
||||
zip -r "${root}/dist/pack/${line}.zip" ${root}/pack/${line}/*
|
||||
done
|
||||
}
|
||||
|
||||
setup_index() {
|
||||
packwiz refresh
|
||||
awk -i inplace -v list="$list" -F '"' '
|
||||
BEGIN {
|
||||
split(list, parts, "\n")
|
||||
for (i in parts) paths[parts[i] ".zip"]=1
|
||||
}
|
||||
($1 ~ /^file/) && ($2 in paths) {
|
||||
print "side = \"client\""
|
||||
}
|
||||
{ print }
|
||||
' index.toml
|
||||
}
|
||||
|
||||
resource_list="$(create_list "${root}/pack/config/paxi/resourcepacks")"
|
||||
|
||||
# echo "$resource_list"
|
||||
|
||||
data_list="$(create_list "${root}/pack/config/paxi/datapacks")"
|
||||
|
||||
mkdir -p "${root}/dist"
|
||||
|
||||
rsync -av --delete --progress "${root}/pack" "${root}/dist" \
|
||||
$(printf " --exclude %s" $resource_list)
|
||||
# # $(printf " --exclude %s" $data_list)
|
||||
|
||||
package_resources
|
||||
# package_dat
|
||||
cd "${root}/dist/pack" || exit
|
||||
setup_index
|
||||
|
||||
packwiz cf export -o "${root}/dist/${TITLE}_Curseforge.zip"
|
||||
packwiz cf export -o "${root}/dist/${TITLE}_Server.zip" -s server
|
||||
cd - || exit
|
||||
|
||||
echo "Done!"
|
||||
6
build/run
Executable file
6
build/run
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
|
||||
|
||||
"$dir/auto-update"
|
||||
"$dir/packwiz"
|
||||
33
build/unsup/instance.cfg
Normal file
33
build/unsup/instance.cfg
Normal file
@@ -0,0 +1,33 @@
|
||||
[General]
|
||||
ConfigVersion=1.3
|
||||
|
||||
ExportName=Pack With Brooke
|
||||
name=Pack With Brooke
|
||||
notes=dakedres wuz here ;3
|
||||
iconKey=pwb
|
||||
shortcuts=
|
||||
|
||||
Env={}
|
||||
ExportOptionalFiles=true
|
||||
ExportSummary=
|
||||
ExportVersion=autoupdate
|
||||
GlobalDataPacksEnabled=false
|
||||
GlobalDataPacksPath=
|
||||
InstanceType=OneSix
|
||||
ManagedPack=false
|
||||
|
||||
AutoCloseConsole=false
|
||||
AutomaticJava=true
|
||||
IgnoreJavaCompatibility=false
|
||||
InstanceAccountId=
|
||||
|
||||
JoinServerOnLaunch=false
|
||||
JoinServerOnLaunchAddress=
|
||||
JoinWorldOnLaunch=
|
||||
LaunchMaximized=false
|
||||
LogPrePostOutput=true
|
||||
|
||||
JvmArgs=
|
||||
OverrideMemory=true
|
||||
MaxMemAlloc=5120
|
||||
MinMemAlloc=512
|
||||
6
build/unsup/minecraft/unsup.ini
Normal file
6
build/unsup/minecraft/unsup.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
version=1
|
||||
|
||||
source_format=packwiz
|
||||
source=http://127.0.0.1:8000/pack.toml
|
||||
|
||||
offer_change_flavors=true
|
||||
43
build/unsup/mmc-pack.json
Normal file
43
build/unsup/mmc-pack.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"cachedName": "LWJGL 3",
|
||||
"cachedVersion": "3.3.1",
|
||||
"cachedVolatile": true,
|
||||
"dependencyOnly": true,
|
||||
"uid": "org.lwjgl3",
|
||||
"version": "3.3.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Minecraft",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"suggests": "3.3.1",
|
||||
"uid": "org.lwjgl3"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "1.20.1",
|
||||
"important": true,
|
||||
"uid": "net.minecraft",
|
||||
"version": "1.20.1"
|
||||
},
|
||||
{
|
||||
"cachedName": "Forge",
|
||||
"cachedRequires": [
|
||||
{
|
||||
"equals": "1.20.1",
|
||||
"uid": "net.minecraft"
|
||||
}
|
||||
],
|
||||
"cachedVersion": "47.4.10",
|
||||
"uid": "net.minecraftforge",
|
||||
"version": "47.4.10"
|
||||
},
|
||||
{
|
||||
"cachedName": "unsup",
|
||||
"cachedVersion": "1.2.0-pre4",
|
||||
"uid": "com.unascribed.unsup"
|
||||
}
|
||||
],
|
||||
"formatVersion": 1
|
||||
}
|
||||
12
build/unsup/patches/com.unascribed.unsup.json
Normal file
12
build/unsup/patches/com.unascribed.unsup.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"formatVersion": 1,
|
||||
"name": "unsup",
|
||||
"uid": "com.unascribed.unsup",
|
||||
"version": "1.2.0-pre4",
|
||||
"+agents": [
|
||||
{
|
||||
"name": "com.unascribed:unsup:1.2.0-pre4",
|
||||
"url": "https://repo.sleeping.town"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
build/unsup/pwb.png
Normal file
BIN
build/unsup/pwb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
Reference in New Issue
Block a user