Skip to content

Commit

Permalink
If the system is a collection, it will get logos from the collections…
Browse files Browse the repository at this point in the history
… sub folder - should work in must recent emulationstation version
  • Loading branch information
maioni committed Jul 27, 2023
1 parent 1476091 commit 8cffbfe
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions views/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,25 @@ originally based on: "simple" by nils bonenberger
<image name="logo">
<!-- try png -->
<path>./art/logos/${system.theme}.png</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}.png</path>
<path>./art/logos/${system.theme}.svg</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}.svg</path>
<path>./art/logos/${system.theme}-${lang}.png</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-${lang}.png</path>
<path>./art/logos/${system.theme}-${lang}.svg</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-${lang}.svg</path>
<!-- if system2 exists, take this version -->
<path>./art/logos/${system.theme}-w.png</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-w.png</path>
<path>./art/logos/${system.theme}-w.svg</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-w.svg</path>
<path>./art/logos/${system.theme}-w-${lang}.png</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-w-${lang}.png</path>
<path>./art/logos/${system.theme}-w-${lang}.svg</path>
<path if="{system.iscollection}">./art/logos/collections/${system.theme}-w-${lang}.svg</path>
<pos>0.5 0.074</pos>
<maxSize>0.26 0.11</maxSize>
<origin>0.5 0.5</origin>
<linearSmooth>true</linearSmooth>
<zIndex>100</zIndex>
</image>
<image name="logo" if="{system.collection}">
<path>./art/logos/collections/${system.theme}.png</path>
<path>./art/logos/collections/${system.theme}.svg</path>
<path>./art/logos/collections/${system.theme}-w.png</path>
<path>./art/logos/collections/${system.theme}-w.svg</path>
</image>
<image name="logo" region="br">
<path>./art/logos/br/${system.theme}.png</path>
Expand Down

0 comments on commit 8cffbfe

Please sign in to comment.