From 48fd70db35628d57c6a33cddbfee0526eeb8433d Mon Sep 17 00:00:00 2001 From: 10yard Date: Thu, 22 Jul 2021 12:19:33 +0100 Subject: [PATCH] Minor tweaks to v0.20 --- launch.py | 4 +++- rpi4/settings.txt | 4 ++-- rpi4/w_enter.sh | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/launch.py b/launch.py index 2ef6028..b892244 100644 --- a/launch.py +++ b/launch.py @@ -672,6 +672,8 @@ def launch_rom(info, override_emu=None): scored = get_award(name, st3, st2, st1) if scored > 0: _g.awarded = scored + _g.ready = False + _g.facing = 1 _g.timer.reset() _g.timer_adjust = 0 for i, coin in enumerate(range(0, scored, COIN_VALUES[-1])): @@ -861,7 +863,7 @@ def animate_rolling_coins(out_of_time=False): _g.awarded = 0 for i, coin in enumerate(_g.coins): co_x, co_y, co_rot, co_dir, co_ladder, co_type, co_awarded = coin - if co_awarded and _g.timer.duration < 6: + if co_awarded: place, place_text = get_prize_placing(co_awarded) write_text(f"YOU WON {place_text} PRIZE!", x=108, y=37, fg=WHITE, bg=MAGENTA, bubble=True) _g.awarded = co_awarded diff --git a/rpi4/settings.txt b/rpi4/settings.txt index bbd7bf5..7208a8c 100644 --- a/rpi4/settings.txt +++ b/rpi4/settings.txt @@ -1,6 +1,6 @@ # Front End Features -FREE_PLAY = 1 -UNLOCK_MODE = 0 +FREE_PLAY = 0 +UNLOCK_MODE = 1 BASIC_MODE = 0 INACTIVE_TIME = 20 SHOW_SPLASHSCREEN = 1 diff --git a/rpi4/w_enter.sh b/rpi4/w_enter.sh index c47dd40..5d1ae7b 100644 --- a/rpi4/w_enter.sh +++ b/rpi4/w_enter.sh @@ -4,7 +4,7 @@ # Use this line in your settings.txt to enable it i.e. # EMU_ENTER = /w_enter.sh -for i in {1..10} +for i in {1..20} do # Keep focus on DKAFE until MAME starts wmctrl -Fa DKAFE