RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Bug? Box art displaying incorrect size the first time I enter a system

    Scheduled Pinned Locked Moved Projects and Themes
    theme making
    36 Posts 5 Posters 10.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      j.e.f.f @TMNTturtlguy
      last edited by

      @TMNTturtlguy Awesome! I'll give this a shot tonight! Thanks!

      1 Reply Last reply Reply Quote 0
      • J
        jdrassa
        last edited by

        After posting, I did some more digging and I have a fix for the issue. The cause of the problem appears to be that the initial image is set when the view is create, before the theme is applied, and is being sized based on the default values. I am going to submit a fix that will defer setting the image until the view is shown.

        Get latest build of EmulationStation for Windows here

        TMNTturtlguyT J 2 Replies Last reply Reply Quote 2
        • TMNTturtlguyT
          TMNTturtlguy @jdrassa
          last edited by

          @jdrassa Awesome, that will work as well, sounds like my fix is a work around, but it seems to work.

          1 Reply Last reply Reply Quote 0
          • J
            j.e.f.f @jdrassa
            last edited by

            @jdrassa Oh sweet! I'll wait for the fix then... breaking out md_image to the various theme.xml files seems like a bit of a daunting task...

            TMNTturtlguyT 1 Reply Last reply Reply Quote 0
            • TMNTturtlguyT
              TMNTturtlguy @j.e.f.f
              last edited by

              @j.e.f.f The official fix will is great and probably worth waiting for, just be aware it will only work if you are running the most current ES. I am using a video screensaver build, so I won't be able to take advantage of the fix until the screensaver is added to main ES.

              As for the md_image in the themes....how many systems do you have? It took me about 10 minutes to do 16 systems. I just opened up the main .xml and copied the md_image text, opened the theme.xml and pasted it in, saved and was done. Since all the parameters are set it worked like a charm.

              J 1 Reply Last reply Reply Quote 0
              • J
                j.e.f.f @TMNTturtlguy
                last edited by

                @TMNTturtlguy So I have two definitions for md_image -- one for detailed view and one for video view. Do I copy both to theme.xml or just the video view one (since detailed view never had the problem)?

                TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                • J
                  jdrassa
                  last edited by

                  The fix has been merged into the RetroPie repository.

                  Get latest build of EmulationStation for Windows here

                  TMNTturtlguyT J 2 Replies Last reply Reply Quote 0
                  • TMNTturtlguyT
                    TMNTturtlguy @j.e.f.f
                    last edited by

                    @j.e.f.f just the one from your video view. Here is what my theme.xml looks like:
                    <view name="basic, detailed, video">

                    	<image name="logo">
                    		<path>./art/system.png</path>
                    		<pos>0.266 0.082</pos>
                    		<maxSize>0.460 0.126</maxSize>
                    		<origin>0.5 0.5</origin>
                    	</image>
                    	
                    	<image name="logo2" extra="true">
                    		<path>./art/controller.svg</path>
                    		<pos>0.918 0.29</pos>
                    		<maxSize>0.29 0.13</maxSize>
                    		<origin>0.5 0.5</origin>
                    		<color>ffffff</color>
                    	</image>
                    	
                    	<image name="md_image">
                    		<pos>0.982 0.6</pos>
                    		<size>0.127 0.149</size>
                    		<origin>1 1</origin>
                    	</image>
                    					
                    </view>
                    

                    here is what my main comicbook.xml looks like:
                    <view name="detailed">

                    	<image name="md_image">
                    		<pos>0.67 0.4</pos>
                    		<maxSize>0.3 0.408</maxSize>
                    		<origin>0.5 0.5</origin>
                    	</image>
                    	
                    </view>
                    
                    <view name="video">
                    
                    	<video name="md_video">
                    		<pos>0.67 0.4</pos>
                    		<origin>0.5 0.5</origin>
                    		<size>0.3 0.408</size>
                    		<delay>0.05</delay>
                    		<default></default>
                    		<showSnapshotNoVideo>true</showSnapshotNoVideo>
                    		<showSnapshotDelay>false</showSnapshotDelay>
                    	</video>
                    	
                    	<image name="md_marquee">
                    		<pos>0.74 0.086</pos>
                    		<maxSize>0.26 0.1</maxSize>
                    		<origin>0.5 0.5</origin>
                    	</image>
                    	
                    </view>
                    
                    1 Reply Last reply Reply Quote 0
                    • TMNTturtlguyT
                      TMNTturtlguy @jdrassa
                      last edited by

                      @jdrassa Wow that was fast!

                      1 Reply Last reply Reply Quote 0
                      • J
                        j.e.f.f @jdrassa
                        last edited by

                        @jdrassa Thanks! Do I need to update from source in order to get this fix or is from binary OK?

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jdrassa @j.e.f.f
                          last edited by

                          @j.e.f.f not sure. I don't know how often they update the binary.

                          Get latest build of EmulationStation for Windows here

                          J 2 Replies Last reply Reply Quote 0
                          • J
                            j.e.f.f @jdrassa
                            last edited by

                            @jdrassa Just wanted to say thank you again! I needed to update from source, but my issue is now fixed!

                            1 Reply Last reply Reply Quote 0
                            • pjftP
                              pjft @jdrassa
                              last edited by

                              @jdrassa apologies for the question, but why do both labels show the same image? I don't understand the semantics behind video showing an image, even when there's not a video, or am I misreading it? I thought of one would want an image to show underneath or to the side of the video, the md_image label was to be used?

                              Anyway, thanks for digging into this and fixing it!

                              1 Reply Last reply Reply Quote 0
                              • J
                                j.e.f.f @jdrassa
                                last edited by

                                @jdrassa Is it just me or has the system screen changed slightly? Some of the system logos zoom right to the top and bottom edges of the white bar when they are focused (example: Ports, Sega Master System). I could have sworn there used to be some padding .

                                I understand that the white bar is not themeable, or at least it wasn't... has that changed with this release? Any way to control this?

                                mattrixkM 1 Reply Last reply Reply Quote 0
                                • mattrixkM
                                  mattrixk @j.e.f.f
                                  last edited by

                                  @j.e.f.f I think the Carousel Mod by Zigurana has been added to RetroPie now, so it will probably be in all new builds.

                                  My ES themes: MetaPixel | Spare | Io | Indent

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    j.e.f.f @mattrixk
                                    last edited by

                                    @mattrixk Sweet! More to play with!!

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.