Editing Activation ACF

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
ACF is a data structure stored in PS4 Kit System Flash at offset [http://www.psdevwiki.com/ps4/Flash-Main#0x1C9080_ACF_.28Dev.2FTest.29 0x1C9080].
Found in the System Flash on offset [http://www.psdevwiki.com/ps4/Flash-Main#0x1C9080_ACF_.28Dev.2FTest.29| 0x1C9080] and only present on Dev / Test Dumps.


ACF certainly stands for Activation Code/Control/Console File/Flag.
Total length = 0x68 ~= 104 bytes.


See also [https://wiki.henkaku.xyz/vita/AFV PSVita equivalent].
There is a structure in it. It hase a Magic of 4 bytes, then there are constant 4 bytes following by unique changing 16 bytes. Then again constant 4 bytes following by unique 8 bytes and a third time, constant 4 bytes following by unique 64 bytes.


= Structure =
Structure and constant bytes are for every Dev / Test the same. Example:


Total length is 0x68 bytes.
Magic Bytes == Red.


{| class="wikitable"
Constant Bytes == Blue.
|-
! From !! To !! Description
|-
| 1C9080 || 1C9083 || '''Magic''' "acf\0"
|-
| 1C9084 || 1C9087 || '''Format Version''' Constant 4 bytes. (format_ver, format_minor_ver)
|-
| 1C9088 || 1C9097 || '''Activation Key'''
|-
| 1C9098 || 1C909B || '''Issue Number'''. Ex: 3, 15.
|-
| 1C909C || 1C909F || '''Start Date''' 4 bytes. Little Endian.
|-
| 1C90A0 || 1C90A3 || '''Expire Date''' 4 bytes. Little Endian. Usually 90 days since Start Date.
|-
| 1C90A4 || 1C90A7 || '''Reserved''' Always zeroed.
|-
| 1C90A8 || 1C90E7 || '''Key_Hash''' Unique 64 bytes.
|-
|}
 
<source lang="C">
typedef struct SceAcf {
    char magic[4];
    uint32_t format_ver;
    char activation_key[16];
    uint32_t issue_no;
    uint32_t start_date;
    uint32_t expire_date;
    uint32_t reserved;
    char key_hash[64];
} SceAcf;
</source>
 
= Example =
 
Structure and constant bytes are for every Dev / Test the same. Example:


* Magic bytes: red.
Unique Bytes == Green.
* Constant bytes: blue.
* Unique bytes: green.


  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)