cIOS Downgrader 1.2 Source Code

Discussion in 'Wii - Hacking' started by D-Jay, Feb 19, 2009.

Feb 19, 2009

cIOS Downgrader 1.2 Source Code by D-Jay at 9:16 PM (2,325 Views / 0 Likes) 16 replies

  1. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    Is there any download for the source of cios downgrader 1.2?
     
  2. bluebird12

    Member bluebird12 GBAtemp Regular

    Joined:
    Jan 6, 2009
    Messages:
    149
    Country:
    United States
  3. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    That was the first place I looked at [​IMG]

    There's no link anymore.


    ---
    Edit:
    Forget what I wrote. Found it. Sorry...
     
  4. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    Okay, need some help, please.

    When I want to compile the source I get

    Code:
    > "make" 
    cios-downgrader.c
    firmware.c
    network.c
    setting.c
    c:/wiiprojects/cios-downgrader/source/setting.c: In function 'setting_write':
    c:/wiiprojects/cios-downgrader/source/setting.c:200: warning: implicit declaration of function 'CONF_WriteTxt'
    c:/wiiprojects/cios-downgrader/source/setting.c: In function 'sysconf_write':
    c:/wiiprojects/cios-downgrader/source/setting.c:206: warning: implicit declaration of function 'CONF_Write'
    c:/wiiprojects/cios-downgrader/source/setting.c: In function 'sysconf_setcountry':
    c:/wiiprojects/cios-downgrader/source/setting.c:244: warning: implicit declaration of function 'CONF_GetCountryCode'
    c:/wiiprojects/cios-downgrader/source/setting.c:284: warning: implicit declaration of function 'CONF_SetCountryCode'
    c:/wiiprojects/cios-downgrader/source/setting.c: In function 'setting_setregion':
    c:/wiiprojects/cios-downgrader/source/setting.c:378: warning: implicit declaration of function 'CONF_SetArea'
    c:/wiiprojects/cios-downgrader/source/setting.c:385: warning: implicit declaration of function 'CONF_SetRegion'
    c:/wiiprojects/cios-downgrader/source/setting.c:392: warning: implicit declaration of function 'CONF_SetVideo'
    sys.c
    title.c
    video.c
    wpad.c
    pngu.c
    stub.S
    linking ... cios-downgrader.elf
    setting.o: In function `sysconf_write':
    setting.c:(.text.sysconf_write+0xc): undefined reference to `CONF_Write'
    setting.o: In function `sysconf_setcountry':
    setting.c:(.text.sysconf_setcountry+0x34): undefined reference to `CONF_GetCountryCode'
    setting.c:(.text.sysconf_setcountry+0x110): undefined reference to `CONF_SetCountryCode'
    setting.o: In function `setting_write':
    setting.c:(.text.setting_write+0xc): undefined reference to `CONF_WriteTxt'
    setting.o: In function `setting_setregion':
    setting.c:(.text.setting_setregion+0xc4): undefined reference to `CONF_SetArea'
    setting.c:(.text.setting_setregion+0xd8): undefined reference to `CONF_SetRegion'
    setting.c:(.text.setting_setregion+0xec): undefined reference to `CONF_SetVideo'
    collect2: ld returned 1 exit status
    make[1]: *** [/c/wiiprojects/cios-downgrader/cios-downgrader.elf] Error 1
    "make": *** [build] Error 2
    
    > Process Exit Code: 2
    > Time Taken: 00:04
     
  5. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    No one?
     
  6. nIxx

    Member nIxx GBAtemp Maniac

    Joined:
    Sep 30, 2007
    Messages:
    1,459
    Location:
    Germany
    Country:
    Germany
    You don´t have the CONF_* functions.
    So you will need to write it yourself or find a similar function that do the same [​IMG]
    But if you don´t know what you are doing you shouldn´t mess around with this.
     
  7. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    If everybody does not what he knows about, there were no homebrew existing.
     
  8. nIxx

    Member nIxx GBAtemp Maniac

    Joined:
    Sep 30, 2007
    Messages:
    1,459
    Location:
    Germany
    Country:
    Germany
    LOL. So you know how to write the config file on the Wii ?
    These fucntions are writting the config file on the Wii so if anything goes wrong you will most likely have a problem [​IMG].
    And this has not really something to do with Homebrew. Hombrew Games/Apps does not need any of these functions. [​IMG]
     
  9. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba

    well, there is a slight difference between being able to compile code and developping homebrew, so...
    if you have trouble doing the first one, you should probably first take the time to learn one or two stuff about compiling and linking libraries before attempting to "modify stuff"

    anyway, NIxx is right, you are missing some code to write into NAND SYSCONF file
    libogc only provides functions to read these settings so I guess there should be additional code from waninkokko included with this source

    what includes are done at the start of setting.c ? this should give you some hint s about missing source files
     
  10. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    I'm not a noob in coding.
    But I'm new in Wii-coding.

    Anyway, I coded some stuff for the Wii and it works.
    So I want to learn step-by-step.

    Thanks for the hint for setting.c


    -btw-
    I don't want to recode this. It's good as it is.
    I just removed some firmware-entries.
     
  11. nicksasa

    Member nicksasa GBAtemp Maniac

    Joined:
    Oct 25, 2008
    Messages:
    1,410
    Country:
    Belgium
    remove the BUILD directory and try agan [​IMG] i had this problems also because it was already build on another pc and it didnt work so just remove the build directory and it SHOULD work [​IMG]
     
  12. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    Cause I don't have the two missing ogcsys.h and stdio.h
     
  13. nicksasa

    Member nicksasa GBAtemp Maniac

    Joined:
    Oct 25, 2008
    Messages:
    1,410
    Country:
    Belgium
    are your sure you have all the nessecary libs ? otherwise try to use the old devkitppc,libogc,libfat as the new isnt compatible with llike wad manager 1.3,gamme,... without changes
     
  14. Jacobeian

    Member Jacobeian GBAtemp Advanced Maniac

    Joined:
    May 15, 2008
    Messages:
    1,879
    Country:
    Cuba
    sorry but you are a noob at coding also

    stdio.h is by default in your devkitppc/includes path
    ogcsys.h is also by default in your libogc/includes path
    if you were missing those files, you would get error messages during compilation about those missing files, which is not the case, this is not Wii specific, this is the same for ANY kind of platform


    what you are looking for is a file named CONF.c or something similar
    if it's not included with the source package then waninkoko obviously forget to include it

    without this, there is NO WAY you can compile this program

    if the only #include at the beginning of settings.c are stdio.h and ogcsys.h then this is either a bad written code or those CONF_ functions were supposed to be in libogc, which is not the case anymore

    if those functions are in a separated C file and you got it in your package, you can also remove the -Werror flag from the makefile to let the compiler get pas those errors
     
  15. D-Jay
    OP

    Member D-Jay GBAtemp Fan

    Joined:
    Jan 23, 2009
    Messages:
    477
    Location:
    Germany
    Country:
    Germany
    Yes, you're right. I've searched for these files but could not find them first.

    @nicksasa
    I'm using three different DevKits, no one works.
     
  16. nIxx

    Member nIxx GBAtemp Maniac

    Joined:
    Sep 30, 2007
    Messages:
    1,459
    Location:
    Germany
    Country:
    Germany
    Or wanin made some changes to libogc [​IMG] for his own needs.
    So the only tip i can give you is look into the ARC source (should write the config files too but i´m not sure) or if you really know what you are doing write it yourself everything you need should be in libogc [​IMG]
     
  17. HsiaLin

    Newcomer HsiaLin Member

    Joined:
    Apr 5, 2009
    Messages:
    11
    Country:
    United States
    NIxx you really are a arrogant one arent you. Like a little child, "do it yourself do it yourself".
    If you cannot add substance to a conversation you should stfu.
     

Share This Page