Background threads/task

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

Dec 28, 2008

Background threads/task by zapu at 4:41 PM (961 Views / 0 Likes) 3 replies

  1. zapu
    OP

    Member zapu GBAtemp Regular

    Joined:
    Jul 27, 2006
    Messages:
    182
    Country:
    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

    Member snikerz GBAtemp Advanced Fan

    Joined:
    Nov 30, 2008
    Messages:
    501
    Country:
    Liechtenstein
    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

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

    Joined:
    Nov 24, 2008
    Messages:
    1,805
    Location:
    Malaysia!
    Country:
    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

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,748
    Country:
    United Kingdom
    @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.
     

Share This Page