files:
- melon_mix: https://github.com/vitor251093/KHMelonMix/releases/latest/download/MelonMix-appimage-x86_64.zip
- rom: N/A:Select a dump of your copy of Kingdom Hearts Re:coded
- assets: 'N/A:Download the most recent assets .zip file from here:
https://drive.google.com/drive/folders/1vQL7QZ0cQhjJ2TRFt_7u76yG9MGj6bkr?usp=sharing
'
game:
args: --fullscreen "$GAMEDIR/roms/recoded.nds"
exe: $GAMEDIR/MelonMix.AppImage
launch_configs:
- args: '"$GAMEDIR/roms/recoded.nds"'
exe: $GAMEDIR/MelonMix.AppImage
name: Config
working_dir: $GAMEDIR
installer:
- execute:
command: mkdir -p "$GAMEDIR/$config_dir"
- execute:
command: ln -s "$GAMEDIR/$config_dir" $CACHE/config
- extract:
dst: $GAMEDIR
file: melon_mix
- execute:
command: rm -f "$GAMEDIR"/*.exe
- execute:
command: rm -f "$GAMEDIR/roms"/*
- extract:
dst: $GAMEDIR/assets
file: assets
- execute:
command: rm -rf "$GAMEDIR"/assets/days
- copy:
description: Copying ROM...
dst: $GAMEDIR/roms
src: rom
- execute:
command: mv "$GAMEDIR/roms"/* "$GAMEDIR/roms/recoded.nds"
- execute:
command: touch $CACHE/config/melonDS.toml
- execute:
args: "-i -e '\n # Remove arrays\n /=\\s*\\[\\s*\\(#.*\\)\\?$/,/\\]\\s*\\\
(#.*\\)\\?$/d;\n # Remove settings without sections\n 0,/\\s*\\[.*\\]\\\
s*\\(#.*\\)\\?$/{ /\\s*\\[.*\\]\\s*\\(#.*\\)\\?$/p; d; };\n # Retain blank\
\ lines\n /^\\s*\\(#.*\\)\\?$/n;\n # Retain headers\n /\\s*\\[.*\\\
]\\s*\\(#.*\\)\\?$/n;\n # Retain assignments\n /=/n;\n # Delete everything\
\ else\n d;\n' $CACHE/config/melonDS.toml\n"
file: sed
- write_config:
data:
3D: {}
3D.GL:
ScaleFactor: 8
Instance0: {}
Instance0.Keyboard:
HK_FullscreenToggle: 16777238
file: $CACHE/config/melonDS.toml
system:
disable_runtime: true
variables:
config_dir: MelonMix.AppImage.config/khDaysMM
description: ''
game_slug: kingdom-hearts-re-coded
gogslug: ''
humblestoreid: ''
installer_slug: kingdom-hearts-recoded-melon-mix
name: Kingdom Hearts Re:coded
notes: "Use \"Page Up\" on your keyboard or \"R4\" on your SteamDeck in desktop mode\
\ to toggle Fullscreen mode.\r\nHave a look at the official website for the most\
\ recent recommended configurations: https://github.com/vitor251093/KHMelonMix\r\
\nFeedback, Issues and Pull Requests regarding the installer script are gladly welcome\
\ at: https://codeberg.org/lutris-forge/lutris-kingdom-hearts-re-coded-melon-mix"
runner: linux
script:
files:
- melon_mix: https://github.com/vitor251093/KHMelonMix/releases/latest/download/MelonMix-appimage-x86_64.zip
- rom: N/A:Select a dump of your copy of Kingdom Hearts Re:coded
- assets: 'N/A:Download the most recent assets .zip file from here:
https://drive.google.com/drive/folders/1vQL7QZ0cQhjJ2TRFt_7u76yG9MGj6bkr?usp=sharing
'
game:
args: --fullscreen "$GAMEDIR/roms/recoded.nds"
exe: $GAMEDIR/MelonMix.AppImage
launch_configs:
- args: '"$GAMEDIR/roms/recoded.nds"'
exe: $GAMEDIR/MelonMix.AppImage
name: Config
working_dir: $GAMEDIR
installer:
- execute:
command: mkdir -p "$GAMEDIR/$config_dir"
- execute:
command: ln -s "$GAMEDIR/$config_dir" $CACHE/config
- extract:
dst: $GAMEDIR
file: melon_mix
- execute:
command: rm -f "$GAMEDIR"/*.exe
- execute:
command: rm -f "$GAMEDIR/roms"/*
- extract:
dst: $GAMEDIR/assets
file: assets
- execute:
command: rm -rf "$GAMEDIR"/assets/days
- copy:
description: Copying ROM...
dst: $GAMEDIR/roms
src: rom
- execute:
command: mv "$GAMEDIR/roms"/* "$GAMEDIR/roms/recoded.nds"
- execute:
command: touch $CACHE/config/melonDS.toml
- execute:
args: "-i -e '\n # Remove arrays\n /=\\s*\\[\\s*\\(#.*\\)\\?$/,/\\]\\\
s*\\(#.*\\)\\?$/d;\n # Remove settings without sections\n 0,/\\s*\\\
[.*\\]\\s*\\(#.*\\)\\?$/{ /\\s*\\[.*\\]\\s*\\(#.*\\)\\?$/p; d; };\n # Retain\
\ blank lines\n /^\\s*\\(#.*\\)\\?$/n;\n # Retain headers\n /\\s*\\\
[.*\\]\\s*\\(#.*\\)\\?$/n;\n # Retain assignments\n /=/n;\n # Delete\
\ everything else\n d;\n' $CACHE/config/melonDS.toml\n"
file: sed
- write_config:
data:
3D: {}
3D.GL:
ScaleFactor: 8
Instance0: {}
Instance0.Keyboard:
HK_FullscreenToggle: 16777238
file: $CACHE/config/melonDS.toml
system:
disable_runtime: true
variables:
config_dir: MelonMix.AppImage.config/khDaysMM
slug: kingdom-hearts-recoded-melon-mix
steamid: null
version: Melon Mix
year: 2010
{
"game_slug": "kingdom-hearts-re-coded",
"version": "Melon Mix",
"description": "",
"notes": "Use \"Page Up\" on your keyboard or \"R4\" on your SteamDeck in desktop mode to toggle Fullscreen mode.\r\nHave a look at the official website for the most recent recommended configurations: https://github.com/vitor251093/KHMelonMix\r\nFeedback, Issues and Pull Requests regarding the installer script are gladly welcome at: https://codeberg.org/lutris-forge/lutris-kingdom-hearts-re-coded-melon-mix",
"name": "Kingdom Hearts Re:coded",
"year": 2010,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "linux",
"slug": "kingdom-hearts-recoded-melon-mix",
"installer_slug": "kingdom-hearts-recoded-melon-mix",
"script": {
"files": [
{
"melon_mix": "https://github.com/vitor251093/KHMelonMix/releases/latest/download/MelonMix-appimage-x86_64.zip"
},
{
"rom": "N/A:Select a dump of your copy of Kingdom Hearts Re:coded"
},
{
"assets": "N/A:Download the most recent assets .zip file from here:\n\nhttps://drive.google.com/drive/folders/1vQL7QZ0cQhjJ2TRFt_7u76yG9MGj6bkr?usp=sharing\n"
}
],
"game": {
"args": "--fullscreen \"$GAMEDIR/roms/recoded.nds\"",
"exe": "$GAMEDIR/MelonMix.AppImage",
"launch_configs": [
{
"args": "\"$GAMEDIR/roms/recoded.nds\"",
"exe": "$GAMEDIR/MelonMix.AppImage",
"name": "Config"
}
],
"working_dir": "$GAMEDIR"
},
"installer": [
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/$config_dir\""
}
},
{
"execute": {
"command": "ln -s \"$GAMEDIR/$config_dir\" $CACHE/config"
}
},
{
"extract": {
"dst": "$GAMEDIR",
"file": "melon_mix"
}
},
{
"execute": {
"command": "rm -f \"$GAMEDIR\"/*.exe"
}
},
{
"execute": {
"command": "rm -f \"$GAMEDIR/roms\"/*"
}
},
{
"extract": {
"dst": "$GAMEDIR/assets",
"file": "assets"
}
},
{
"execute": {
"command": "rm -rf \"$GAMEDIR\"/assets/days"
}
},
{
"copy": {
"description": "Copying ROM...",
"dst": "$GAMEDIR/roms",
"src": "rom"
}
},
{
"execute": {
"command": "mv \"$GAMEDIR/roms\"/* \"$GAMEDIR/roms/recoded.nds\""
}
},
{
"execute": {
"command": "touch $CACHE/config/melonDS.toml"
}
},
{
"execute": {
"args": "-i -e '\n # Remove arrays\n /=\\s*\\[\\s*\\(#.*\\)\\?$/,/\\]\\s*\\(#.*\\)\\?$/d;\n # Remove settings without sections\n 0,/\\s*\\[.*\\]\\s*\\(#.*\\)\\?$/{ /\\s*\\[.*\\]\\s*\\(#.*\\)\\?$/p; d; };\n # Retain blank lines\n /^\\s*\\(#.*\\)\\?$/n;\n # Retain headers\n /\\s*\\[.*\\]\\s*\\(#.*\\)\\?$/n;\n # Retain assignments\n /=/n;\n # Delete everything else\n d;\n' $CACHE/config/melonDS.toml\n",
"file": "sed"
}
},
{
"write_config": {
"data": {
"3D": {},
"3D.GL": {
"ScaleFactor": 8
},
"Instance0": {},
"Instance0.Keyboard": {
"HK_FullscreenToggle": 16777238
}
},
"file": "$CACHE/config/melonDS.toml"
}
}
],
"system": {
"disable_runtime": true
},
"variables": {
"config_dir": "MelonMix.AppImage.config/khDaysMM"
}
}
}