RetroPie forum home
    • 最新
    • 标签
    • 热门
    • Home
    • Docs
    • 注册
    • 登录

    New Comic Book Theme!

    已定时 已固定 已锁定 已移动 Projects and Themes
    themees themesconcept
    1.5k 帖子 159 发布者 6.6m 浏览
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • S
      Syhles
      最后由 编辑

      @TMNTturtlguy
      I'll switch to this thread then lol.

      I'm not sure what system you are writing the theme on but, I work on Ubuntu and you can open the xml in firefox and it will let your know if there is any syntax errors and where they are located if you're interested. You could post the theme with the new xml here for me and I could troubleshoot.

      TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
      • TMNTturtlguyT
        TMNTturtlguy @Syhles
        最后由 编辑

        @Syhles I am running on a pi3 install.

        You can use the Comic_book.xml. You can see in there I have a line for the system info to have the shokapow text. I wanted to apply <backgroundcolor>Ffffff99<backgroundcolor> (sorry I am on my phone so I can't get it to type exactly right. When the background color is there, it breaks old ES installs. When you remove it, old installs just ignore the font type info. @modmaster tested this for me. I wanted to make this a feature, so I added the feature lines, still didn't work. We just deleted the background color, so the color is the standard grey, Es v2.1.6rp should have shokapow text and ES v2.1.5rp or before should see standard text.

        S 1 条回复 最后回复 回复 引用 0
        • S
          Syhles @TMNTturtlguy
          最后由 编辑

          @TMNTturtlguy
          I'm pretty sure I fixed it but you would have to try it on an older es build as I don't have one also I had to move the help section of your system on comic.xml and move it to the theme.xml I'll post the code for you to test in a minute.

          TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
          • TMNTturtlguyT
            TMNTturtlguy @Syhles
            最后由 编辑

            @Syhles in the theme.xml? Really?

            S 1 条回复 最后回复 回复 引用 0
            • S
              Syhles @TMNTturtlguy
              最后由 编辑

              @TMNTturtlguy
              You have one sitting right next to the comic_book.xml in the main folder.

              TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
              • TMNTturtlguyT
                TMNTturtlguy @Syhles
                最后由 编辑

                @Syhles yes, they do different things though...the one in the folder next to the comic_book.xml is just a generic of the .xml that are loaded into each system folder. The one next to comic_book.xml does not do anything.

                1 条回复 最后回复 回复 引用 0
                • S
                  Syhles
                  最后由 Syhles 编辑

                  @TMNTturtlguy
                  This code works on 2.1.6rp

                  This is what the system field on comic_book.xml should be left you extra code so you would have all the fields I know and more options for what you could do its commented out and you can delete it after you have it all set up like you want.

                    <feature supported="carousel">
                  <view name="system">
                  
                  	<carousel name="systemcarousel">
                  		<type>horizontal</type>
                  		<color>8d8d8d50</color>
                  		<logoScale>1.5</logoScale>
                  		<maxLogoCount>3</maxLogoCount>
                  	</carousel>
                  

                  <!--
                  <carousel name="systemcarousel">
                  <type>vertical</type>
                  <pos>0.025 0.05</pos>
                  <size>0.33 0.7</size>
                  <color>4ca0ad75</color>
                  <logoScale>1.5</logoScale>
                  <logoSize>0.20 0.15</logoSize>
                  <maxLogoCount>5</maxLogoCount>
                  </carousel>
                  -->

                  	<text name="systemInfo">
                  		<backgroundColor>8d8d8d50</backgroundColor>
                  		<color>000000</color>
                  		<fontPath>./art/Shaka_Pow.ttf</fontPath>
                  		<fontSize>0.035</fontSize>
                  	</text>
                  

                  <!--
                  <text name="systemInfo">
                  <pos>0.65 0.82</pos>
                  <size>0.3 0.12</size>
                  </text>
                  -->
                  </view>
                  </feature>

                  Also any code that you want to work for the system screen on older versions of es need to have there own <view name="system"> so you'll need two <view name="system"> fields for your theme.

                  Edit: The forums broke my code aligment...... the feature fields have less tabs or spaces before them then the <view name="system">

                  TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                  • TMNTturtlguyT
                    TMNTturtlguy @Syhles
                    最后由 编辑

                    @Syhles thanks, this makes some sense now, I added the feature but not a second copy of the system info. I figured since the base files don't require any info, I wouldn't have to put a duplicate for the old versions of ES. I will test later and see if @modmaster can help test on his older version of ES.

                    1 条回复 最后回复 回复 引用 1
                    • S
                      Syhles
                      最后由 编辑

                      @TMNTturtlguy
                      As far as I know using the <feature supported> is the same as commenting that section out for old versions of es anything inside that will be invisible to old es, so if you want to have shaka-pow as the help font you'll either need to add system to one of the the views that already have the help code or add another <view name="system">.

                      Also if I optimized your code and made it simplier, would you use it?
                      Because no offense you could simplify some of the code and merge sections of it to make it easier to work on without losing how it looks or functions.

                      I'd be more the glad to help out and do it, I just don't want spend the time if you for sure aren't interested in it.

                      Love the theme by the way, the only reason I didn't already have it was because I was waiting until it was more done, been following the thread since it started.

                      TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                      • TMNTturtlguyT
                        TMNTturtlguy @Syhles
                        最后由 编辑

                        @Syhles thanks! Appreciate the kind words.

                        What do you have in mind as far as simplifying? This was my first theme and I started it before the theme helpers were available. The .xml was based on carbon, so I just worked from that.

                        As long as the theme looks and functions the same I will definetly use it if it simplifies things some.

                        S 1 条回复 最后回复 回复 引用 0
                        • D
                          dizmodawg
                          最后由 编辑

                          How do i add this to retropie i tried winscp but in home pi there is no .enulatiostation folder and inside that is suppose to be a themes folder. I am using retropie 4.2

                          1 条回复 最后回复 回复 引用 0
                          • S
                            Syhles @TMNTturtlguy
                            最后由 Syhles 编辑

                            @TMNTturtlguy
                            It's a nice theme it deserves compliments.

                            As far as the simplifying goes, I was just going for example the help section is currently in three different places in the theme and I'm pretty sure the code is identical in each place it's just one is in the system section, one is in the basic section, the detailed and video section share the last one.

                            I was going to merge the help into only one instance instead of three and just generally tidy things up.

                            TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                            • D
                              dizmodawg
                              最后由 编辑

                              Ok i turned on show hidden files and it works but where do i place the game videos at?

                              TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                              • TMNTturtlguyT
                                TMNTturtlguy @dizmodawg
                                最后由 编辑

                                @dizmodawg there should be a folder within .emulationstation named themes. If there is not a folder named themes, create this folder and place the theme within that folder.

                                1 条回复 最后回复 回复 引用 1
                                • TMNTturtlguyT
                                  TMNTturtlguy @Syhles
                                  最后由 编辑

                                  @Syhles Sure, if it is not to much work and the theme looks the same that would be great! I am side tracked right now, I was backing up my current build to my computer so i could make some new changes to it, and when i put it back into the pi, it wouldn't boot. Put it back into the computer and it says it is write protected.....spent the last 2 hours trying to salvage the card, i was finally able to break the write protection and reformat, but now it errors out about 2 minutes into writing an image to it....Not to happy tonight.

                                  S 1 条回复 最后回复 回复 引用 0
                                  • S
                                    Syhles @TMNTturtlguy
                                    最后由 编辑

                                    @TMNTturtlguy
                                    After your next theme update happens I'll try and clean it up a little. In case there is any XML changes.

                                    I enjoy editing theme xmls, wrote my own theme from scratch, it was enjoyable can't release it though...

                                    Ubuntu keeps breaking micro SD cards on, not sure what it's issue is.

                                    But, I'm more then happy to try and clean your theme coding up, and I won't change how it looks.

                                    TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                                    • TMNTturtlguyT
                                      TMNTturtlguy @Syhles
                                      最后由 编辑

                                      @Syhles now the SD card question is....my computer has a completed .img file of my current build, the SD card back into the pi and it wouldn't read it. What broke it? When i get a new SD card do I attempt to put my recent backup on it and see if it boots? or do i go with the previous backup and loose about a days worth of setup?

                                      S 1 条回复 最后回复 回复 引用 0
                                      • S
                                        Syhles @TMNTturtlguy
                                        最后由 Syhles 编辑

                                        @TMNTturtlguy
                                        I'm not sure what would've broke it. I'm not even sure why Ubuntu broke SD cards on me, I went through 2-3 spare small SD cards I had that Ubuntu was breaking when I tried to move files on them, and each instance of Ubuntu breaking them they were moving different files.

                                        Depends on how tight you are on money I guess, if I had the money I would risk breaking another SD card so I wouldn't have to redo work. If I didn't have the money I'd just use my previous backup and redo the work. It's sort of a catch 22, damned if you do, damned if you don't.

                                        1 条回复 最后回复 回复 引用 0
                                        • D
                                          dizmodawg
                                          最后由 编辑

                                          So where do I put the game videos at in the .emulationstation themes folder or do I make a snaps folder in the Roms folder? Or do I put them some where else?

                                          TMNTturtlguyT 1 条回复 最后回复 回复 引用 0
                                          • TMNTturtlguyT
                                            TMNTturtlguy @dizmodawg
                                            最后由 编辑

                                            @dizmodawg there are several places you can put them. They have to be in your game list.xml and that will point to the location you put them. You should read the docs and look at posts on how to scrape media and create gamelists for all the info you need and different ways of doing this.

                                            1 条回复 最后回复 回复 引用 0
                                            • 第一个帖子
                                              最后一个帖子

                                            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.