forked from mirrors/fabulously-optimized
1.12.0
This commit is contained in:
parent
2296c213f2
commit
d209514713
|
@ -432,6 +432,12 @@ Other
|
|||
|
||||
## 1.16.5
|
||||
|
||||
### 1.12.0 (2022-01-19)
|
||||
|
||||
Individual shader settings can now be configured!
|
||||
|
||||
* Updated Architectury API, Cloth API, Iris Shaders, Not Enough Crashes
|
||||
|
||||
### 1.11.2 (2022-01-07)
|
||||
|
||||
* Iris got a performance update, the game should run better regardless of whether you have shaders enabled.
|
||||
|
|
|
@ -3,14 +3,13 @@ from zipfile import ZipFile
|
|||
|
||||
user_path = os.path.expanduser("~")
|
||||
git_path = user_path + "/Documents/GitHub/fabulously-optimized/"
|
||||
version_no = "1.18.1"
|
||||
packwiz_path = git_path + "Packwiz/" + version_no + "/"
|
||||
pw_exe_path = "..\packwiz.exe"
|
||||
minecraft_version = "1.18.1"
|
||||
packwiz_path = git_path + "Packwiz/" + minecraft_version + "/"
|
||||
packwiz_exe_path = "..\packwiz.exe"
|
||||
mods_path = packwiz_path + "mods"
|
||||
|
||||
mod_files = os.listdir(mods_path)
|
||||
for item in mod_files:
|
||||
os.remove( os.path.join(mods_path, item))
|
||||
refresh_only = False
|
||||
is_legacy = False
|
||||
|
||||
def extract_file(from_zip, from_file, to_path, from_desc, to_desc):
|
||||
with ZipFile(from_zip, 'r') as zip:
|
||||
|
@ -20,22 +19,30 @@ def extract_file(from_zip, from_file, to_path, from_desc, to_desc):
|
|||
else:
|
||||
print("Skipped " + from_desc + " copying to " + to_desc + ", didn't exist")
|
||||
|
||||
mod_files = os.listdir(mods_path)
|
||||
if refresh_only == False:
|
||||
for item in mod_files:
|
||||
os.remove( os.path.join(mods_path, item))
|
||||
|
||||
os.chdir(packwiz_path)
|
||||
cf_zip_path = input("Please drag the Curseforge zip file here: ")[3:][:-1] # Because dragging the file adds "& " and double quotes
|
||||
os.system(pw_exe_path + " curseforge import \"" + cf_zip_path + "\"")
|
||||
#os.system(pw_exe_path + " remove hydrogen")
|
||||
#os.system(pw_exe_path + " mr install hydrogen")
|
||||
os.system(pw_exe_path + " refresh")
|
||||
if refresh_only == False:
|
||||
cf_zip_path = input("Please drag the Curseforge zip file here: ")[3:][:-1] # Because dragging the file adds "& " and double quotes
|
||||
os.system(packwiz_exe_path + " curseforge import \"" + cf_zip_path + "\"")
|
||||
if is_legacy:
|
||||
os.system(packwiz_exe_path + " remove hydrogen")
|
||||
os.system(packwiz_exe_path + " mr install hydrogen")
|
||||
os.system(packwiz_exe_path + " refresh")
|
||||
|
||||
# Copy fresh manifest/modlist to git
|
||||
extract_file(cf_zip_path, "manifest.json", git_path + "Curseforge", "Curseforge manifest.json", "Git")
|
||||
extract_file(cf_zip_path, "modlist.html", git_path + "Curseforge", "Curseforge modlist.html", "Git")
|
||||
if is_legacy == False and refresh_only == False:
|
||||
extract_file(cf_zip_path, "manifest.json", git_path + "Curseforge", "Curseforge manifest.json", "Git")
|
||||
extract_file(cf_zip_path, "modlist.html", git_path + "Curseforge", "Curseforge modlist.html", "Git")
|
||||
|
||||
# Export Modrinth pack and manifest
|
||||
os.system(pw_exe_path + " modrinth export")
|
||||
for pack in os.listdir(packwiz_path):
|
||||
if pack.endswith('.mrpack'):
|
||||
extract_file(packwiz_path + "/" + pack, "modrinth.index.json", git_path + "/" + "Modrinth", "Modrinth manifest", "Git")
|
||||
os.replace(packwiz_path + "/" + pack, os.path.expanduser("~/Desktop") + "/" + pack)
|
||||
print("Moved " + pack + " to desktop")
|
||||
if is_legacy == False and refresh_only == False:
|
||||
os.system(packwiz_exe_path + " modrinth export")
|
||||
for pack in os.listdir(packwiz_path):
|
||||
if pack.endswith('.mrpack'):
|
||||
extract_file(packwiz_path + "/" + pack, "modrinth.index.json", git_path + "/" + "Modrinth", "Modrinth manifest", "Git")
|
||||
os.replace(packwiz_path + "/" + pack, os.path.expanduser("~/Desktop") + "/" + pack)
|
||||
print("Moved " + pack + " to desktop")
|
|
@ -5,7 +5,7 @@ mainMenu {
|
|||
x { it - 2 }
|
||||
y { it - 20 }
|
||||
}
|
||||
text = literal("Fabulously Optimized 1.11.2")
|
||||
text = literal("Fabulously Optimized 1.12.0")
|
||||
align = "right"
|
||||
color = 0xFFFFFF
|
||||
hoveredColor = 0x55FFFF
|
||||
|
|
|
@ -18,7 +18,7 @@ hash = "823e13cceab67ae7856cbfc91fcec40cadb1a7b958993b92f2501928659a0641"
|
|||
|
||||
[[files]]
|
||||
file = "config/slightguimodifications/cts.groovy"
|
||||
hash = "97c877cff4907ba74f20d75f49d2be52da4d70e4ba79b5dfddd038fcc83bb822"
|
||||
hash = "204390a7a5cdcdfa1bfcedd827010d7edd872043126142ebb9ac61264f0d6d7b"
|
||||
|
||||
[[files]]
|
||||
file = "config/sodium-mixins.properties"
|
||||
|
@ -100,7 +100,7 @@ metafile = true
|
|||
|
||||
[[files]]
|
||||
file = "mods/architectury-fabric.toml"
|
||||
hash = "7486ce6b9916d0486e25e34736f5f0b75b78ffe2a1944edff1c5b0b52e79d528"
|
||||
hash = "3ddd65c4a487a3d90c0faefd124e4849494529aa8eb1687a1abc6210272d2a16"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
|
@ -120,7 +120,7 @@ metafile = true
|
|||
|
||||
[[files]]
|
||||
file = "mods/cloth-api.toml"
|
||||
hash = "7182b4528589812277dc08a7872282e607792fc3ed8d7e24ddba3274999f93f9"
|
||||
hash = "a20b097aae4aa3421efd154a9b2a61474f431c9b3f387fd929955981a23b1b9c"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
|
@ -200,7 +200,7 @@ metafile = true
|
|||
|
||||
[[files]]
|
||||
file = "mods/irisshaders.toml"
|
||||
hash = "3cbe58e96b4b85641be54c80e9f1189bb6f7d231ea97daa89c29a40849300a73"
|
||||
hash = "8ba4a0a3bcac8fb33e22e31d670afdd383bcefacf4b1af8cb2435cdb1a930f7c"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
|
@ -245,7 +245,7 @@ metafile = true
|
|||
|
||||
[[files]]
|
||||
file = "mods/not-enough-crashes.toml"
|
||||
hash = "616e97d7469e44882d95757268cff578fb472b0bc93d90a8d2c998b66b368016"
|
||||
hash = "a75fbde7ff35a1aaeaf7570174e6558b0091cf20c2df629c930cdd841586913b"
|
||||
metafile = true
|
||||
|
||||
[[files]]
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name = "Architectury API (Fabric)"
|
||||
filename = "architectury-1.26.39.jar"
|
||||
filename = "architectury-1.28.48.jar"
|
||||
side = "both"
|
||||
|
||||
[download]
|
||||
url = "https://edge.forgecdn.net/files/3563/801/architectury-1.26.39.jar"
|
||||
url = "https://edge.forgecdn.net/files/3587/403/architectury-1.28.48.jar"
|
||||
hash-format = "murmur2"
|
||||
hash = "324346847"
|
||||
hash = "296344165"
|
||||
|
||||
[update]
|
||||
[update.curseforge]
|
||||
file-id = 3563801
|
||||
file-id = 3587403
|
||||
project-id = 419697
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name = "Cloth API (Fabric)"
|
||||
filename = "cloth-api-1.4.9.jar"
|
||||
filename = "cloth-api-1.6.59.jar"
|
||||
side = "both"
|
||||
|
||||
[download]
|
||||
url = "https://edge.forgecdn.net/files/3093/525/cloth-api-1.4.9.jar"
|
||||
url = "https://edge.forgecdn.net/files/3609/875/cloth-api-1.6.59.jar"
|
||||
hash-format = "murmur2"
|
||||
hash = "90678875"
|
||||
hash = "3769907671"
|
||||
|
||||
[update]
|
||||
[update.curseforge]
|
||||
file-id = 3093525
|
||||
file-id = 3609875
|
||||
project-id = 317121
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name = "Iris Shaders"
|
||||
filename = "iris-mc1.16.5-1.1.4.jar"
|
||||
filename = "iris-mc1.16.5-1.2.0-pre.jar"
|
||||
side = "both"
|
||||
|
||||
[download]
|
||||
url = "https://edge.forgecdn.net/files/3596/178/iris-mc1.16.5-1.1.4.jar"
|
||||
url = "https://edge.forgecdn.net/files/3612/852/iris-mc1.16.5-1.2.0-pre.jar"
|
||||
hash-format = "murmur2"
|
||||
hash = "2829650283"
|
||||
hash = "1699418536"
|
||||
|
||||
[update]
|
||||
[update.curseforge]
|
||||
file-id = 3596178
|
||||
file-id = 3612852
|
||||
project-id = 455508
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
name = "Not Enough Crashes (Fabric)"
|
||||
filename = "notenoughcrashes-4.1.2+1.16.5-fabric.jar"
|
||||
filename = "notenoughcrashes-4.1.4+1.16.5-fabric.jar"
|
||||
side = "both"
|
||||
|
||||
[download]
|
||||
url = "https://edge.forgecdn.net/files/3537/808/notenoughcrashes-4.1.2+1.16.5-fabric.jar"
|
||||
url = "https://edge.forgecdn.net/files/3606/846/notenoughcrashes-4.1.4+1.16.5-fabric.jar"
|
||||
hash-format = "murmur2"
|
||||
hash = "3494755951"
|
||||
hash = "1452408835"
|
||||
|
||||
[update]
|
||||
[update.curseforge]
|
||||
file-id = 3537808
|
||||
file-id = 3606846
|
||||
project-id = 353890
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
name = "Fabulously Optimized"
|
||||
pack-format = "packwiz:1.0.0"
|
||||
version = "1.11.2"
|
||||
pack-format = "packwiz:1.0.0"
|
||||
|
||||
[index]
|
||||
file = "index.toml"
|
||||
hash-format = "sha256"
|
||||
hash = "ea7641ed52404c785692206266cd01c2352eda5cce09e8d96468854d165b4f88"
|
||||
hash = "9b822506f4bc4917a78f33cb1b56fff4a721426277fbe066eb004ebd4fc18e86"
|
||||
|
||||
[versions]
|
||||
fabric = "0.12.12"
|
||||
|
|
Loading…
Reference in a new issue