Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: chuckyd 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?
-
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.
-
Hi, thanks for replying. I checked the file and mine is the same:
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?
-
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.
-
Couldn't get help there because I'm using a 3rd party image. This is what I get when I push tab:
(https://retropie.org.uk/forum/assets/uploads/files/1597952474375-img_33555.jpg)
I'd appreciate any other help or ideas I could try.
-
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.
$ nano /opt/retropie/configs/all/autostart.sh
-
Thanks for replying. There were only 7 lines total. Line 7 in that file is:
attract #auto
This is the full autostart.sh:
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?
-
Try launching attract without use of that script.
$ attract
If it yields the same result, I would recompile attract.
-
Same thing happened.
I'll try a recompile.
Thanks for your continued help.
-
Did the recompile. At the end, I keep getting this:
/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:
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.
-
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.