IOS RELOAD

Discussion in 'Wii - Hacking' started by scooby74029, Jun 14, 2011.

Jun 14, 2011

IOS RELOAD by scooby74029 at 2:59 AM (4,619 Views / 0 Likes) 31 replies

  1. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    i am trying to figure out what this does exactly

    i want to try to enable it for uneek (if possible)

    i am hoping this will fix my problem with metroid other m and frankenstein

    these games just do an endless reloading of the ios that they are suppose to use

    thanks for any explainations i receive
     


  2. PPSainity

    Member PPSainity Blinded by Science

    Joined:
    Jun 6, 2009
    Messages:
    646
    Country:
    Canada
    Here's my attempt at an explanation...

    When the Wii Loads a title/dol/game it loads a requested IOS that has all the features used by the title. Normal IOS from Nintendo are not capable of playing backups or playing games off a USB drive. So we use loaders which can load a cIOS (customized IOS) of our choosing instead of the IOS normally requested by the title. When we load the cIOS, it will be set to do certain things like use the USB Drive instead of the Wii's DVD drive. Problem is some games have more than one dol that are run. Often the first dol that is run is just a small menu program that then loads the appropriate game dol depending on what is chosen. When the new dol is loaded, it requests a certain IOS to be loaded, and we loose all the advantages of the previously loaded cIOS as it has been replaced. By blocking the cIOS from being reloaded, we keep it from being replaced and we keep it from loosing certain settings like when it is set to use the USB Drive instead of the Wii's DVD drive.

    Hope that clears things up...

    As for UNEEK, I don't know much about it so I'll leave that for more expert members.... But USB Loader GX r1088 + cIOSx rev21d2x v6 is successfully loading USB game backups with IOS reloading disabled.

    -[]D
     
  3. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    typically ios reloading has never been an issue for s\uneek because it doesn't run off a cIOS, and regardless of what IOS is reloaded while in uneek u shouldn't lose sync with the usb hdd or lose any other patches or w/e. However, I know some IOSs on the emulated nand are just placeholders, like IOS58 for example, all calls to IOS58 while in s\uneek are redirected to IOS56 I believe. But if the emunand is missing either IOS58 OR IOS56 all calls to IOS58 will fail, I believe something similar applies to IOSs under 30 or something.

    Anyways, the point is the problem could be with your emulated nand, or more likely the IOS that's supposed to be loaded isn't, instead another IOS is loaded cuz that's how s\uneek does it, and for w/e reason & in rare cases the alternate IOS doesn't cut it. I could be mistaken in this last paragraph, I'm really just thinking out loud.
     
  4. scooby74029
    OP

    Member scooby74029 "fake coder"

    Joined:
    May 7, 2010
    Messages:
    1,174
    Location:
    oklahoma, USA
    Country:
    United States
    thanks guys

    thats what i thought but wasnt sure

    if anyone can link this to oggzee

    i would like to know what the ios reload in cfg loader does exactly

    i made it so that uneek will use the ios reload block but when it exucutes it loads the next game on the list instead of the game choosen

    i just want to know what the ios octlv request for 0xao (i believe)does?
     
  5. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    just? I'm sorry man, but you've gone over my head, but I'm sure oggzee will pop his head into this thread soon enough to help you though. I swear, every time his name is mentioned he shows up eventually, that guy is freakin awesome [​IMG]

    but yea, WiiPower or davebaol could prolly help u too... heck, by now there's prolly even more ppl out there that could help you too, knowledge travels faster than the speed of light these days! [​IMG]
     
  6. JoostinOnline

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    Check this out. I don't think it's in the Canadian dictionary.
     
  7. DeadlyFoez

    Member DeadlyFoez Banned

    Joined:
    Apr 12, 2009
    Messages:
    5,223
    Country:
    United States
    LMFGDHAO! LOLOLOLOLLOLLOOLLLL!!!

    Sorry man. I know really what you are referring to, but damn, that is hilarious.

    BTW, I know for a fact that canadians know the word, but it is always prefaced by the semi-word 'aye'.

    j/k... but really true. [​IMG]

    I can't make fun of it though because I will be canadian too, myself, in a few months. Xflak has convinced me.
     
  8. JoostinOnline

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    Lol, from PM's I can tell you that XFlak knows a lot of four-letter words, but "just" isn't one of them.

    The Canadian dictionary thing is a reference to a 30 Rock episode (season 5, episode 14, I suggest you watch it) that I had XFlak watch. There is a mention of "all 700 words in the Canadian dictionary."
     
  9. XFlak

    Member XFlak Wiitired but still kicking

    Joined:
    Sep 12, 2009
    Messages:
    9,122
    Location:
    Ontario
    Country:
    Canada
    Warning: Spoilers inside!
     
  10. JoostinOnline

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    Aww, don't feel bad. I know being Canadian wasn't a choice you made. You were born that way. [​IMG]


    PS: I like "the beaver" as well. [​IMG]
     
  11. Taleweaver

    Member Taleweaver Storywriter

    Joined:
    Dec 23, 2009
    Messages:
    5,121
    Location:
    Belgium
    Country:
    Belgium
    Wow...this thread is educational. I never knew these things about IOS reloading. I thought only the UK (and perhaps Australians) used that extra 'u' in words. [​IMG]

    That's strange behavior...sorry: behaviour. But as already mentioned, I'd look for ways to avoid this sort of coding on uneek.

    Basically, a game has their own IOS to use (say: 56). Normal games only request that IOS upon loading, so common USB loaders can simply override that request with giving another IOS or cIOS (most commonly, it throws whatever's in 249 at the game). The way I understand it, "IOS reloading" games do exactly what the name says: somewhere during the game, it will attempt to reload the game's original IOS. obviously, if you're using a cIOS to load your game from an USB drive, switching to the original IOS (56, in this example) will cause a crash, as the ninty IOS don't support USB loading. The IOS reloading block is a way for cIOS to somehow block that request to reload the original IOS (maybe it reloads its current IOS/cIOS or it skips the request entirely...Daveboal should know this).



    Uneek doesn't need that because it doesn't attempt to force games to use a different ©IOS. If needed, IOS reloading games just reload the same IOS again and continue working.



    EDIT: okay, off-topic, but still: good luck on the move, DeadlyFoez. [​IMG]
     
  12. obcd

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    The ioctlv with code 0xa0 could be an extra code only valid in the cios. I assume it will tell the cios to ignore a request to load another ios.
    Uneek sometimes fakes an ios number, but loads another instead. Like in case of IOS58, it will load ios 56 but it will make it appear as 58.

    It could be interesting to look into the uneek es code what ios it is trying to load. You could than check if it's present on your nand and if it's treated specially by uneek.

    I somehow think the game will check the newly loaded ios. Maybe it will also have some special ioctl or ioctlv call that will fail if the ios isn't loaded.
    The latest d2x cios might have buildin support for this. If there is 1 guy who can answer that for sure, it's davebaol who wrote the code.
    Maybe the changelog of the cios could help you further as well.
     
  13. oggzee

    Member oggzee GBAtemp Addict

    Joined:
    Apr 11, 2009
    Messages:
    2,335
    Country:
    Slovenia
    ioctl 0xA0 is only for davebaol's d2x cios, you don't need that with sneek.
    It tells the d2x cios to be prepared to handle an ios reload, something that sneek i believe handles already automatically? (not sure)
     
  14. Blue-K

    Member Blue-K No right of appeal.

    Joined:
    Jun 21, 2008
    Messages:
    2,572
    Location:
    Helvetica
    Country:
    Switzerland
    Not to be mean or anything, but I think you're on the wrong trail. I'm not an expert though, but like XFlak said, there's no reason to implement an IOS-Reload Block in SNEEK/UNEEK, since they work there as they should (with the exception of IOS58, but Other M doesn't use this IOS).

    Other M is a problematic game for XNEEK+DI, that's right, but I guess it's just a bug in the DI-Module of XNEEK...because, if my memory serves right, it worked fine for me with Sorgs-Version of UNEEK. Sooo...it's probably just a bug that needs to be fixed.
     
  15. SifJar

    Member SifJar Not a pirate

    Joined:
    Apr 4, 2009
    Messages:
    6,022
    Country:
    United Kingdom
    Huh, I didn't realise Canadians spelt the correct way as well. So it's only Americans that take our language and butcher it then?
     
  16. JoostinOnline

    Member JoostinOnline Certified Crash Test Dummy

    Joined:
    Apr 2, 2011
    Messages:
    10,834
    Location:
    The Twilight Zone
    Country:
    United States
    Why would you even want to load a game (not VC/WiiWare channels) from an emulated NAND anyway? It's easier just to use a USB loader.
     
  17. davebaol

    Member davebaol GBAtemp Advanced Fan

    Joined:
    Sep 3, 2010
    Messages:
    913
    Country:
    Italy
    Yeah, sneek's ES module is a completely revised version of the original one from Nintendo in order to support USB/SD natively.
    So there's no need to intercept and redirect an ios reload.

    Also Metroid Prime Other M and The Island of Dr.Frankenstein are not ios reloading games.
    This is just a weird bug in sneek, I guess.
     
  18. daxtsu

    Member daxtsu -

    Joined:
    Jun 9, 2007
    Messages:
    5,289
    Country:
    Antarctica
    A couple reasons, at least in my case:

    -Keeps saves portable between Wiis(nice for if you travel/have multiple Wiis)
    -No save copy protection(since you have access to the raw files).
     
  19. davebaol

    Member davebaol GBAtemp Advanced Fan

    Joined:
    Sep 3, 2010
    Messages:
    913
    Country:
    Italy
    However this is not the problem since Methoid Prime Other M loads IOS56 and The Island of Dr.Frankenstein loads IOS53. See http://www.hackwii.it/forum/topic18318.html
     
  20. Taleweaver

    Member Taleweaver Storywriter

    Joined:
    Dec 23, 2009
    Messages:
    5,121
    Location:
    Belgium
    Country:
    Belgium
    You beat me to it, daxtsu.

    Sure, sticking to cIOS'es and 'classic' USB loaders is easier for now, but wouldn't a full emulated nand be a better option in the long run? Right now, if you brick your wii (or the thing simply breaks to other reasons), you lose all your savegames, miis and settings. Savegame manager GX helps out a bit, but a simple backup/restore of your hard disk is still a lot easier to handle.


    Oh, and joyflow is a much easier way to have all your games together than wiiflow/CFG + wad2iso'ed wiiware/VC games. And with respect to the d2x's emulation capabilities, but it is a step in the right direction of what sneek can already do.
     

Share This Page