Show two screenshots for the roms instead of one

I have Sega Genesis ROMs,

But I have two screenshots for each game.

How can I display two screenshots for the same rom?

Is there a specific theme or method? How can I start?

I know how to make the appropriate adjustments to manually define the screenshots in a gamelist.xml file, But I don’t know how to display both in the system.

Thanks in advance

I guess you just need to put the first screenshot into the image tag and the other one into the screenshot or thumbnail tag.

But not all themes support that, so you have to try different ones until you find one that works.

1 Like

And if that doesn’t work, you always can modify the theme.xml yourself and add an individual screenshot element…

Add a new <image> element inside the desired <view> (e.g., detailed):

<image name="screenshot2" extra="true">
    <path>./roms/${system.name}/screenshot2/${game.name}.png</path>
    <pos>0.7 0.25</pos> <!-- X/Y position (0.0-1.0) -->
    <size>0.25 0</size> <!-- Width/Height (0.0-1.0, 0=auto) -->
    <origin>0.5 0.5</origin> <!-- Anchor point -->
    <zIndex>5</zIndex> <!-- Layer order -->
</image>

Place your second screenshots in the /screenshot2 folder of each system, for example/storage/roms/c64/screenshot2

Notes:

Use ${system.name} and ${game.name} variables for dynamic paths.

Adjust <pos> and <size> to position and scale the image.

extra="true" is required for new elements.

Also, I think that you have to add the new <screenshot 2> tag inside your gamelist.xml
1 Like

I couldn’t have done it without you. Thank you so much.

So did it all work? Did you have to add the tag inside the gamelist.xml, too? Or did it work without doing that?

1 Like

I haven’t tried it yet, I will try it now and let you know the result

Hello @worstcase I Used Crystal-master Theme and GAMELIST VIEW STYLE > DETAILED and It didn’t work for me for some reason.
I modified the gamelists169.xml (The target file because when I delete it the theme looks messy) file located under “.emulationstation\themes\Crystal-master”.
I tried replacing this element:

    <text name="md_description">
      <color>${cgdescription}</color>
      <pos>0.022 0.515</pos>
      <size>0.575 0.400</size>
      <fontPath>./fonts/${font2g}</fontPath>
      <fontSize>0.035</fontSize>
      <glowColor>${cglglow}</glowColor>
      <glowSize>1</glowSize>
    </text>

with this element:

<image name="screenshot2" extra="true">
	<path>./roms/${system.name}/screenshot2/${game.name}.png</path>
	<pos>0.022 0.515</pos>
	<size>0.575 0.400</size>
	<origin>0.5 0.5</origin> <!-- Anchor point -->
<zIndex>5</zIndex> <!-- Layer order -->
</image>

By the way I added a screenshot2 element to the gamelist.xml file as follows:
<screenshot2>./screenshot2/Michael Jackson's Moonwalker (World)-screenshot2.png</screenshot2>

What happened is that the ROMs descriptions disappeared and The image I want did not appear…

Okay, why did you flag it as solved?
Don’t replace the md description unless you don’t want it to show. Also: please join the emuelec discord, it’s much easier to communicate.
See you on discord: Discord

Mention your issue in the theming channel, the creator of crystal theme is also there and surely can help…

1 Like