Skip to content

[Feature] Feature to allow EJS to access dynamic cheats folder #3365

@joefok

Description

@joefok

**Is your feature request related to a problem?
No, thanks.

Describe the solution you'd like
https://emulatorjs.org/docs4devs/dynamic-cheat-codes/
When load up the game, EJS will find if dynamic cheat variables is existed, romm could provide folder of console.json file that contain list of cheats code.
window.EJS_cheatPath = "/emulatorjs/cheats/";
Current this variable is not existed.

Describe alternatives you've considered
Add sample json file that allow easier to follow.
Example: nes.json
{
"Super Mario Bros.": [
{ "desc": "Super jump", "code": "TPZLTG" },
{ "desc": "Mega-jump", "code": "APZLGG" }
],
"The Legend of Zelda": [
{ "desc": "Infinite Health", "code": "SZLZZZ" }
]
}

Additional context
Add any other context or screenshots about the feature request here.
EmulatorJS/EmulatorJS#1122
tmp_e4e5879e-74d3-4b7e-8658-25034f6bfb53.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions