EaterLabs / emo

Eater's Minecraft Organizer
0 stars 0 forks source link

Fix forge 1.13.2 install #1

Closed the-eater closed 5 years ago

the-eater commented 5 years ago

This isn't as simple as it looks, the installer runs several post processors to patch minecraft and do some other things. might be able to ignore it for now, but it should be done

the-eater commented 5 years ago

install_profile.json

{
    "_comment_": [
        "Please do not automate the download and installation of Forge.",
        "Our efforts are supported by ads from the download page.",
        "If you MUST automate this, please consider supporting the project through https://www.patreon.com/LexManos/"
    ],
    "spec": 0,
    "profile": "forge",
    "version": "1.13.2-forge-25.0.110",
    "json": "/version.json",
    "path": "net.minecraftforge:forge:1.13.2-25.0.110",
    "logo": "/big_logo.png",
    "minecraft": "1.13.2",
    "welcome": "Welcome to the simple Forge installer.",
    "data": {
        "MAPPINGS": {
            "client": "[de.oceanlabs.mcp:mcp_config:1.13.2-20190213.203750:mappings@txt]",
            "server": "[de.oceanlabs.mcp:mcp_config:1.13.2-20190213.203750:mappings@txt]"
        },
        "BINPATCH": {
            "client": "/data/client.lzma",
            "server": "/data/server.lzma"
        },
        "MC_SLIM": {
            "client": "[net.minecraft:client:1.13.2:slim]",
            "server": "[net.minecraft:server:1.13.2:slim]"
        },
        "MC_SLIM_SHA": {
            "client": "'46c94ec3485ec35fe1826ca17ecfd5e10bb17c9c'",
            "server": "'327e89f60e69407b07c99887872bc05ed8f3b865'"
        },
        "MC_EXTRA": {
            "client": "[net.minecraft:client:1.13.2:extra]",
            "server": "[net.minecraft:server:1.13.2:extra]"
        },
        "MC_EXTRA_SHA": {
            "client": "'938487f223e08b48c7b40dc7aa40a34b9dea2520'",
            "server": "'d79d1c88b752a7ed472b20317b123acc720a4089'"
        },
        "MC_SRG": {
            "client": "[net.minecraft:client:1.13.2-20190213.203750:srg]",
            "server": "[net.minecraft:server:1.13.2-20190213.203750:srg]"
        },
        "PATCHED": {
            "client": "[net.minecraftforge:forge:1.13.2-25.0.110:client]",
            "server": "[net.minecraftforge:forge:1.13.2-25.0.110:server]"
        },
        "PATCHED_SHA": {
            "client": "'002bd51a974e5324c3709ad7d2e4e4b8364e3091'",
            "server": "'ca8551fefe0d8c52891058ff6cbf8130c8d9a628'"
        }
    },
    "processors": [
        {
            "jar": "net.minecraftforge:installertools:1.0.3",
            "classpath": [
                "net.sf.jopt-simple:jopt-simple:5.0.4",
                "com.google.code.gson:gson:2.8.0"
            ],
            "args": [
                "--task",
                "MCP_DATA",
                "--input",
                "[de.oceanlabs.mcp:mcp_config:1.13.2-20190213.203750@zip]",
                "--output",
                "{MAPPINGS}",
                "--key",
                "mappings"
            ]
        },
        {
            "jar": "net.minecraftforge:jarsplitter:1.1.0",
            "classpath": [
                "net.sf.jopt-simple:jopt-simple:5.0.4"
            ],
            "args": [
                "--input",
                "{MINECRAFT_JAR}",
                "--slim",
                "{MC_SLIM}",
                "--extra",
                "{MC_EXTRA}",
                "--srg",
                "{MAPPINGS}"
            ],
            "outputs": {
                "{MC_SLIM}": "{MC_SLIM_SHA}",
                "{MC_EXTRA}": "{MC_EXTRA_SHA}"
            }
        },
        {
            "jar": "net.minecraftforge:installertools:1.0.3",
            "classpath": [
                "net.sf.jopt-simple:jopt-simple:5.0.4",
                "com.google.code.gson:gson:2.8.0"
            ],
            "args": [
                "--task",
                "CREATE_PARENTS",
                "--target",
                "{MC_SRG}"
            ]
        },
        {
            "jar": "net.md-5:SpecialSource:1.8.3",
            "classpath": [
                "org.ow2.asm:asm-commons:6.1.1",
                "net.sf.jopt-simple:jopt-simple:4.9",
                "com.google.guava:guava:20.0",
                "net.sf.opencsv:opencsv:2.3",
                "org.ow2.asm:asm-analysis:6.1.1",
                "org.ow2.asm:asm-tree:6.1.1",
                "org.ow2.asm:asm:6.1.1"
            ],
            "args": [
                "--in-jar",
                "{MC_SLIM}",
                "--out-jar",
                "{MC_SRG}",
                "--srg-in",
                "{MAPPINGS}"
            ]
        },
        {
            "jar": "net.minecraftforge:binarypatcher:1.0.5",
            "classpath": [
                "commons-io:commons-io:2.4",
                "com.google.guava:guava:25.1-jre",
                "net.sf.jopt-simple:jopt-simple:5.0.4",
                "com.github.jponge:lzma-java:1.3",
                "com.nothome:javaxdelta:2.0.1",
                "com.google.code.findbugs:jsr305:3.0.2",
                "org.checkerframework:checker-qual:2.0.0",
                "com.google.errorprone:error_prone_annotations:2.1.3",
                "com.google.j2objc:j2objc-annotations:1.1",
                "org.codehaus.mojo:animal-sniffer-annotations:1.14",
                "trove:trove:1.0.2"
            ],
            "args": [
                "--clean",
                "{MC_SRG}",
                "--output",
                "{PATCHED}",
                "--apply",
                "{BINPATCH}"
            ],
            "outputs": {
                "{PATCHED}": "{PATCHED_SHA}"
            }
        }
    ],
    "libraries": [
        {
            "name": "com.github.jponge:lzma-java:1.3",
            "downloads": {
                "artifact": {
                    "path": "com/github/jponge/lzma-java/1.3/lzma-java-1.3.jar",
                    "url": "https://files.minecraftforge.net/maven/com/github/jponge/lzma-java/1.3/lzma-java-1.3.jar",
                    "sha1": "a25db9d4d385ccda4825ae1b47a7a61d86e595af",
                    "size": 51041
                }
            }
        },
        {
            "name": "com.google.code.findbugs:jsr305:3.0.2",
            "downloads": {
                "artifact": {
                    "path": "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar",
                    "url": "https://files.minecraftforge.net/maven/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar",
                    "sha1": "25ea2e8b0c338a877313bd4672d3fe056ea78f0d",
                    "size": 19936
                }
            }
        },
        {
            "name": "com.google.code.gson:gson:2.8.0",
            "downloads": {
                "artifact": {
                    "path": "com/google/code/gson/gson/2.8.0/gson-2.8.0.jar",
                    "url": "https://libraries.minecraft.net/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar",
                    "sha1": "c4ba5371a29ac9b2ad6129b1d39ea38750043eff",
                    "size": 231952
                }
            }
        },
        {
            "name": "com.google.errorprone:error_prone_annotations:2.1.3",
            "downloads": {
                "artifact": {
                    "path": "com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar",
                    "url": "https://files.minecraftforge.net/maven/com/google/errorprone/error_prone_annotations/2.1.3/error_prone_annotations-2.1.3.jar",
                    "sha1": "39b109f2cd352b2d71b52a3b5a1a9850e1dc304b",
                    "size": 13704
                }
            }
        },
        {
            "name": "com.google.guava:guava:20.0",
            "downloads": {
                "artifact": {
                    "path": "com/google/guava/guava/20.0/guava-20.0.jar",
                    "url": "https://files.minecraftforge.net/maven/com/google/guava/guava/20.0/guava-20.0.jar",
                    "sha1": "89507701249388e1ed5ddcf8c41f4ce1be7831ef",
                    "size": 2442625
                }
            }
        },
        {
            "name": "com.google.guava:guava:25.1-jre",
            "downloads": {
                "artifact": {
                    "path": "com/google/guava/guava/25.1-jre/guava-25.1-jre.jar",
                    "url": "https://files.minecraftforge.net/maven/com/google/guava/guava/25.1-jre/guava-25.1-jre.jar",
                    "sha1": "6c57e4b22b44e89e548b5c9f70f0c45fe10fb0b4",
                    "size": 2734339
                }
            }
        },
        {
            "name": "com.google.j2objc:j2objc-annotations:1.1",
            "downloads": {
                "artifact": {
                    "path": "com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar",
                    "url": "https://files.minecraftforge.net/maven/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar",
                    "sha1": "ed28ded51a8b1c6b112568def5f4b455e6809019",
                    "size": 8782
                }
            }
        },
        {
            "name": "com.nothome:javaxdelta:2.0.1",
            "downloads": {
                "artifact": {
                    "path": "com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.jar",
                    "url": "https://files.minecraftforge.net/maven/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.jar",
                    "sha1": "d4f5d077f1b15c6f67595015d69572303ad3f66d",
                    "size": 38995
                }
            }
        },
        {
            "name": "commons-io:commons-io:2.4",
            "downloads": {
                "artifact": {
                    "path": "commons-io/commons-io/2.4/commons-io-2.4.jar",
                    "url": "https://libraries.minecraft.net/commons-io/commons-io/2.4/commons-io-2.4.jar",
                    "sha1": "b1b6ea3b7e4aa4f492509a4952029cd8e48019ad",
                    "size": 185140
                }
            }
        },
        {
            "name": "de.oceanlabs.mcp:mcp_config:1.13.2-20190213.203750@zip",
            "downloads": {
                "artifact": {
                    "path": "de/oceanlabs/mcp/mcp_config/1.13.2-20190213.203750/mcp_config-1.13.2-20190213.203750.zip",
                    "url": "https://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp_config/1.13.2-20190213.203750/mcp_config-1.13.2-20190213.203750.zip",
                    "sha1": "b2e3d59e19521e1040e11d97db22d41bb9065a38",
                    "size": 466835
                }
            }
        },
        {
            "name": "net.md-5:SpecialSource:1.8.3",
            "downloads": {
                "artifact": {
                    "path": "net/md-5/SpecialSource/1.8.3/SpecialSource-1.8.3.jar",
                    "url": "https://files.minecraftforge.net/maven/net/md-5/SpecialSource/1.8.3/SpecialSource-1.8.3.jar",
                    "sha1": "9e8fa9e25bfcd93a3a52e1570d8ebf29d4a10799",
                    "size": 78574
                }
            }
        },
        {
            "name": "net.minecraftforge:binarypatcher:1.0.5",
            "downloads": {
                "artifact": {
                    "path": "net/minecraftforge/binarypatcher/1.0.5/binarypatcher-1.0.5.jar",
                    "url": "https://files.minecraftforge.net/maven/net/minecraftforge/binarypatcher/1.0.5/binarypatcher-1.0.5.jar",
                    "sha1": "0743c20fbbc17501da7c700e3241fbbd887d7a20",
                    "size": 16255
                }
            }
        },
        {
            "name": "net.minecraftforge:forge:1.13.2-25.0.110:universal",
            "downloads": {
                "artifact": {
                    "path": "net/minecraftforge/forge/1.13.2-25.0.110/forge-1.13.2-25.0.110-universal.jar",
                    "url": "",
                    "sha1": "8b9491e2f60743973a60d9fb38914c24dbc351c0",
                    "size": 2288804
                }
            }
        },
        {
            "name": "net.minecraftforge:installertools:1.0.3",
            "downloads": {
                "artifact": {
                    "path": "net/minecraftforge/installertools/1.0.3/installertools-1.0.3.jar",
                    "url": "https://files.minecraftforge.net/maven/net/minecraftforge/installertools/1.0.3/installertools-1.0.3.jar",
                    "sha1": "594cf5f164ba392cec0dfa9cabd6d7f47a3ca32a",
                    "size": 12115
                }
            }
        },
        {
            "name": "net.minecraftforge:jarsplitter:1.1.0",
            "downloads": {
                "artifact": {
                    "path": "net/minecraftforge/jarsplitter/1.1.0/jarsplitter-1.1.0.jar",
                    "url": "https://files.minecraftforge.net/maven/net/minecraftforge/jarsplitter/1.1.0/jarsplitter-1.1.0.jar",
                    "sha1": "2d26b5fc5b236ba4264dde3d6c3ffcadf03b2020",
                    "size": 7887
                }
            }
        },
        {
            "name": "net.sf.jopt-simple:jopt-simple:4.9",
            "downloads": {
                "artifact": {
                    "path": "net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar",
                    "url": "https://files.minecraftforge.net/maven/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar",
                    "sha1": "ee9e9eaa0a35360dcfeac129ff4923215fd65904",
                    "size": 66469
                }
            }
        },
        {
            "name": "net.sf.jopt-simple:jopt-simple:5.0.4",
            "downloads": {
                "artifact": {
                    "path": "net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar",
                    "url": "https://files.minecraftforge.net/maven/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar",
                    "sha1": "4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c",
                    "size": 78146
                }
            }
        },
        {
            "name": "net.sf.opencsv:opencsv:2.3",
            "downloads": {
                "artifact": {
                    "path": "net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar",
                    "url": "https://files.minecraftforge.net/maven/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar",
                    "sha1": "c23708cdb9e80a144db433e23344a788a1fd6599",
                    "size": 19827
                }
            }
        },
        {
            "name": "org.checkerframework:checker-qual:2.0.0",
            "downloads": {
                "artifact": {
                    "path": "org/checkerframework/checker-qual/2.0.0/checker-qual-2.0.0.jar",
                    "url": "https://files.minecraftforge.net/maven/org/checkerframework/checker-qual/2.0.0/checker-qual-2.0.0.jar",
                    "sha1": "518929596ee3249127502a8573b2e008e2d51ed3",
                    "size": 343222
                }
            }
        },
        {
            "name": "org.codehaus.mojo:animal-sniffer-annotations:1.14",
            "downloads": {
                "artifact": {
                    "path": "org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar",
                    "url": "https://files.minecraftforge.net/maven/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar",
                    "sha1": "775b7e22fb10026eed3f86e8dc556dfafe35f2d5",
                    "size": 3482
                }
            }
        },
        {
            "name": "org.ow2.asm:asm-analysis:6.1.1",
            "downloads": {
                "artifact": {
                    "path": "org/ow2/asm/asm-analysis/6.1.1/asm-analysis-6.1.1.jar",
                    "url": "https://files.minecraftforge.net/maven/org/ow2/asm/asm-analysis/6.1.1/asm-analysis-6.1.1.jar",
                    "sha1": "376d85732456ec4d2c4bc020ee152061c61f00b5",
                    "size": 31979
                }
            }
        },
        {
            "name": "org.ow2.asm:asm-commons:6.1.1",
            "downloads": {
                "artifact": {
                    "path": "org/ow2/asm/asm-commons/6.1.1/asm-commons-6.1.1.jar",
                    "url": "https://files.minecraftforge.net/maven/org/ow2/asm/asm-commons/6.1.1/asm-commons-6.1.1.jar",
                    "sha1": "70a7deee986e66c015cea1c9978f9654cc667020",
                    "size": 77745
                }
            }
        },
        {
            "name": "org.ow2.asm:asm-tree:6.1.1",
            "downloads": {
                "artifact": {
                    "path": "org/ow2/asm/asm-tree/6.1.1/asm-tree-6.1.1.jar",
                    "url": "https://files.minecraftforge.net/maven/org/ow2/asm/asm-tree/6.1.1/asm-tree-6.1.1.jar",
                    "sha1": "19fdc358e7bd3986b9867de508ce6cefa693dda6",
                    "size": 50050
                }
            }
        },
        {
            "name": "org.ow2.asm:asm:6.1.1",
            "downloads": {
                "artifact": {
                    "path": "org/ow2/asm/asm/6.1.1/asm-6.1.1.jar",
                    "url": "https://files.minecraftforge.net/maven/org/ow2/asm/asm/6.1.1/asm-6.1.1.jar",
                    "sha1": "264754515362d92acd39e8d40395f6b8dee7bc08",
                    "size": 108252
                }
            }
        },
        {
            "name": "trove:trove:1.0.2",
            "downloads": {
                "artifact": {
                    "path": "trove/trove/1.0.2/trove-1.0.2.jar",
                    "url": "https://files.minecraftforge.net/maven/trove/trove/1.0.2/trove-1.0.2.jar",
                    "sha1": "112b40581ab9a4d3de4636d49985a7f686d181c8",
                    "size": 361155
                }
            }
        }
    ]
}