Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- What I did in an attempt to build the Pret NDS Decomps in 2022:
- 1) Download Fedora Remix's package.
- 2) Extract the files from its "Fedora-Remix-for-WSL-SL_37.0.4.0_x64_arm64.msixbundle\Fedora-Remix-for-WSL-SL_37.0.4.0_x64.msix" file somewhere safe.
- 3) Run the fedoraremix.exe file, type in a user and a pass normally, and wait.
- 4) Close Fedora, and inside a command prompt do: wsl -l -v, and after looking at the Fedora installation's name, wsl --set-version fedoraremix 1
- 5) Once I got back into Fedora, I typed sudo dnf update which seems to be the equivalent to "sudo apt update && sudo apt upgrade".
- 6) "sudo dnf install make automake gcc gcc-c++ kernel-devel git libpng-devel nano ugrep pacman"
- Note: nano and ugrep are optional.
- 7) "sudo pacman-key --init"
- 8) "export DEVKITPRO=/opt/devkitpro && echo export DEVKITPRO=$DEVKITPRO >> ~/.bashrc"
- 9) "export DEVKITARM=$DEVKITPRO/devkitARM && echo export DEVKITARM=$DEVKITARM >> ~/.bashrc"
- 10) "sudo pacman-key --recv BC26F752D25B92CE272E0F44F7FD5492264BB9D0 --keyserver keyserver.ubuntu.com"
- 11) "sudo pacman-key --lsign BC26F752D25B92CE272E0F44F7FD5492264BB9D0"
- 12) "sudo wget https://pkg.devkitpro.org/devkitpro-keyring.pkg.tar.xz"
- 13) "sudo pacman -U devkitpro-keyring.pkg.tar.xz"
- 14) Go to Fedora's filesystem with cd, browse back some folders with "cd ..", enter the "etc" folder and edit the pacman.conf file with "sudo nano", adding this at the end:
- [dkp-libs]
- Server = https://pkg.devkitpro.org/packages
- [dkp-linux]
- Server = https://pkg.devkitpro.org/packages/linux/$arch/
- 15) Ctrl+X to exit, Y to confirm a save, and then "source pacman.conf" to refresh the file just in case.
- 16) "sudo pacman -Syu"
- 17) "sudo pacman -S gba-dev"
- 18) Use cd to enter agbcc's folder, and then modify the build.sh script like so:
- ```diff
- - if ! ([ -n "$DEVKITARM" ] && [ -d "$DEVKITARM/bin" ]) && ! (command -v arm-none-eabi-as &> /dev/null && command -v arm-none-eabi-ar &> /dev/null) ; then
- + if ! ([ -n "$DEVKITARM" ] && [ -d "$DEVKITARM/bin" ]) && ! (command -v sudo pacman arm-none-eabi-as &> /dev/null && command -v sudo pacman arm-none-eabi-ar &> /dev/null) ; then
- ```
- 19) "sudo ./build.sh"
- And then I gave up because the environment couldn't find or access arm-none-eabi-as and arm-none-eabi-ar, and instead of looking how to make it happen, I just switched to Debian :P
- I started by building the GBA decomps to familiarize myself with things.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement