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

    Flat Theme

    Scheduled Pinned Locked Moved Projects and Themes
    poor man wannabe richrich man wannabe king
    270 Posts 33 Posters 204.4k 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.
    • herb_fargusH
      herb_fargus administrators @jdrassa
      last edited by

      @jdrassa yes I was testing with the toolkit. It's only the video that is offset, the regular images etc line up fine, but nothing I changed in the video tag made any difference so I was confused as to what was happening. I still don't know, haven't been able to test more due to limited time

      If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

      Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

      mattrixkM 1 Reply Last reply Reply Quote 0
      • mattrixkM
        mattrixk @herb_fargus
        last edited by

        @herb_fargus I think the <video> and <image> tags kind of get tied up together on Video View, so maybe your <image> tag was getting in the way?

        My ES themes: MetaPixel | Spare | Io | Indent

        1 Reply Last reply Reply Quote 0
        • N
          Nismo @mattrixk
          last edited by Nismo

          @mattrixk Originally marquee tag was created to display the marquee of an arcade cabinet in arcade systems (mame, fba) theme.

          So usually marquee it's for displaying marquees in arcade or logos in console systems.

          Of course it's another image so you can use it like you want.

          Regards.

          mattrixkM 1 Reply Last reply Reply Quote 0
          • N
            Nismo @herb_fargus
            last edited by Nismo

            @herb_fargus @lilbud Adding sounds it's pretty simple.

            Example for sound when switching between systems:

            <view name="system">
            	
                 <sound name="systemSound">
                     <path>./art/systemsound.wav</path>
                 </sound>
            </view>
            

            Example for gamelist sound:

            <textlist name="gamelist">
            
            	<scrollSound>./art/listscroll.wav</scrollSound>
            </textlist>
            

            As you can see it's pretty simple to add sounds...

            Regards.

            lilbudL 1 Reply Last reply Reply Quote 1
            • mattrixkM
              mattrixk @Nismo
              last edited by

              Thanks @Nismo, that explains why it's called "marquee" I guess. Also, I didn't know you could already do System switching sounds. I thought Gamelist cycle was the only one that worked. Is that a newer development or has it always been that way?

              My ES themes: MetaPixel | Spare | Io | Indent

              N 1 Reply Last reply Reply Quote 0
              • N
                Nismo @mattrixk
                last edited by Nismo

                @mattrixk It was a request I did to @fieldofcows lot of months ago, before video view was implemented in the main branch, it's working for me in windows, you can see it working in one of my videos here:

                I don't know if it's working in the main branch (unfortunately I don't have a raspberry pi), because he removed a lot of features to add only video support to the main branch, but you can test it because it doesn't break the theme . My theme have that code and the sounds works in windows and nobody told me the theme it's broken in their rpi.

                If system sound it's not working in main branch tell me and we can ask to @fieldofcows to make a pull request, so the code it's done and working very good, only that he removed some features for better testing if video implementation on main branch could cause bugs, don't need to worry about other commits.

                Anyway you can add the tags for windows users because your theme should still working like before.

                1 Reply Last reply Reply Quote 0
                • lilbudL
                  lilbud @Nismo
                  last edited by

                  @Nismo could you submit a PR to the repository? I am away from my computer at the moment.

                  Thanks in advance.

                  Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                  Backlog: http://backloggery.com/lilbud

                  N 2 Replies Last reply Reply Quote 0
                  • N
                    Nismo @lilbud
                    last edited by Nismo

                    @lilbud I don't know how to use github... (yes it's a shame for me), but I can try to do it.

                    The question is, you are the developer of this theme, so it's not better that you choose the sounds you like for your theme?

                    And how can I upload the sound files to your github?

                    1 Reply Last reply Reply Quote 0
                    • R
                      robertybob
                      last edited by

                      I found a website called freesound.org and picked a space-like sound :D

                      @Nismo I didn't how to add that system switching sound, so I've added it to my theme now. Thanks!!

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nismo @robertybob
                        last edited by Nismo

                        @robertybob No problem mate, tell me if it works on your rpi because I have no rpi to test, but for sure it will work on windows if you use the ES version with video support.

                        Gamelist sound will work for sure, I mean system sound.

                        R 1 Reply Last reply Reply Quote 0
                        • N
                          Nismo @lilbud
                          last edited by Nismo

                          @herb_fargus @lilbud I have found an error in the code of your main flat.xml file. Maybe that's because your theme it's broken.

                          Problem is <view name="video"> and </view> tags are missing:

                          <feature supported="video">
                          		
                          	  <image name="md_marquee">
                          			<origin>0 0</origin>
                          			<pos>0.800 0.01</pos>
                          			<maxSize>0.19 0.10</maxSize>
                          	  </image>
                          	  
                          	  <video name="md_video">
                          			<pos>0.254 0.202</pos>
                          			<origin>0 0</origin>
                          			<size>0.185 0.327</size>
                          			<delay>0.0</delay>
                          			<default>./assets/static.mp4</default>
                          			<showSnapshotNoVideo>false</showSnapshotNoVideo>
                          			<showSnapshotDelay>false</showSnapshotDelay>
                          	  </video>
                          	  
                          	</feature>
                          
                          </theme>
                          

                          @herb_fargus can you make this changes to github and test it please?, (I don't know how to use github), change the code above for this one:

                          <feature supported="video">
                          
                              <view name="video">	
                          	  <image name="md_marquee">
                          			<origin>0 0</origin>
                          			<pos>0.800 0.01</pos>
                          			<maxSize>0.19 0.10</maxSize>
                          	  </image>
                          	  
                          	  <video name="md_video">
                          			<pos>0.254 0.202</pos>
                          			<origin>0 0</origin>
                          			<size>0.185 0.327</size>
                          			<delay>0.0</delay>
                          			<default>./assets/static.mp4</default>
                          			<showSnapshotNoVideo>false</showSnapshotNoVideo>
                          			<showSnapshotDelay>false</showSnapshotDelay>
                          	  </video>
                          	  
                          	</view>
                             </feature>
                          </theme>
                          

                          I hope this helps. Regards.

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            robertybob @Nismo
                            last edited by

                            @Nismo @lilbud

                            I think I've corrected it(?)

                            https://github.com/lilbud/es-theme-flat/pull/4

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              Nismo @robertybob
                              last edited by Nismo

                              @robertybob I think my code it's ok now.

                              lilbudL R 2 Replies Last reply Reply Quote 0
                              • lilbudL
                                lilbud @Nismo
                                last edited by

                                For sounds, which would be better?

                                1. http://rcptones.com/dev_tones/tones/digi_plink.wav

                                or

                                1. http://rcptones.com/dev_tones/tones/click_04.wav

                                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                Backlog: http://backloggery.com/lilbud

                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  Nismo @lilbud
                                  last edited by Nismo

                                  @lilbud I like both of them, for me I think the number 2 it's better.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    robertybob @Nismo
                                    last edited by

                                    @Nismo Herb edited my space.xml the same way :)

                                    N herb_fargusH 3 Replies Last reply Reply Quote 0
                                    • N
                                      Nismo @robertybob
                                      last edited by Nismo

                                      @robertybob Ok no problem then, now we only need somebody to test if it's fixed XD. Thanks.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nismo @robertybob
                                        last edited by

                                        @robertybob It's the system sound working in your Rpi?

                                        R 1 Reply Last reply Reply Quote 0
                                        • herb_fargusH
                                          herb_fargus administrators @robertybob
                                          last edited by

                                          @robertybob don't know if I did it right though ;) anyways I'll look at all this when I get time after work and all that, but if someone fixes / tests before me then that's great too. Saves me the trouble ;)

                                          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            Nismo @herb_fargus
                                            last edited by Nismo

                                            @herb_fargus I think the right way it's this:

                                            <feature supported="video">
                                            
                                               <view name="video">	
                                               </view>
                                            
                                            </feature>
                                            
                                            

                                            This way have sense...

                                            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.