saviine icon indicating copy to clipboard operation
saviine copied to clipboard

injection failed

Open Jimmy-Z opened this issue 8 years ago • 4 comments

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 avatar Nov 07 '16 17:11 Jimmy-Z

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 avatar Nov 07 '16 17:11 Jimmy-Z

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.

Jimmy-Z avatar Nov 07 '16 19:11 Jimmy-Z

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 avatar Mar 08 '18 23:03 lordelan

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.

lordelan avatar Mar 09 '18 08:03 lordelan