Skip to content

Stitchuuuu/3ds_portlibs

 
 

Repository files navigation

pacman

3ds portlibs and Switch portlibs are now available with a custom version of pacman.

How to use pacman (Arch Linux, Windows, OSX)

Listing package

pacman -Sl dkp-libs

Installing package

pacman -S <name-of-package>

Removing package

pacman -R <name-of-package>

How to use pacman (Debian systems)

Listing package

dkp-pacman -Sl

Installing package

dkp-pacman -S <name-of-package>

Removing package

dkp-pacman -R <name-of-package>

Installing on Windows

Use the last Windows installer which install a version of msys2 and a version of pacman

https://github.com/devkitPro/installer/releases/latest

Installing on Debian

Download pacman release here : https://github.com/devkitPro/pacman/releases/download/v1.0.0/devkitpro-pacman.deb

Install it with :

sudo dpkg -i devkitpro-pacman.deb

Installing on OSX

Run this package : https://github.com/devkitPro/pacman/releases/download/v1.0.0/devkitpro-pacman-installer.pkg

3DS Custom Portlibs

However, there is some portlibs which are not available at this moment, which are on this repository only Those libs could be added to pacman in a near future

Here is a Makefile for building various portlibs for 3DS. It is basically libs compiled with the compiler equivalent to the processor of the 3DS.

The processor of the 3DS use the armv6k instructions.

You need to first build zlib and install it. Then you can build the other portlibs.

$ make zlib
$ make install-zlib
$ make <targets>
$ make install

This will install the portlibs to $DEVKITPRO/portlibs/armv6k. If this is a privileged location, you will need to sudo make install-zlib and sudo make install in order for the portlibs to be installed.

Prerequisite

You need to have installed the following packages :

  • autoconf
  • cmake
  • make
  • pkg-config
  • libtool

On Debian system, use this set of command to install it

sudo apt-get install autoconf cmake make pkg-config libtool

You need also to have devkitPro and devkitARM installed on your machine. For more information, see : https://devkitpro.org/wiki/Getting_Started/devkitARM

List of portlibs supported

  • bzip2
  • expat
  • ffmpeg
  • freetype (requires zlib)
  • giflib
  • jansson
  • libarchive
  • libconfig
  • libexif
  • libfaad2
  • libfmt
  • libjpeg-turbo
  • libmad
  • libogg
  • libopus
  • libopusfile (requires libopus)
  • libpng (requires zlib)
  • libssh2 (requires mbedtls and zlib)
  • libvorbis (requires libogg)
  • libxmp-lite
  • mpg123
  • nettle
  • minixml
  • mbedtls (requires zlib) (without net component)
  • sqlite
  • tinyxml2
  • tremor (requires libogg)
  • wslay
  • xz
  • zlib

List of portlibs temporary unsupported

  • libxml2

Download links:

Thanks

Thanks to :

About

Portlibs for 3DS with releases already compiled

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 96.3%
  • CMake 2.0%
  • Shell 1.7%