Hacking WiiFlow - an open source GUI USB-Loader

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,750
Country
United States
I just tried to exit a game, the yellow highlighted button was OK but when i hit "a" it selects cancel. In the preceding menu the yellow highlighted button does what its suppose to. Is this possibly a bug?
I see covers have to be "game name.ext.png" that is a little over kill to me.
 

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,750
Country
United States
i keep getting duplicate SNES listings. i even deleted the cache folder and it had only 1 per rom in there, but then after exiting a game, the dupes were back.
 

secamfr

Well-Known Member
Newcomer
Joined
Jan 30, 2008
Messages
66
Trophies
0
Website
Visit site
XP
100
Country
France
I just finally finished at least the nes emu with manual save and load support, test it please:
http://www.mediafire...3szi6ojlw72375r
It's 400kb smaller than the file before, english only and the strange open/close menu sounds are removed ;)

Don't work for me, the Wii restart to the Wii menu (first version run great but no save).
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,437
Trophies
2
XP
4,952
Country
United States
replace XXXXXX with the name of the new button - which we don't know yet cause the source hasn't been released - only Fix94 knows. So you'll just have to use default.ini for now.
It's "EMU_BTN", not very good name but explains what it is :P
Thanks Fix - BTN in correct position now :)
still need a way to adjust the homebrew/Emu coverflow mode, can this be done by editing the ini too?

Abdallahterro - yesterday at work I realized you could just backup your carboniki.ini and then start WiiFlow and go to 'Adjust Coverflow' and click 'Save'. It will rewrite carbonik.ini adding all the names of labels and buttons including the new ones. You could do this for all the themes and just look for 'MAIN/EMU_BTN' and change the 'x=' and 'y=' to the same values as the hombrew, channel, usb, and dml buttons. The graphics won't match b/c it will use WiiFlows default graphics but at least it will be in the correct postion and work.

As for COVERFLOW just look under '_COVERFLOW' to see how it's set up. I have a feeling 'COVERFLOW' hasn't changed but inside the WiiFlow source code it detects what you are viewing and uses a different box mesh (Size) for homebrew view and emu view. But I'm just logically guessing.
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
replace XXXXXX with the name of the new button - which we don't know yet cause the source hasn't been released - only Fix94 knows. So you'll just have to use default.ini for now.
It's "EMU_BTN", not very good name but explains what it is :P
Thanks Fix - BTN in correct position now :)
still need a way to adjust the homebrew/Emu coverflow mode, can this be done by editing the ini too?

Abdallahterro - yesterday at work I realized you could just backup your carboniki.ini and then start WiiFlow and go to 'Adjust Coverflow' and click 'Save'. It will rewrite carbonik.ini adding all the names of labels and buttons including the new ones. You could do this for all the themes and just look for 'MAIN/EMU_BTN' and change the 'x=' and 'y=' to the same values as the hombrew, channel, usb, and dml buttons. The graphics won't match b/c it will use WiiFlows default graphics but at least it will be in the correct postion and work.

As for COVERFLOW just look under '_COVERFLOW' to see how it's set up. I have a feeling 'COVERFLOW' hasn't changed but inside the WiiFlow source code it detects what you are viewing and uses a different box mesh (Size) for homebrew view and emu view. But I'm just logically guessing.
Thanks, It worked :)
I guess Fix should tell us how to adjust the coverflow in homebrew and Emu modes since it's not in the ini yet.
I also need something like Wii Backup Manager to batch rename all my roms. Does anyone know if such a tools exists?
Is there a Roms title database? Renaming thousands of rom files manually is out of the question.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
Just uploaded r239 to the svn!
Changes from r230 are that the wiiflow default click sounds are fixed now, they sound correct again, they are also smaller, if you have DML view set to USB, you will now see if the game is already copied to sd card, behind the game title will be "(on SD)" now, you'll need to reload cache for that. Fixed the bug that if you try to launch a DML game from usb and its not on sd, and the sd havent got enough space, that it tried to boot the game anyway which resulted in a blackscreen. Also fixed a wrong displayed message when copying from usb to sd. The libpng is now reverted back to the older rev, that fixes codedumps and problems with covers dont load properly. The cache of the DML view will now also reload if copying a game from usb to sd. Wiiflow now also tries to find new installed games better, that takes a bit time and may freezes wiiflow, option is "extended_list_check" (enabled by default). The long loading time after installing a wii game should be gone too now. Launching big homebrew files, over 5mb should finally work, the limit now is 32mb, not tested that big files, just in theory ;)
This rev is also on the normal wiiflow svn as r428 :)
Update via internal wiiflow update or google code as always. The emulator stuff will come in the next release.
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
The folder for roms etc wont be changeable, thats what I can say for sure already, sorry... A filter will maybe come, my plans for now are to make it like only if the emulator dol is found to display the games then.
 

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, no problem but at least make separate folder for GB, GBC and GBA roms. The others have their own folders already.
I know this info will be available later but just for more testing, what's the default rom path, cover path and cover name format for all emus right now?
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
fledge if you please would commit the png too? otherwise I cant make it ready to use ;)

Path for nes is fceugx/roms, for snes snes9xgx/roms and for gb etc its vbagx/roms. Covers are still wiiflow/covers and the name need to be the same than the rom file.
 

bostonBC

Well-Known Member
Member
Joined
Aug 17, 2011
Messages
1,304
Trophies
1
XP
1,416
Country
United States
Fix - I'm getting these errors on compiling r240:

menu.o: In function `CMenu::_buildMenus()':
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:942: undefined reference to `checkbox_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:942: undefined reference to `checkbox_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:944: undefined reference to `checkbox_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:944: undefined reference to `checkbox_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:946: undefined reference to `checkboxs_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:946: undefined reference to `checkboxs_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:948: undefined reference to `checkboxs_png'
c:/Users/Bob/open-wiiflow-mod-read-only/source/menu/menu.cpp:948: undefined reference to `checkboxs_png'
collect2: ld returned 1 exit status
make[1]: *** [/c/Users/Bob/open-wiiflow-mod-read-only/boot.elf] Error 1
"make": *** [build] Error 2
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
What's the maximum number of roms that we can use in Emu mode, I added 2000 files thought it froze but after 15 secs after clicking the button it worked ;)
I find a temporary workaround by renaming all nes roms to NES_(Rom Name), GB to (GB_(Rom Name) etc...
now things are more organized and using B+UP or down takes me from one emu to the next.
I'll free SD space to download covers now
Great job :)

Edit: Running GBA zipped files takes me to SM!
Edit2: same with Snes smc files!
 

FIX94

Former Staff
Former Staff
Joined
Dec 3, 2009
Messages
7,284
Trophies
0
Age
29
Location
???
XP
11,238
Country
Germany
@[member='bostonBC'], yep thats because fledge forgot to add the needed pngs.
BTW I uploaded a rev with emu support to my svn finally, see here. From now on it only displays the games you want if the dol file is found in wiiflow/plugins (you may need to create this folder by yourself). Sources for fceugx, snes9xgx and vbagx will follow in the next minutes :)
 

panmusic

Well-Known Member
Member
Joined
Sep 11, 2009
Messages
833
Trophies
0
Age
47
XP
306
Country
Greece
I am a little confused.
I know where to put Wiiflow's dol but what about the emu's dols?
Should I put them in the coresponding emulators folders in the apps replacing the old ones or just leave them inside the apps/Wiiflow folder?
 

AbdallahTerro

da KiNG
Member
Joined
Jan 14, 2012
Messages
6,052
Trophies
0
Location
Ideas factory :)
Website
ccabz.wordpress.com
XP
3,123
Country
I'm getting this while compiling rev241
menu_game.o: In function `CMenu::_gameSoundThread(CMenu*)':
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1391: undefined reference to `nes_ogg_size'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1391: undefined reference to `nes_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1391: undefined reference to `nes_ogg_size'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1391: undefined reference to `nes_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1397: undefined reference to `snes_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1397: undefined reference to `snes_ogg_size'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1397: undefined reference to `snes_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1397: undefined reference to `snes_ogg_size'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1403: undefined reference to `gba_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1403: undefined reference to `gba_ogg_size'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1403: undefined reference to `gba_ogg'
c:/Downloads/open-wiiflow-mod-read-only/source/menu/menu_game.cpp:1403: undefined reference to `gba_ogg_size'
collect2: ld returned 1 exit status
make[1]: *** [/c/Downloads/open-wiiflow-mod-read-only/boot.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 01:18
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Black_Manta_8bit @ Black_Manta_8bit: hey