Skip to content

Instantly share code, notes, and snippets.

@kleo
Last active October 23, 2020 20:48
Show Gist options
  • Select an option

  • Save kleo/91d6f893cb4090ac9c3d08ec503e5f9d to your computer and use it in GitHub Desktop.

Select an option

Save kleo/91d6f893cb4090ac9c3d08ec503e5f9d to your computer and use it in GitHub Desktop.
Building Luma3DS on Arch Linux

Building Luma3DS on Arch Linux

Install text editor

sudo pacman --noconfirm -Syu

sudo pacman --noconfirm -S vim

Environment variables

export DEVKITPRO=/opt/devkitpro
export DEVKITARM=/opt/devkitpro/devkitARM
export DEVKITPPC=/opt/devkitpro/devkitPPC

Import devkitPro keys

sudo pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0

sudo pacman --noconfirm -U https://downloads.devkitpro.org/devkitpro-keyring.pkg.tar.xz

Add devkitPro repositories

sudo vim /etc/pacman.conf
[dkp-libs]
Server = https://downloads.devkitpro.org/packages

[dkp-linux]
Server = https://downloads.devkitpro.org/packages/linux/$arch/

Install dependencies

sudo pacman --noconfirm -Syu

sudo pacman --noconfirm -S vim git base-devel python2-setuptools python2-cryptography 3ds-dev

makerom setup

git clone https://github.com/3DSGuy/Project_CTR

cd Project_CTR/makerom

make

sudo cp makerom /usr/sbin/makerom

cd

firmtool setup

git clone https://github.com/TuxSH/firmtool

cd firmtool

sudo python2 setup.py install

cd

Build Luma3DS

git clone https://github.com/LumaTeam/Luma3DS

cd Luma3DS

make

References

https://github.com/LumaTeam/Luma3DS/

https://github.com/3DSGuy/Project_CTR

https://github.com/TuxSH/firmtool

https://devkitpro.org/wiki/devkitPro_pacman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment