mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-11-14 14:15:06 +01:00
Add devel-signed TMD hashes for Health & Safety.
I can't find an original devel-signed H&S package, so these hashes are taken from retail H&S packages manually re-signed using the devel keys. This allows installation on development units. Autoboot isn't permitted due to system.xml's hash not matching. Probably shouldn't set it on a development unit unless, at the very least, the application type is changed to 0x90000001 (menu).
This commit is contained in:
parent
0c8f5afbb1
commit
a9d91cc1df
@ -303,6 +303,10 @@ void ApplicationState::checkPatchPossible() {
|
|||||||
this->rpxAlreadyPatched = (InstallerService::checkRPXAlreadyValid(this->appInfo->path, RPX_HASH) == InstallerService::SUCCESS);
|
this->rpxAlreadyPatched = (InstallerService::checkRPXAlreadyValid(this->appInfo->path, RPX_HASH) == InstallerService::SUCCESS);
|
||||||
this->cosAlreadyPatched = (InstallerService::checkCOSAlreadyValid(this->appInfo->path, this->appInfo->cosHash) == InstallerService::SUCCESS);
|
this->cosAlreadyPatched = (InstallerService::checkCOSAlreadyValid(this->appInfo->path, this->appInfo->cosHash) == InstallerService::SUCCESS);
|
||||||
this->tmdValid = (InstallerService::checkTMDValid(this->appInfo->path, this->appInfo->tmdHash, this->appInfo->tmdWithCertHash) == InstallerService::SUCCESS);
|
this->tmdValid = (InstallerService::checkTMDValid(this->appInfo->path, this->appInfo->tmdHash, this->appInfo->tmdWithCertHash) == InstallerService::SUCCESS);
|
||||||
|
if (!this->tmdValid) {
|
||||||
|
// Check the devel hashes.
|
||||||
|
this->tmdValid = (InstallerService::checkTMDValid(this->appInfo->path, this->appInfo->tmdHashDevel, this->appInfo->tmdWithCertHashDevel) == InstallerService::SUCCESS);
|
||||||
|
}
|
||||||
|
|
||||||
InstallerService::eResults result;
|
InstallerService::eResults result;
|
||||||
|
|
||||||
|
@ -11,10 +11,29 @@ systemXMLInformation systemXMLHashInformation[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
appInformation supportedApps[] = {
|
appInformation supportedApps[] = {
|
||||||
{0x000500101004E000L, "Health and Safety Information [JPN]", false, {'\0'}, "9D34DDD91604D781FDB0727AC75021833304964C", "F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", "D5BABA20526524977009F7EDE25182D8E41CEFD8", "2CF358E1F51932D305911A6836ED37DB0F94ABE4"}, //v129
|
{0x000500101004E000L, "Health and Safety Information [JPN]", false, {'\0'}, //v129
|
||||||
{0x000500101004E100L, "Health and Safety Information [USA]", false, {'\0'}, "045734666A36C7EF0258A740855886EBDB20D59B", "F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", "5249DA6B75FEFADEBFBB18ECC93CC109FA8AA630", "C53C219FB8F777F9AB8F430D6BE4BC034D5638BA"}, //v129
|
"9D34DDD91604D781FDB0727AC75021833304964C", // FST
|
||||||
{0x000500101004E200L, "Health and Safety Information [PAL]", false, {'\0'}, "130A76F8B36B36D43B88BBC74393D9AFD9CFD2A4", "F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", "87749A8D3EE8694225423953DCF04B01F8DA2F15", "4A29A60E5FBDAF410B7C22ECAEBDDBF29D1A874E"}, //v129
|
"F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", // cos.xml
|
||||||
{0, nullptr, false, {'\0'}, {'\0'}, {'\0'}},
|
"D5BABA20526524977009F7EDE25182D8E41CEFD8", // TMD
|
||||||
|
"2CF358E1F51932D305911A6836ED37DB0F94ABE4", // TMD with certs
|
||||||
|
"A7D6A0C580558DA53760C52939941DBDB5B58B3A", // TMD (devel)
|
||||||
|
"BF64AB733F674C6D1EE432E6E02F042D129B32CE"}, // TMD with certs (devel)
|
||||||
|
{0x000500101004E100L, "Health and Safety Information [USA]", false, {'\0'}, //v129
|
||||||
|
"045734666A36C7EF0258A740855886EBDB20D59B", // FST
|
||||||
|
"F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", // cos.xml
|
||||||
|
"5249DA6B75FEFADEBFBB18ECC93CC109FA8AA630", // TMD
|
||||||
|
"C53C219FB8F777F9AB8F430D6BE4BC034D5638BA", // TMD with certs
|
||||||
|
"4D7F318B7DAED083A261E7EDDE0C5124E247FBDE", // TMD (devel)
|
||||||
|
"9DA434903289616436E8610A03B306351327DDAF"}, // TMD with certs (devel)
|
||||||
|
{0x000500101004E200L, "Health and Safety Information [EUR]", false, {'\0'}, //v129
|
||||||
|
"130A76F8B36B36D43B88BBC74393D9AFD9CFD2A4", // FST
|
||||||
|
"F6EBF7BC8AE3AF3BB8A42E0CF3FDA051278AEB03", // cos.xml
|
||||||
|
"87749A8D3EE8694225423953DCF04B01F8DA2F15", // TMD
|
||||||
|
"4A29A60E5FBDAF410B7C22ECAEBDDBF29D1A874E", // TMD with certs
|
||||||
|
"028CE3AB46C1625735E297B57991F334042179A0", // TMD (devel)
|
||||||
|
"563C633A109349B95D45861018C4CD9676CC7822"}, // TMD with certs (devel)
|
||||||
|
{0, nullptr, false, {'\0'},
|
||||||
|
{'\0'}, {'\0'}},
|
||||||
};
|
};
|
||||||
|
|
||||||
gList_t GameList[] = {
|
gList_t GameList[] = {
|
||||||
|
@ -35,6 +35,8 @@ typedef struct compatApps {
|
|||||||
char cosHash[41];
|
char cosHash[41];
|
||||||
char tmdHash[41];
|
char tmdHash[41];
|
||||||
char tmdWithCertHash[41];
|
char tmdWithCertHash[41];
|
||||||
|
char tmdHashDevel[41];
|
||||||
|
char tmdWithCertHashDevel[41];
|
||||||
} appInformation;
|
} appInformation;
|
||||||
|
|
||||||
typedef struct _gList_t {
|
typedef struct _gList_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user