Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
hardware:lcd_led_marquees [2022/02/08 01:53] – added note about supported filesystems atari | hardware:lcd_led_marquees [2022/06/17 04:56] – added note about this getting screwed over by upgrading to v34 atari | ||
---|---|---|---|
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 panel, plug in its USB port into the Batocera machine, [[: | + | 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. This panel comes in two sizes, pictured above is the smaller size next to an Xbox One controller. |
+ | |||
+ | Installation is simple. Power on the Pixelcade panel and plug in its USB port into the Batocera machine: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Then [[: | ||
<code bash> | <code bash> | ||
Line 58: | Line 64: | ||
This is the higher resolution LCD panel that's suited to displaying full-color images. It supports Wi-Fi and sends its signals over the network instead of a USB cable. It is also possible to use an Ethernet connection in case a fully wired setup is preferred. | This is the higher resolution LCD panel that's suited to displaying full-color images. It supports Wi-Fi and sends its signals over the network instead of a USB cable. It is also possible to use an Ethernet connection in case a fully wired setup is preferred. | ||
- | Installation uses a different command from the LED panel, so be careful. Power on the Pixelcade panel, | + | Installation uses a different command from the LED panel, so be careful. Power on the Pixelcade panel, |
<code bash> | <code bash> | ||
Line 110: | Line 116: | ||
</ | </ | ||
- | ===== 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 | + | < |
+ | killall java | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Now you'll get the following debug output: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Using the two HDMI outputs on a RPi4 ===== | ||
+ | |||
+ | <WRAP center round important> | ||
+ | This has broken | ||
+ | </ | ||
+ | |||
+ | It is possible to use the two HDMI outputs on an RPi4, with one displaying Batocera and the other displaying the dynamic marquee. [[https:// | ||
- | Artwork needs to be sourced and placed in the appropriate '' | + | Artwork needs to be sourced and placed in the appropriate '' |
Place '' | Place '' | ||
Line 209: | Line 230: | ||
esac | esac | ||
</ | </ | ||
+ | |||
+ | ===== Using two computers ===== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | This can be done using Batocera installed onto a device and another computer/ | ||
+ | |||
+ | ==== Setting up the Marquee computer ==== | ||
+ | |||
+ | - If you don't already have a marquee repository, start downloading the [[https:// | ||
+ | - 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. | ||
+ | - On the Marquee run the following: <code bash> | ||
+ | sudo apt-get update | ||
+ | sudo apt-get upgrade | ||
+ | sudo apt-get install ffmpeg git libjpeg9-dev libjpeg9 libpng16-16 libpng-dev | ||
+ | </ | ||
+ | - Now compile FBV on the Marquee using the following commands: <code bash> | ||
+ | sudo git clone https:// | ||
+ | cd fbv | ||
+ | sudo ./configure | ||
+ | sudo make | ||
+ | sudo make install | ||
+ | </ | ||
+ | - Set up the Marquee to automatically start the appropriate software on boot. Open the text file with root privileges with the following: <code bash> | ||
+ | sudo nano / | ||
+ | </ | ||
+ | - Then add the following right before the '' | ||
+ | cd /home/pi | ||
+ | nc -vklp 5555 | /bin/bash & | ||
+ | </ | ||
+ | - Edit the bootup file: <code bash> | ||
+ | sudo nano / | ||
+ | </ | ||
+ | - Change the following line from: <code bash> | ||
+ | console=tty1 | ||
+ | </ | ||
+ | console=tty3 | ||
+ | </ | ||
+ | - In that same file, add onto the end of the line: <code bash> | ||
+ | logo.nologo vt.global_cursor_default=0 | ||
+ | </ | ||
+ | * For example, the resulting '' | ||
+ | console=serial0, | ||
+ | </ | ||
+ | - Add the following script to the ''/ | ||
+ | #!/bin/bash | ||
+ | |||
+ | case $1 in | ||
+ | GameStart) | ||
+ | Systemname=$2 | ||
+ | Romname=" | ||
+ | |||
+ | if [ -f "/ | ||
+ | then | ||
+ | fbv "/ | ||
+ | elif [ -f "/ | ||
+ | then | ||
+ | fbv "/ | ||
+ | else | ||
+ | fbv / | ||
+ | fi | ||
+ | ;; | ||
+ | |||
+ | Gameselected) | ||
+ | Systemname=$2 #system name | ||
+ | Romname=" | ||
+ | if [ -f "/ | ||
+ | then | ||
+ | fbv "/ | ||
+ | else | ||
+ | fbv / | ||
+ | fi | ||
+ | ;; | ||
+ | |||
+ | Systemselected) | ||
+ | imagepath="/ | ||
+ | if [ -f " | ||
+ | then | ||
+ | fbv " | ||
+ | else | ||
+ | fbv / | ||
+ | fi | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | ==== Setting up the Marquee folder ==== | ||
+ | |||
+ | - If you downloaded the sample pack, simply extract it to the root of the drive and move onto the [[# | ||
+ | - On the Marquee computer, create a ''/ | ||
+ | - In this folder, create/ | ||
+ | - Create a new folder in the ''/ | ||
+ | - Then, for every game which marquee you want to display, create a system subfolder with the same name as the [[: | ||
+ | - In addition, any "high resolution" | ||
+ | |||
+ | Here's an example of the final folder structure: | ||
+ | |||
+ | < | ||
+ | /marquee/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==== Setting up the scripts in Batocera ==== | ||
+ | |||
+ | <WRAP center round todo> | ||
+ | These scripts need revision. | ||
+ | </ | ||
+ | |||
+ | Install Batocera on the main machine. This is only supported in Batocera **v33** and up. | ||
+ | |||
+ | Navigate to ''/ | ||
+ | |||
+ | Create the following scripts and download them to the mentioned location on the Batocera computer: | ||
+ | * Create a folder named '' | ||
+ | #!/bin/bash | ||
+ | Marqueeip=192.168.123.147 #enter your marquee computer ip address here. | ||
+ | case 1 in gameStart) | ||
+ | romname={5## | ||
+ | gamename=${romname%.*} | ||
+ | echo ./ | ||
+ | ;; | ||
+ | gameStop) | ||
+ | echo sudo pkill ffmpeg | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | * In '' | ||
+ | #!/bin/bash | ||
+ | |||
+ | Marqueeip=192.168.123.147 | ||
+ | System=$1 #system name | ||
+ | Romname=${2%.*} #romname | ||
+ | rom=${Romname## | ||
+ | |||
+ | echo ./ | ||
+ | </ | ||
+ | * In '' | ||
+ | #!/bin/bash | ||
+ | |||
+ | Marqueeip=192.168.123.147 | ||
+ | |||
+ | System=$1 | ||
+ | echo ./ | ||
+ | </ | ||
+ | Once done, make all those scripts executable ('' | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 214: | Line 412: | ||
==== 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 426: | ||
~/ | ~/ | ||
</ | </ | ||
- | * If using the LED panel (not the LCD one), run '' | + | * If using the LED panel (not the LCD one), run '' |
- hardware/lcd_led_marquees.txt
- Last modified: 8 months ago
- by atari