Hacking WiiFlow - an open source GUI USB-Loader

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,193
Country
2 Reasons why I'm super excited about unreleased progress with Genplus GX:
Code:
#1 r807 Log message
 
[Wii] added game auto-load support through DOL args (compatible with "Wiiflow"
plugin arguments)
NOTE: if "loader" argument is sent, return to loader stub will automatically be
allowed either from Exit menu or using Wiimote POWER button
 
#2 r805 Log message
 
[Core/MD] fixed regression with games using SRAM bank-switching (introduced in
r792)
Currently 1.7.4 is tagged as r795, there are many more improvements coming. Damn I love eke-eke.

Soupaman66 attached is my scummvm.ini file, basically every game entry has a line which says gameid= which is what WiiFlow uses as it's boxcovers name, which is what mastershoes has based his ScummVM cover titles on. Here's an entry for a game in the .ini file
Code:
[elvira2]
platform=pc
gameid=elvira2
description=Elvira II - The Jaws of Cerberus (Floppy/DOS/English)
language=en
path=usb:/ScummVMroms/Elvira 2 - The Jaws of Cerberus
guioptions=sndNoSpeech launchNoLoad lang_English
If somehow your program could interpret all the gameid= lines and match them to the covers in the directory we point to, it would be amazing and would make your app have 100% compatibility with all WF plugin renaming.
 

Attachments

  • scummvm.zip
    2.9 KB · Views: 94

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
Hoping for some help with a wiiflow.ini problem. I am trying to lock out changing sources for my kids. I have the parental code set so they can't delete games.

I only have Wii games for them and don't want them fiddling with anything on the NAND side or DML either.

On the WiiFlow main screen I only want them to see the USB icon on the bottom right neat the home icon.

I've tried the disabling the HOMEBREW and NAND sections in the ini (disable=yes) but they still come up. On the DML side I hide the source button but they can still select DML as an option.

So on the main screen I would like to disable everything but USB access so if they click the icon it will always bring them to the USB loader section.

TIA

Code:
[DEBUG]
sd_write_log=no
wifi_gecko=no
 
[DML]
always_show_button=no
dir_usb_games=games
dm_r2.1+=yes
dml_r52+=yes
dump_list=no
favorites=no
last_cf_mode=1
partition=1
sort=0
source=no
 
[EMULATOR]
disable=yes
dump_list=no
favorites=no
last_cf_mode=1
partition=0
smallbox=yes
sort=0
source=no
subfolder_cache=yes
 
[FANART]
enable_fanart=yes
 
[GAMERCARD]
dutag_key=
dutag_url=http://tag.darkumbra.net/{KEY}.update={ID6}
gamercards=wiinnertag|dutag
gamercards_enable=no
wiinnertag_key=
wiinnertag_url=http://www.wiinnertag.com/wiinnertag_scripts/update_sign.php?key={KEY}&game_id={ID6}
 
[GAMES]
cheat=no
current_item=SOSEG9
dump_list=no
favorites=no
last_cf_mode=7
partition=1
save_emulation=0
savepartition=-1
savepath=
show_full_banner=no
sort=0
source=yes
 
[GENERAL]
age_lock=0
allow_texture_compression=yes
async_network=no
b_lr_mode=no
banner_in_settings=yes
box_mode=yes
category_on_start=no
compress_cache=no
country_patch=no
cover_buffer=20
cover_prio=4294942712
cover_use_hq=no
custom_banner_url=http://dl.dropboxusercontent.com/u/101209384/{gameid}.bnr
data_on_usb=yes
dir_banner_cache=usb1:/wiiflow/cache/banners
dir_box_covers=usb1:/usb-loader/covers/full
dir_cache=usb1:/wiiflow/cache
dir_cheat=usb1:/wiiflow/codes/gct
dir_custom_banners=usb1:/wiiflow/custom_banners
dir_fanart=usb1:/wiiflow/fanart
dir_flat_covers=usb1:/usb-loader/covers/2d
dir_help=usb1:/wiiflow/help
dir_languages=usb1:/wiiflow/languages
dir_list_cache=usb1:/wiiflow/cache/lists
dir_music=usb1:/wiiflow/music
dir_plugins=usb1:/wiiflow/plugins
dir_screenshot=usb1:/wiiflow/screenshots
dir_settings=usb1:/wiiflow/settings
dir_source=usb1:/wiiflow/source_menu
dir_themes=usb1:/wiiflow/themes
dir_trailers=usb1:/wiiflow/trailers
dir_txtcheat=usb1:/wiiflow/codes
dir_wip=usb1:/wiiflow/codes/wip
display_music_info=yes
dpad_mode=no
exit_to=0
force_cios_load=no
force_cios_rev=0
game_language=0
hidechannel=no
hideviews=no
ini_rev=935
keep_png=yes
language=7
max_fsaa=4
max_source_buttons=71
music_fade_rate=8
parent_code=
randomize_music=yes
returnto=DWFA
rumble=yes
save_favorites_mode=yes
sound_volume_bnr=255
sound_volume_coverflow=255
sound_volume_gui=255
sound_volume_music=255
startup_menu=no
theme=DEFAULT
tv_height=480
tv_width=640
tv_x=0
tv_y=0
update_cache=no
url_custom_flat_covers=http://art.gametdb.com/{console}/cover2/{loc}/{gameid}.png
url_custom_full_covers=http://art.gametdb.com/{console}/coverfullHQ2/{loc}/{gameid}.png
url_flat_covers=http://art.gametdb.com/{console}/cover/{loc}/{gameid}.png
url_full_covers=http://art.gametdb.com/{console}/coverfullHQ/{loc}/{gameid}.png|http://art.gametdb.com/{console}/coverfull/{loc}/{gameid}.png
use_grab=no
use_source=yes
video_mode=1
vipatch=no
wii_games_dir=%s:/wbfs
wiimote_gestures=no
 
[HOMEBREW]
disable=yes
dump_list=no
last_cf_mode=1
parental=no
partition=0
smallbox=yes
sort=0
source=no
 
[NAND]
current_item=
disable=yes
dump_list=no
favorites=no
last_cf_mode=7
partition=1
path=/
sort=0
source=no
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
bostonBC:What happens if you just set the wrong partition numbers or something so that it can't find those things?

Gah, I'm going to have to deal with that stuff soon too: My 2-year-old already asks to play Kirby, Yoshi (or "the real Yoshi" for youtube cartoons), Rayman, Mario, Donkey Kong ("daddy monkey") and GTA3 ("the car game" because we just drive around) on Wii/N64/Xbox. I would steer her towards the N64, but I think she has an easier time with 2.5D platformers on the Wii than with the 3rd-person ones on the N64.
 

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 guys but got some feedback from Abz so I made a few more changes. here's the new test boot.dol

http://www.mediafire.com/?81l64d603fd8ec5

changes:

*the ENTRY buttons should now be behind the text
*if no ENTRY then the btns aren't shown so you don't get the rumble feature for invisible btns
*changed everything to EXPLORER - no more FEXPLORER (see below)
*rewrote the code to combine it with explorer code to make it more compact and 100 lines less
*Fixed the ... that showed when using a USER label
*made NEXT and PREV btns for explorer instead of using the main coverflow's and shrunk them down a little
*fixed the problem with entry 7/8 not showing
*changed dir = to path =
*moved SAVE and CANCEL btns down to lower right corner
*USER 1and 2 are for file explorer
*USER 3 and 4 for folder explorer
*ENTRY_0 is the "..." for file explorer
*ENTRY_8 is the "..." for folder explorer

ENTRY_0 or 8 can now have their own font size or you can hide the text label off screen and use an image such as an up one or back arrow.

EXPLORER/BG
EXPLORER/SELECTED_FOLDER
EXPLORER/SAVE_BTN
EXPLORER/CANCEL_BTN
EXPLORER/NEXT_BTN
EXPLORER/PREV_BTN
EXPLORER/USER#
EXPLORER/ENTRY_#
EXPLORER/ENTRY_#_BTN
Very nice, thanks fledge
I still just need a separate background for the wad installation screen (atm it uses the same one as the file explorer)
24zc6tz.jpg
 

Etheboss

Official LULWUT supporter
Member
Joined
Feb 24, 2009
Messages
2,445
Trophies
0
Location
Around somewhere
XP
851
Country
Netherlands
Hoping for some help with a wiiflow.ini problem. I am trying to lock out changing sources for my kids. I have the parental code set so they can't delete games.

I only have Wii games for them and don't want them fiddling with anything on the NAND side or DML either.

On the WiiFlow main screen I only want them to see the USB icon on the bottom right neat the home icon.

I've tried the disabling the HOMEBREW and NAND sections in the ini (disable=yes) but they still come up. On the DML side I hide the source button but they can still select DML as an option.

So on the main screen I would like to disable everything but USB access so if they click the icon it will always bring them to the USB loader section.
Maybe the setting are already saved in the wiiflow save file, go to where your game saves are in the system menu. you should be seeing a wiiflow save too, delete that. Warning, after deleting thas file, you might need to set some stuff again.
 

MassiveRican

GBATemp's Unofficial Vigilante
Member
Joined
Aug 2, 2011
Messages
2,454
Trophies
1
Location
Creeping in the Shadows
XP
1,193
Country
:blink: ...

Anyway, on a FAR MORE CONSTRUCTIVE NOTE, has anyone tested my r200 Devolution plugin yet? I'm particularly interested in knowing if the button mapping on any of the new controllers gets changed correctly.
With the included INI files the button mapping is Y=A, B=A, A=X, X=Y (or their corresponding buttons on the PS3 controller) to better match the position of the original GC buttons on the control.
BUT
if you replace the INI's with these it should change to A=A, B=B, X=X, Y=Y
http://www.mediafire.com/download/xyy0rq5zf8h019g/Devolution_-_direct_button_mapping.zip
any volunteers?
Ok I set up devo plugin along with the devo.ini you included (only difference is |32 for 4:3 TV.. I take it if I wanted Timer Fix, Widescreen; F-Zero GX to AX Patch & Button Mapping, arg would just be |58?). Unfortunately the direct button mapping didn't work with the game I tried which was 007-EON, I only use Devo for Audio Streaming games nothing else so I have a few more games I can test it on, but I spent all my time today re-verifying all my games and setting up the devo plugin. The plugin did return to WiiFlow with no problem. However I'm still trying to figure out how to keep DM(L)'s game name structure and make it compatible with the Devo Plugin and have covers show up.

In the post where you described the 7 alternate naming methods with dummy files, I think the last 2 or 3 just confused the shit outta me :wtf::wacko:. If you don't mind me explaining how I'd like things to work maybe you can help me set things up properly if possible?

EDIT: Tested my friends copy of Donkey Konga with direct button mapping ini as well and still no go.
 
  • Like
Reactions: Maxternal

masterjakeway

Well-Known Member
Member
Joined
May 3, 2012
Messages
121
Trophies
0
XP
43
Country
United States
Hoping for some help with a wiiflow.ini problem. I am trying to lock out changing sources for my kids. I have the parental code set so they can't delete games.

I only have Wii games for them and don't want them fiddling with anything on the NAND side or DML either.

On the WiiFlow main screen I only want them to see the USB icon on the bottom right neat the home icon.

I've tried the disabling the HOMEBREW and NAND sections in the ini (disable=yes) but they still come up. On the DML side I hide the source button but they can still select DML as an option.

So on the main screen I would like to disable everything but USB access so if they click the icon it will always bring them to the USB loader section.

TIA

Code:
DEBUG]sd_write_log=no
wifi_gecko=no
 
[DML]
always_show_button=no
dir_usb_games=games
dm_r2.1+=yes
dml_r52+=yes
dump_list=no
favorites=no
last_cf_mode=1
partition=1
sort=0
source=no
 
[EMULATOR]
disable=yes
dump_list=no
favorites=no
last_cf_mode=1
partition=0
smallbox=yes
sort=0
source=no
subfolder_cache=yes
 
[FANART]
enable_fanart=yes
 
[GAMERCARD]
dutag_key=
dutag_url=http://tag.darkumbra.net/{KEY}.update={ID6}
gamercards=wiinnertag|dutag
gamercards_enable=no
wiinnertag_key=
wiinnertag_url=http://www.wiinnertag.com/wiinnertag_scripts/update_sign.php?key={KEY}&game_id={ID6}
 
[GAMES]
cheat=no
current_item=SOSEG9
dump_list=no
favorites=no
last_cf_mode=7
partition=1
save_emulation=0
savepartition=-1
savepath=
show_full_banner=no
sort=0
source=yes
 
[GENERAL]
age_lock=0
allow_texture_compression=yes
async_network=no
b_lr_mode=no
banner_in_settings=yes
box_mode=yes
category_on_start=no
compress_cache=no
country_patch=no
cover_buffer=20
cover_prio=4294942712
cover_use_hq=no
custom_banner_url=http://dl.dropboxusercontent.com/u/101209384/{gameid}.bnr
data_on_usb=yes
dir_banner_cache=usb1:/wiiflow/cache/banners
dir_box_covers=usb1:/usb-loader/covers/full
dir_cache=usb1:/wiiflow/cache
dir_cheat=usb1:/wiiflow/codes/gct
dir_custom_banners=usb1:/wiiflow/custom_banners
dir_fanart=usb1:/wiiflow/fanart
dir_flat_covers=usb1:/usb-loader/covers/2d
dir_help=usb1:/wiiflow/help
dir_languages=usb1:/wiiflow/languages
dir_list_cache=usb1:/wiiflow/cache/lists
dir_music=usb1:/wiiflow/music
dir_plugins=usb1:/wiiflow/plugins
dir_screenshot=usb1:/wiiflow/screenshots
dir_settings=usb1:/wiiflow/settings
dir_source=usb1:/wiiflow/source_menu
dir_themes=usb1:/wiiflow/themes
dir_trailers=usb1:/wiiflow/trailers
dir_txtcheat=usb1:/wiiflow/codes
dir_wip=usb1:/wiiflow/codes/wip
display_music_info=yes
dpad_mode=no
exit_to=0
force_cios_load=no
force_cios_rev=0
game_language=0
hidechannel=no
hideviews=no
ini_rev=935
keep_png=yes
language=7
max_fsaa=4
max_source_buttons=71
music_fade_rate=8
parent_code=
randomize_music=yes
returnto=DWFA
rumble=yes
save_favorites_mode=yes
sound_volume_bnr=255
sound_volume_coverflow=255
sound_volume_gui=255
sound_volume_music=255
startup_menu=no
theme=DEFAULT
tv_height=480
tv_width=640
tv_x=0
tv_y=0
update_cache=no
url_custom_flat_covers=http://art.gametdb.com/{console}/cover2/{loc}/{gameid}.png
url_custom_full_covers=http://art.gametdb.com/{console}/coverfullHQ2/{loc}/{gameid}.png
url_flat_covers=http://art.gametdb.com/{console}/cover/{loc}/{gameid}.png
url_full_covers=http://art.gametdb.com/{console}/coverfullHQ/{loc}/{gameid}.png|http://art.gametdb.com/{console}/coverfull/{loc}/{gameid}.png
use_grab=no
use_source=yes
video_mode=1
vipatch=no
wii_games_dir=%s:/wbfs
wiimote_gestures=no
 
[HOMEBREW]
disable=yes
dump_list=no
last_cf_mode=1
parental=no
partition=0
smallbox=yes
sort=0
source=no
 
[NAND]
current_item=
disable=yes
dump_list=no
favorites=no
last_cf_mode=7
partition=1
path=/
sort=0
source=no

in [ GENERAL]
change
hidechannels and hideviews to yes
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,440
Trophies
2
XP
4,983
Country
United States
fledge68 everything is fine, just a tiny question: how can we hide or replace the "..."?
for folder explorer you have

EXPLORER/ENTRY_8 //the label that is the text "..."
EXPLORER/ENTRY_8_BTN //the transparent btn that you click on

move ENTRY_8 off screen by setting x=1000 ti hide the "..."
now change the image for ENTRY_8_BTN. don't forget to set its width and height.

do the same for ENTRY_0 also
 
  • Like
Reactions: AbdallahTerro

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
bostonBC:What happens if you just set the wrong partition numbers or something so that it can't find those things?

Gah, I'm going to have to deal with that stuff soon too: My 2-year-old already asks to play Kirby, Yoshi (or "the real Yoshi" for youtube cartoons), Rayman, Mario, Donkey Kong ("daddy monkey") and GTA3 ("the car game" because we just drive around) on Wii/N64/Xbox. I would steer her towards the N64, but I think she has an easier time with 2.5D platformers on the Wii than with the 3rd-person ones on the N64.

For DML it allows you to press the GC icon and you are presented with the screen asking to tell it where the files are.
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,440
Trophies
2
XP
4,983
Country
United States
For DML it allows you to press the GC icon and you are presented with the screen asking to tell it where the files are.
hide views under [GENERAL] should hide the view switcher icon so only wii games show and they can't change. make sure the one under [DML] always show is set to no

as for the source menu - the btn is only disabled if devo and dml are not installed. you can remove it from the source_menu.ini
 

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
hide views under [GENERAL] should hide the view switcher icon so only wii games show and they can't change. make sure the one under [DML] always show is set to no

as for the source menu - the btn is only disabled if devo and dml are not installed. you can remove it from the source_menu.ini

Awesome that worked perfectly, thanks everyone!

One more thing to kid proof things... on the Exit Menu.

I have the settings set so the 'Exit to Wii Menu' is set to System Menu.

But when I press Home and then click Exit it always shows the 'Exit To' menu with the 5 options.

Is there anyway to set it so the Exit to Wii Menu option is used when you click Exit? Or is that not how that functionality works?
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,440
Trophies
2
XP
4,983
Country
United States
Awesome that worked perfectly, thanks everyone!

One more thing to kid proof things... on the Exit Menu.

I have the settings set so the 'Exit to Wii Menu' is set to System Menu.

But when I press Home and then click Exit it always shows the 'Exit To' menu with the 5 options.

Is there anyway to set it so the Exit to Wii Menu option is used when you click Exit? Or is that not how that functionality works?
I usually just press the home btn on wiimote twice. but yes, that's how the home and exit menu work
 

drakorex

Well-Known Member
Member
Joined
Jan 19, 2011
Messages
1,882
Trophies
0
XP
1,077
Country
United States
Hey guys I got a new test dol for nand switching/folder explorer


http://www.mediafire.com/?81l64d603fd8ec5


changes:

the ENTRY buttons should now be behind the text
if no ENTRY then the btns aren't shown so you don't get the rumble feature for invisible btns
changed everything to EXPLORER - no more FEXPLORER (see below)
rewrote the code to combine it with explorer code to make it more compact and 100 lines less
Fixed the ... that showed when using a USER label
made NEXT and PREV btns for explorer instead of using the main coverflows and shrunk them down a little
fixed the problem with entry 7/8 not showing
changed dir = to path =
EXPLORER/BG
EXPLORER/SELECTED_FOLDER
EXPLORER/SAVE_BTN
EXPLORER/CANCEL_BTN
EXPLORER/NEXT_BTN
EXPLORER/PREV_BTN
EXPLORER/USER#
EXPLORER/ENTRY_#
EXPLORER/ENTRY_#_BTN


your input is appreciated.

Hey fledge68 , would it be a problem to make the source menu=on/off (not to mention other settings including source and categories at start) option changeable via the boot settings menu?
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,440
Trophies
2
XP
4,983
Country
United States
Hey fledge68 , would it be a problem to make the source menu=on/off (not to mention other settings including source and categories at start) option changeable via the boot settings menu?
that actually makes sense -

categories on start
source on start
async network on boot

they could go in the startup/boot menu. I'll run it by Fix94 unless he already see's this
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: this one +1