Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
hardware:lcd_led_marquees [2022/02/24 02:38] – [Setting up the scripts in Batocera] pdapice | hardware:lcd_led_marquees [2022/06/17 04:56] – added note about this getting screwed over by upgrading to v34 atari |
---|
| |
===== Using the two HDMI outputs on a RPi4 ===== | ===== Using the two HDMI outputs on a RPi4 ===== |
| |
| <WRAP center round important> |
| This has broken on **v34**. Stay on **v33** or lower if you intend to use this. |
| </WRAP> |
| |
It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic marquee. [[https://forum.batocera.org/d/7129-dynamic-marquee-for-pi4-working|Link to the original forum post explaining this.]] Essentially, the Raspberry Pi draws images/videos directly to the framebuffer, which is still visible on the other display even though it's hidden by Batocera on the main display. | It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic marquee. [[https://forum.batocera.org/d/7129-dynamic-marquee-for-pi4-working|Link to the original forum post explaining this.]] Essentially, the Raspberry Pi draws images/videos directly to the framebuffer, which is still visible on the other display even though it's hidden by Batocera on the main display. |
| |
Artwork needs to be sourced and placed in the appropriate ''Marquee'' and ''roms/Marquee'' folders first. | Artwork needs to be sourced and placed in the appropriate ''Marquee'' and ''roms/Marquee'' folders first. If you don't already have a marquee repository, [[https://mega.nz/folder/cgEgHBTb#5ZYNIZ9VKPYpCS2ujwghbQ|a sample pack is available here]]. Extract it to the root of your device. |
| |
Place ''game.sh'' into ''system/configs/emulationstation/scripts/game-selected'' | Place ''game.sh'' into ''system/configs/emulationstation/scripts/game-selected'' |
| |
[[https://forum.batocera.org/d/7269-dynamic-marquee-setup-for-all-platforms|Link to original forum post.]] [[https://www.youtube.com/watch?v=VLtqgMS90A0|Link to video demonstration.]] | [[https://forum.batocera.org/d/7269-dynamic-marquee-setup-for-all-platforms|Link to original forum post.]] [[https://www.youtube.com/watch?v=VLtqgMS90A0|Link to video demonstration.]] |
[[https://mega.nz/folder/cgEgHBTb#5ZYNIZ9VKPYpCS2ujwghbQ|Link to sample artwork]] | |
This can be done using Batocera installed onto a device and another computer/Raspberry Pi connected to a separate display. So far, this has been tested successfully using Batocera installed on an x86_64 computer/Raspberry Pi with another Raspberry Pi acting as the marquee. | This can be done using Batocera installed onto a device and another computer/Raspberry Pi connected to a separate display. So far, this has been tested successfully using Batocera installed on an x86_64 computer/Raspberry Pi with another Raspberry Pi acting as the marquee. |
| |
==== Setting up the Marquee computer ==== | ==== Setting up the Marquee computer ==== |
| |
| - If you don't already have a marquee repository, start downloading the [[https://mega.nz/folder/cgEgHBTb#5ZYNIZ9VKPYpCS2ujwghbQ|sample pack here]]. |
- Install Raspbian OS on the Raspberry Pi to act as the marquee (referred to as Marquee from now on). | - Install Raspbian OS on the Raspberry Pi to act as the marquee (referred to as Marquee from now on). |
- Set this up with a static IP to make things easier. | - Set this up with a static IP to make things easier. |
==== Setting up the Marquee folder ==== | ==== Setting up the Marquee folder ==== |
| |
| - If you downloaded the sample pack, simply extract it to the root of the drive and move onto the [[#setting_up_the_scripts_in_batocera|next section]]. Otherwise, read on. |
- On the Marquee computer, create a ''/marquee'' folder in the root of the drive. | - On the Marquee computer, create a ''/marquee'' folder in the root of the drive. |
- In this folder, create/place the ''default.png'' image file you wish to display when no other image can be found. | - In this folder, create/place the ''default.png'' image file you wish to display when no other image can be found. |
case 1 in gameStart) | case 1 in gameStart) |
romname={5##*/} | romname={5##*/} |
gamename=${romname%.*} | gamename=${romname%.*} |
echo ./marquee.sh GameStart 2 "\\"gamename\"" | nc $Marqueeip 5555 >temp.log & | echo ./marquee.sh GameStart $2 "\"gamename\"" | nc $Marqueeip 5555 >temp.log & |
;; | ;; |
gameStop) | gameStop) |
rom=${Romname##*/} | rom=${Romname##*/} |
| |
echo ./marquee.sh Gameselected $System “\”$rom\"" | nc $Marqueeip 5555 >temp.log & | echo ./marquee.sh Gameselected $System "\"$rom\"" | nc $Marqueeip 5555 >temp.log & |
</file> | </file> |
* In ''system-selected'' save the following as ''01-marquee.sh'' (eg. ''/userdata/system/configs/emulationstation/scripts/system-selected/01-marquee.sh''): <file bash 01-marquee.sh> | * In ''system-selected'' save the following as ''01-marquee.sh'' (eg. ''/userdata/system/configs/emulationstation/scripts/system-selected/01-marquee.sh''): <file bash 01-marquee.sh> |