Skip to content

Compiling

Emmie edited this page Mar 14, 2023 · 10 revisions

Note: If you struggle with installing using Python, you might find GitHub Actions easier


Using Python

Before proceeding, you must install Python

Download the ModTools source code

  • Click on ⤓ Code at the top and download as zip.

Copy the LEB-ModCompiler.py file to your mod repository

Run the LEB-ModCompiler.py program, if done successfully a new file should of been generated

A new folder should be created named output, your compiled mod should be in there

  • If the output file is a .lebmod file, you have successfully completed the steps!

Using GitHub Actions

Before proceeding, you must create a GitHub account

Go to the Mod Template and select Use this template

Use your preferred method of interacting with git

Clone your repository you made from the template to your pc using git

  • If you're on GitHub Desktop, click the dropdown at the left and select Add

Open the repository in your file manager, delete the src folder in the GitHub repo and copy the src folder from the repository you set up earlier into the GitHub repo

  • To open the repo in your file manager on GitHub Desktop, go to Repository -> Show in your File Manager

Create a commit and push it

Open the repository's page on GitHub's website

Click on the Actions tab

image

Click on the latest commit, and click on the Artifacts file

Extract the Artifacts.zip file, and your .lebmod file should be there!


From this point, you may either install the lebmod to a LEB-ToolBox instance, or submit it to be added to the public server

Clone this wiki locally