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) Downloaded the Debian Linux distro for WSL from: https://learn.microsoft.com/en-us/windows/wsl/install-manual#downloading-distributions
- 2) Extract the files from its "TheDebianProject.DebianGNULinux_1.12.2.0_neutral___76v4gfsz19hv4.AppxBundle\DistroLauncher-Appx_1.12.2.0_x64.appx" file somewhere safe.
- 3) Ran the debian.exe file, type in a user and a pass normally, and wait.
- 4) I closed Fedora, and inside an elevanted Windows command prompt I used: wsl -l -v, and after looking at the Fedora installation's name, "wsl --set-version debian 1".
- 5) Once I got back into Debian, I got myself comfortable adding some of my Ubuntu aliases, changing the font and window size and stuff. Then I typed "sudo apt update && sudo apt upgrade".
- 6) Once that was done, "sudo apt install build-essential git libpng-dev".
- 7) Then I moved to a home folder I made in C:\Users\%USERNAME%\Home, I installed wget and typed "wget https://apt.devkitpro.org/install-devkitpro-pacman" and then "sudo bash install-devkitpro-pacman".
- 8) After the package installed, I downloaded and installed devkitPro's GBA Development Package via "sudo dkp-pacman -S gba-dev" and restarted Debian.
- Note: Here I got an error involving "". I just made a symlink with "sudo ln -s /proc/self/mounts /etc/mtab" following <https://github.com/microsoft/WSL/issues/3984#issuecomment-491684299> and it worked.
- 9) Once I was back in Debian, I cloned and built agbcc and Pokeemerald to get myself comfortable.
- Now's when I started to work my way through Pokeheartgold.
- Naturally, this started by using "git clone https://github.com/pret/pokeheartgold" in my Home folder.
- The rest is just following its INSTALL.md.
- 1) Download mwccarm and copy its folder into "pokeheartgold\tools".
- 2) Download and uncompress NitroSDK-4_2-071210-jp.7z, and put its "bin" folder inside "pokeheartgold\tools".
- 3) Grab the following files and put them in the appropriate places inside Pokeheartgold's folder:
- -"include\nitro\specfiles\ARM7-TS.lcf.template" // This goes in Pokeheartgold's "sub" directory.
- -"include\nitro\specfiles\ARM9-TS.lcf.template" // This goes in Pokeheartgold's root folder.
- -"include\nitro\specfiles\mwldarm.response.template" // This goes in Pokeheartgold's root folder.
- 4) "sudo apt install wine python3 pkg-config libpugixml-dev -y"
- 5) Make an environment variable called "LM_LICENSE_FILE" and point it to "C:\Users\(YOUR_USERNAME)\Home\pokeheartgold\tools\mwccarm\license.dat".
- Then I tried to build a ROM normally by using "make".
- And then I got errors because Debian couldn't find some of the binary files that the project needs.
- To solve it, I just threw in the following paths in my Windows PATH env. variable:
- -"C:\Users\(YOUR_USERNAME)\Home\pokeheartgold\tools\mwccarm\2.0\sp2p2"
- -"C:\Users\(YOUR_USERNAME)\Home\pokeheartgold\tools\mwccarm\2.0\sp2p3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement