Background threads/task

Discussion in 'Wii - Emulation and Homebrew' started by zapu, Dec 28, 2008.

  1. zapu
    OP

    zapu GBAtemp Regular

    Member
    182
    0
    Jul 27, 2006
    Poland
    Hi!

    Does anyone know (Wiigator, Wiipower?) if its possible to run any thread in the background, when the game is ran? Simply: to get some tasks done while the game is running. Imagine the possibilities: mp3 players (probably on low-end games only...), cheat engines in which you could change codes while playing ('oh, lets enable god mode now') etc etc.

    Don't know if the system is ignored completly when application is booted, if so, we can somehow hook something that is being run over and over (some framebuffer methods maybe?) and do our stuff there.

    I'm a programmer for a living, but windows/internet(lamp) stuff only, have not done much on the Wii. Thanks for help [​IMG]



    edit: awwww should be in 'hacking', not 'homebrew apps', move, please [​IMG]
     
  2. snikerz

    snikerz GBAtemp Advanced Fan

    Member
    502
    59
    Nov 30, 2008
    Lesotho
    On the DS, it's possible to inject code directly into Roms. That's the way how ingame-menus of certain flashcards work. Might be possible on the Wii [​IMG]
     
  3. afif95

    afif95 I own a bungalow on Mars, and booked 4 corner lots

    Member
    1,805
    1
    Nov 24, 2008
    Malaysia
    Malaysia!
    Patching the iso? Too much hassle. Especially on my hard drives which are limited in space.

    However, we could somehow create a launcher that patches the main.dol on the fly (Yeah, something like SoftChip) to make it utilize in game custom menu, mp3 player, etc etc.

    Could listen to a few Secondhand Serenade while driving in a highway full speed chased by cops.
     
  4. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,514
    9,330
    Nov 21, 2005
    @snikerz WiiPower was recently working on such a thing:
    http://gbatemp.net/index.php?showtopic=122125

    Personally I just rigged up my hifi output through the cables or a doubler (I wire it all up somehow) whenever I needed to do this and my next suggestion would be the way snikerz suggested.

    As for cheats what you suggested could probably already be done with existing engines and cheats if they were coded differently, I have not looked at what is available though as far as changes so I could be be talking trash here.

    Back on topic I would not hold out much hope, the PS3 and 360 have multicore processors and keep one back for the system menu while the wii does not really do this. Hacking ISO/patching the main dol will probably be the only method.