Confluence 4:3 - Pre-Hack/Mod Clarifications
#1
Ok, it annoys me JUST enough that I'm going to attempt a quick hackjob/fix to Confluence so that it doesn't stretch certain artwork on a 4:3 display.

This will most likely lead into me modifying a few other items (i.e. clock being unreadable, placement of certain items, etc) after the squishing is completed but...one thing first. (And, honestly, I'm most comfortable with those modifications).

So, the skin looks relatively fine @ 4:3, however certain graphics (read: Movie posters) are squished horizontally a bit. I'd like to force them to retain the original aspect ratio - without redoing the entire skin. Basically, hack in the 4:3 resolution at 720p resolution settings (if that makes sense).

I'm a bit confused where to look for this, if there's some 'global' setting I can change and save the hassle of altering all views, etc.

In short:
I understand the concept behind resizing/moving everything. Is there a way I can accomplish this aside from having to resize/move everything and defining the entire skin over to standard def resolutions?
Reply
#2
The main files you want to look at are

ViewsFileMode.xml
ViewsMusicLibrary.xml
ViewsPictures.xml
ViewsVideoLibrary.xml

Basically anything with ListItem.Icon or ListItem.thumb in it so search for those things and change the <aspectratio> stuff of them to keep
Reply
#3
i'm interested in this mod, since i'm still running xbmc on a regular 4:3 tv (for now).

i modded the font.xml (720p-folder) for myself, since the original font was just too small for sd tvs. maybe you're interested in that:

Code:
<fonts>
    <fontset id="Default" unicode="true">
    <!-- Normal Fonts -->
         <font>
            <name>font10</name>
            <filename>DejaVuSans.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font12</name>
            <filename>DejaVuSans.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font12caps</name>
            <filename>DefaultCaps.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font13</name>
            <filename>DejaVuSans.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font13caps</name>
            <filename>DefaultCaps.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font16caps</name>
            <filename>DefaultCaps.ttf</filename>
            <size>25</size>
        </font>
         <font>
            <name>font30</name>
            <filename>DejaVuSans.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>fontContextMenu</name>
            <filename>DejaVuSans.ttf</filename>
            <size>21</size>
        </font>


    <!-- Title Fonts -->
         <font>
            <name>font10_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font12_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font13_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>22</size>
        </font>
         <font>
            <name>font24_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>24</size>
        </font>
         <font>
            <name>font28_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>28</size>
        </font>
         <font>
            <name>font30_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>font35_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>35</size>
        </font>
         <font>
            <name>font50caps_title</name>
            <filename>DejaVuSans-Bold-Caps.ttf</filename>
            <size>50</size>
        </font>

         <font>
            <name>WeatherTemp</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>80</size>
        </font>
    </fontset>

    <fontset id="Default_NoCaps" unicode="true">
    <!-- Normal Fonts -->
         <font>
            <name>font10</name>
            <filename>DejaVuSans.ttf</filename>
            <size>12</size>
        </font>
         <font>
            <name>font12</name>
            <filename>DejaVuSans.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font12caps</name>
            <filename>DejaVuSans.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font13</name>
            <filename>DejaVuSans.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font13caps</name>
            <filename>DejaVuSans.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font16caps</name>
            <filename>DejaVuSans.ttf</filename>
            <size>25</size>
        </font>
         <font>
            <name>font30</name>
            <filename>DejaVuSans.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>fontContextMenu</name>
            <filename>DejaVuSans.ttf</filename>
            <size>18</size>
        </font>


    <!-- Title Fonts -->
         <font>
            <name>font10_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>12</size>
        </font>
         <font>
            <name>font12_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font13_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font24_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>24</size>
        </font>
         <font>
            <name>font28_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>28</size>
        </font>
         <font>
            <name>font30_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>font35_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>35</size>
        </font>
         <font>
            <name>font50caps_title</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>50</size>
        </font>

         <font>
            <name>WeatherTemp</name>
            <filename>DejaVuSans-Bold.ttf</filename>
            <size>80</size>
        </font>
    </fontset>

    <fontset id="Arial" unicode="true">
    <!-- Normal Fonts -->
         <font>
            <name>font10</name>
            <filename>Arial.ttf</filename>
            <size>12</size>
        </font>
         <font>
            <name>font12</name>
            <filename>Arial.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font12caps</name>
            <filename>Arial.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font13</name>
            <filename>Arial.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font13caps</name>
            <filename>Arial.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font16caps</name>
            <filename>Arial.ttf</filename>
            <size>25</size>
        </font>
         <font>
            <name>font30</name>
            <filename>Arial.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>fontContextMenu</name>
            <filename>Arial.ttf</filename>
            <size>18</size>
        </font>


    <!-- Title Fonts -->
         <font>
            <name>font10_title</name>
            <filename>Arial.ttf</filename>
            <size>12</size>
        </font>
         <font>
            <name>font12_title</name>
            <filename>Arial.ttf</filename>
            <size>16</size>
        </font>
         <font>
            <name>font13_title</name>
            <filename>Arial.ttf</filename>
            <size>20</size>
        </font>
         <font>
            <name>font24_title</name>
            <filename>Arial.ttf</filename>
            <size>24</size>
        </font>
         <font>
            <name>font28_title</name>
            <filename>Arial.ttf</filename>
            <size>28</size>
        </font>
         <font>
            <name>font30_title</name>
            <filename>Arial.ttf</filename>
            <size>30</size>
        </font>
         <font>
            <name>font35_title</name>
            <filename>Arial.ttf</filename>
            <size>35</size>
        </font>
         <font>
            <name>font50caps_title</name>
            <filename>Arial.ttf</filename>
            <size>50</size>
        </font>

         <font>
            <name>WeatherTemp</name>
            <filename>Arial.ttf</filename>
            <size>80</size>
        </font>
    </fontset>
</fonts>

the only problem is that longer text (e.g. in movie-synopsis) won't scroll.
Reply
#4
I think I understand how to add scrolling in so I should be able to incorporate that...possibly.

One big thing with this is that screenshots won't be possible I don't think. Since I'm going to modify the 720p setup to look proper on a 4:3 NTSC resolution, the screenshots will look completely wonky.

Thus far I figured out how to get the backgrounds looking correct via resizing the backgrounds and got the Poster Stream/Scroll/Whatever the large poster view with info at the bottom is looking correct.

Also, to be clear, I'm modding the Wizard Confluence version as I like the extra views. Smile I'll prob. remove the Noir ones though as I dislike those and don't even want them.
Reply
#5
If you screenshot on a 4:3 screenmode, then it'll look just fine.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
Thanks for the info JM. Will try to get a few.

As it is now, I've 'fixed' two views - fanart and the extra thumbs one. The extrathumbs one I'm removing the extra thumbs and tweaking a few other things around. I'm debating just using the original confluence and adding in a few views I like...might be easier then removing a bunch of stuff...

For just looks, this is much more tedious than I thought it would be. Make a few edits, upload to XBox, restart XBMC. Repeat over and over. It's a PITA since I'm basically guessing what to change (educated guesses...but still)
Reply
#7
You should be able to use XBMC on your PC, windowed, and set it at 800x600 or some ratio of 4:3...instead of doing the whole FTP thing.
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#8
Mcborzu: I was thinking that same thing last night and how much easier that would be. Smile

So...I may actually rethink if I'm doing Confluence - Wizard Edition or just Confluence - reason being there are some errors I've found in the Wizard Edition that I'm not sure specifically how to address.

One prime one being that when your in the TV Shows section, the upper bar/nav aid shows the 'Movies' tag and the 'TV Shows' tag on top of it. And I couldn't tweeze out what the visibility condition is that's causing that...
Reply
#9
Hrm...what's the command to use in keymap.xml to get xbmc to restart? Tried XBMC.RestartApp which worked when bound to a button on the Xbox but it's not working when bound to a via:
<keymap>
<global>
<keyboard>
<y>XBMC.RestartApp()</y>
</keyboard>
</keymap>

Edit: Forgot </global> above. Also, realized that the pixel ratio on an SDTV is different than on a computer monitor so developing on the computer is going to still require some tweaks. Other item is that on Win7, RestartApp doesn't restart XBMC, it just closes it. Could be something to do with it having to be run in administrator mode.
Reply

Logout Mark Read Team Forum Stats Members Help
Confluence 4:3 - Pre-Hack/Mod Clarifications0