diff --git a/src/README b/src/README index 8b5c872..5f2673e 100644 --- a/src/README +++ b/src/README @@ -85,6 +85,9 @@ OPTIONS Possible Values Explanation -j, --np-add-sig TRUE/FALSE(default) Whether to add a NP sig. or not. ==> History <== +Version 0.2.13 +- Unlocked decryption for self files with network license type. +- Fixed one minor bug with capability flags. Version 0.2.12 - Enabled options to compress and skip sections for SPU selfs. - Extended information about the NPDRM selfs. diff --git a/src/config.h b/src/config.h index 5428c1f..5d2a496 100644 --- a/src/config.h +++ b/src/config.h @@ -7,12 +7,12 @@ #define _CONFIG_H_ /*! scetool base version. */ -#define SCETOOL_VERSION_BASE "0.2.12" +#define SCETOOL_VERSION_BASE "0.2.13" /*! Private build. */ -//#define CONFIG_PRIVATE_BUILD -#define BUILD_FOR "naehrwert" -//#define BUILD_FOR "unicorns" +#define CONFIG_PRIVATE_BUILD +//#define BUILD_FOR "naehrwert" +#define BUILD_FOR "unicorns" /*! scetool version. */ #ifdef CONFIG_PRIVATE_BUILD diff --git a/src/np.cpp b/src/np.cpp index c87cf00..1b33227 100644 --- a/src/np.cpp +++ b/src/np.cpp @@ -86,7 +86,7 @@ BOOL np_decrypt_npdrm(sce_buffer_ctxt_t *ctxt) else memcpy(npdrm_key, ks_np_klic_free->erk, 0x10); } - else if(_ES32(np->license_type) == NP_LICENSE_LOCAL) + else if(_ES32(np->license_type) == NP_LICENSE_LOCAL || _ES32(np->license_type) == NP_LICENSE_NETWORK ) { if ((klicensee_by_content_id((s8 *)np->content_id, npdrm_key)) == FALSE) return FALSE; diff --git a/src/self.cpp b/src/self.cpp index a4ab484..613e3f1 100644 --- a/src/self.cpp +++ b/src/self.cpp @@ -885,6 +885,7 @@ static BOOL _create_optional_headers(sce_buffer_ctxt_t *ctxt, self_config_t *sco oh->next = _ES64(0); oh_data_cap_flags_t *capf = (oh_data_cap_flags_t *)((u8 *)oh + sizeof(opt_header_t)); + memset(capf, 0, 0x20); //Add default flags. if(sconf->cap_flags == NULL)