dots-tb / reF00D

A vita plugin to run programs that do not get decrypted properly.
GNU General Public License v2.0
274 stars 17 forks source link

Error C1-6703-6 when launching rePatched Idol Magical Girl Chiru Chiru Michiru #7

Closed mancupo closed 2 years ago

mancupo commented 5 years ago

Grisaia.no.Kajitsu.Spinout.Idol.Mahou.Shoujo.ChiruChiru.Michiru.JAP.PCSG00620.NoNpDRM by itself will boot, but when it is patched with [NStC] GrisaianoKajitsuSpinoutVitaEN_v0.51_NoNpDrm (English Patch using latest rePatch) it will give the above C1-6703-6 error. Disabling reFOOD inside config.txt will make the patched game work. Vita is on v3.65.

mancupo commented 5 years ago

https://gbatemp.net/threads/release-grisaia-series-vita-english-ports-labyrinth-eden-spinout.475386/

CelesteBlue-dev commented 5 years ago

@dots-tb to investigate

ZayedHegazi commented 5 years ago

Same problem ;-;

Princess-of-Sleeping commented 3 years ago

@mancupo Can You test with the latest release?

This is a translation tool issue, not a reF00D issue.

The translation tool decrypts and rebuilds eboot.bin, but does not re-encrypt the program segment. It also does not clear the signed header.

Therefore, reF00D succeeds in authenticating the header, but since the program segment is not re-encrypted, it tries to decrypt and decompress the decrypted program segment again, but decrypting the unencrypted segment program produces garbage. As a result, the vita system cannot decompress and returns an error.

Princess-of-Sleeping commented 3 years ago

A temporary workaround for this issue is to use a hex editor to clear the eboot.bin offsets from 0x630 to 0x1000 with zeros.

Princess-of-Sleeping commented 3 years ago

Well, clearing 0x630-0x640 with zeros, should also work.