Hacking WiiFlow Lite Theme - Rhapsodii

matt!

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
634
Trophies
1
Age
47
Website
www.gingerbeardman.com
XP
1,350
Country
United Kingdom
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!,

Blugoo

Active Member
Newcomer
Joined
Feb 10, 2020
Messages
31
Trophies
0
Age
44
XP
417
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,
  • Like
Reactions: Hakaisha

matt!

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
634
Trophies
1
Age
47
Website
www.gingerbeardman.com
XP
1,350
Country
United Kingdom
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!,

CaptainHIT

Well-Known Member
Member
Joined
Mar 2, 2011
Messages
384
Trophies
1
Age
47
Location
Frankfurt
XP
1,454
Country
Germany
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?
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,

Dcep1501

Well-Known Member
Member
Joined
Mar 29, 2018
Messages
188
Trophies
0
Age
45
XP
738
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,

matt!

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
634
Trophies
1
Age
47
Website
www.gingerbeardman.com
XP
1,350
Country
United Kingdom
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!,

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
788
Trophies
1
XP
3,545
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.
 

Attachments

  • Rhapsodii_2.0_opti.7z
    1.2 MB · Views: 286
Last edited by blackb0x,

matt!

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
634
Trophies
1
Age
47
Website
www.gingerbeardman.com
XP
1,350
Country
United Kingdom
Try B and +/R, is that what you want?
That's what I mean: pressing B+Plus does nothing for me? What does it do for you?

@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.
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!, , Reason: vapors

Xium

New Member
Newbie
Joined
Jul 11, 2020
Messages
2
Trophies
0
Age
34
XP
44
Country
Australia
@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 :)


Could you please upload this? I must has it.
 

AdamCatalyst

Well-Known Member
Member
Joined
May 26, 2020
Messages
179
Trophies
0
XP
1,128
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,

jwrmo1966

Member
Newcomer
Joined
Sep 14, 2020
Messages
9
Trophies
0
Age
57
XP
49
Country
United States
Hi I have asked this question on another post but I am not getting any response there so figured I would ask here. I installed wii flow lite from danimals master pack. I believe the version is 5.4. I then installed the theme. I have some trouble with it. When I click inside the theme on the source menus for instance the wii menu I see no pictures or images of the systems listed in that source. I do know that they are supposed to be there because Ive had it installed before and started over. The them ie pretty bad without these as I can not see what system I am using. anyway if anyone could help I would very much appreciate it.
 

jwrmo1966

Member
Newcomer
Joined
Sep 14, 2020
Messages
9
Trophies
0
Age
57
XP
49
Country
United States
I just want to give props to Matt. His optimized theme fixed my problems I was having with images on the source menu. A Big thank you to him for his optimized theme. So Thank you Matt.
 
  • Like
Reactions: matt!

Warel

Member
Newcomer
Joined
Jan 1, 2015
Messages
19
Trophies
0
Age
41
XP
119
Country
Brazil
I was a long time Wiiflow user and today I updated to Wiiflow lite and loved your theme.
But I have two questions:
1) I can never see the source button when your theme is active. With the default theme, the button is there.
2) Is there any way for wiiflow to show the Wii and Gamecube games at the same time/list? It´s the one thing I think USB Loader GX does better than Wiiflow, and I would love to stop using Loader GX and use only Wiiflow.
Thanks a lot!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @BakerMan, I have a piano keyboard but I never use it