Advertisement
Lunos2

Building Pokediamond (Cygwin x64)

Jul 10th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. 1) Download Cygwin (64 Bits), open the setup and install it normally.
  2. https://cygwin.com/setup-x86_64.exe
  3.  
  4. 2) Next, Next, Next, set the View field to "Full" and then choose the following packages with the aid of the Search Bar:
  5. make, git, libpng-devel, gcc-core and gcc-g++
  6.  
  7. 3) Click on Next, wait until the process ends, and then click on Finish.
  8.  
  9. 4) Open C:\cygwin64\Cygwin.bat and let it create some files that it needs.
  10.  
  11. 5) git clone https://github.com/pret/pokediamond
  12.  
  13. 6) Download the MWCC compiler right here: https://cdn.discordapp.com/attachments/698589325620936736/698589447096107089/mwccarm.zip
  14.  
  15. 7) Extract the folder and toss the mwccarm containing 2 folders and a license.dat file into C:\cygwin64\home\USER\pokediamond\tools
  16.  
  17. 8) Download the Nitro SDK right here: https://cdn.discordapp.com/attachments/698589325620936736/722822401963851797/NitroSDK-3_2-060901.7z
  18.  
  19. 9) Extract the folder and go to C:\Users\USER\Desktop\NitroSDK-3_2-060901\tools
  20.  
  21. 10) Throw the bin folder there into C:\cygwin64\home\USER\pokediamond\tools
  22.  
  23. 11) Go back to C:\Users\Lunos\Desktop\NitroSDK-3_2-060901 and from there go to include\nitro\specfiles
  24. Once there:
  25. *-Grab the ARM7-TS.lcf.template file and drop it in C:\cygwin64\home\USER\pokediamond\arm7
  26. *-Grab the ARM9-TS.lcf.template file and drop it in C:\cygwin64\home\USER\pokediamond\arm9
  27.  
  28. 12) Go back to Cygwin.bat and then just
  29. cd pokediamond
  30. make -jN
  31. Note: "N" stands for the number of CPU Threads you want to assign to the compiler. The more threads, the faster it'll go.
  32.  
  33. And that's pretty much it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement