Skip to content

Latest commit

 

History

History
111 lines (70 loc) · 4.46 KB

Linux_guide.md

File metadata and controls

111 lines (70 loc) · 4.46 KB

Linux Detailed Pictorial Install Guide

If you are on a Linux computer, this guide has a lot of detailed instructions and screenshots that can be referenced when using this script. This guide has screenshots for Debian and Red Hat based distros (Ubuntu and Fedora, for example).

Step 1: Install Python 3

If you're running Ubuntu or Fedora, you probably already have Python 3 installed. To verify this, open up a terminal window, and run which python3 like so:

Ubuntu Fedora
which command which command fedora

If you get a path to python3, you're good to move on to the next step. If not, you can install Python 3 by running these commands:

  • For Ubuntu: sudo apt-get install python3
  • For Fedora: sudo dnf install python3

Step 2: Install Pip3

Pip is the official package manager for Python, and you'll need it to install the script's dependencies.

For Ubuntu

In your terminal window, run these commands:

  • sudo apt-get update
  • sudo apt-get install python3-pip

python3-pip

For Fedora

In your terminal window, run these commands:

  • sudo dnf update
  • sudo dnf install python3-pip

python3-pip-f

Step 3: Install Python packages

Now you'll need to install the script's dependencies. Still in your terminal window, run these commands (these commands are the same for every distro):

  • pip3 install json5
  • pip3 install pillow
  • pip3 install argparse
Ubuntu Fedora
pip-1 pip-3

If you see Successfully installed [...] all three times, you can move on to the next step. (Of course if it's already installed that's fine as well)

Step 4: Download the script code

You will want to download the script code directly from GitHub.

github

Once it is downloaded, you'll need to unzip the folder. To do this, right-click the downloaded file, and choose Extract here

Ubuntu Fedora
extract-ubuntu extract-fedora

Step 5: Place mod inside the script folder

For whatever mod you're interested in converting, start by moving it to the script folder.

Ubuntu Fedora
moving moving-f

After that, rename the folder name to original.

Ubuntu Fedora
rename rename-f

Step 6: Run the script

Now you're ready to run the script. You'll need to open a terminal in the script's folder, either by right-clicking and choosing Open in Terminal

Ubuntu Fedora
open-in-terminal open-in-terminal-f

Or, by changing the directory in your already open window with cd. Assuming you're working in your Downloads folder, that command looks like this:

Ubuntu Fedora
cd cd-f

Once you have a terminal window open and the script folder is the active folder, you can then run the script.

Type python3 furniture_converter.py --modName SOMENAMEHERE but with SOMENAMEHERE swapped out for a descriptive string into terminal and hit return

Here's an example of what running the script looks like (with success being shown by the lack of error message). If you get an error message, please take a screenshot and ping me on Discord with a link to the furniture pack you are converting.

Ubuntu Fedora
success success-f

Step 7: Use the mod

You can find the converted mod inside the script folder, and you can move it to your Mods folder just like any other mod.

Ubuntu Fedora
final final-f
  翻译: