slides:
# door open
service_door_open:
- type: text
text: Door Open
style: medium
anchor_y: bottom
x: center
y: bottom+21
- type: text
text: Press enter for service
style: small
anchor_y: bottom
x: center
y: bottom+12
# menu
service_menu:
- type: text
text: Service Menu
style: small
anchor_y: top
x: center
y: top
# switch test
service_switch_test:
- type: text
text: Switch Test
style: small
anchor_y: top
x: center
y: top
- type: text
text: "Last: (switch_num)"
style: small
y: center+6
- type: text
text: "(switch_name)"
style: small
y: center
- type: text
text: "(switch_label)"
style: small
y: center-6
- type: text
text: (switch_state)
style: small
anchor_y: bottom
y: bottom
# coil test
service_coil_test:
- type: text
text: "Coil Test - (board_name)"
style: small
anchor_y: top
x: center
y: top
- type: text
text: "(coil_name)"
style: small
y: center+6
- type: text
text: "(coil_label)"
style: small
y: center
- type: text
text: "(coil_num)"
style: small
y: center-6
# coil test
service_light_test:
- type: text
text: "Light Test - (board_name)"
style: small
anchor_y: top
x: center
y: top
- type: text
text: "(light_name)"
style: small
y: center+6
- type: text
text: "(light_label)"
style: small
y: center
- type: text
text: "(light_num)/(test_color)"
style: small
y: center-6
# settings
service_settings:
- type: text
text: "Settings"
style: small
anchor_y: top
x: center
y: top
- type: text
text: "(settings_label)"
style: small
y: center+6
- type: text
text: "(value_label)"
style: small
y: center
018-07-01 20:59:31,985 : mpfmc : SlidePlayer: Play called with settings={'slides': {'service_menu': {'action': 'play', 'show': True, 'background_color': [0.0, 0.0, 0.0, 1.0], 'force': False, 'target': None, 'slide': None, 'transition_out': None, 'priority': 1, 'expire': None, 'transition': None}}}
2018-07-01 20:59:31,989 : kivy : Base: Leaving application in progress...
2018-07-01 20:59:31,989 : kivy : <Text Widget text=> has an invalid style name: small
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/mpfmc/uix/widget.py", line 383, in _apply_style
style = self.mc.machine_config['widget_styles'][self.config['style']]
KeyError: 'small'
Jan
widget_styles:
text_default:
font_size: 16
adjust_top: 2
adjust_bottom: 3
medium:
font_size: 8
adjust_top: 1
adjust_bottom: 1
small:
font_size: 9
adjust_top: 2
adjust_bottom: 3
Jan
Jan
Jan
assets:
images:
default:
load: preload
preload:
load: preload
on_demand:
load: on_demand
mode_start:
load: mode_start
sounds:
default:
load: on_demand
music:
track: music
sfx:
track: sfx
voice:
track: voice
sound_system:
buffer: 2048
channels: 2
use_sdl_mixer_loader: False
enabled: True
frequency: 22050
master_volume: 0.85
tracks:
music:
simultaneous_sounds: 1
events_when_stopped: music_track_stopped
events_when_played: music_track_played, keep_going
events_when_paused: music_track_paused
volume: 0.5
voice:
simultaneous_sounds: 1
volume: 0.7
sfx:
simultaneous_sounds: 8
volume: 0.4
sounds:
#music
Hope:
file: Hope22.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 50
mode_end_action: stop
Calm:
file: Calm22.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 50
mode_end_action: stop
Idle:
file: IdleTheme-TheKingdomsBallad.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 50
mode_end_action: stop
GreenKnightSong:
file: greenknight.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 70
mode_end_action: stop
FisherKing:
file: Fisher_King.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 70
mode_end_action: stop
Morgana:
file: morgana.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 90
mode_end_action: stop
ShopTheme:
file: shop_theme.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 90
mode_end_action: stop
GrailQuest:
file: grail_quest.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 90
mode_end_action: stop
RoundTable:
file: round_table.ogg
#streaming: True
track: music
#volume: -4.5 db
priority: 90
mode_end_action: stop
(this part goes on for a bit separated into the music / sfx / and voices. with ducking turned on for most of those)
config:
- service_slides.yaml
2020-01-14 22:26:18,932 : INFO : ConfigProcessor : Loading config: c:\Projects\Code Repositories\Pinball Machines\Game_Folder\modes\service\config\service_slides.yaml
2020-01-14 22:26:18,937 : ERROR : asyncio : Exception in callback EventManager._async_handler_done(<QueuedEvent>)(<Task finishe...=KeyError(0,)>) at c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\events.py:99
handle: <Handle EventManager._async_handler_done(<QueuedEvent>)(<Task finishe...=KeyError(0,)>) at c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\events.py:99>
Traceback (most recent call last):
File "c:\users\username\appdata\local\programs\python\python36\lib\asyncio\events.py", line 145, in _run
self._callback(*self._args)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\events.py", line 102, in _async_handler_done
future.result()
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 110, in load_modes
self.machine.modes[mode] = self._load_mode(mode)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 259, in _load_mode
config = self._load_mode_config(mode_string)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 177, in _load_mode_config
store_to_cache=self.machine.options['create_config_cache'])
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\config_processor.py", line 115, in load_config_files_with_cache
config = Util.dict_merge(config, file_config)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\utility_functions.py", line 228, in dict_merge
result[k] = Util.dict_merge(result[k], v)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\utility_functions.py", line 230, in dict_merge
if isinstance(v, dict) and v[0] == dict(_overwrite=True):
KeyError: 0
2020-01-14 22:26:18,966 : INFO : Machine : Starting the main run loop.
2020-01-14 22:26:18,968 : INFO : Machine : Shutting down...
2020-01-14 22:26:18,973 : INFO : EventManager : Event: ======'shutdown'====== Args={}
2020-01-14 22:26:18,977 : ERROR : Machine : Runtime Exception
Traceback (most recent call last):
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\machine.py", line 765, in _run_loop
raise self._exception['exception']
File "c:\users\username\appdata\local\programs\python\python36\lib\asyncio\events.py", line 145, in _run
self._callback(*self._args)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\events.py", line 102, in _async_handler_done
future.result()
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 110, in load_modes
self.machine.modes[mode] = self._load_mode(mode)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 259, in _load_mode
config = self._load_mode_config(mode_string)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\mode_controller.py", line 177, in _load_mode_config
store_to_cache=self.machine.options['create_config_cache'])
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\config_processor.py", line 115, in load_config_files_with_cache
config = Util.dict_merge(config, file_config)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\utility_functions.py", line 228, in dict_merge
result[k] = Util.dict_merge(result[k], v)
File "c:\users\username\appdata\local\programs\python\python36\lib\site-packages\mpf\core\utility_functions.py", line 230, in dict_merge
if isinstance(v, dict) and v[0] == dict(_overwrite=True):
KeyError: 0
2020-01-14 22:26:18,980 : INFO : root : MPF run loop ended.
Jan
Jan