English | 简体中文
This is an installer and manager for Hollow Knight mods created using Tauri and VueJS.
- Navigate to the Releases page.
- Download the latest release for your platform. This will be
butterfly_{version}_x64_en-US.msi
. - Open up the location of the download in your file system and double click on the file that you downloaded.
- Follow the steps in the wizard to install Butterfly. Most steps can be left with their default values.
- Navigate to the Releases page.
- Download the latest release for your platform. This will be
butterfly_{version}_x64.dmg
. - Open up the location of the download in your file system and double click on the file that you downloaded.
- Follow the steps in the wizard to install Butterfly.
- Navigate to the Releases page.
- The file that you will download varies depending on which package manager you use. Refer to your distribution's manual for information on how to install packages for your system. For Ubuntu and Debian distributions, this is
butterfly_{version}_amd64.deb
. - Open up the location of the download in your file system.
- Using your package manager, install the package that you downloaded.
- Ensure NodeJS is installed on your system. An installer for it can be found on their website.
- If it is not already installed, install the Yarn package manager using the command
npm install --global yarn
. - Clone this repository.
- Run the command
yarn build
. - When yarn has finished building, run
yarn tauri build
. - The output executable can be found in
{repoPath}/src-tauri/target/{configuration}
, and the installer for it can be found in{repoPath}/src-tauri/target/{configuration}/bundle/{installerType}
Before opening an issue on GitHub, make sure no one has had a similar problem that has been resolved.
Make sure you are connected to the Internet. Butterfly will not work without a working connection.
Delete the settings file and re-run the app. For Windows, this is at
%APPDATA%/Butterfly/Settings.json | C:/Users/{userName}/AppData/Roaming/Butterfly/Settings.json
. For macOS, this is at$HOME/Library/Application Support/Butterfly/Settings.json | /Users/{userName}/Library/Application Support/Butterfly/Settings.json
. For Linux, this is$HOME/.local/share/Butterfly/Settings.json | /home/{userName}/.local/share/Butterfly/Settings.json
."
Make sure Hollow Knight is not running.
Verify the integrity of your Hollow Knight files through Steam, then restart Butterfly.
If anything else goes wrong, try refreshing the app web page (shortcut Ctrl + R).
For other issues, and if the app opens, you can report an issue by clicking on the Report an issue/Suggest a feature
link in the app header. Otherwise, go to the issues page, click the green New issue
button, and select the 🦋 Bug Report
template using the green Get started
button. Complete the fields to the best of your ability.
Additionally, you can enter the Hollow Knight Modding Discord server and ask for help in the #support
channel.
Pull requests are always welcome. Be sure to follow the template.
Contributions to the app's localization are also desired. To add or edit a locale, navigate to src/i18n.ts
, click on the pencil icon in the top right of the page (tooltip is "Edit this file"), and in the messages
variable, translate the fields of the JSON object. Use the English fields as a baseline.
If you want to add a new locale, you will also need to edit src/App.vue
. Look for the languages
and languagesMap
variables and add the new language's name to languages
and a key-value pair of the new language name and new locale name in the languagesMap
variable according to how the other locales are set up, i.e. don't forget the colon and comma.
Once you are finished, it is recommended that you enter a message describing what you changed at the bottom of the page, titled "Commit changes". Click the green "Propose changes" button once you are finished, then on the following pages, click the green "Create pull request" buttons to submit the changes.
Butterfly is licensed under the GNU General Public License v3. This means if you fork and make modifications to this code, you must license your modification under the GPLv3 as well if you wish to distribute it.