Hacking WiiFlow Lite

Danimalzpwn3

Well-Known Member
Member
Joined
Oct 12, 2019
Messages
154
Trophies
0
Age
25
Location
America
XP
468
Country
United States
I'll update the WiiFlow Full Tutorial to the latest build, test it out and once all themes are updated, update the links. I have made the thread cleaner and easier to read. Updated a lot of things that are important to note, and even a specific weird situation (SD wont mount) into the notes for troubleshooting if you happen to have the same issue WiiFlow Full Tutorial check it out :) hope it can help :)
Hopefully all of them work great @Tetsuo Shima :yayu: Game & watch is a lot of fun. I sent @mastershoes the list of all game & Watch box covers that I changed to vertical and updated with more images (thanks @Wiimpathy) It isn't the FULL list of existing games but it is the full list to ALL the available ROMS for Game & watch online. Hopefully in the future it can all me added :)
 

RunningSnakes

Well-Known Member
Member
Joined
Jun 21, 2018
Messages
1,326
Trophies
1
Age
50
XP
4,610
Country
United States
@Danimalzpwn3 ... Awesome work with the WFL tutorial, much needed for newcomers & reference. Regarding G&W, this is a core that is fairly new to Wii & I didn't think it would surface TBH. I owned Zaxxon, Qbert, Popeye, as a young kid & many other handhelds from the early-mid 80's. I've aquired many over the past 15-20 years because I'm an old gamer who loves vintage gaming. Just plugged this core for the 1st time tonight & beautiful. If you could post a list of games that are available to find, I would be greatful. Played DK Jr. TableTop earlier & played just like 1984. Never owned this one but my brother did, so had my fair share of plays. Game & Watch on WFL:grog:
 
Last edited by RunningSnakes,

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,100
Country
France
@fledge68 There's a bug(or undesired feature:)) when using a language other than English and no database title is found for this language, the title isn't used at all. Only the filename wii appear in gameinfo and cache list.

I mean perhaps like genres, there should be a fallback in GameTDB to get the English title. In fact, except genres and synopsis, a localized title is rarely present.

Unrelated but is the dump games list (dump_list=yes) still working ? Would it be possible to dump plugin games too?
 
Last edited by Wiimpathy,

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
@fledge68 There's a bug(or undesired feature:)) when using a language other than English and no database title is found for this language, the title isn't used at all. Only the filename wii appear in gameinfo and cache list.

I mean perhaps like genres, there should be a fallback in GameTDB to get the English title. In fact, except genres and synopsis, a localized title is rarely present.

Unrelated but is the dump games list (dump_list=yes) still working ? Would it be possible to dump plugin games too?
Ok ill add fall back to english on titles.

Dump game list currently doesnt work for plugins. I want to and planned on add export gamelist option to home menu. But lack of time recently. Also theres different types of list i want.

Filename=title

Filename=crc or serial

Filename=id
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
@fledge68 There's a bug(or undesired feature:)) when using a language other than English and no database title is found for this language, the title isn't used at all. Only the filename wii appear in gameinfo and cache list.

I mean perhaps like genres, there should be a fallback in GameTDB to get the English title. In fact, except genres and synopsis, a localized title is rarely present.

Unrelated but is the dump games list (dump_list=yes) still working ? Would it be possible to dump plugin games too?
i'm confused.
here's the code for find title:
------------------------------------------------------------------------------------------
bool GameTDB::FindTitle(char *data, const char * &title, const string &langCode)
{
// Coverflow.getHdr() will return NULL if coverflow list is empty or not made yet
// because list generator hasn't made the game list yet.
if(CoverFlow.getHdr() != NULL && CoverFlow.getHdr()->type == TYPE_PLUGIN)
{
title = GetNodeText(data, "<title>", "</title>");

if(title == NULL)
return false;
return true;

}
---------------------------------------------------------------------------------------------
it doesn't even try to seek out the language code. it just finds the first "<title>", "</title>" in the game node.
 
  • Like
Reactions: Alexander1970

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,865
Country
Italy
@fledge68 I was curious about the purpose of the new Home button behaviour in beta14.
Now it acts as a back button (same as B) except in a coverflow it opens the Menu.
I find it a little confusing and unnecessary. Wasn't it better like it was before (always opening the menu)?
After all, we can already use B to navigate back.
 
Last edited by Tetsuo Shima,
  • Like
Reactions: Alexander1970

Danimalzpwn3

Well-Known Member
Member
Joined
Oct 12, 2019
Messages
154
Trophies
0
Age
25
Location
America
XP
468
Country
United States
@RunningSnakes Thank you! I really appreciate it :) I just updated to the new beta thank you @fledge68 now my SD card is readable once again like it was on wiiflow!! Anyone with issues of USB only mounting after 5.2.0, it is now fixed! Here is a link on reddit to the current full list of Game & Watch roms. (FYI I am allowed to link this, "The official RetroPie github specifically directs to where they're available to download") Hopefully anyone looking for these fantastic games can trythem out :) Hopefully whenever @mastershoes uploads all the covers, Game & Watch full list is included. If you want it ASAP just pm me :) I will be adding a youtube video that I compile together of a full setup from start to finish going hand in hand with the thread, and hopefully help anyone out who needs it. I'm looking at it getting done and posted by Decemberish. I have many classes and will be my only break. Also @fledge68 I updated the wiiflow tutorial thread if by chance you would link it here so that others can use it for tutorial hand-in-hand with the wiki, that would be fantastic. Tomorrow I will update the files and other content to reflect 5.3.0 beta 14 :)
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
@fledge68 I was curious about the purpose of the new Home button behaviour in beta14.
Now it acts as a back button (same as B) except in a coverflow it opens the Menu.
I find it a little confusing and unnecessary. Wasn't it better like it was before (always opening the menu)?
After all, we can already use B to navigate back.
1. stop comparing sourceflow to coverflow. they are two different things yet look a like.
2. on the actual source menu and all other wiiflow menu's the Home button and B button both exit the menu and go back. sourceflow IS the source menu. just trying to keep it uniform.
3. pressing Home button to get to source menu/flow settings was removed some time ago. they are now in main settings. this frees up the Home button so I decided to make it exit source flow if on the base tier and go back to base tier if on a tier while B button goes back a single tier. and it didn't make sense to use the Plus button to go back to base tier. which now frees up Plus button for other possible options.
4. on coverflow i would really like to use Home button to take you to an Exit menu. much like most other homebrew. which means you have to click on the Home Button on main screen to go to the Home Menu. But so far i have stuck with pressing Home button to go to Home Menu.
 

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,100
Country
France
i'm confused.
here's the code for find title:
------------------------------------------------------------------------------------------
bool GameTDB::FindTitle(char *data, const char * &title, const string &langCode)
{
// Coverflow.getHdr() will return NULL if coverflow list is empty or not made yet
// because list generator hasn't made the game list yet.
if(CoverFlow.getHdr() != NULL && CoverFlow.getHdr()->type == TYPE_PLUGIN)
{
title = GetNodeText(data, "<title>", "</title>");

if(title == NULL)
return false;
return true;

}
---------------------------------------------------------------------------------------------
it doesn't even try to seek out the language code. it just finds the first "<title>", "</title>" in the game node.
That's precisely why I'm suggesting to be like GetGenres because right now FindTitle will always find the first <title> tag which is English.
See GetGenres : https://github.com/Fledge68/WiiFlow_Lite/blob/master/source/gui/GameTDB.cpp#L672
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,100
Country
France
Because I've described the bug as my user point of view.:unsure: It's not like you say always using english titles. Right now, when you set WiiFlow language to french, when there's no french title in xml, it's displaying the rom filename instead.
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
Because I've described the bug as my user point of view.:unsure: It's not like you say always using english titles. Right now, when you set WiiFlow language to french, when there's no french title in xml, it's displaying the rom filename instead.
sorry.
so there was actually a different problem that caused you problem.
here was the code:

Code:
    if(CoverFlow.getHdr() != NULL && CoverFlow.getHdr()->type == TYPE_PLUGIN)
    {
        title = GetNodeText(data, "<title>", "</title>");

        if(title == NULL)
            return false;
        return true;
    }
    char *language = SeekLang(data, langCode.c_str());
    if(language == NULL)
    {
        language = SeekLang(data, "EN");
        if(language == NULL)
            return false;
    }
    title = GetNodeText(language, "<title>", "</title>");
    if(title == NULL)
        return false;
    return true;
}

the reason you got filename instead is because the if(CoverFlow.getHdr() != NULL && CoverFlow.getHdr()->type == TYPE_PLUGIN) didn't even work since coverflow header list hadn't even been created yet. so the code jumped down to char *language = SeekLang(data, langCode.c_str()); which found the French lang but then title was never set and false was returned.

the problem i was describing that it only found the first "<title>", "</title>" was in the if statement that didn't work.

but now its changed to:
Code:
bool GameTDB::GetTitle(const char *id, const char * &title, bool plugin)
{
    title = NULL;
    if(id == NULL)
        return false;

    char *data = GetGameNode(id);
    if(data == NULL)
        return false;
        
    char *language = SeekLang(data, LangCode.c_str());
    if(language == NULL)
    {
        language = SeekLang(data, "EN");
        if(language == NULL)
        {
            MEM2_free(data);
            return false;
        }
    }
    
    title = GetNodeText(language, "<title>", "</title>");

    if(title == NULL && plugin)// If current language doesn't have Title then try in English
    {
        language = SeekLang(data, "EN");
        if(language == NULL)
        {
            MEM2_free(data);
            return false;
        }

        title = GetNodeText(language, "<title>", "</title>");
    }
    
    MEM2_free(data);

    if(title == NULL)
        return false;
    return true;
}
which should work perfectly.

sorry if I seemed a little rude my friend. :)
 
  • Like
Reactions: KiiWii

FanNintendo

Well-Known Member
Member
Joined
Apr 16, 2018
Messages
1,571
Trophies
0
Age
51
XP
2,484
Country
United States
i have had WiiFlow lite for long time and im seeing double covers like disc 1 & 2 i wonder if u can make single cover just like USB Loader-GX

is there way to make disc 1 & 2 combo as 1 disc like psx2psp for sample Resident Evil 2 PS1 2 disc into .pbp so is there program to make 2 disc from GameCube to compress or covert in 1 disc?
 
Last edited by FanNintendo,

Tetsuo Shima

Well-Known Member
Member
Joined
Oct 29, 2008
Messages
1,874
Trophies
2
Age
45
XP
4,865
Country
Italy
1. stop comparing sourceflow to coverflow. they are two different things yet look a like.
2. on the actual source menu and all other wiiflow menu's the Home button and B button both exit the menu and go back. sourceflow IS the source menu. just trying to keep it uniform.
3. pressing Home button to get to source menu/flow settings was removed some time ago. they are now in main settings. this frees up the Home button so I decided to make it exit source flow if on the base tier and go back to base tier if on a tier while B button goes back a single tier. and it didn't make sense to use the Plus button to go back to base tier. which now frees up Plus button for other possible options.
4. on coverflow i would really like to use Home button to take you to an Exit menu. much like most other homebrew. which means you have to click on the Home Button on main screen to go to the Home Menu. But so far i have stuck with pressing Home button to go to Home Menu.
Ok, now I understand. In this way the home button can be useful for users with nested tiers, to go straight to the base tier. This makes sense. Sorry but I was missing this part from recent changes.

I'd just like to explain why I was finding it a little odd: like you said in point 4, Home is generally used to always take you to the exit menu, anytime with just one click.
But if you want to close Wiiflow and you're not in a coverflow, you have to press it multiple times to access that menu. I thought that it just felt less natural, that's it. Not a complaint:) sorry if it sounded annoying to you, and thanks again for all your hard work on this wonderful app!
 
Last edited by Tetsuo Shima,

Danimalzpwn3

Well-Known Member
Member
Joined
Oct 12, 2019
Messages
154
Trophies
0
Age
25
Location
America
XP
468
Country
United States
I just realized that a "trailers" options exists! What is the button to view trailer? Any trailers online already formatted to wiiflow? what must the file format be?
Also to add, the cart_disks nor the snapshots properly display.
 
Last edited by Danimalzpwn3,

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
I just realized that a "trailers" options exists! What is the button to view trailer? Any trailers online already formatted to wiiflow? what must the file format be?
select game and press '-' on wiimote. they must be .thp files. put in wiiflow/trailers i believe. it didn't seem to catch on. peope were supposed to get youtube videos and trim them down to a small 10 - 20 second thp file. there's a tool in Abz's pack to use to convert avi files to thp i believe.
 
  • Like
Reactions: Danimalzpwn3

Danimalzpwn3

Well-Known Member
Member
Joined
Oct 12, 2019
Messages
154
Trophies
0
Age
25
Location
America
XP
468
Country
United States
@fledge68 Great! Looks like I'll me creating a bunch of trailers haha. I'll compile a decently long list for all the games I own. Will be another thread in the next 2-3 weeks, stay tuned :)

--------------------- MERGED ---------------------------

I did arrive to one problem, when pressign '+' to view game details, "nothing to display" is stated for all my plugin games other than wii and gc, and some neo.
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,427
Trophies
2
XP
4,903
Country
United States
@fledge68 Great! Looks like I'll me creating a bunch of trailers haha. I'll compile a decently long list for all the games I own. Will be another thread in the next 2-3 weeks, stay tuned :)

--------------------- MERGED ---------------------------

I did arrive to one problem, when pressign '+' to view game details, "nothing to display" is stated for all my plugin games other than wii and gc, and some neo.
you need wiimpathy's plugin database files. xml and ini's in their platform folders
and you may have to do a reload cache. to recreate the list so that each rom will have an ID. that ID will be used to get that games info from the xml files.
 

Site & Scene News

Popular threads in this forum

Recent Content

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Sorry for accidentally bending over