cioscorp installer

Discussion in 'Wii - Hacking' started by piratesmack, Oct 13, 2009.

  1. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
    since icefire doesn't want you using his installer, I wrote one you could use

    http://www.mediafire.com/?2vtd4dgsve2

    here is codes

    CODE#include
    #include
    #include
    #include
    #include

    static void *xfb = NULL;
    static GXRModeObj *rmode = NULL;

    //---------------------------------------------------------------------------------
    int main(int argc, char **argv) {
    //---------------------------------------------------------------------------------

    ÂÂÂÂ// Initialise the video system
    ÂÂÂÂVIDEO_Init();
    ÂÂÂÂ
    ÂÂÂÂ// This function initialises the attached controllers
    ÂÂÂÂWPAD_Init();
    ÂÂÂÂ
    ÂÂÂÂ// Obtain the preferred video mode from the system
    ÂÂÂÂ// This will correspond to the settings in the Wii menu
    ÂÂÂÂrmode = VIDEO_GetPreferredMode(NULL);

    ÂÂÂÂ// Allocate memory for the display in the uncached region
    ÂÂÂÂxfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
    ÂÂÂÂ
    ÂÂÂÂ// Initialise the console, required for printf
    ÂÂÂÂconsole_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);
    ÂÂÂÂ
    ÂÂÂÂ// Set up the video registers with the chosen mode
    ÂÂÂÂVIDEO_Configure(rmode);
    ÂÂÂÂ
    ÂÂÂÂ// Tell the video hardware where our display memory is
    ÂÂÂÂVIDEO_SetNextFramebuffer(xfb);
    ÂÂÂÂ
    ÂÂÂÂ// Make the display visible
    ÂÂÂÂVIDEO_SetBlack(FALSE);

    ÂÂÂÂ// Flush the video register changes to the hardware
    ÂÂÂÂVIDEO_Flush();

    ÂÂÂÂ// Wait for Video setup to complete
    ÂÂÂÂVIDEO_WaitVSync();
    ÂÂÂÂif(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();


    ÂÂÂÂ// The console understands VT terminal escape codes
    ÂÂÂÂ// This positions the cursor on row 2, column 0
    ÂÂÂÂ// we can use variables for this with format codes too
    ÂÂÂÂ// e.g. printf ("\x1b[%d;%dH", row, column );
    ÂÂÂÂprintf("\x1b[2;0H");
    ÂÂÂÂ

    ÂÂÂÂprintf("CIOSCORP Installer by piratesmack!\n");
    ÂÂÂÂsleep(2);
    ÂÂÂÂint x;
    ÂÂÂÂfor(x=4;x
     


  2. G0dLiKe

    G0dLiKe who needs a title ;)

    Member
    1,674
    51
    Aug 2, 2009
    United States
    Nice move Piratesmack, icefire can shove his installer up in his CENSORED
     
  3. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
    You look at code?
     
  4. zektor

    zektor GBAtemp Maniac

    Member
    1,325
    22
    Nov 29, 2005
    United States

    That was very nice of you! [​IMG]
     
  5. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
     
  6. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
    Works on all wiis

    No need for trucha bug
     
  7. Dteyn

    Dteyn GBAtemp Fan

    Member
    338
    2
    Aug 3, 2008
    Canada
    Super fast too! [​IMG]
     
  8. nabster92

    nabster92 GBAtemp Advanced Maniac

    Member
    1,631
    0
    Apr 16, 2009
    United States
    lol this one should be used for people that don't read through readme's for cIOSCORP or something. They'll never know the difference.
     
  9. FiveseveN

    FiveseveN GBAtemp Regular

    Member
    110
    0
    Sep 8, 2009
    North Philly
    The plot thickens
     
  10. giantpune

    giantpune GBAtemp Addict

    Member
    2,860
    122
    Apr 10, 2009
    United States
    OMGZZ IZ BRIKED MYWII WIF THIS!! HELPPPPP!! IZ THER A DE-INSTALLER?!?!?!
     
  11. xzxero

    xzxero ♥bong milk does good for the brain♥

    Member
    3,831
    28
    Jul 18, 2008
    United States
    SB
    good looking guy!
     
  12. nabster92

    nabster92 GBAtemp Advanced Maniac

    Member
    1,631
    0
    Apr 16, 2009
    United States
     
  13. urherenow

    urherenow GBAtemp Addict

    Member
    2,762
    789
    Mar 8, 2009
    United States
    Japan
    um... where does that code actually install anything?

    Looks like you set up the screen, print something to the screen... and that's it.
     
  14. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
    Not finished yet
    Be patient!
     
  15. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
  16. FenrirWolf

    FenrirWolf GBAtemp Psycho!

    Member
    4,346
    326
    Nov 19, 2008
    United States
    Sandy, UT
    XD

    Quality thread right here folks.
     
  17. piratesmack
    OP

    piratesmack GBAtemp Advanced Fan

    Member
    787
    0
    Mar 28, 2009
    United States
    $(pwd)
    Marcan's gonna get mad and hack my computer
     
  18. kLiNiKaL

    kLiNiKaL Dr. Greenthumb

    Member
    581
    0
    May 24, 2009
    Jamaica
    Los Ganjales
    piratesmack, we taking bets on how long until marcan beats the hell outta your wiki article lol
     
  19. FenrirWolf

    FenrirWolf GBAtemp Psycho!

    Member
    4,346
    326
    Nov 19, 2008
    United States
    Sandy, UT
    better install preloader and make a nand backup of your computer

    just don't update your pc to 4.2!!!!
     
  20. Blue-K

    Blue-K No right of appeal.

    Member
    2,572
    1
    Jun 21, 2008
    Swaziland
    Helvetica
    Since when is GBATemp a playground for children/teens (or people that behave like that)? -.-

    Seriously, this whole cIOSCORP Installer-Story has now gone too far. Damm, grow up, both sides! I hope this Thread gets closed, so this Topic can settle down.

    (And again makes cIOSCORP more problems than its usefull...)