1. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    Thanks! I'll take a read.

    I'll release my tool soon. It's just a little time saver.

    I just updated my .ini with a few more width/position tweaks. Looking good!
     
    Tetsuo Shima and Hakaisha like this.
  2. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    More optimisations, you can remove lines that do not have anything after the = sign

    Result is smaller .ini and probably faster parsing/loading by WFL.

    Before: 13101 lines
    After: 9553 lines
    Saving: 27%

    Gist updated.
     
    Tetsuo Shima and Hakaisha like this.
  3. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    My tool is ready!

    https://github.com/gingerbeardman/Priiprocess

    The goals were:

    * Easier theme creation
    * Easier theme editing
    * Easier theme management
    * Smaller themes
    * Modular themes

    It does this by introducing:

    * Variables
    * Includes

    The result is kind of like a cross between INI and CSS.

    You can define a single .color_heading and then use it in many places. To change the colour of all those elements, simply change the single definition and you're done!

    To show that the tool works, I have deconstructed Rhapsodii 2.0 which in the process became a more organised theme. By reusing definitions for common positions and reusable elements I was able to consolidate and improve consistency. Thanks for your kind support @Hakaisha!

    As an example, every title has the same code:

    Code:
    [ABOUT/TITLE]
    color=#FFFFFFFF
    effect_scale_x=1
    effect_scale_y=0
    effect_x=0
    effect_y=-200
    font_line_height=0
    font_size=0
    font_weight=0
    height=60
    width=600
    x=20
    y=15
    We can replace this with the names of (unshown) user definitions, which is easier to read/write but still repetitive:

    Code:
    [ABOUT/TITLE]
    .white
    .fixed_scale_x
    .zero_scale_y
    .fixed_left
    .from_off_top
    .no_line_height
    .no_font_size
    .no_font_weight
    .title_height
    .title_width
    .title_x
    .title_y
    And by go further by using a single include:

    Code:
    [ABOUT/TITLE]
    .title
    
    [PLUGIN/TITLE]
    .title
    The best results would come from building a theme from a scratch with the tool in mind, as my deconstruction of Rhapsodii 2.0 could be optimised further still. Compared to my last manually edited Rhapsodii.ini the results of this tool are a more consistent theme, with some 250+ small changes due to the increased consistency.

    The tool is less than 100 lines of PHP code. It could easily be ported to Python or even C (if WFL wanted to add support for this type of theme format).

    It spits out a .prii.ini file (all includes merged into one file but still with variables) and the final .ini (incudes merged with all variables replaced).

    Let's call this a first test vision, to get feedback. If it's something people would use then I will create my own thread for it.

    Thanks for your time and, as always, have fun!
     
    Last edited by matt!, Feb 25, 2020
    Hakaisha and Tetsuo Shima like this.
  4. Blugoo

    Blugoo Member
    Newcomer

    Joined:
    Feb 10, 2020
    Messages:
    22
    Country:
    France
    Greetings,
    I just installed your theme without issues so thank you :)

    Edit: In the settings, some options are displayed on top of each other (lines are not spaced properly). :/
     
    Last edited by Blugoo, Feb 28, 2020
    Hakaisha likes this.
  5. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    Just for completeness, the end of my journey for pixel-perfect video!

    I am now using a Wii to HDMI adapter going into a HDMI to VGA adapter.

    This gives me Pixel Perfect video at 640x480 for all Wii software. Lag is ~20ms, which is roughly the same as the TV doing straight HDMI/Component.

    It also has the side-effect of deactivating all picture processing on my TV, which means colours are spot on. I've never seen my games look so good! It's such a vast improvement I find it hard to believe.

    Of course, setting 640x480 in WFL means everything now looks perfect and as it should be, with zero overscan!

    Stay safe and have fun everybody!

    ps: did anybody try my Priiprocess tool?
     
    Last edited by matt!, Mar 20, 2020
    Tetsuo Shima and CaptainHIT like this.
  6. CaptainHIT

    CaptainHIT GBAtemp Regular
    Member

    Joined:
    Mar 2, 2011
    Messages:
    266
    Country:
    Germany
    I wish I had crisp clear pixel perfect on my Wii U too for playing Wii and GameCube games. I hate this processed blurry shit. :(
    Would this also work with a HDMI to VGA adaptor only on the Wii U?
     
    Last edited by CaptainHIT, Mar 20, 2020
  7. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    The adapter would work, but you would still need a 640x480 capable display to show the signal at native resolution and prevent any resizing/blurring at that stage.
     
    Last edited by matt!, Mar 20, 2020
  8. Dcep1501

    Dcep1501 GBAtemp Regular
    Member

    Joined:
    Mar 29, 2018
    Messages:
    170
    Country:
    United States
    @Hakaisha Awesome theme. FYI I ported it to USB Loader GX as best I could, and added a few of my own elements. Feel free to check it out. I also did a video on YT. Here's the link

    Skip to 3:28. Thanks for your awesome work @Hakaisha, your theme inspired me to bring it to USB Loader GX. I mentioned you in there as well as the original theme creator :)
     
    Last edited by Dcep1501, Mar 29, 2020
    Hakaisha likes this.
  9. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    it seems the "this game has multiple discs" prompt screen when launching a GameCube game (Tiger Woods 2004 here) is not styled.

    Rhapsodii or WFL issue?
     
  10. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    Latest WFL supports more PNG formats, so images can be optimised.

    Original Rhapsodii image folder: ~9MB
    Optimised Rhapsodii image folder: ~1MB download

    Loading times are improved a little.

    ps: I used PngGauntlet for the large colour images, and just Windows 10 Photos editor app for the smaller, fewer colour images (because for these PngGauntlet uses PNG settings that WFL still does not support)
     
    Last edited by matt!, Apr 18, 2020
    Tetsuo Shima and fledge68 like this.
  11. blackb0x

    blackb0x GBAtemp Regular
    Member

    Joined:
    Apr 22, 2019
    Messages:
    112
    Country:
    United Kingdom
    @matt! I've got a slightly more optimised version of the complete theme. I guess I should of shared it sooner as I created it when I added support for more colour types and was helping Tetsuo to optimise their theme.

    My original goal wasn't to reduce load times, but to reduce the amount of memory that some themes consume. I wanted to do this because some themes (e.g. Tetsuo's) with plugins and snapshots now consume so much memory that they're starting to trigger out of memory errors.

    I'm hoping that the Symphonii theme avoids using multiple 640x480 images, lots of colour gradients and jpeg files as that'd make optimising the theme much easier. @Hakaisha just drop me a private message if you'd like me to take a look prior to release.

    The optimised theme should only be used on WiiFlow Lite v5.4.4 or newer.
     

    Attached Files:

    Last edited by blackb0x, Apr 20, 2020
  12. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    That's what I mean: pressing B+Plus does nothing for me? What does it do for you?

    No worries! Thanks for your continued efforts - I'm now using your optimised images.

    Edit: there is lots of room in Rhapsodii to optimise. See my Priiprocess project for an optimised INI file, and you can also remove one full screen image from the theme by deleting vapors.png and changing its two references to vapor.png.
     
    Last edited by matt!, Apr 21, 2020 - Reason: vapors
  13. MrSW

    MrSW GBAtemp Regular
    Member

    Joined:
    Sep 2, 2018
    Messages:
    123
    Country:
    Brunei
    It does sort the games just fine. Keep in mind that it only works for Wii/GC/Channels, not for plugin sources.
     
    matt! likes this.
  14. matt!

    matt! GBAtemp Fan
    Member

    Joined:
    Nov 20, 2009
    Messages:
    491
    Country:
    Hmm, perhaps I am using Wii+GC via plugins? Thanks, I'll look into this.
     
  15. Xium

    Xium Newbie
    Newcomer

    Joined:
    Jul 11, 2020
    Messages:
    2
    Country:
    Australia
    Could you please upload this? I must has it.
     
  16. Xium

    Xium Newbie
    Newcomer

    Joined:
    Jul 11, 2020
    Messages:
    2
    Country:
    Australia
    Dcep1501- I will gib $
     
  17. AdamCatalyst

    AdamCatalyst Member
    Newcomer

    Joined:
    May 26, 2020
    Messages:
    19
    Country:
    Canada
    @Hakaisha This is seriously beautiful work. Thank-you so much for sharing this with us!

    I can't help but notice, that the PNGs for the Source Menu are very mildly compressed. I was able to reduce them approximately 90% in file size by running them through ImageOptim on default settings with lossless PNG compression. Is there a reason to leave them the way they were instead?
     
    Last edited by AdamCatalyst, Aug 2, 2020
    Hakaisha likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Rhapsodii, WiiFlow, Theme