mirror of
https://github.com/naehrwert/scetool.git
synced 2025-04-20 11:47:48 +00:00
Updated to v.0.2.13
- Unlocked decryption for self files with network license type. - Fixed one minor bug with capability flags.
This commit is contained in:
parent
3aba4846ea
commit
a21ece043c
4 changed files with 9 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue