Official AocPatcher

Discussion in 'Wii U - Hacking & Backup Loaders' started by Yardape8000, Nov 6, 2016.

  1. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    279
    Feb 26, 2011
    United States
    I have modified @masqchips AocPatcher to allow DLC to be played through Aoc injected into a save folder with Saviine. This allows you to use DLC for 4 games ran from the home menu.

    https://github.com/Yardape8000/AocPatcher

    Important things to note:

    1. Installing DLC with fake tickets into sig patched SysNAND or RedNAND is a much better way to play DLC content. It can support all DLC games. Do not bother using this with RedNAND.

    2. The game defines how large a save folder can be. So this can only be used for small DLC such as games that just have dummy content and the real content is in a locked update.

    3. Injecting into the save folder is using up memory that the game itself did not allocate. It may be planning on using this space as the game progresses and then run out of space at a future date. You may want to make backups of your save data with Saviine occasionally. If you notice the size of the folder is increasing, you can compare it to the size displayed in the Wii U's settings-data management. That is the game allocated folder size which is most likely the maximum size.

    4. You must compile this yourself. I do not feel like putting any effort into making it easier to select the save folder name. It does not change unless you are switching users. If you are, you can compile multiple elfs, each for a different user. Like I said, Red NAND is a better option. AocPatcher is most likely a dead end, and just a cool coding novelty.
    *You must modify USER_ID (line 11) and SSB_ON_SD (line 14) in src/common/common.h before compiling
    For compiled versions see:
    http://gbatemp.net/threads/aocpatcher.447622/page-3#post-6809157

    5. Backup your save first with Saviine. Saviine allows you to inject (add files) without clean (delete everything) to the common folder only. Games that do not have a common folder so the DLC must be injected into the game 8000000X folder only have an inject & clean option.
    For a modified Saviine that allows you to inject (without clean) into the game folder. This way you can just inject the AOC without killing or having to backup your game save.
    http://gbatemp.net/threads/aocpatcher.447622/page-3#post-6809583

    (USA titles shown. Modify as needed.)
    X=last Hex digit of your save location (8000000X)
    YY=last 2 Hex digits of the aoc title folder

    Hyrule Warriors
    save/8000000X/aoc/aoc0005000c1017d8YY
    YY=Hex digits from 10 to 3D (separate folder for each)

    Minecraft: Wii U Edition
    save/8000000X/aoc/aoc0005000c101D9D00

    Super Smash Bros. for Wii U
    if SSB_ON_SD = 1
    SD:/wiiu/aoc/0005000010144F00/aoc0005000c10144F00
    if SSB_ON_SD = 0
    save/common/aoc/aoc0005000c10144F00

    Wii Sports Club
    save/common/aoc/aoc0005000c10144D00

    *** Note: save is not the Loadine save folder. This is the Wii U save folder that Saviine injects to.
     
    Last edited by Yardape8000, Nov 13, 2016


  2. iAqua

    iAqua feel the... envy.

    Member
    GBAtemp Patron
    iAqua is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,720
    2,213
    Dec 7, 2015
    Canada
    That's really cool.
     
  3. NekoVJ18

    NekoVJ18 Member

    Newcomer
    28
    2
    Aug 15, 2016
    Guatemala
    Hyrule Warriors works similar to Loadiine With DLC Soport?

    sd:/wiiu/games/hyrule_warriors/aoc0005000c0017d8YY/0010/dlc.bin
    sd:/wiiu/games/hyrule_warriors/aoc0005000c0017d8YY/0011/dlc.bin

    In loadiine work fine. Or with this aocpatcher work different: Yes, the aoc folder is in save folder from the wii u... but is different the folders structure?

    Hyrule Warriors
    save/8000000X/aoc/aoc0005000c0017d8YY
    YY=Hex digits from 10 to 3D (separate folder for each)

    Similar to this?
    save/8000000X/aoc/aoc0005000c0017d8YY/dlc.bin
    save/8000000X/aoc/aoc0005000c0017d8YY/dlc.bin

    or this?
    save/8000000X/aoc/aoc0005000c0017d8YY/0010/dlc.bin
    save/8000000X/aoc/aoc0005000c0017d8YY/0011/dlc.bin
     
  4. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    279
    Feb 26, 2011
    United States
    Yes.
    This:
    Hyrule Warriors (USA) - (modify X to match your save folder)
    save/8000000X/aoc/aoc0005000c0017d810/0010/dlcinfo.bin
    save/8000000X/aoc/aoc0005000c0017d811/0011/dlcinfo.bin
    save/8000000X/aoc/aoc0005000c0017d812/0012/dlcinfo.bin
    ... up to
    save/8000000X/aoc/aoc0005000c0017d83d/003d/dlcinfo.bin

    *** Note: save is not the Loadine save folder. This is the Wii U save folder that Saviine injects to.
     
    Last edited by Yardape8000, Nov 6, 2016
  5. DaBlackDeath

    DaBlackDeath .::[ lone wolf ]::.

    Member
    326
    306
    Dec 22, 2007
    Germany
    - - nvm - -
    I didn't read carefully enough - my bad
     
    Last edited by DaBlackDeath, Nov 7, 2016
  6. aaronjohns

    aaronjohns Member

    Newcomer
    11
    7
    Nov 1, 2016
    India
    Is it necessary to modify USER_ID if I were to only run wii sports club?
     
  7. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    279
    Feb 26, 2011
    United States
    No.
    If the game supports injecting into the save/common folder then the USER_ID is not used.
     
  8. aaronjohns

    aaronjohns Member

    Newcomer
    11
    7
    Nov 1, 2016
    India
    Thanks. Will compile and check.
     
  9. masqchips

    masqchips Member

    Newcomer
    23
    67
    Apr 22, 2016
    Great, thanks for your work!! In these moments I am out on my return I tested.
    I agree with you, and I think that it might be useful if there is another approach.

    - Replacement of modified files including DLC modified
    - Saved extra
    - Cheats
    and multiple characteristics that we can find in other projects, saviine, padcon, etc..

    Everything from SD Card

    Advantages

    Work in memory without risk of bricks, or damage to original data in the game.

    On line!!

    It can only be a beginning....

     
  10. aaronjohns

    aaronjohns Member

    Newcomer
    11
    7
    Nov 1, 2016
    India
    compiled but sports club isn't working.
     
  11. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    279
    Feb 26, 2011
    United States
    Did you inject with Saviine like this:

    upload_2016-11-6_14-34-30.png
     
  12. aaronjohns

    aaronjohns Member

    Newcomer
    11
    7
    Nov 1, 2016
    India
    Last edited by aaronjohns, Nov 6, 2016
    gbamix likes this.
  13. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    6,813
    4,321
    Jan 17, 2013
    Mexico
    Wait so with this we are able to get any form of DLC into an installed game by injecting the DLC with Saviine?
     
  14. JimmyZ

    JimmyZ Sarcastic Troll

    Member
    569
    317
    Apr 2, 2009
    Zimbabwe
    Mind if I ask your user ID? If it's 3 I can save the hassle of setting up the build environment :)
     
  15. Yardape8000
    OP

    Yardape8000 GBAtemp Regular

    Member
    289
    279
    Feb 26, 2011
    United States
    See item 2 in OP
     
    ShadowOne333 likes this.
  16. aaronjohns

    aaronjohns Member

    Newcomer
    11
    7
    Nov 1, 2016
    India
    It has user ID 5. Will compile tomorrow with user id's from 0 to 9. :)
     
    gbamix and JimmyZ like this.
  17. Dr.Aardvark

    Dr.Aardvark Member

    Newcomer
    42
    25
    Jan 20, 2016
    United States
    Interesting.
    Would it be possible to change/inject what's already in dlc we own without cafiine?
    For example say in Hyrule Warriors I bought a dlc pack and wanted to replace the file in vol/aoc0005000c0017d800/0010 with my own.
     
    Last edited by Dr.Aardvark, Nov 6, 2016
  18. LongLiveTheKing

    LongLiveTheKing GBAtemp Regular

    Member
    203
    36
    Nov 5, 2010
    United States
    Could you play the FE restoration patch with this?
     
  19. wolf-snake

    wolf-snake GBAtemp Advanced Fan

    Member
    933
    558
    Feb 5, 2009
    Mexico
    I am not looking forward to compile this thing to test it with hyrule warriors lol
     
  20. Irastris

    Irastris Just another fag with a suggestive avatar

    Member
    1,005
    570
    May 3, 2015
    United States
    Does anything need to be put in each of the 001X folders, or does the game already have the content and will unlock them if those folders are present?