Hacking WiiFlow Lite

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,959
Country
United States
Ok, since all my previous wii homebrews archives are now falsely flagged as virus by this damn firefox, I decided to migrate to gihub.

Here's the source : https://github.com/Wiimpathy/CreateCache

I'm not very familiar with Github but any help are welcome with the source or the documentation. You're right, Wii/GC cache could also be useful. I gave up the desktop version but that'd be very cool indeed.

About the Wiiflow crash when downloading covers, it seems to only be affected when compiling with the windows devkit.(!) When I compile with devkitPPC_r29-1-x86_64 and the same libogc, it doesn't happen.
So devkitppc r29-1-x86_64 is not windows? So what OS is it? I have been driving myself crazy trying to fix that issue. Ive trie rewriting bits of the code and omitting bits of it to no avail. Wfl crashes and various times. I checked the mem addresses thanks to you and greywolf but they never give me much clue as to the problem. Ive always wondered if there was something wrong with devkit compiling.

Edit: i see its linux. So should i get a linux virtual machine? Im on windows 10 how would i compile the linux version?
 
Last edited by fledge68,
  • Like
Reactions: einsteinx2

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
The x86_64 package is MinGW - the GNU tools compiled to run on Windows. I use Debian in a VM to compile devkit stuff so I'm not so sure it's the platform.

devkitPPC is now up to r30, too.
 
  • Like
Reactions: einsteinx2

einsteinx2

Well-Known Member
Newcomer
Joined
May 3, 2018
Messages
55
Trophies
0
Age
38
XP
363
Country
Colombia
Ok, since all my previous wii homebrews archives are now falsely flagged as virus by this damn firefox, I decided to migrate to gihub.

Here's the source : https://github.com/Wiimpathy/CreateCache

I'm not very familiar with Github but any help are welcome with the source or the documentation. You're right, Wii/GC cache could also be useful. I gave up the desktop version but that'd be very cool indeed.

About the Wiiflow crash when downloading covers, it seems to only be affected when compiling with the windows devkit.(!) When I compile with devkitPPC_r29-1-x86_64 and the same libogc, it doesn't happen.
Sweet, forked! I'm personally not as interested in a desktop version, but I really want to add a "rebuild caches" option to my WiiFlow mod. So if you haven't added Wii/GC support yet by the time I get around to working on it (been caught up setting up my emulation machine and playing with Dreamcast stuff), then I'll submit pull requests with any changes I make.

Edit: Also if you need any general Git or Github help, shoot me a PM.
 
  • Like
Reactions: kaisersozeh

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,959
Country
United States
The x86_64 package is MinGW - the GNU tools compiled to run on Windows. I use Debian in a VM to compile devkit stuff so I'm not so sure it's the platform.

devkitPPC is now up to r30, too.
i tried ppc r30 it gave me a bunch of warnings about snprintf and strncpy. and warnings about the thread types because a lot are void * void and should be like int * void or whatever.
 
Last edited by fledge68,
  • Like
Reactions: einsteinx2

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
i tried ppc r30 it gave me a bunch of warnings about snprintf and strncpy. and warnings about the thread types because a lot are void * void and should be like int * void or whatever.

Heh. I'm going through USB Loader GX and fixing those right now. A lot of them are things that could theoretically cause buffer overruns and crashes, though. It's not as many warnings as going from gcc 5 to 6 was, though. :P

Is there a way to PM people on this forum....??

I believe there's a minimum post count for PMs.
 
  • Like
Reactions: einsteinx2

Hakaisha

Well-Known Member
Member
Joined
Sep 17, 2014
Messages
236
Trophies
0
XP
1,456
Country
United States
Hi, I've downloaded the latest release, and I'm really enjoying the multiple magic numbers for multiple plugins fix. Thanks so much! :grog:

I'm not sure if this is a known issue or I'm just possibly doing something wrong... but, it seems the missing titles issue still persists in SourceFlow. Some of them show up correctly with titles, the rest are randomly ordered without titles.
 
  • Like
Reactions: kaisersozeh

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,959
Country
United States
Hi, I've downloaded the latest release, and I'm really enjoying the multiple magic numbers for multiple plugins fix. Thanks so much! :grog:

I'm not sure if this is a known issue or I'm just possibly doing something wrong... but, it seems the missing titles issue still persists in SourceFlow. Some of them show up correctly with titles, the rest are randomly ordered without titles.
Thanks youre probably right. Its a flow list like the others. Ill look into it.

Time is short. To do list:
Compile wfl with ppc r30
Fix cover download issue
Add wiimpathys cache covers maker
Add Einstienx2's updates
Fix sourceflow titles
 

einsteinx2

Well-Known Member
Newcomer
Joined
May 3, 2018
Messages
55
Trophies
0
Age
38
XP
363
Country
Colombia
Thanks youre probably right. Its a flow list like the others. Ill look into it.

Time is short. To do list:
Compile wfl with ppc r30
Fix cover download issue
Add wiimpathys cache covers maker
Add Einstienx2's updates
Fix sourceflow titles

When I get home in a few hours, I’ll merge in your latest to make it easier to merge back. Then if you haven’t done it already I’ll get it compiling with ppc r30 as well to save you some time so you get that automatically when you merge my stuff in.

EDIT: Just merged in your changes and pushed to GitHub. Working on r30 support now.

EDIT: @Wiimpathy and @fledge68 where are you guys seeing devkitppc r30? The latest I see is r29-1: https://sourceforge.net/projects/devkitpro/files/devkitPPC/
 
Last edited by einsteinx2,

fledge68

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

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
You don't need pacman anymore. I reported the issue with the 3.0.0 installer not having Wii/Gamecube and Wintermute fixed it a few hours later. The packages aren't hosted on SF anymore.

Programmer's Notepad is removed from the distribution, though. I use Visual Studio or VS Code.
 
  • Like
Reactions: einsteinx2

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,959
Country
United States
committed r1139 today.

-updated to compile with devkitPPC r30 and the latest libogc which i think is 1.8.19.
-downloading covers is still broken.
Edit: also fixed sourceflow titles.

no download available unless you compile it yourself. i will be committing a few more soon so i was holding off on creating a zip to download.

plus i just saw that there is or will be devkitppc r31 and a new libogc coming soon.
 
Last edited by fledge68,

GreyWolf

Well-Known Member
Member
Joined
Mar 2, 2015
Messages
5,399
Trophies
0
Age
54
XP
1,515
Country
United States
committed r1139 today.

-updated to compile with devkitPPC r30 and the latest libogc which i think is 1.8.19.
-downloading covers is still broken.
Edit: also fixed sourceflow titles.

no download available unless you compile it yourself. i will be committing a few more soon so i was holding off on creating a zip to download.

plus i just saw that there is or will be devkitppc r31 and a new libogc coming soon.

It shouldn't require as much code cleanup, if any. gcc 8.1 is the latest version so it won't get an update.
 

einsteinx2

Well-Known Member
Newcomer
Joined
May 3, 2018
Messages
55
Trophies
0
Age
38
XP
363
Country
Colombia
You don't need pacman anymore. I reported the issue with the 3.0.0 installer not having Wii/Gamecube and Wintermute fixed it a few hours later. The packages aren't hosted on SF anymore.

Programmer's Notepad is removed from the distribution, though. I use Visual Studio or VS Code.
So wait hold on, we don't need pacman but they're also not hosted on SF? Where's the official place to get them now?
 

fledge68

Well-Known Member
OP
Member
Joined
Jan 30, 2012
Messages
2,438
Trophies
2
XP
4,959
Country
United States
So wait hold on, we don't need pacman but they're also not hosted on SF? Where's the official place to get them now?
Wiimpathy provided you links a few posts back.

I dont know about pacman. I used the latest windows installer. But had to uninstall devkitpro first. Then the installer installed msys2 which ran pacman which downloaded ppc n libogc. But you use osx so its different for you.
 

kaisersozeh

Well-Known Member
Member
Joined
Mar 21, 2018
Messages
260
Trophies
0
Location
Phobos
XP
1,054
Country
Antarctica
So wait hold on, we don't need pacman but they're also not hosted on SF? Where's the official place to get them now?
I am completely lost on what of devkitpro is working, on pc. I havent got the bandwidth for the installer to mess me about. What libraries do i need for what version of what. Also, is there any chance of this working on a 32bit OS, my ubuntu installs wont play with my phone's internet tethering?


Sent from my GT-I9195 using Tapatalk
 
  • Like
Reactions: einsteinx2

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: I'm in my birthday suit! Lol