dk-nds-dependencies.sh 585 B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. [ -z "$DEVKITPRO" ] && { echo "DEVKITPRO environment variable must be set!"; exit 1; }
  3. export DEVKITPRO=`cygpath -u "$DEVKITPRO"`
  4. export PATH="$PATH:$DEVKITPRO/devkitARM/bin"
  5. echo ""
  6. echo "/********************/"
  7. echo " NDS - dependencies "
  8. echo "/********************/"
  9. pacman --needed --noconfirm -S devkitARM libnds libfat-nds maxmod-nds nds-zlib ndstool dstools
  10. cd /mzx-build-workingdir
  11. echo ""
  12. echo "/******************/"
  13. echo " NDS - ndsScreens "
  14. echo "/******************/"
  15. cd /mzx-build-workingdir/megazeux
  16. 7za x scripts/deps/nds.zip -oarch/nds/ -aoa