Hacking ModMii for Windows Official Support Topic

  • Thread starter XFlak
  • Start date
  • Views 2,899,798
  • Replies 9,538
  • Likes 71

Did ModMii work for you?

  • Yes!

    Votes: 769 82.3%
  • No, and I won't report what went wrong because I am a troll

    Votes: 54 5.8%
  • No, and I posted what went wrong

    Votes: 111 11.9%

  • Total voters
    934

blackb0x

Well-Known Member
Member
Joined
Apr 22, 2019
Messages
390
Trophies
0
XP
1,497
Country
United Kingdom
Um, is it just me or do both DOL and ISO forwarders created by modmii not work when launched through USB Loader GX?
Someone else had a similar problem with the Snes9x forwarder when it's launched that way.

Ah, so you're launching it via a channel forwarder. I was launching it via the loaders built in homebrew browser, which does work.

For years the loader wasn't able to patch WiiWare and VC games, but I fixed that in the new update. I think that fix is what causes this issue though, so I'll need to try to make it handle both games and channel forwarders.

EDIT: I've fixed it for the next release.
 
  • Like
Reactions: XFlak

Nintendo Maniac

Well-Known Member
Member
Joined
Apr 26, 2007
Messages
773
Trophies
0
XP
523
Country
United States
Okay, but that doesn't change the fact that, even when launching a ModMii-created DOL forwarder straight from the Wii Menu, it somehow borks up the console's shutdown sequence in Not64 (and presumably Wii64 and WiiSX RX since they use the same interface, though I did not test those).

And no, just force-powering down the console isn't a solution since, as mentioned, Not64 (and the other aforementioned emulators) write the battery save for a given game if/when you initiate the shutdown sequence of the console and, according to the Dolphin devs, there is in fact a difference between a normal shutdown and a "hard shutdown" (e.g. pulling the plug or the like).

As I've mentioned previously, this issue with shutdown when launched through the Wii Menu does not occur with forwarders created with "Simple Forward Channel Creator" set to 'USB Loader GX' but, as I've also mentioned previously, that creates a forwarder that ignores meta.xml arguments.
 
Last edited by Nintendo Maniac,

XFlak

Wiitired but still kicking
OP
Member
Joined
Sep 12, 2009
Messages
11,735
Trophies
2
Age
35
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
5,179
Country
Cyprus
Okay, but that doesn't change the fact that, even when launching a ModMii-created DOL forwarder straight from the Wii Menu, it somehow borks up the console's shutdown sequence in Not64 (and presumably Wii64 and WiiSX RX since they use the same interface, though I did not test those).

And no, just force-powering down the console isn't a solution since, as mentioned, Not64 (and the other aforementioned emulators) write the battery save for a given game if/when you initiate the shutdown sequence of the console and, according to the Dolphin devs, there is in fact a difference between a normal shutdown and a "hard shutdown" (e.g. pulling the plug or the like).

As I've mentioned previously, this issue with shutdown when launched through the Wii Menu does not occur with forwarders created with "Simple Forward Channel Creator" set to 'USB Loader GX' but, as I've also mentioned previously, that creates a forwarder that ignores meta.xml arguments.

Apologies it took long so reply to this, I'm copying and pasting my response from here: https://gbatemp.net/threads/usb-loader-gx.149922/post-9614130

It's possible the modmii forwarder dol is not compatible with not64. I could never get it working properly with genplusgx, and instead used an ancient dol that only looks on the SD card and not usb, and had a text based progress bar.

BTW, the forwarder dol's created by modmii are FIX94's v12 forwarders. I compiled one ages ago with a bunch of long paths, then zeroed out the paths in the compiled dol with a hex editor. Then modmii will take user inputs for new paths and hex edits them into this dol template to create user defined custom forwarder dols.

Anyway, it should work with the vast majority of apps. However, there are two main types of forwarders, comex's and waninkoko's. I don't recall which FIX94's v12 forwarder falls under, but it's possible not64 requires the other version to operate properly.

Here in the forum's there's a v14 version of FIX94's forwarder (https://gbatemp.net/threads/pre-compiled-tested-v14-forwarder-dols-for-loaders-apps-emus.339944/). I'm not sure if the download includes the source code, but it definitely includes a bunch of compiled dols. Anyway, as of FIX94's v14 forwarder you'll find both comex and waninkoko's flavors supported. You could try hex editing these, but don't insert any bytes, just change the path and nul out anything left over from the previous path. If the original path is shorter than the new path, it will not work (without recompiling from the source code) so pick a donor dol with a long path to work with
 
  • Like
Reactions: ca032769

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,139
Trophies
1
XP
3,541
Country
United States
@XFlak I used 6.6.3 today to get neek2o r96. everything went fine but when i ran neek2o on my wii i found out that pressing 1 or 2 did not display the overlay menu. after some google searching i found out i needed font.bin in my sneek folder in order for the overlay menu to work. so did you know this and is there anyway you can fix modmii to include the font.bin file?
 
  • Like
Reactions: ca032769 and XFlak

XFlak

Wiitired but still kicking
OP
Member
Joined
Sep 12, 2009
Messages
11,735
Trophies
2
Age
35
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
5,179
Country
Cyprus
Working from memory, but unless I'm mistaken font.bin is only needed if building a +di variant. And modmii should add it to the appropriate folder for u only when it's needed.

I'm 100% certain this was working last time I checked, but it's possible a download link is down or something else broke somehow. I can try to run some tests to replicate the issue tomorrow (or my next earliest opportunity), but in the meantime if you can confirm the specifics of what it is you built and if the problem is persistent that would be helpful.

Edit: and if font.bin is necessary for non +di variants, it's news to me, but should be an easy fix once we confirm if this is indeed the case
 
  • Like
Reactions: ca032769

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,139
Trophies
1
XP
3,541
Country
United States
Working from memory, but unless I'm mistaken font.bin is only needed if building a +di variant. And modmii should add it to the appropriate folder for u only when it's needed.

I'm 100% certain this was working last time I checked, but it's possible a download link is down or something else broke somehow. I can try to run some tests to replicate the issue tomorrow (or my next earliest opportunity), but in the meantime if you can confirm the specifics of what it is you built and if the problem is persistent that would be helpful.

Edit: and if font.bin is necessary for non +di variants, it's news to me, but should be an easy fix once we confirm if this is indeed the case
I just built neek2o (uneek) r96 without +DI. as soon as i added font.bin to the sneek folder it started working.
 
  • Like
Reactions: ca032769 and XFlak

XFlak

Wiitired but still kicking
OP
Member
Joined
Sep 12, 2009
Messages
11,735
Trophies
2
Age
35
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
5,179
Country
Cyprus
So there is an overlay menu in the non +di variant I take it? This definitely wasn't the case originally - I just double checked it against what used to be one of the best resources for neek info: https://gbatemp.net/threads/sneek-di-quick-guide.218725 (see the file structure spoiler)

So it must have been added in a neek2o update, I just need to determine which version it was so I know when to add the font.bin file.... or I could just add it for all versions, I'm sure it won't hurt anything if it's present even if not required...

P. S. Thanks for reporting!

Edit: I use the +di variant most of the time (but even that sparingly) so I'm not that surprised this got passed me. When I did my quick tests of things I don't think I even tried to access the overlay menu on non +di variants because I didn't know to look for it! Lol
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,139
Trophies
1
XP
3,541
Country
United States
So there is an overlay menu in the non +di variant I take it? This definitely wasn't the case originally - I just double checked it against what used to be one of the best resources for neek info: https://gbatemp.net/threads/sneek-di-quick-guide.218725 (see the file structure spoiler)

So it must have been added in a neek2o update, I just need to determine which version it was so I know when to add the font.bin file.... or I could just add it for all versions, I'm sure it won't hurt anything if it's present even if not required...

P. S. Thanks for reporting!

Edit: I use the +di variant most of the time (but even that sparingly) so I'm not that surprised this got passed me. When I did my quick tests of things I don't think I even tried to access the overlay menu on non +di variants because I didn't know to look for it! Lol
I see in your neek info link it doesn't specify font.bin for non +di neek. There isn't a +di menu but there is still a config menu for turning on settings or menu hacks. Thanks for your hard work on Modmii, very useful windows app.
 
  • Like
Reactions: ca032769 and XFlak

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,139
Trophies
1
XP
3,541
Country
United States
Thx mate, I appreciate that you're busy, no rush
So sorry its been almost a week, been sick and busy. so i created a emunand and sneek (without +di) setup using Modmii and copied it to my sd card. i also copied font.bin to my sneek folder. pressing 1 or 2 did nothing even with font.bin there. so i'm pretty sure sneek without +di does not need font.bin but neek2o does regardless.

my only issue is the emunand was created with the neek2o channel installed on it. which i was told could be used to return me to real nand but it didn't. some text appeared on screen saying it found usb hdd and mounted it but then some more text appeared and disappeared very quickly it said something about finding kernel.bin failed returning to system menu which is what it did except it was the emunand system menu. note that i launched sneek via HBC and bootmii (renamed bootmineek folder).
 

XFlak

Wiitired but still kicking
OP
Member
Joined
Sep 12, 2009
Messages
11,735
Trophies
2
Age
35
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
5,179
Country
Cyprus
I'm certain that at one point I had all those return to apps working, but more recently I have had issues with some of them too. I think the sd access option may be needed if running sneek or sneek+di, and also if bootmii at boot2 is installed it could be forcing you back into neek if you have an sd:/bootmii folder (which would be needed to launch neek unless you're booting into it using usbloader gx (or Wiiflow if it's got a similar feature I'm not aware of)). I know it's not a solution, but neek is finicky and to get it running perfectly requires patience and trial and error. Maybe one day someone will document it fully/properly but it's a big undertaking.

Thanks for confirming font.bin isn't needed for the original neek non-plus-di variants. I knew I wasn't crazy. I've made a note to incorporate it into my next update for neek2o (both +di and - di variants). Not sure when that will be, right now I'm guestimating that I'll probably be releasing 1 or 2 housekeeping updates per year. The next one should come before the end of the year at the latest. The updates wouldn't be a lot of work, but just super busy in real life... currently sick, in the process of constructing a home, plus 4 young kids, work, etc. If the update was more pressing I'd probably get to it more quickly but as it stands I need to file my taxes before I push any updates (don't worry, filing deadline is end of November for me, lol)
 

fledge68

Well-Known Member
Member
Joined
Jan 30, 2012
Messages
2,139
Trophies
1
XP
3,541
Country
United States
@XFlak does modmii get its neek2o downloads from sourceforge? it is the nswitch channel?

i'm asking because the neek2o channel modmii installed on my sneek emunand does not return me or anyone to real nand. I checked the source code and all it does is look for usb:/sneek/kernel.bin - if not found looks for sd:/sneek/kernel.bin. if not found just exits. if found then tries to launch sneek.

looking back at Abz's (abdallahterro) mastermod and neek2o threads he has a back2nand channel that he has everyone install on their emunand. which i have done and it works. here is his download link - https://www.mediafire.com/?5pvano2mwvtc4lw
where he got it or where the source code for it is i don't know.
 

XFlak

Wiitired but still kicking
OP
Member
Joined
Sep 12, 2009
Messages
11,735
Trophies
2
Age
35
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
5,179
Country
Cyprus
I have to refresh my memory, there was nswitch, switch2uneek, and maybe even bootmiiswitch or something. ModMii I think installs different ones depending on what is selected by the user, but again I would have to refresh my memory.

I will make a note to look into installing this to all emunands instead of whatever is currently installed in the next update... but the lack of source is a bit of a worry...
 
General chit-chat
Help Users
    AkiraKurusu @ AkiraKurusu: Huh, pretty certain it just hailed tonight. That's rare, here in Sydney; been years since the...