Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:lcd_led_marquees [2022/02/08 01:53] – added note about supported filesystems atari | hardware:lcd_led_marquees [2024/04/12 22:22] (current) – [Customize output (batocera 40+)] nadenislamarre | ||
---|---|---|---|
Line 6: | Line 6: | ||
Remember back in the physical arcades how game cabinets would proudly display the logo of the game they featured on the overhead billboards? Well, thanks to the aid of modern technology, it is now possible to replicate those banners! And since we're in Batocera, we can dynamically change those artworks to reflect the game that's being played at that current moment! | Remember back in the physical arcades how game cabinets would proudly display the logo of the game they featured on the overhead billboards? Well, thanks to the aid of modern technology, it is now possible to replicate those banners! And since we're in Batocera, we can dynamically change those artworks to reflect the game that's being played at that current moment! | ||
+ | |||
+ | ===== DIY dmd ===== | ||
+ | An article to build you own dmd at a lower cost : [[DIY_DMD]] | ||
+ | |||
+ | {{: | ||
+ | {{: | ||
+ | |||
===== Pixelcade ===== | ===== Pixelcade ===== | ||
- | The premier digital marquee manufacturers! [[https:// | + | The premier digital marquee manufacturers! [[https:// |
{{: | {{: | ||
- | |||
- | <WRAP center round info> | ||
- | Pixelcade themselves offer [[https:// | ||
- | </ | ||
Supported platforms include: | Supported platforms include: | ||
Line 26: | Line 29: | ||
* Theoretically, | * Theoretically, | ||
- | <WRAP center round important> | ||
- | Pixelcade' | ||
- | </ | ||
- | Pixelcade offer their marquees in two delicious | + | Pixelcade offer their marquees in two flavors, Pixelcade LED (8-bit, low-res) and Pixelcade LCD (high res). |
==== Pixelcade LED ==== | ==== Pixelcade LED ==== | ||
Line 38: | Line 38: | ||
</ | </ | ||
- | This is the lower resolution LED panel that's more suited to pixel-art display than full-color images. It's easy to tell this one from the LCD panel as it has a USB port on the back, while the LCD panel does not. | + | {{: |
- | Installation is simple. Power on the Pixelcade | + | Pixelcade LED marquees are based on LED panels for a low-res 128x32 display suited for 8-bit, pixel art marquee artwork. Pixelcade and the community has created and updates |
- | <code bash> | + | Installation is simple. Power on the Pixelcade panel and plug in its USB port into the Batocera machine: |
- | curl -kLO -H " | + | |
+ | {{: | ||
+ | |||
+ | Then [[: | ||
+ | |||
+ | < | ||
+ | curl -kLO -H " | ||
</ | </ | ||
- | After the downloading and installation is complete, | + | <WRAP center round info> |
+ | In case that doesn' | ||
+ | </ | ||
+ | |||
+ | After the downloading and installation is complete, the 1941 game marquee | ||
- | If the panel did not display the marquee, refer to the [[# | ||
==== Pixelcade LCD ==== | ==== Pixelcade LCD ==== | ||
Line 56: | Line 65: | ||
</ | </ | ||
- | This is the higher resolution LCD panel that's suited | + | This is the higher resolution LCD panel that's suited |
- | Installation uses a different command from the LED panel, so be careful. Power on the Pixelcade | + | To set up the Pixelcade |
- | <code bash> | + | <code> |
+ | cd / | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | You will be asked a series of questions (FIXME what questions? | ||
+ | |||
+ | Power on the Pixelcade LCD and if you see the Pixelcade retrowave banner then the Pixelcade has successfully connected to the WiFi network: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Once confirmed, finish setting up Batocera' | ||
+ | |||
+ | <code - bash> | ||
curl -kLO -H " | curl -kLO -H " | ||
</ | </ | ||
- | If the panel did not display the marquee, refer to the [[# | + | <WRAP center round info> |
+ | In case that doesn' | ||
+ | </ | ||
If you have both panels and want to use them at the same time, it is possible to install both these scripts at once. | If you have both panels and want to use them at the same time, it is possible to install both these scripts at once. | ||
- | ==== Pixelcade | + | ==== Pixelcade |
A simple web interface can be used to upload new artwork to the panel' | A simple web interface can be used to upload new artwork to the panel' | ||
- | {{https:// | + | {{https:// |
+ | {{https:// | ||
+ | |||
+ | |||
+ | |||
+ | ==== Customize output (batocera 40+) ==== | ||
+ | === Screensaver === | ||
+ | By default, when es go in screensaver, | ||
+ | |||
+ | Put an image name in / | ||
+ | |||
+ | === System selected === | ||
+ | By default, when you select a system in es, the system logo is displayed on the dmd. | ||
+ | |||
+ | Put an image in / | ||
+ | |||
+ | === Game selected === | ||
+ | By default, when you select a game in es, the game marquee is displayed on the dmd (if scrapped, otherwise, the name is displayed). | ||
+ | |||
+ | Put an image in / | ||
+ | |||
+ | Name simplified is the name without any special char, any parenthesis and lowercase. (if your rome is Super Mario World (EU).smc, then, the image supermarioworld.png or .gif will work) | ||
+ | |||
+ | === Achievement === | ||
+ | When you succeed to an achievement, | ||
+ | |||
+ | Put an image in / | ||
+ | |||
+ | |||
+ | === Full custom scripts === | ||
+ | If you don't like the behavior described upper, you can just create the following scripts to replace them: | ||
+ | * / | ||
+ | This script has no parameter. | ||
+ | * / | ||
+ | This script takes 1 argument : the name of the system (snes, nes, ...) | ||
+ | * / | ||
+ | This script takes 2 arguments : the name of the system (snes, nes, ...), and the full name of the rom. | ||
+ | * / | ||
+ | This script has no parameter. | ||
+ | |||
+ | ==== DMD simulator (batocera 40+) ==== | ||
+ | * In menu > system > services, enable dmd_simulator service. | ||
+ | * From a computer on your local network, go on http:// | ||
+ | * Enjoy | ||
==== Pixelcade advanced scripting ==== | ==== Pixelcade advanced scripting ==== | ||
Line 110: | Line 177: | ||
</ | </ | ||
- | ===== Using an x86_64 PC and an RPi4 ===== | + | If you wish to simply see the events that are being fired off by Pixelcade' |
- | It is possible to homebrew up a D.I.Y. marquee display using a spare Raspberry Pi (RPi 4 was tested, but should work on any of them) connected to a display. [[https:// | + | For Pixlecade LED |
- | Artwork needs to be sourced and placed in the appropriate '' | + | < |
+ | curl localhost: | ||
+ | cd / | ||
+ | </ | ||
- | Place '' | + | For Pixelcade LCD |
- | <file bash game.sh> | + | <code> |
- | #!/bin/bash | + | killall java |
- | System=$1 #system | + | /userdata/system/pixelcade/ |
- | Romname=${2%.*} #romname | + | </code> |
- | rom=${Romname## | + | |
- | /userdata/marquee.sh Gameselected $System " | + | |
- | </file> | + | |
- | Place '' | + | Now you'll get the following debug output: |
- | <file bash system.sh> | + | {{: |
- | # | + | |
- | System=$1 #System name | + | |
- | / | + | |
- | </ | + | |
- | Place '' | + | ===== Using the two HDMI outputs on a RPi4 ===== |
- | <file bash marquee.sh> | + | It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic |
- | #!/bin/bash | + | |
- | case $1 in | + | <WRAP center round important> |
- | Start) | + | This has broken on **v34** and higher. Stay on **v33** or lower if you intend to use this. |
- | Romname=$3 | + | </WRAP> |
- | Gamepath=$2 | + | |
- | marqueeimage=$Gamepath/ | + | |
- | if [ -f "/ | + | |
- | then | + | |
- | ffmpeg -i / | + | |
- | fi | + | ===== Using two computers ===== |
- | if [ -f "/ | + | [[https://forum.batocera.org/d/7269-dynamic-marquee-setup-for-all-platforms|Link to original forum post.]] [[https://www.youtube.com/watch? |
- | then | + | |
- | fbv /userdata/roms/ | + | |
- | elif [ -f " | + | |
- | then | + | |
- | fbv $marqueeimage | + | |
- | else | + | |
- | fbv /userdata/roms/mame/images/mame.png -fer | + | |
- | fi | + | |
- | ;; | + | 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. |
- | Gameselected) | + | |
- | System=$2 #system name | + | |
- | Romname=$3 #romname | + | |
- | + | ||
- | if [ -f "/userdata/ | + | |
- | then | + | |
- | fbv /userdata/ | + | |
- | elif [ -f "/ | + | |
- | then | + | |
- | fbv "/ | + | |
- | else | + | |
- | fbv / | + | |
- | fi | + | |
- | + | ||
- | ;; | + | |
- | + | ||
- | Systemselected) | + | |
- | imagepath="/ | + | |
- | if [ -f " | + | |
- | then | + | |
- | fbv " | + | |
- | else | + | |
- | fbv / | + | |
- | fi | + | |
- | + | ||
- | ;; | + | |
- | + | ||
- | esac | + | |
- | </ | + | |
- | + | ||
- | Place '' | + | |
- | + | ||
- | <file bash script.sh> | + | |
- | # | + | |
- | + | ||
- | case $1 in | + | |
- | gameStart) | + | |
- | + | ||
- | gamepath=${5%/ | + | |
- | romname=${5## | + | |
- | / | + | |
- | ;; | + | |
- | + | ||
- | gameStop) | + | |
- | killall ffmpeg | + | |
- | ;; | + | |
- | esac | + | |
- | </ | + | |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 214: | Line 215: | ||
==== My Pixelcade LED/LCD panel isn't working! ==== | ==== My Pixelcade LED/LCD panel isn't working! ==== | ||
- | It could be that it's simply not plugged in correctly. Ensure that the USB cable on both ends is firmly secure in their ports. On the Batocera machine itself, it might be worth checking if it's functional on a different port (such as a USB 3.0 port if you were using a 2.0 port, or vice-versa). | + | Pixelcade takes a few more moments after ES has started before it "kicks in". |
+ | |||
+ | If it's still not working, it could be that it's simply not plugged in correctly. Ensure that the USB cable on both ends is firmly secure in their ports (or if using the LCD panel, that it's paired to the same Wi-Fi network as Batocera). On the Batocera machine itself, it might be worth checking if it's functional on a different port (such as a USB 3.0 port if you were using a 2.0 port, or vice-versa). | ||
If it's still not working, try out the following: | If it's still not working, try out the following: | ||
Line 226: | Line 229: | ||
~/ | ~/ | ||
</ | </ | ||
- | * If using the LED panel (not the LCD one), run '' | + | * If using Pixelcade |
+ | |||
+ | ==== Further Pixelcade troubleshooting ==== | ||
+ | |||
+ | Refer to [[https:// | ||
- hardware/lcd_led_marquees.1644281582.txt.gz
- Last modified: 2 years ago
- by atari