Hacking Official AocPatcher

Ape8000

Well-Known Member
OP
Member
Joined
Feb 26, 2011
Messages
296
Trophies
1
XP
1,035
Country
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 Ape8000,

NekoVJ18

Active Member
Newcomer
Joined
Aug 15, 2016
Messages
41
Trophies
0
Age
27
XP
105
Country
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
 

Ape8000

Well-Known Member
OP
Member
Joined
Feb 26, 2011
Messages
296
Trophies
1
XP
1,035
Country
United States
Hyrule Warriors works similar to Loadiine With DLC Soport?
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 Ape8000,

masqchips

Member
Newcomer
Joined
Apr 22, 2016
Messages
23
Trophies
0
Age
24
XP
148
Country
AocPatcher is most likely a dead end, and just a coding novelty.

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....

Genial, gracias por tu trabajo!! En estos momentos estoy fuera a mi regreso lo pruebo.
Estoy de acuerdo contigo, y pienso que puede ser util si se da otro enfoque.

- Reemplazo de archivos modificados incluidos DLC modificados
- Guardado extra
- Cheats
y multiple caracteristicas que nos podemos encontrar en otros proyectos, saviine, padcon, etc..

Todo desde SD Card

Ventajas

Trabajo en memoria sin riesgos de bricks, ni daños en datos originales del juego.

On line!!

Es solo puede ser un comienzo....
 

Ape8000

Well-Known Member
OP
Member
Joined
Feb 26, 2011
Messages
296
Trophies
1
XP
1,035
Country
United States
compiled but sports club isn't working.
Did you inject with Saviine like this:

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

aaronjohns

Member
Newcomer
Joined
Nov 1, 2016
Messages
11
Trophies
0
Age
30
XP
48
Country
India
Last edited by aaronjohns,
  • Like
Reactions: gbamix

JimmyZ

Sarcastic Troll
Member
Joined
Apr 2, 2009
Messages
681
Trophies
0
XP
762
Country
Zimbabwe

Dr.Aardvark

Well-Known Member
Newcomer
Joined
Jan 20, 2016
Messages
53
Trophies
0
Age
28
XP
114
Country
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @Psionic Roshambo, Lol