Skip to content

config.json

Oreo639 edited this page May 15, 2021 · 16 revisions

LimePlayer3DS uses a config.json in order to load settings related to the application, located at sdmc:/3ds/limeplayer3ds/config.json.
(sdmc:/ being the root of the sd card)

Here is the example:

{
        "Note": "You can find documentation on LimePlayer3DS's config.json at https://github.com/Oreo639/LimePlayer3DS/wiki/config.json",
        "settings": {
                "theme": 0,
                "WildMidiCFG": "/3ds/limeplayer3ds/8mbgmpat/timidity.cfg",
                "language": "sy"
        },
        "playlists": [
                {
                        "name": "Sinoh Tunes",
                        "file": [
                                "/GalacticGrunt.mid",
                                "/Lake.mid",
                                "/Elite_Four.mp3"
                        ]
                },
                {
                        "name": "Vapour Mus",
                        "file": "/vapour.wav"
                }
        ]
}

Lets go over the different options.

settings

Inside settings there are three currently available options to configure.

theme

Unimplemented.

WildMidiCFG

Set location of wildmidi.cfg (or timidity.cfg).
WildMidi only supports GravisUltraSound patchsets, so sf2 files won't work. You can find some tested patchsets here (with some minor edits)
https://drive.google.com/drive/u/0/folders/13TPysjnGx7GEOt6QM0hKcbCeVMln2ijd

The patches included are:

  • Freepats, which is provided by many linux distros.
    I just copied it from my voidlinux install.
    It can be found here:
    https://freepats.zenvoid.org/SoundSets/general-midi.html
    Copyright:
    This is licensed under GPLv2-or-later

  • eawpats:
    https://www.doomworld.com/idgames/sounds/eawpats
    Copyright:
    Free for non-commercial use, however all content that can be released under the Public Domain is released under Public Domain.
    By Eric A. Welsh
    (Note: eawpats was previously mislabeled as dgguspat-mod)

  • 8mbgmpat is a modified version of 8mbgmpat with all files being set to lowercase (useful for those on *nix systems)
    The original one can be found here:
    https://www.doomworld.com/idgames/utils/sound_edit/8mbgmpat
    Copyright:
    This is licensed under (C)Copyright 1997-2004, Rich ¥Weeds¥ Nagel - All rights reserved
    However, it may be redistributed as freeware.

Some that are not included, but are tested and compatible are:

language

Set which language you want to use.

Here is a list of all selectible languages.

You can use either their code in lowercase (ie: "jp")
or their number (ie: 1)

sy = 0,  ///< System Language
jp = 1,  ///< Japanese
en = 2,  ///< English
fr = 3,  ///< French
de = 4,  ///< German
it = 5,  ///< Italian
es = 6,  ///< Spanish
zh = 7,  ///< Simplified Chinese
ko = 8,  ///< Korean
nl = 9,  ///< Dutch
pt = 10, ///< Portugese
ru = 11, ///< Russian
tw = 12  ///< Traditional Chinese

Just put the number that corresponds with the language you want to select.

playlists

Playlist support is unimplemented.

In the playlist section is an array of objects. Inside each object, you should can set the title of the object in the name section and then have either a string or an array of strings in the file section.

The following represents an array of strings for the file section

"file": [
        "/GalacticGrunt.mid",
        "/Lake.mid",
        "/Elite_Four.mp3"
]

The following represents a string for the file section

"file": "/vapour.wav"

Clone this wiki locally