Better Impact Install Instructions
This commit is contained in:
parent
139d05d93f
commit
caccc3001e
82
IMPACT.md
82
IMPACT.md
@ -1,16 +1,82 @@
|
|||||||
# Integration between Baritone and Impact
|
# Integration between Baritone and Impact
|
||||||
|
|
||||||
Baritone will be in Impact 4.4 with nice integrations with its utility modules, but if you're impatient you can run Baritone on top of Impact 4.3 right now.
|
## An Introduction
|
||||||
|
There are some basic steps to getting Baritone setup with Impact.
|
||||||
|
- Acquiring a build of Baritone
|
||||||
|
- Placing Baritone in the libraries directory
|
||||||
|
- Modifying the Impact Profile JSON to run baritone
|
||||||
|
- How to use Baritone
|
||||||
|
|
||||||
You can either build Baritone yourself, or download the "official" jar (as of commit <a href="https://github.com/cabaletta/baritone/commit/66e6216b71a372deba7a397e69a022500aadeb7e">66e6216</a>, built on September 17) from <a href="https://www.dropbox.com/s/imc6xwwpwsh3i0y/baritone-1.0.0.jar?dl=0">here</a>. If you really want the cutting edge latest release, and you trust @Plutie#9079, commits are automatically built on their Jenkins <a href="http://24.202.239.85:8080/job/baritone/lastSuccessfulBuild/">here</a>.
|
## Acquiring a build of Baritone
|
||||||
|
There are 3 methods of acquiring a build of Baritone (While it is still in development)
|
||||||
|
|
||||||
To build it yourself, clone and setup Baritone (instructions in main README.md). Then, build the jar. From the command line, it's `./gradlew build` (or `gradlew build` on Windows). In IntelliJ, you can just start the `build` task in the Gradle menu.
|
### Official Build (Not always up to date)
|
||||||
|
Download the "official" jar (as of commit <a href="https://github.com/cabaletta/baritone/commit/2e63ac41d9b22e4ee0a62f2bd29974e43e2071a1">2e63ac4</a>,
|
||||||
|
built on September 19) from <a href="https://www.dropbox.com/s/imc6xwwpwsh3i0y/baritone-1.0.0.jar?dl=0">here</a>.
|
||||||
|
|
||||||
Copy the jar into place. If you built it yourself, it should be at `build/libs/baritone-1.0.0.jar` in baritone (otherwise, if you downloaded it, it's in your Downloads). Copy it to your libraries in your Minecraft install. For example, on Mac I do `cp Documents/baritone/build/libs/baritone-1.0.0.jar Library/Application\ Support/minecraft/libraries/cabaletta/baritone/1.0.0/baritone-1.0.0.jar`. The first time you'll need to make the directory `cabaletta/baritone/1.0.0` in libraries first.
|
### Building Baritone yourself
|
||||||
|
There are a few steps to this
|
||||||
|
- Clone this repository
|
||||||
|
- Setup the project as instructed in the README
|
||||||
|
- Run the ``build`` gradle task. You can either do this using IntelliJ's gradle UI or through a
|
||||||
|
command line
|
||||||
|
- Windows: ``gradlew build``
|
||||||
|
- Mac/Linux: ``./gradlew build``
|
||||||
|
- The build should be exported into ``/build/libs/baritone-1.0.0.jar``
|
||||||
|
|
||||||
Then, we'll need to modify the Impact launch json. Open `minecraft/versions/1.12.2-Impact_4.3/1.12.2-Impact_4.3.json`. Alternatively, copy your existing installation and rename the version folder, json, and id in the json if you want to be able to choose from the Minecraft launcher whether you want Impact or Impact+Baritone.
|
### Cutting Edge Release
|
||||||
|
If you want to trust @Plutie#9079, you can download an automatically generated build of the latest commit
|
||||||
|
from his Jenkins server, found <a href="http://24.202.239.85:8080/job/baritone/lastSuccessfulBuild/">here</a>.
|
||||||
|
|
||||||
- Add the Baritone tweak class to line 7 "minecraftArguments" like so: `"minecraftArguments": " ... --tweakClass clientapi.load.ClientTweaker --tweakClass baritone.launch.BaritoneTweakerOptifine",`. You need the Optifine tweaker even though there is no Optifine involved, for reasons I don't quite understand.
|
## Placing Baritone in the libraries directory
|
||||||
- Add the Baritone library. Insert `{ "name": "cabaletta:baritone:1.0.0" },` between Impact and ClientAPI, which should be between lines 15 and 16.
|
``/libraries`` is a neat directory in your <a href="https://minecraft.gamepedia.com/.minecraft">Minecraft Installation Directory</a>
|
||||||
|
that contains all of the dependencies that are required from the game and some mods. This is where we will be
|
||||||
|
putting baritone.
|
||||||
|
- Locate the ``libraries`` folder, it should be in the Minecraft Installation Directory
|
||||||
|
- Create 3 new subdirectories starting from ``libraries``
|
||||||
|
- ``cabaletta``
|
||||||
|
- ``baritone``
|
||||||
|
- ``1.0.0``
|
||||||
|
- Copy the build of Baritone that was acquired earlier, and place it into the ``1.0.0`` folder
|
||||||
|
- The full path should look like ``<Minecraft>/libraries/cabaletta/baritone/1.0.0/baritone-1.0.0.jar``
|
||||||
|
|
||||||
Restart the Minecraft launcher, then load Impact 4.3 as normal, and it should now include Baritone.
|
## Modifying the Impact Profile JSON to run baritone
|
||||||
|
The final step is "registering" the Baritone library with Impact, so that it loads on launch.
|
||||||
|
- Ensure your Minecraft launcher is closed
|
||||||
|
- Navigate back to the Minecraft Installation Directory
|
||||||
|
- Find the ``profiles`` directory, and open in
|
||||||
|
- In here there should be a ``1.12.2-Impact_4.3`` folder.
|
||||||
|
- If you don't have any Impact folder or have a version older than 4.3, you can download Impact <a href="https://impactdevelopment.github.io">here</a>.
|
||||||
|
- Open the folder and inside there should be a file called ``1.12.2-Impact_4.3.json``
|
||||||
|
- Open the JSON file with a text editor that supports your system's line endings
|
||||||
|
- For example, Notepad on Windows likely will NOT work for this. You should instead use a Text Editor like
|
||||||
|
<a href="https://notepad-plus-plus.org/">Notepad++</a> if you're on Windows. (For other systems, I'm not sure
|
||||||
|
what would work the best so you may have to do some research.)
|
||||||
|
- Find the ``libraries`` array in the JSON. It should look something like this.
|
||||||
|
```
|
||||||
|
"libraries": [
|
||||||
|
{
|
||||||
|
"name": "net.minecraft:launchwrapper:1.12"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.github.ImpactDevelopment:Impact:4.3-1.12.2",
|
||||||
|
"url": "https://impactdevelopment.github.io/maven/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "com.github.ImpactDeveloment:ClientAPI:3.0.2",
|
||||||
|
"url": "https://impactdevelopment.github.io/maven/"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
```
|
||||||
|
- Create a new object in the array, between the ``Impact`` and ``ClientAPI`` dependencies preferably.
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"name": "cabaletta:baritone:1.0.0"
|
||||||
|
},
|
||||||
|
```
|
||||||
|
- If you didn't close your launcher for this step, restart it now.
|
||||||
|
- You can now launch Impact 4.3 as normal, and Baritone should start up
|
||||||
|
|
||||||
|
## How to use Baritone
|
||||||
|
Instructions on how to use Baritone are limited, and you may have to read a little bit of code (Really nothing much
|
||||||
|
just plain English), you can view that <a href="https://github.com/cabaletta/baritone#chat-control">here</a>.
|
||||||
|
Loading…
Reference in New Issue
Block a user