Author Topic: Pi4 Attract Mode display menu for themes?  (Read 3976 times)

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Pi4 Attract Mode display menu for themes?
« on: August 20, 2020, 09:12:11 AM »
I'm using Attract Mode on a Pi4 and everything is running great. The only thing is I can't change any themes. It lets me download some new ones and even gives me the note to hit TAB to access the display menu to change themes.

Problem is, when I hit TAB, it kicks me to a pi@retropie:~$ prompt and then I can't do anything else. What am I doing wrong? Is there anything else I can try?

dmmarti

  • Sr. Member
  • ****
  • Posts: 106
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #1 on: August 20, 2020, 09:48:46 AM »
It sounds like your TAB key has been mapped to exit Attract Mode instead of bringing up the options/configure menu.

If you look at your attract.cfg file (located probably here: /home/pi/.attract hidden folder), look for the "input_map" section and see what has been setup for the "configure" option.

Here's mine:

input_map
   configure            Tab

So my TAB key on my keyboard brings up the options menu.

Look through that file and find all of the "Tab" entries and only leave it as "configure" and see what happens.

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #2 on: August 20, 2020, 10:52:04 AM »
Hi, thanks for replying.  I checked the file and mine is the same:

Code: [Select]
input_map
configure                 Joy0 Button49
select                    Joy0 Button122
back                      Joy0 Button1073742049
prev_letter               Joy0 Button32
next_letter               Joy0 Button120
add_favourite             Joy0 Button1073742048
edit_game                 Joy0 Button13
configure            Tab
prev_letter          LControl+Up
next_letter          LControl+Down
filters_menu         LControl+Left
next_filter          LControl+Right
configure            Escape+Up
edit_game            Escape+Down
add_favourite        Escape+LControl
up                   Up
up                   Joy0 Up
up                   Joy0 PovYneg
down                 Down
down                 Joy0 Down
down                 Joy0 PovYpos
left                 Left
right                Right
select               Return
select               LControl
back                 Escape
default             back exit
default             up prev_game
default             down next_game
default             left prev_display
default             right next_display

There are no other instances of the word TAB in that config.  Anything else I can try?

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #3 on: August 20, 2020, 01:28:43 PM »
Any errors in the log? Because retropie has additional scrips that modifies default install locations as well as other things, you might want to ask the question on retropie forum.

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #4 on: August 20, 2020, 02:16:52 PM »
Couldn't get help there because I'm using a 3rd party image.  This is what I get when I push tab:



I'd appreciate any other help or ideas I could try.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #5 on: August 20, 2020, 03:32:50 PM »
Support and understanding some one else's config is the issue with using "images".

You have a seg fault. nano that file and tell me what line 7 says.

Code: [Select]
$ nano /opt/retropie/configs/all/autostart.sh

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #6 on: August 20, 2020, 04:20:17 PM »
Thanks for replying.  There were only 7 lines total.  Line 7 in that file is:

Code: [Select]
attract #auto
This is the full autostart.sh:

Code: [Select]
isdual=`tvservice -l |grep "2 attached device" |wc -l`
if [[ $isdual == "1" ]]; then
  /usr/bin/python /home/pi/PieMarquee2/PieMarquee2.py &
fi
while pgrep omxplayer >/dev/null; do sleep 1; done
(sleep 10; mpg123 -f 8192 -Z /home/pi/RetroPie/roms/music/*.mp3 >/dev/null 2>&1) &
attract #auto

Any ideas?
« Last Edit: August 20, 2020, 04:25:52 PM by chuckyd »

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #7 on: August 20, 2020, 05:31:38 PM »
Try launching attract without use of that script.

Code: [Select]
$ attract
If it yields the same result, I would recompile attract.

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #8 on: August 20, 2020, 06:06:09 PM »
Same thing happened.

I'll try a recompile.

Thanks for your continued help.
« Last Edit: August 20, 2020, 06:30:55 PM by chuckyd »

chuckyd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #9 on: August 20, 2020, 07:46:22 PM »
Did the recompile.  At the end, I keep getting this:

Code: [Select]
/usr/bin/ld: /usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_ge                                t_stride'

That appears for 15 of the gbm.. entries.  Then:

Code: [Select]
collect2: error: ld returned 1 exit status
make: *** [Makefile:492: attract] Error 1
pi@retropie:~/develop/attract $ /usr/bin/ld: /usr/local/lib/libsfml-window.so: undefined reference to `gbm_bo_ge                                                   t_stride'
> ^C

Ugh.  Not sure if that is related to my original problem.  Everything still runs fine as far as Attract Mode.  Still have the same Tab issue and not being able to get to the display menu.  Maybe I'll just have to live with it.

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: Pi4 Attract Mode display menu for themes?
« Reply #10 on: August 20, 2020, 09:45:32 PM »
I would concentrate on getting the bin compiled correctly first.

Tab will not bring up the display menu based on the config you posted prior. It brings up the config GUI menu. This is the default action. You can remap all these controls from the config GUI menu.