Guest User

Untitled

a guest
May 4th, 2020
1,347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. how to build the super mario 64 pc port
  2.  
  3. # Before Building
  4. * get the sm64 US rom in z64 format, rename to baserom.us.z64 and put it
  5. in the sm64pc root folder
  6. * you can also use the japanese rom (except rename to .jp instead of .us)
  7. and when you run make you would pass VERSION=jp
  8.  
  9. # Building on Linux
  10.  
  11. * install gcc make glfw-devel libusb-devel audiofile-devel
  12.  
  13. make -j9 TARGET_N64=0
  14.  
  15. # Building on Windows
  16.  
  17. * install msys2 and start it
  18.  
  19. pacman -Syu
  20.  
  21. * restart msys2
  22.  
  23. explorer .
  24.  
  25. * copy sm64pc source code folder to the directory that opens in explorer
  26.  
  27. NOTE: in these commands when you see -j9 replace that with the number of
  28. cores/threads to use when compiling (in my case 9)
  29.  
  30. pacman -Syu
  31. pacman -S git make auto{make,conf} libtool python3 gcc \
  32. mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-pkg-config
  33.  
  34. cd sm64pc
  35.  
  36. git clone https://github.com/mpruett/audiofile/ --depth=1
  37. cd audiofile
  38. CC=x86_64-pc-msys-gcc CXX=x86_64-pc-msys-g++ ./autogen.sh --prefix=/usr/
  39. cd libaudiofile
  40. make -j9
  41. make install
  42. cd ../..
  43.  
  44. make -C tools clean
  45. make -C tools CC=x86_64-pc-msys-gcc CXX=x86_64-pc-msys-g++
  46. make -j9 TARGET_N64=0
Add Comment
Please, Sign In to add comment