-- ssh dick@hardpillu --
## I made this tutorial with<Ubuntu>
24.04.1 ## I can only assume it also works with 22.04+ ## I link to my sources but I do condense some commands and steps dick@hardpillU:~$uname -a Linux hardpillU 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
##<crashoveride95>
/ModernSDK ## this will copy your original .bashrc to bashrc in $HOME and then add sources to .bashrc ## if you need to revert use commandmv
orcp
dick@hardpillU:~$ cp $HOME/.bashrc $HOME/bashrc
echo 'export N64_LIBGCCDIR=/opt/crashsdk/lib/gcc/mips64-elf/12.2.0
export BLENDER_3_6=/snap/bin/blender
export PATH=$PATH:/opt/crashsdk/bin
export ROOT=/etc/n64
export PATH="$PATH:/home/$USER/.local/bin"' >> .bashrc
## revert
dick@hardpillU:~$ cp $HOME/bashrc $HOME/.bashrc&&. $HOME/.bashrc
## this adds the SDK to your repo
dick@hardpillU:~$ echo "deb [trusted=yes] https://crashoveride95.github.io/apt/ ./" | sudo tee /etc/apt/sources.list.d/n64sdk.list&&sudo apt update
## install the SDK packages
dick@hardpillU:~$ sudo apt -y install binutils-mips-n64 gcc-mips-n64 newlib-mips-n64
sudo apt -y install n64sdk
sudo apt -y install makemask
## finish installing ModernSDK
dick@hardpillU:~$ sudo dpkg --add-architecture i386
sudo apt -y install root-compatibility-environment
## <MWPenny>
/manual_setup.md
## install game dependencies
dick@hardpillU:~$~$ sudo apt -y install build-essential cmake ffmpeg imagemagick nodejs pip pipx python3 sox unzip
## add the James Lambert
repo to APT
dick@hardpillU:~$~$ echo "deb [trusted=yes] https://lambertjamesd.github.io/apt/ ./" | sudo tee /etc/apt/sources.list.d/lambertjamesd.list
sudo apt update
## setup and install dependencies fromJames Lambert
## install<Blender>
/3.6 ## install the Python vpk module via pipx ## setup and install dependencies for skelatool64
dick@hardpillU~$ sudo apt -y install sfz2n64 vtf2png
sudo snap install blender --channel=3.6lts/stable --classic
pipx install vpk
sudo apt -y install cimg-dev libassimp-dev liblua5.4-0 liblua5.4-dev libpng-dev libtiff-dev libyaml-cpp-dev lua5.4 libxxf86vm-dev libxfixes-dev libxi-dev libgl-dev
## clone the git repo
dick@hardpillU:~$ git clone https://github.com/mwpenny/portal64-still-alive.git portal64
## link your Portal folder to $HOME
/portal64/vpk/
dick@hardpillU:~$ ln -s $HOME/Portal $HOME/portal64/vpk/
## in order to finish setting up your path you need to logout and back in or source $HOME/.bashrc
dick@hardpillU:~$ . $HOME/.bashrc
## time to make the donuts
dick@hardpillU:~$ make -C $HOME/portal64/