Skip to content

Add_Platform_EN

Breeze edited this page Oct 27, 2024 · 1 revision

If you want to add support for new platforms, you need some basic knowledge of JSON.


It is a JSON list composed of multiple objects, located at:

This PC - QUAD-CORE A133 aw4 -> Internal Storage -> Android -> data -> magic.mini.m -> file -> Config -> json -> EmulatorConfig.json>EmulatorConfig.json


Below is an example, and I will explain the meaning of each key.

{
"n64": {
    "Ra_Overlay": "",
    "DefaultCpuMode": 0,
    "Ra_core": [
      "mupen64plus_next",
      "mupen64plus",
      "parallel_n64"
    ],
    "default_core": "mupen64plusFz-sa",
    "extension": [
      ".z64",
      ".n64",
      ".v64",
      ".zip",
      ".7z"
    ],
    "fullname": "Nintendo 64",
    "id": 14,
    "name": "n64",
    "sa_core": [
      "mupen64plusFz-sa"
    ]
  }
}
Field Description
N64 Platform directory
Ra_Overlay Default overlay for this platform, usually defaults to "", generated by the program
DefaultCpuMode Default CPU mode for this platform:
0 represents global CPU mode,
1 for power-saving,
2 for balanced,
3 for performance
Ra_core RetroArch core; it must be an array, ensure your RetroArch has this core
default_core Default core/standalone emulator for this platform
extension Supported file extensions for this platform; ensure the RetroArch core/standalone emulator supports these formats
fullname Full name of the platform, displayed in Dawn
id ID for this platform in screenscraper
name Abbreviated name of the platform, displayed in Dawn
sa_core List of standalone emulators for this platform; it must be an array, and corresponding runtime configurations must be added
Clone this wiki locally