melonDS-android/README.md

54 lines
2.9 KiB
Markdown
Raw Normal View History

2018-11-25 18:25:53 +00:00
# melonDS Android port
This is a WIP Android frontend for the melonDS Android port. For the Android port of the emulator, check out https://github.com/rafaelvcaetano/melonDS-android-lib
[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" alt="Get it on Google Play" height="80">](https://play.google.com/store/apps/details?id=me.magnum.melonds&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1)
|Rom List|Dark Theme|Pocket Physics|Layout Editor|
|---|---|---|---|
|![Screenshot 1](./.github/images/screenshot_mobile0.png)|![Screenshot 2](./.github/images/screenshot_mobile1.png)|![Screenshot 3](./.github/images/screenshot_mobile2.png)|![Screenshot 4](./.github/images/screenshot_mobile3.png)|
2023-08-31 16:08:54 +00:00
# Missing Features
* Local Multiplayer
2020-05-19 18:41:31 +00:00
* OpenGL renderer
2023-08-31 16:08:54 +00:00
* DSi SD card support
2021-04-25 20:05:42 +00:00
* Customizable button skins
* More display filters
2018-11-25 18:25:53 +00:00
# Performance
2021-01-09 20:46:16 +00:00
Performance is solid on 64 bit devices with thread rendering and JIT enabled, and should run at full speed on flagship devices. Performance on older devices, specially
32 bit devices, is very poor due to the lack of JIT support.
2018-11-25 18:25:53 +00:00
2023-08-31 16:08:54 +00:00
# Integration with third-party frontends
It's possible to launch melonDS from third part frontends. For that, you will need to have the ROMs you want to launch already scanned by melonDS. Then, you can configure your
third-party frontend with the following configuration:
* Package name: `me.magnum.melonds`
* Activity name: `me.magnum.melonds.ui.emulator.EmulatorActivity`
2023-08-31 16:08:54 +00:00
* Parameters (choose one):
* `uri` (preferred) - a string with the [SAF](https://developer.android.com/guide/topics/providers/create-document-provider) URI of the NDS ROM (ZIP files are supported)
2021-02-19 22:34:37 +00:00
* `PATH` - a string with the absolute path to the NDS ROM (ZIP files are supported)
# Nightly Builds
To have access to the latest changes, you can install nightly builds that you can find [here](https://github.com/rafaelvcaetano/melonDS-android/releases/tag/nightly-release).
Be aware that these builds can contain more bugs than usual and you may need to clear your app data to get it to work properly.
2018-11-25 18:25:53 +00:00
# Building
To build the project you will need Android SDK, NDK and CMake.
2018-12-11 22:05:02 +00:00
2021-11-03 23:46:03 +00:00
## Build steps:
2018-11-25 18:25:53 +00:00
1. Clone the project, including submodules with:
`git clone --recurse-submodules https://github.com/rafaelvcaetano/melonDS-android.git`
2. Install the Android SDK, NDK and CMake
3. Build with:
1. Unix: `./gradlew :app:assembleGitHubProdDebug`
2. Windows: `gradlew.bat :app:assembleGitHubProdDebug`
4. The generated APK can be found at `app/gitHubProd/debug`
2023-08-31 16:08:54 +00:00
If you want to create a release build, you will need to modify your `local.properties` file to include the following fields:
* `MELONDS_KEYSTORE=<path_to_your_keystore>`
* `MELONDS_KEYSTORE_PASSWORD=<keystore_password>`
* `MELONDS_KEY_ALIAS=<name_of_your_key_alias>`
* `MELONDS_KEY_PASSWORD=<key_alias_password>`