@All USB Loader developers

Discussion in 'Wii - Backup Loaders' started by WiiPower, Jun 2, 2009.

  1. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    *Update: Rev13(inofficial rev13a) requires loaders to fix 002, rev13b fixes that again. In return rev13b is slower.

    Add this line BEHIND the apploader, that's after getting the entrypoint. And before the DCFlushRange(...). This removes the 002 error then.

    *(u32 *)0x80003140 = *(u32 *)0x80003188;

    Here's how it looks like in Gamma's code:

    Code:
    ÂÂÂÂappentrypoint = (u32)app_final();
    
    ÂÂÂÂ// Remove 002
    ÂÂÂÂ*(u32 *)0x80003140 = *(u32 *)0x80003188;
    ÂÂÂÂ
    ÂÂÂÂDCFlushRange((void*)0x80000000, 0x3f00);

    Waninkoko changed the removement of the 002 that the cIOS does, the new method results in faster reading speed. For apps from system menu it should still be working, just game loaders need to do it from now on.

    If anybody gets 002 with a game from disc channel(but i think that's broken anyways) or with VC/WiiWare that is patched to IOS249, report to Waninkoko.
     


  2. oggzee

    oggzee GBAtemp Addict

    Member
    2,335
    16
    Apr 11, 2009
    Slovenia
    Does this work with older cios249 revisions (eg 9-12) too? Or is this for rev13 only?
    Btw, is there a easy way to tell the revision? (programmatically of course)
     
  3. djtaz

    djtaz PM's Full - Wadder Me

    Member
    2,997
    2
    Sep 21, 2008
    Thanks for sharing that WiiPower - your always on top of these things in fairness , well done.
     
  4. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    NeoGamma and SoftChip always tell the revision of the used IOS/cIOS.

    And yes it will work on ALL IOS and cIOS, it's just THE patch to get rid of 002 when using a loader.
     
  5. scognito

    scognito GBAtemp Regular

    Member
    148
    55
    Feb 16, 2007
    Italy
    italy
    What is 002 error?
    I don't have many games, can you tell me which game should give this error?
    I'm only using coverflow usbloader.
     
  6. djtaz

    djtaz PM's Full - Wadder Me

    Member
    2,997
    2
    Sep 21, 2008
    one that had it was need for speed undercover as far as i can remember and sonic and the black knight (someone correct me on these - my wii is chipped)
    Ohh and its a blue screen saying 002 Error when a game loads.
     
  7. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    Taiwan
    Mad World, Punch Out.
     
  8. bnm81002

    bnm81002 GBAtemp Advanced Fan

    Member
    810
    0
    May 22, 2008
    United States
    New York

    seems like the cIOS38 rev13 that just came out are producing many 002 errors for the games from what I've read in the cIOS38 rev13 installer released thread,
    http://gbatemp.net/index.php?showtopic=158879
     
  9. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    Could you please read the 1st post in this topic?
     
  10. scognito

    scognito GBAtemp Regular

    Member
    148
    55
    Feb 16, 2007
    Italy
    italy
    Is it a problem that happens even on usb loaders?
    I have both and don't have that problem...(i use cios rev10).
     
  11. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    Does really nobody read my topic? But posting is ok without???
     
  12. joda

    joda GBAtemp Fan

    Member
    436
    0
    Jul 12, 2007
    Umeå
  13. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    Taiwan
    With rev10, these two games worked fine. However, with rev13, you would have 002 error if you haven't modified currently loader.
     
  14. scognito

    scognito GBAtemp Regular

    Member
    148
    55
    Feb 16, 2007
    Italy
    italy
    Ah ok, if we will add support for rev13 I'll have a look at the wiipower advice, thanks both!
     
  15. wolffangalchemist

    wolffangalchemist This is bat country!

    Member
    1,408
    31
    Nov 23, 2008
    United States
    middleofnowhere, AL
    nice little mod very useful, would like to see one with ios reload though.
     
  16. Meannekes

    Meannekes GBAtemp Regular

    Member
    231
    0
    Apr 12, 2009
    Gambia, The
    use rev13b and you dont need to change something in your code
     
  17. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    True, but if you knew what rev13b and rev8 till rev12 did, you would install rev13a immediatly and use a loader with that single line of code. Do a benchmark with both cIOS.
     
  18. djtaz

    djtaz PM's Full - Wadder Me

    Member
    2,997
    2
    Sep 21, 2008
    Those that know you will do what you tell them WiiPower,
    Those that dont will post a question and those that know you will answer so evetually everyone will do as your telling them , its just a matter of the info filtering down the line.

    Its all going to work out in the end.
     
  19. WiiPower
    OP

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    Nah:
    1. Too many people are to ignorant to even consider reading something they would have to think about
    2. Eventually i get tired explaining the same all over again



    Best would be if developers see this thread and just integrate that fix as it would not harm and in case the 002 fix is changed/removed, the loader would be fine.
     
  20. oggzee

    oggzee GBAtemp Addict

    Member
    2,335
    16
    Apr 11, 2009
    Slovenia
    Mkay, I've done my homework: [​IMG]