Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

"""Runner for stella Atari 2600 emulator""" 

from lutris.runners.runner import Runner 

 

 

class stella(Runner): 

    """Atari 2600 games emulator""" 

    package = "stella" 

    executable = "stella" 

    platform = "Atari 2600" 

    game_options = [{ 

        "option": "main_file", 

        "type": "file", 

        "label": "Cartridge" 

    }] 

    runner_options = [] 

 

    def __init__(self, settings=None): 

        super(stella, self).__init__() 

        if settings: 

            self.cart = settings["game"]["main_file"] 

 

    def play(self): 

        command = ['stella', "\"%s\"" % self.cart] 

        return {'command': command}