Hacking WiiFlow Lite Theme - Rhapsodii

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
Oh I didn't think about it. Ok so I renamed 54473136 back to PCENGINE, but left it to cd_case. To use it with the TG16 cover set people can easily change it to cart_box.
Also, on second thought, there's no need for custom SCUMMVM entries like SCUMMVM_C64. They always use the pc_box coverflow anyway.

Tried beta2, it still freezes whenever I change the theme (wiifow never reboots). I tried to go from my theme to Rhapsodii or to Default, same behaviour.
Remove font.ttf from apps/wiiflow/imgs and see if that fixes it.
 

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
Removed font.ttf but it still freezes. Also I'm experiencing a lot of image corruption lately, mostly the sourceflow images. Sometimes they appear partially corrupted, other times they are different images from other small_covers subfolders. Deleting the .wfc in the cache brings the right ones back.
 

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
@fledge68 deleted all images from the small_covers folder, except for the ones in the theme subfolder. Now the image corruption issue with source flow is no more.
However tying to change the theme always freezes
 
  • Like
Reactions: Hakaisha

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
@fledge68 deleted all images from the small_covers folder, except for the ones in the theme subfolder. Now the image corruption issue with source flow is no more.
However tying to change the theme always freezes
good. i kind of know why that fixed your problem. in other words not really a code fix but a work around for now.

for theme switching try renaming your wiiflow backgrounds folder to backgrounds1. now run wiiflow and switch themes. you won't have your custom backgrounds but if it helps then i know that the custom backgrounds are somehow the problem with theme switching.

of course you can rename backgrounds folder back again.
 
  • Like
Reactions: Hakaisha

Hakaisha

Well-Known Member
OP
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
@fledge68 , I renamed both of my Backgrounds folders to Backgrounds1 and tested theme switching. It still seems to crash to a black screen sometimes.

If I may interject something I found in Beta2, I'm noticing the Copy/Paste function doesn't work in Adjust CoverFlow for the new coverflow types; but still seems to work when adjusting _COVERFLOW and _SMALLFLOW.

I'm also noticing Song titles now have a larger gap between multiple line titles (if the song title is longer and requires multiple lines to write out the title within the confined area). This new gap often makes longer song titles collide/overlap the CoverFlow covers. I can provide a screenshot if a visual will help explain the issue better.
 

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
good. i kind of know why that fixed your problem. in other words not really a code fix but a work around for now.

for theme switching try renaming your wiiflow backgrounds folder to backgrounds1. now run wiiflow and switch themes. you won't have your custom backgrounds but if it helps then i know that the custom backgrounds are somehow the problem with theme switching.

of course you can rename backgrounds folder back again.
Renamed backgrounds to backgrounds1, same freezing issue, no black screen for me. I tried to switch to the Default theme.
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
@fledge68 , I renamed both of my Backgrounds folders to Backgrounds1 and tested theme switching. It still seems to crash to a black screen sometimes.

If I may interject something I found in Beta2, I'm noticing the Copy/Paste function doesn't work in Adjust CoverFlow for the new coverflow types; but still seems to work when adjusting _COVERFLOW and _SMALLFLOW.

I'm also noticing Song titles now have a larger gap between multiple line titles (if the song title is longer and requires multiple lines to write out the title within the confined area). This new gap often makes longer song titles collide/overlap the CoverFlow covers. I can provide a screenshot if a visual will help explain the issue better.
Yes pic please. And what about v5.2.0 non beta ?
 

Hakaisha

Well-Known Member
OP
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
@fledge68, the Song Title issue appears to also be prevalent in v5.2.0 non-beta.

song-title-example.png


For comparison, here is an older screenshot with a song title:
Rhapsodii-Feature-Display1.jpg
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
ok the music title is your theme ini. under [MAIN/MUSIC] line_height=0 which means it will use the line_height under [GENERAL] unless that is set to 0 in which case it will use wiiflows internal line_height. according to rhapsodii_beta1 line_height=18 is what it should be.

the copy and paste in adjust coverflow is because the flow domains in platform ini are not uppercase. wiiflow config code normally auto makes them uppercase. if you look in your coverflow ini file you will find the domains in lowercase between []. delete them.
i have fixed the code in config.cpp to make them uppercase when copying.

Note: i need to add something so the user can tell the current flow has been copied and also when it has been pasted to update the flow currently showing. also a 'NEW' button to add a flow would be nice to. maybe a options button when clicked shows a drop down menu with choices for copy, paste, new, save, restore.

as for theme switching i haven't figured that out yet. it seems to work for me.
 

Hakaisha

Well-Known Member
OP
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
Thanks, Fledge. So the song title spacing was due to my own oversight in theme.ini. :yaywii:

In Adjust CoverFlow, I usually just "refresh" the CoverFlow by pressing the "X"/"Selected View" button 2 times to see the Paste results show up. Maybe an auto-refresh of sorts after the paste action is made? I really like your idea of a "Add New" button, and possibly including it in a drop-down menu.
 

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
Is there a way to prevent image squishing when switching in 4:3 mode? This affects the backgrounds.
The backgrounds I used needed to be shrunken by 75% to display properly in 16:9 mode.
But if I switch the console to 4:3 mode, they look shrunken horizontally.
The same thing does not happen for sourceflow images or game covers, they look the same with either mode.
I was wondering if it was possible for backgrounds too.
Or maybe with a 'select bg folder' button in Wiiflow, one could easily switch to a 4:3 set of backgrounds for use with a crt?
 
Last edited by Tetsuo Shima,

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
Is there a way to prevent image squishing when switching in 4:3 mode? This affects the backgrounds.
The backgrounds I used needed to be shrunken by 75% to display properly in 16:9 mode.
But if I switch the console to 4:3 mode, they look shrunken horizontally.
The same thing does not happen for sourceflow images or game covers, they look the same with either mode.
I was wondering if it was possible for backgrounds too.
Or maybe with a 'select bg folder' button in Wiiflow, one could easily switch to a 4:3 set of backgrounds for use with a crt?
i think you meant you shrunk them by 25% so that in 16:9 mode when they are stretched horizontally they appear correctly.
wiiflow backgrounds are 640x480 which is 4:3 mode. so in 16:9 mode we need to somehow auto shrink the background image by 25% before it is drawn. but i don't know how to do that.
i suppose we can make a 4:3 folder and 16:9 folder and use the appropriate folder based on what the console is set to.

on a side note. have you ever noticed wiiflow screenshots are 640x480 (4:3) so when you view them they appear squished and to make them appear correct you need to stretch them horizontally by 25% to make them appear correctly.
 
Last edited by fledge68,
  • Like
Reactions: Tetsuo Shima

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
oh yes 25, sorry I confused the numbers:lol:
I first encountered this issue while doing my custom banners set for dos games. they looked horrible in 16:9.
Real banners don't have this issue, but mine were simple static banners and they were stretched. So I had to do 2 separate sets, for each video mode.

One thing that I would love to add to my theme would be a bottom bar in the Main view, to serve as a background for the button icons and that can hide with them. I don't know if it's possible to use a texture behind the buttons, I couldn't find anything that could work.
 
  • Like
Reactions: Hakaisha

Hakaisha

Well-Known Member
OP
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
@Tetsuo Shima , for a texture behind the MAIN/screen icons, you can use [MAIN/USER1] and [MAIN/USER2], similar to your [GAME/USER2] settingsbg.png

btndvdg.png and btnconfigg.png are no longer necessary in WiiFlow.

Edit:

[MAIN/USER1] and [MAIN/USER2] appear by default when defined by the user, following the rules set by "buttons" in [MAIN/ZONES]
[MAIN/USER3] and [MAIN/USER4] appear when the "Source Swap" button is enabled, following rules set by "buttons2" in [MAIN/ZONES]
[MAIN/USER5] and [MAIN/USER6] appear when the Disc is inserted, following rules set by "buttons3" in [MAIN/ZONES]

I have noticed the "Inserted Disc" button always appears on the MAIN/screen now, regardless of the presence of a Disc in the latest 5.2.0 release. So perhaps an inserted disc is no longer necessary for [MAIN/USER5] and [MAIN/USER6].
 
Last edited by Hakaisha,
  • Like
Reactions: Tetsuo Shima

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
Thanks Hakaisha. You gave me precious information. I used Main/User1 for my bar and it's working perfectly as I wanted.
Now I'm doing a bit of experimenting with it.
e.g. I increased the active 'zones' to the whole screen area. So if I want the bar to disappear I just point the wiimote out of the screen. This way I find it more confortable, it was hard sometimes to make the bar stay there, while trying to click on the buttons.
Maybe I'll also try to split the bar in 2 bottm bars, one for the left icons and one for the right icons (fav and settings). But I'm struggling with the bar border, if the flow icon is hidden the left bar should be shorter
 
Last edited by Tetsuo Shima,
  • Like
Reactions: Hakaisha

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
@Tetsuo Shima @Hakaisha and everyone else.

try beta 3 - https://www.mediafire.com/file/30ptpkn6vvgqjay/wfl5.3.0beta3.dol/file

i think i fixed coverflow (for the most part). It runs much faster and smoother. no skipping wfc's but i do still occasionally see a half cover/scrambled cover but if you scroll off screen out of the buffer zone and then back on it will be fine. i have an idea to fix that to. but for now this should fix tetsuo's sourceflow problem. note that new covers will not auto fill in. you will have to do cache covers or reload cache both on home menu.
 
  • Like
Reactions: Hakaisha

Hakaisha

Well-Known Member
OP
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
Everything's looking good, @fledge68 ! CoverFlow looks like it loads much smoother now overall.

Call me crazy, but... I've been noticing that I only see corrupted covers when forcing Base 56 cIOS 249 at startup, with HQ Covers turned on.

Forcing Base 57 cIOS250 with HQ Covers turned on seems to never produce any cover corruptions.

Turning off HQ Covers gets rid of the issue entirely, regardless of which cIOS is being utilized at startup.

Just out of curiosity, which cIOS is everyone forcing at startup? And what has been your experience with CoverFlow corruptions?
 
  • Like
Reactions: fledge68

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
Everything's looking good, @fledge68 ! CoverFlow looks like it loads much smoother now overall.

Call me crazy, but... I've been noticing that I only see corrupted covers when forcing Base 56 cIOS 249 at startup, with HQ Covers turned on.

Forcing Base 57 cIOS250 with HQ Covers turned on seems to never produce any cover corruptions.

Turning off HQ Covers gets rid of the issue entirely, regardless of which cIOS is being utilized at startup.

Just out of curiosity, which cIOS is everyone forcing at startup? And what has been your experience with CoverFlow corruptions?
I always use base 56. Never thought that base 57 would make a difference but maybe it can read sd card quicker or better.
 
  • Like
Reactions: Hakaisha

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,889
Country
Italy
@fledge68 I tried your beta3 and the issue with corrupted source covers seems gone, Nn problems so far.
If some cover messes up, pressing the + button on the wiimote also fixes it.
However I had an issue on my first try, because I deleted the sourceflow cache before installing the new beta3 (I thought that maybe some corrupted .wfc file could cause problems). Then when I booted WiiFlow b3 it couldn't recreate the cache files (I tried pressing cache cover and reload cache buttons with no result) and all source images were missing from my sourceflow. Instead, all my buttons showed the C64 icon from source menu.
I had to reinstall beta2, let it recreate the cache files, and then install beta3 to make it work.

@Hakaisha I can't confirm your theory, my Force cIOS version in start up options is set to 'Auto' and HQ covers is set to 'no'
 
  • Like
Reactions: Hakaisha

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,962
Country
United States
@fledge68 I tried your beta3 and the issue with corrupted source covers seems gone, Nn problems so far.
If some cover messes up, pressing the + button on the wiimote also fixes it.
However I had an issue on my first try, because I deleted the sourceflow cache before installing the new beta3 (I thought that maybe some corrupted .wfc file could cause problems). Then when I booted WiiFlow b3 it couldn't recreate the cache files (I tried pressing cache cover and reload cache buttons with no result) and all source images were missing from my sourceflow. Instead, all my buttons showed the C64 icon from source menu.
I had to reinstall beta2, let it recreate the cache files, and then install beta3 to make it work.

@Hakaisha I can't confirm your theory, my Force cIOS version in start up options is set to 'Auto' and HQ covers is set to 'no'
Glad you found that issue. Obviously that means i need to fix cache covers so it works with sourceflow.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: that's an apple but same idea