Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

injection failed #4

Open
Jimmy-Z opened this issue Nov 7, 2016 · 4 comments
Open

injection failed #4

Jimmy-Z opened this issue Nov 7, 2016 · 4 comments

Comments

@Jimmy-Z
Copy link

Jimmy-Z commented Nov 7, 2016

I'm trying to use yardape's aoc patcher https://gbatemp.net/threads/aocpatcher.447622/

and this happend:

...
-> injecting files
-> dir: 003D
-> injecting files
-> file: /aoc/aoc0005000c1017d83D/003D/dlcinfo.bin size: 532
-> newpath: /vol/save/80000003/aoc/aoc0005000c1017d83D/003D/dlcinfo.bin
        --> 100% (0 kB / 0 kB)
-> dir: ProjectZ-SAVEDATA
-> injecting files
-> file: /ProjectZ-SAVEDATA/APP.BIN size: 3145728
-> newpath: /vol/save/80000003/ProjectZ-SAVEDATA/APP.BIN
        -->  35% (1105 kB / 3072 kB)-> journal or storage is full, flushing it now.
-> success
        -->  85% (2613 kB / 3072 kB)-> journal or storage is full, flushing it now.
-> success
-> injection failed, trying to restore the data
[0] Attempted to read past the end of the stream.
[0] Exit
-> rollback done
[1] Attempted to read past the end of the stream.
[1] Exit

It says storage is full, and after the injection, the game complains about corrupted save file, and prompt to erase and create a new save, but it will fail even I press OK.

In another try, I inject DLC only, without a save file, it plays fine as a new game, and saviine is able to dump that new save along with injected DLC, the new save is exactly the same size, 3072kB.

I guess this is a bug in saviine injection? the only other possibility I could think of is save files are actually stored compressed and a new save is more compress-able? but if that's the case, my old save can be compressed to just 13kB by zip, so very unlikely I would guess.

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Nov 7, 2016

I see there is a "clean and inject" or "inject" option for common folder, but for user folder there is only "clean and inject", add a "inject" option for user folder should suffice I guess?

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Nov 7, 2016

I just comment out this line, it indeed make aoc injection work.

Well this is just a workaround, whenever that "journal or storage is full, flushing it now.
" appears, even without a "injection failed" line, the save is corrupted, hope you could fix this.

@lordelan
Copy link

lordelan commented Mar 8, 2018

Sorry to bump such an old issue but I've got the same issue and I can't - for the life of me - inject my Loadiine save of "Tekken Tag Tournament 2" into my USB installed game.

Here's a screenshot. Is there any way to get this working? Tried that save again with Loadiine and it's just working fine but I can't inject it. Neither with saviine nor SaveMii.

saviine

@lordelan
Copy link

lordelan commented Mar 9, 2018

Small update: It worked using Mocha CFW and Dimok's (!) build of ftpiiu everywhere to copy the SAVE.DAT where it belongs to but if I launch Tekken afterwards it's still crashing telling me the save is corrupted and I have to restart the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants