Hacking WiiFlow - an open source GUI USB-Loader

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Sorry for the double post but figured it would be nice to have this separate. I managed to get WiiFlow working with Nintendont somewhat. I can launch Nintendont through the Homebrew view and it will autoboot the last game I chose in Nintendont, when I use the exit to loader combo voila I'm back in WiiFlow. However I still can't click on a cover in GC view and launch the game I want. It goes straight to dump. Here's a log with Abz Mastermod 1076 this time and a few attempts at launching a GC game through Nintendont no HID, one with force cIOS on and one w/o.

Code:
Welcome to WiiFlow (Beta 4.2.3 Mod-r1075)!
This is the debug output.
vWii Mode
Real Wii
WiiFlow is in real nand mode
IOS58 v6432
patched isfs_permissions 1 times.
patched es_setuid 1 times.
patched es_identify 1 times.
patched hash_check 0 times.
patched new_hash_check 1 times.
Init ISFS
Found WiiFlow Save
FAT Partition at sd: mounted.
Changing USB port to port 0....
* * * * * * * * * * * *
* HDD Information
* Sectors: 3907029167
* Size [Sector Size]: 1.956 TB [512]
* * * * * * * * * * * *
FAT Partition at usb1: mounted.
NTFS Partition at usb2: mounted.
SHND: Running sound thread
Wiiflow boot.dol Location: usb1:/apps/wiiflow
Wii Games Directory: %s:/wbfs
m_mios_ver = 0; m_sd_dm = 0; m_new_dml = 0; m_new_dm_cfg = 0
Loading cIOS map
Found d2x base 56 in slot 249
Found d2x base 57 in slot 250
Found d2x base 58 in slot 251
Data Directory: usb2:/wiiflow
Nintendont found
Creating Gamelist
Games found: 23
start
Creating Gamelist
Games found: 516
Creating Gamelist
Games found: 10
Update Play log
Launching game GM4E01
 
Welcome to WiiFlow (Beta 4.2.3 Mod-r1075)!
This is the debug output.
vWii Mode
Real Wii
WiiFlow is in real nand mode
IOS58 v6432
patched isfs_permissions 1 times.
patched es_setuid 1 times.
patched es_identify 1 times.
patched hash_check 0 times.
patched new_hash_check 1 times.
Init ISFS
Found WiiFlow Save
FAT Partition at sd: mounted.
Changing USB port to port 0....
* * * * * * * * * * * *
* HDD Information
* Sectors: 3907029167
* Size [Sector Size]: 1.956 TB [512]
* * * * * * * * * * * *
FAT Partition at usb1: mounted.
NTFS Partition at usb2: mounted.
SHND: Running sound thread
Wiiflow boot.dol Location: usb1:/apps/wiiflow
Wii Games Directory: %s:/wbfs
m_mios_ver = 0; m_sd_dm = 0; m_new_dml = 0; m_new_dm_cfg = 0
Loading cIOS map
Found d2x base 56 in slot 249
Found d2x base 57 in slot 250
Found d2x base 58 in slot 251
Data Directory: usb2:/wiiflow
Nintendont found
Creating Gamelist
Games found: 516
start
 
Welcome to WiiFlow (Beta 4.2.3 Mod-r1075)!
This is the debug output.
Real Wii
WiiFlow is in real nand mode
IOS58 v6432
patched isfs_permissions 0 times.
patched es_setuid 0 times.
patched es_identify 0 times.
patched hash_check 0 times.
patched new_hash_check 0 times.
Init ISFS
Found WiiFlow Save
Loading IOS Settings from NAND
Reloading into IOS 249 from 58...
Deinit ISFS
AHBPROT after IOS Reload: 0
patched isfs_permissions 0 times.
Init ISFS
D2X IOS249[56] v10
FAT Partition at sd: mounted.
Changing USB port to port 0....
* * * * * * * * * * * *
* HDD Information
* Sectors: 3907029167
* Size [Sector Size]: 1.956 TB [512]
* * * * * * * * * * * *
FAT Partition at usb1: mounted.
NTFS Partition at usb2: mounted.
SHND: Running sound thread
Wiiflow boot.dol Location: usb1:/apps/wiiflow
Wii Games Directory: %s:/wbfs
m_mios_ver = 0; m_sd_dm = 0; m_new_dml = 0; m_new_dm_cfg = 0
Loading cIOS map
Found d2x base 56 in slot 249
Found d2x base 57 in slot 250
Found d2x base 58 in slot 251
Data Directory: usb2:/wiiflow
Nintendont found
Creating Gamelist
Games found: 516
start
Creating Gamelist
Games found: 10
Update Play log
Launching game GM4E01
 
Welcome to WiiFlow (Beta 4.2.3 Mod-r1075)!
This is the debug output.
vWii Mode
Real Wii
WiiFlow is in real nand mode
IOS58 v6432
patched isfs_permissions 1 times.
patched es_setuid 1 times.
patched es_identify 1 times.
patched hash_check 0 times.
patched new_hash_check 1 times.
Init ISFS
Found WiiFlow Save
Loading IOS Settings from NAND
Reloading into IOS 249 from 58...
Deinit ISFS
AHBPROT after IOS Reload: 1
patched isfs_permissions 0 times.
Init ISFS
D2X IOS249[56] v10
FAT Partition at sd: mounted.
Changing USB port to port 0....
* * * * * * * * * * * *
* HDD Information
* Sectors: 3907029167
* Size [Sector Size]: 1.956 TB [512]
* * * * * * * * * * * *
FAT Partition at usb1: mounted.
NTFS Partition at usb2: mounted.
SHND: Running sound thread
Wiiflow boot.dol Location: usb1:/apps/wiiflow
Wii Games Directory: %s:/wbfs
m_mios_ver = 0; m_sd_dm = 0; m_new_dml = 0; m_new_dm_cfg = 0
Loading cIOS map
Found d2x base 56 in slot 249
Found d2x base 57 in slot 250
Found d2x base 58 in slot 251
Data Directory: usb2:/wiiflow
Nintendont found
Creating Gamelist
Games found: 516
start
Cleanup Coverflow
SHND: Stopping sound thread
SHND: Stopped sound thread
MEM1_freesize(): 10436592
MEM2_freesize(): 39331584
Doesn't look like there's much there that could help but hey you never know right.

I've also tried deleting WiiFlow Save on NAND and deleted nincfg.bin, several times. I don't know what the hell is going on considering USBL-GX does launch Nintendont for me. I assume it should be something on my end, but I've tried just about everything I can think of. every other aspect of WiiFlow is working correctly for me, it has to be something simple or some kind of bug.
do you have a million HQ cover on board during testing?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
that's the weirdest bug ever,
codedumps in wiiflow are most of the time due to either corrupt cover png or cache and to memory issues
the weird thing is that both 1054 and 1076 gave the same dump, given that they use completely different memory managers :wtf:
FIX94

did you try disabling HQ covers in wiiflow.ini
I can't reproduce your issue so you have to test with different settings until we find wtf is going on :P
 

Isle41

Well-Known Member
Member
Joined
Nov 24, 2011
Messages
207
Trophies
0
XP
305
Country
Gambia, The
I run this game on Wiiflow (r1076) with ios=Auto (my wii is NTSC and have cIOS d2x-v10-beta52) and default for the other options. Perhaps you should also force the video to NTSC.

Turns out it was my emunand. Though I installed cios-beta53 and a few others (all the ones in abz pack) and now it just exits to wiiflow (or homemenu, but I set wiiflow to replace home menu in priiloader). Step in the right direction but still uncertain of the problem.
 

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,190
Country
I think the 1076 mod has a different code dump sequence but it's in the same place. I'll post a pic of it later. Yes I have cover_use_HQ=no, and I thought the Wii U already came with the correct IOS58 and I shouldn't be re-placing/installing it. I use emu-NAND so my cIOS consists of 249-251 d2xv10r52 249-56/250-57/251-58. Should I install d2x-alt into 249-56? I didn't really think this mattered since it seems to be a problem writing to nincfg.bin or launching the nintendont boot.dol, it literally dumps immediately after hitting play when choosing a GC game.

If I go into individual game settings and choose HID ON, NMM Enabled, the wiiflow.ini still has the default settings, so it seems changes don't get passed to the wiiflow.ini. It does save Nintendont as the default loader globally in wiiflow.ini and individually through game_settings in wiiflow/settings. NO SD CARD inserted through testing process unless specifically using an SD card by itself so there isn't any SD/HDD confusion of writing what files where or anything.

Anyway sorry to bombard the thread figured giving as much info as possible is good.

EDIT: Thinking of moving apps/wiiflow and wiiflow/settings to SD and leave everything else on USB to see how it might work out.
 

gburgue

Well-Known Member
Member
Joined
Nov 12, 2011
Messages
183
Trophies
1
XP
1,501
Country
Argentina
Turns out it was my emunand. Though I installed cios-beta53 and a few others (all the ones in abz pack) and now it just exits to wiiflow (or homemenu, but I set wiiflow to replace home menu in priiloader). Step in the right direction but still uncertain of the problem.

Just try this: on gameconfig2.ini of "settings" subfolder, in section [S72E01], set option "reload_block=yes". This should force the IOS Reload blocking on "Kirby's Dream Collection" to prevent the game from rebooting the Wii when you select a subgame.

For +info please check this post:
https://gbatemp.net/threads/kirby-dream-collection-reset-issue.334666/#post-4395539
 

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,190
Country
Alright should be my last post on the matter lol, here is a dump with Abz WF Mastermod 1076 on a flash drive with a clean install. Nothing but apps/wiiflow/, apps/nintendont, USB:/wbfs, USB:/games.
IMG_3516_zps6b4a447b.jpg
It just refuses to even pass over to Nintendont to let me choose a game w/o autoboot..:hateit:
 

hicandturkey

Well-Known Member
Newcomer
Joined
Sep 5, 2009
Messages
83
Trophies
0
XP
183
Country
United States
So I tried playing a Gamecube game off an actual disc for the first time since I can remember. After I clicked the Disc icon within Wiiflow, Wiigator popped up and attempted to boot the game. I have the correct MIOS file (from abz pack) in the MIOS folder under wiiflow\. I feel like this isn't the desired result that I should be getting, or am I wrong?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
So I tried playing a Gamecube game off an actual disc for the first time since I can remember. After I clicked the Disc icon within Wiiflow, Wiigator popped up and attempted to boot the game. I have the correct MIOS file (from abz pack) in the MIOS folder under wiiflow\. I feel like this isn't the desired result that I should be getting, or am I wrong?

I have wiigator v4 as mios for discs since it can launch original, backup as well as multiiso dvd
I also have wiipower mios 10 in alt_stuff folder...
Did you set launcher to "auto-mios" in general GC settings? Is you DVD booting?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Alright should be my last post on the matter lol, here is a dump with Abz WF Mastermod 1076 on a flash drive with a clean install. Nothing but apps/wiiflow/, apps/nintendont, USB:/wbfs, USB:/games.
It just refuses to even pass over to Nintendont to let me choose a game w/o autoboot..:hateit:
trying to reproduce your issue
do you get the dump if gc loader is set to "devo" or "auto-mios"?
are folder names in lower caps or you have higher caps charachters?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
Alright should be my last post on the matter lol, here is a dump with Abz WF Mastermod 1076 on a flash drive with a clean install. Nothing but apps/wiiflow/, apps/nintendont, USB:/wbfs, USB:/games.
It just refuses to even pass over to Nintendont to let me choose a game w/o autoboot..:hateit:
Ok Rican I reproduced your issue and fixed the damn bug,
it was nintendont version detection by airline that's causing the problem
please download mastermod again from my sig and give it a try :)

I'll update 1076-mod and update the files in the pack
crazy shit is why this was found now been there for ages lol :)

updated files link:
1054MM: http://copy.com/vRN3HgFVyk9u7YuB/Public/wiiflow_mastermod_wiiuwide.7z
1076Mod: http://copy.com/vRN3HgFVyk9u7YuB/Public/wiiflow_1076_mod_wiiuwide.7z
 
  • Like
Reactions: MassiveRican

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,190
Country
Ok Rican I reproduced your issue and fixed the damn bug,
it was nintendont version detection by airline that's causing the problem
please download mastermod again from my sig and give it a try :)

I'll update 1076-mod and update the files in the pack
crazy shit is why this was found now been there for ages lol :)

updated files link:
1054MM: http://copy.com/vRN3HgFVyk9u7YuB/Public/wiiflow_mastermod_wiiuwide.7z
1076Mod: http://copy.com/vRN3HgFVyk9u7YuB/Public/wiiflow_1076_mod_wiiuwide.7z
YES YES YES!! This finally did it, I can finally autoboot properly into Nintendont with WiiFlow. Thanks Abz you're the man nice work on this, I was really hoping it didn't have something to do with my setup or an error on my side. Thanks again.
 
  • Like
Reactions: AbdallahTerro

Isle41

Well-Known Member
Member
Joined
Nov 24, 2011
Messages
207
Trophies
0
XP
305
Country
Gambia, The
Just try this: on gameconfig2.ini of "settings" subfolder, in section [S72E01], set option "reload_block=yes". This should force the IOS Reload blocking on "Kirby's Dream Collection" to prevent the game from rebooting the Wii when you select a subgame.

For +info please check this post:
https://gbatemp.net/threads/kirby-dream-collection-reset-issue.334666/#post-4395539


Didn't fix the issue, or do anything at all really :P

I've seen that thread before.

Also, is it possible to force gamecube games to an output in Wiiflow? I try to force a pal game to NTSC (and the correct 480 for me) but it doesn't do anything, though when booting from Nintendont it works fine.
 

flamepanther

Well-Known Member
Member
Joined
Apr 16, 2011
Messages
159
Trophies
0
XP
196
Country
United States
Also, is it possible to force gamecube games to an output in Wiiflow? I try to force a pal game to NTSC (and the correct 480 for me) but it doesn't do anything, though when booting from Nintendont it works fine.
I believe it's been working for me in Abz mastermod versions of Wiiflow and Nintendont. It's difficult to say for sure since I'm on a Wii U, which tries to convert everything to 1080p anyway. However, I can make some PAL games crash by forcing them to 480p 60Hz, so the setting is clearly doing something.
 

airline38

Well-Known Member
Member
Joined
Mar 28, 2010
Messages
741
Trophies
1
XP
807
Country
Taiwan
r1076 mod07: https://www.sendspace.com/file/xa7ow5

*Added a game option (Wii) :Private Server (wiimmfi.de)
*Added a game option (GC): Force 4:3(vWii) for Nintendont (v2.258+)
*Display Nintendont version(build date) when Home button is pressed
*Fixed the code dump issue of previous mod(06) - if load Wiiflow from
a USB device instead of a SD card.

Source/patch is in the attached file.
 

Attachments

  • 1076_mod07.rar
    8.4 KB · Views: 186

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,190
Country
r1076 mod07: https://www.sendspace.com/file/xa7ow5

*Added a game option (Wii) :Private Server (wiimmfi.de)
*Added a game option (GC): Force 4:3(vWii) for Nintendont (v2.258+)
*Display Nintendont version(build date) when Home button is pressed
*Fixed the code dump issue of previous mod(06) - if load Wiiflow from
a USB device instead of a SD card.

Source/patch is in the attached file.
I love that Wiimmfi.de private server game option, does it work like I think and actively patch the ISO to use the private servers? Eliminating the need to manually build ISO's with the Wiimmfi patch? If it's become a tog-gable option to use those servers this needs to be implemented in the official build man! So awesome, thx Airline38.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1