Okay, so, these commands should result in making a fully working mario 64 3dsx on Ubuntu 20.04 (have not tested on LTS 18, i'd reccomend using 20.04).
You should run those inside the folder where you have the sm64 3ds source and baserom.us.z64
Code:
sudo apt update
sudo apt install build-essential pkg-config git python3 zlib1g-dev libaudiofile-dev
wget https://github.com/devkitPro/pacman/releases/latest/download/devkitpro-pacman.amd64.deb
sudo apt install gdebi-core
sudo gdebi devkitpro-pacman.amd64.deb
rm devkitpro-pacman.amd64.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -Syu
sudo dkp-pacman -S 3ds-dev
I am not a linux expert, far from it, so there may be more optimal ways to write all this, but basically:
Code:
sudo apt update
sudo apt install build-essential pkg-config git python3 zlib1g-dev libaudiofile-dev
result in installing all the dependencies installable via apt
Code:
wget https://github.com/devkitPro/pacman/releases/latest/download/devkitpro-pacman.amd64.deb
sudo apt install gdebi-core
sudo gdebi devkitpro-pacman.amd64.deb
rm devkitpro-pacman.amd64.deb
This results in installing the devkitpro Pacman
Code:
sudo dkp-pacman -Sy
sudo dkp-pacman -Syu
sudo dkp-pacman -S 3ds-dev
This results in installing the devkitpro 3ds dev libraries
After this, you should restart the shell by simply closing the Ubuntu 20.04 LTS window and then reopening it.
Then, simply run