Add rpcs3 runner

Clean Code

Forgot to add init
This commit is contained in:
999gary 2018-02-12 19:42:41 -06:00 committed by Mathieu Comandon
parent 82d19c6cee
commit 53606ce28e
2 changed files with 21 additions and 1 deletions

View file

@ -15,7 +15,7 @@ __all__ = (
# Nintendo
"snes9x", "mupen64plus", "dolphin", "desmume", "citra",
# Sony
"ppsspp", "pcsx2",
"ppsspp", "pcsx2", "rpcs3",
# Sega
"osmose", "dgen", "reicast",
# Misc legacy systems

20
lutris/runners/rpcs3.py Normal file
View file

@ -0,0 +1,20 @@
from lutris.runners.runner import Runner
class rpcs3(Runner):
human_name = "rpcs3"
description = "PlayStation 3 emulator"
platforms = ['Sony PlayStation 3']
runner_executable = 'rpcs3/bin/rpcs3'
game_options = [
{
"option": "main_file",
"type": "file",
"default_path": "game_path",
"label": "EBOOT.BIN"
}
]
def play(self):
return {'command': [self.get_executable(), self.game_config.get('main_file')] }