Compiling .patch File

Discussion in 'Wii - Hacking' started by BigEN, Mar 6, 2009.

  1. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    Sorry, I never compiled something for the Wii (using DevKitPro), but with Eclipse.

    So... how do I compile .patch-files with DevKitPro for creating dol-files!?
     
  2. Arm the Homeless

    Arm the Homeless Custom Title

    Member
    1,762
    5
    May 26, 2008
    United States
    /home/andy/
    ... O_O
     
  3. icefireicefire

    icefireicefire GBATemp Fails.

    Member
    961
    0
    Dec 19, 2008
    United States
    I agree completely Arm.
     
  4. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    Okay. Thanks for nothing.
    Be sure, I need no help from people who cry like baby cause they're banned on multiple chats or something.
     
  5. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    I agree completely.
     
  6. WiiCrazy

    WiiCrazy Be water my friend!

    Member
    2,391
    1
    May 8, 2008
    Istanbul
    You don't compile patch files... you need to use patch or diff tools to first modify the original source then you need to compile the patched source..

    what are you trying to compile? mplayer? libfat with patches?
     
  7. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    ARC 1.1 to work with own update servers
    thanks for answering [​IMG]
     
  8. oneleggedjack

    oneleggedjack GBAtemp Regular

    Member
    299
    0
    Sep 25, 2008
    United States
    HA! actin like you don't know
     
  9. mousex

    mousex GBAtemp Advanced Fan

    Member
    987
    0
    Jan 23, 2009
    United States
    Why do you write that you agree with yourself?
     
  10. D-Jay

    D-Jay GBAtemp Fan

    Member
    477
    8
    Jan 23, 2009
    Gambia, The
    Germany
    Cause he does [​IMG]
     
  11. david432111

    david432111 GBAtemp Advanced Fan

    Member
    859
    0
    Jul 17, 2008
    Denmark
    @bigen Just edit the source and choose the make option you don't need any patch files. [​IMG]
    @everyone else: Lay off, if your not going to help, don't post.
     
  12. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    Yes, I know how to edit and compile.
    But there are two patches needed.
    I took the first one by manually editing the files but the second one needs a lib, I don't have in my libogc.
    The network_wii files. Don't find it.
     
  13. nIxx

    nIxx GBAtemp Advanced Maniac

    Member
    1,519
    77
    Sep 30, 2007
    Gambia, The
    Germany
    Are you sure that you know what you are doing !?
    Anyway try a newer libogc !? network_wii.c is definatly part of libogc because i have it [​IMG]
     
  14. BigEN
    OP

    BigEN Member

    Newcomer
    44
    0
    Mar 4, 2009
    Greece
    Also, there's none in 1.7.1a [​IMG]
     
  15. WiiCrazy

    WiiCrazy Be water my friend!

    Member
    2,391
    1
    May 8, 2008
    Istanbul
    You only have the headers and libraries (.a files) probably... you need the sources to be able to patch them,

    You should have the exact libogc sources (if patched ones changed after that patch is created) that the app is built with...

    for example, to be able to compile mplayer by team twiizers you need to have mplayer sources at revision 27458
    http://www.wiibrew.org/wiki/Mplayer

    So, to be able to compile anyregion changer with patches you need to have the exact version of libogc that original author applied the patches...

    And the easiest is, request the patched lib sources or libs themselves from the app's author... maybe it does indeed comes with sources and you only need to temporarily replace your libogc libs with the ones supplied by the author of the program. (example is mplayerwii)

    Sorry can't specifically help but that patching business is really ugly...