Skip to content

Instantly share code, notes, and snippets.

@marius137
marius137 / 3ds linux install.md
Last active September 26, 2024 22:36
guide how to build and install 3dslinux

Prerequesites

I am using a clean debian 10 but every debian based distro should work. Non debian based distros might require some work (e.g. Different package names)

Installing required Packages.

  • Debian:
    • sudo apt install git build-essential flex bison gcc-arm-linux-gnueabi libssl-dev bc gcc-arm-none-eabi python3-pip
    • pip3 install -U git+https://github.com/TuxSH/firmtool.git

Add firmtool to PATH

@marius137
marius137 / build.sh
Created July 29, 2021 01:07
Build Script for 3ds Linux
basedir=$(pwd)
REQUIRED_PKG="git build-essential flex bison gcc-arm-linux-gnueabi libssl-dev bc gcc-arm-none-eabi python3-pip rsync"
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' $REQUIRED_PKG|grep "install ok installed")
echo Checking for $REQUIRED_PKG: $PKG_OK
if [ "" = "$PKG_OK" ]; then
echo "No $REQUIRED_PKG. Setting up $REQUIRED_PKG."
sudo apt-get --yes install $REQUIRED_PKG
fi
echo "installing firmtool"