Homebrew Wii homebrew app - how to detect if it runs on Wii or vWii?

leseratte

Wiimmfi Team
OP
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,857
Country
Germany
I have written a homebrew app which needs to behave different on Wii vs. on a vWii (WiiU).

To find out whether it runs on a Wii or a WiiU I'm currently checking the version of IOS58 - 5918,6175,6176 = Wii, 6432 = WiiU, other versions = cancel.

However sometimes there are people who report getting errors and investigating showed that they somehow had the WiiU IOS on their Wii.

Is there any reliable method a Wii homebrew can use to check if it runs on a Wii or a WiiU?
 

leseratte

Wiimmfi Team
OP
Member
Joined
Jun 2, 2012
Messages
453
Trophies
1
XP
1,857
Country
Germany
I know this topic is pretty old, but I have two more questions related to this:

- When this is run without HW_AHBPROT, it returns 0 on a WiiU as well. Is there any other code that doesn't need special access?
- Can I somehow detect whether I am running in the normal vWii or within an injected WiiU Wii VC game?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,646
Country
France
for vWii inject, I use different (unreliable) methods.

At boot, I just check the IOS slot (255) but that's not correct because you could use that slot on Wii/vWii mode too.
I also use the gamepad library (libWiiDRC) from Fix94, so if the gamepad is initialized I use it as better vWii checker. though, if the user disabled the use of gamepad for vWii inject I suppose it return false even if it's a VCWii. But most users use the VC Wii to get gamepad support.

there is probably a more reliable way to check vWii and injects.
I didn't know it required ahb with crediar's method as I always have it enabled.
 
Last edited by Cyan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.