Summary
System logos were pulled in ad hoc during development of the Web UI. Soon - we will be switching to the es-theme-art-boot-next theme (https://github.com/anthonycaccese/es-theme-art-book-next) across all 351ELEC devices. Ideally (at least default) ES system logos should be synced up with the web UI.
This PR adds all system logos from artbook-next. It uses a small conversion process due to some issues described below in loading directly from the artbook next installation within 351ELEC.
Issue Using Artbook SVG logos directly
Ideally, the web UI could actually load the logos directly from the artbook installation within 351ELEC and not duplicate svgs, however, there appears to be an issue. For some reason (I don't claim to be an svg expert), many of the existing artbook logos don't work properly when using in the browser with the web ui. Ex:
![Screenshot from 2022-03-10 23-59-05](https://user-images.githubusercontent.com/30480682/157818817-bb509d3c-5407-4d66-91ae-f43a93f5020e.png)
This is what it should look like:
![Screenshot from 2022-03-11 00-00-19](https://user-images.githubusercontent.com/30480682/157818475-73dcc9bd-2e44-4ec1-8f32-aa96acc0c6d5.png)
Conversion Process
Manual Fix In inkscape - you can manually fix by: File
->Document Properties
->Resize Page To Content
-> press Resize Page to drawing or selection
and then save the svg file.
Automated Fix - Instead of trying to convert one by one, I came up with a very rough automated conversion process to bulk convert from artbook next using inkscape on linux. This is mostly for my reference or if anyone else wants to bulk fix these images for webui consumption.
-
Tell inkspace to FitCanvasToDrawing
for all images (https://github.com/anthonycaccese/es-theme-art-book-next/tree/main/_inc/images/systems/logos) you wish to convert.
for img in $(ls *.svg) ; do inkscape --verb=FitCanvasToDrawing --verb=FileSave --verb=FileQuit $img ; done
-
Use availble systems in es_systems to copy just the needed .svg files:
cat /storage/.emulationstation/es_systems.cfg | grep -i "<name>" | sed "s/<name>//g" | sed "s|</name>|.svg|g" | awk '{$1=$1};1' | xargs -I '{}' mv '{}' ./all/