Coding Question

Discussion in 'Wii - Hacking' started by blackdog, Jun 5, 2009.

  1. blackdog

    blackdog Newbie

    May 16, 2009
    United States
    Hi, i'm not sure if this is in the right place, but i couldn't find a better 1. Does any1 know how or even if it's possible to constantly be running a small piece of code in the "background".
    If not is there a way that I can get it to run while in the system menu?
    Thanks in advance for any help.
  2. KirovAir

    KirovAir Dutch Alcoholic Programmer

    Dec 7, 2006
    Nope, not possible.

    Or you will need to do some MASSIVE (read:impossible) reverse engineering.
  3. Helsionium

    Helsionium Alpha and Omega

    Jul 18, 2008
    Innsbruck, Austria
    That is actually not true.

    It may be difficult, because it requires your code to be part of IOS, you'd have to create a custom IOS that does exactly this, which isn't easy. Also, IOS has no access to video/audio output, but that may not be a problem. May I ask what your "little code" should do?

    At one point, WiiConnect24 might be understood enough to allow homebrew using WC24 to execute small pieces of code. However, the WC24 method will not execute games while you are running games that don't do WC24 communication (many old games and third-party games don't). Using the IOS method, you could run code in the background, but not constantly, it would start over at each IOS reload. Furthermore, you'd have to modify every IOS used on your Wii if you want a constantly running background service.

    Anyway, it's difficult to do, but not impossible. I'm confident that at least WC24 will be an option eventually.
  4. OSW

    OSW Wii King

    Former Staff
    Oct 30, 2006
    If you run all games off IOS249, and that was these new functions were added to it, you'd be completely covered.

    And to be complete, you'd probably do it to the system menu IOS too.
    Besides, IOS249 is already a custom IOS, no harm done by modifying it further [​IMG]

    This could be an interesting pathway, but will we ever see fruit from it? Or perhaps we will see something equivalent implemented in MINI (Bootmii's IOS). That would be pretty cool, running a homebrew OS and homebrew wiiconnect24 [​IMG]
  5. blackdog

    blackdog Newbie

    May 16, 2009
    United States
    Thanx for the quick replies.
    The little piece of code is just to have the dvd light fading in and out all the time.
    I've only just started fidling with all this stuff in like the last 2 weeks and i thought this would be a good/chalenging project to learn with.
    I like the cios idea. That way I could make program that would change my code in the cios. Then I could have options with how the light flashes/fades.
    Is this right?
    I think I'm getting ahead of myself a bit. lol
    Off to do some more learning then.
    Thanks again to all.

    P.S Obviously you guys know alot more about this than i do. lol Any advice/help is greatly appreciated.
  6. blackdog

    blackdog Newbie

    May 16, 2009
    United States
    Ok, I think i have found what i need here,
    But I could really use some help with this.
    It's a little over my head at the moment.
    Could some1 please explain to me how i would use this as i cant find much info on it.
    Thank you.
  7. FAST6191

    FAST6191 Techromancer

    pip Reporter
    Nov 21, 2005
    United Kingdom
    While I applaud attempts to learn things I sense this could be done 50 times more easily by going into electronics (the LED in the slot is rather nicely just two wires from what I recall).

    You can probably score a pulse width modulation chip that will do the job for around a dollar (I would get an IC socket as well though) and then it is a case of soldering a couple of wires. Failing that you could do it with a 555 timer:
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice