Haha yeah those damn jobs always getting in the way
I'm heading out for a vacation tomorrow morning and won't be back until Wednesday, so I'll have to wait to keep playing with this. In the meantime though, this morning I tried downgrading devkitPPC and libogc to the versions you used and was able to compile and run without crashing. So it looks like the crash I got was some kind of incompatibility with the newer libraries or possibly with the replacement portlibs I used. Not sure it's worth actually trying to get it compiling with the latest versions, unless there's some real tangible benefits there.
Anyway now I can actually try tweaking things and see if the changes actually show, as I'm still totally confused by the apparent caching that's going on. I spent last night reading Wii homebrew docs and I don't see anything that indicates why it's behaving the way it is. At least now I can make obvious changes like setting all the game titles to my name or whatever to make sure it's using my build.
EDIT:
MYSTERY SOLVED!! So I made another build with the GC sound loading code commented out of source/menu/menu_game.cpp, specifically lines 2064 to 2067. I confirmed with 100% certainty that it's using my build because in the exit menu it says version r1137. Yet it
still played that damn GC sound! Then I realized something... The other day, I downloaded all of the custom GC banners. What if the banners included the sound and my hex patch actually was working?
BINGO! I removed the custom banners, ran my custom build with the commented out code, and boom, no more sound haha. Finally! At least now I know it's not some weird caching thing or something else I don't understand, it was just playing the sounds from the banners /facepalm. So now I guess I'll need to edit all the banner files to remove them, but at least I know what's going on now!
Ok so now I can compile successfully, have confirmed that modifications I make work on the console, now I can start contributing! If only I didn't have this damn vacation
See you guys next week!
EDIT: I pushed my modifications to GitHub (sorry I'm useless with SVN). Note that I have a commit which removes the GC sound, and the compiled boot.dol file in the out folder includes that change if you want to try it out. Here's the repo:
https://github.com/einsteinx2/wiiflow-lite
WiiFlow Lite Compilation notes High Sierra (also included in a readme in the repo):
1. Install devkitpro ppc
2. Add /opt/devkitpro/devkitPPC/bin to your PATH
3. Download devkitPPC v28 and replace the installed devkitPPC with it (best to create versioned directories and symlink)
4. Download libogc-1.8.15-1 and replace the installed libogc with it (best to create versioned directories and symlink)
5. Install libsicksaxis (clone
https://github.com/xerpi/libsicksaxis, make, make install)
6. Use homebrew to install GNU coreutils: brew install core-utils
7. Add GNU's utils to PATH so that they override the included BSD versions (mostly needed for mv -u I think): PATH="$(brew --prefix coreutils)/libexec/gnubin":$PATH
8. Fix all of the compilation errors (mostly implicit conversions or needing to #define _GNU_SOURCE at the top, see my git repo here:
https://github.com/einsteinx2/wiiflow-lite)
9. Build WiiFlow Lite! (Just run make)