PHPInstallMiiRepoAdmin 3DS

From GameBrew

Last Updated2016/04/13
TypeOther PC Utilities

This is a PHP admin tool to compile several files required by the InstallMii 3DS homebrew application.

This tool will create your repo.list, package.list and scrape information from .smdh files to create the packages.json.

While it is preferable to have an SMDH file available for scraping, this tool will still add an entry if none exists. Packages can be modified once imported.

The index has a download link to the repo.list, the package.list and packages.json files are all for the backend. Visit here for SQLite version.

User guide


  • InstallMii.
  • A webserver running apache and PHP, this script is no longer OS dependent so Windows or Linux is fine.
  • PHP >= 5.5 for Admin version.
  • MySQL for Admin version.
  • OR PHP SQLite3 for SQLITE version.
  • A text editor to do some very minimal coinfig, Admin version has an installer so minimal manual config is required.
  • FTP client to upload files to server.
  • Homebrew apps on your server MUST be in the /3ds/ directory, example:

How to use

  • Download latest release.
  • You might need to create SQL database on your server, along with a user that has access to create tables and modify tables, though the installer may create them for you.
  • Upload to webhost.
  • Go to, you will be directed to the install page.
  • On the install page, follow the directions to create the database and user.
  • Head back to and ensure you can log in.
  • Create additional admin accounts if required, otherwise it is advised to delete the /admin/install directory.
  • Once in, the interface is pretty straight forward.



Known issues

Author text displays incorrect if there are any non-alphanumeric characters, though this may be an issue with InstallMii.

If the SMDH file is not the same name as the directory it is in, it is not scanned or scrapped.



  • Added a menu when viewing on a 3DS as the nice slide out menu does not work.
  • It's fugly, but it works.
  • Problem is that all the nice javascript stuff wont work on the 3DS browser for some reason.


  • Index page has been jazzed up a little, it now also has a button to display the current packages that are on the repo.
  • In the admin side, there are a few tweeks, you can now see the packages as they are in the database and also in the packages.json file, same with the repo's and repo.list.
  • Added a logout link on the slide out sidebar when on mobile.
  • A few cosmetic changes and additions too.


  • Scanning SMDH files on "Generate Package Lists" page now also removes entry from the database for packages that have had their source files deleted.
  • Rearranged the side bar menu.
  • Put the sidebar code into its own file so it can be changed without having to edit each page (should have done that from day 1.).


  • Fixed an issue with package names that contained apostrophes and possibly other control characters.
  • In fixing that issue, also added some MySQL string escapes on package scanning to prevent code injection.


  • Removed: Add Custom Package page.
  • Removed due to new function to delete non existent packages, if you added a custom package and ran the scan on the "Generate Repo Files" page, it would remove your custom packages.


  • Added in a lot of stuff, ability to create more than 1 repo entry in the repo.list. Created a pretty awesome install page and basically got everything working as expected.


  • Initial release, only thing to do is to add a repo.list management page.


  • simonepsp for creating InstallMii.
  • LiquidFenrir for the awesome PHP skills (ie, pretty much creating everything from scratch based on a few concepts I came up with in a totally convoluted crazy way and making them easier and platform independent).
  • ChaosJester for core concept and index page, Admin version development.

External links