Changes

Jump to navigation Jump to search
1,549 bytes added ,  24 January
added Eula(List) types
Line 629: Line 629:  
|-
 
|-
 
| 0x174 || 0x4 || [[ACT_Services#Birthdate|Birth Date]]
 
| 0x174 || 0x4 || [[ACT_Services#Birthdate|Birth Date]]
 +
|}
 +
 +
==AcquireEulaData/AcquireEulaListData==
 +
Data returned from [[ACTU:AcquireEula]] and [[ACTU:AcquireEulaList]] uses a special format.
 +
 +
===EulaHeader===
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset !! Size !! Description
 +
|-
 +
| 0x0 || 0x3 || 2-character Country code + NULL termination
 +
|-
 +
| 0x3 || 0x1 || padding
 +
|-
 +
| 0x4 || 0x3 || 2-character Language code + NULL termination
 +
|-
 +
| 0x7 || 0x1 || padding
 +
|-
 +
| 0x8 || 0x2 || u16, Version
 +
|-
 +
| 0xA || 0x2 || padding
 +
|-
 +
| 0xC || 0x4 || u32, end offset of this EULA within full data blob
 +
|-
 +
| 0x10 || 0x4 || EulaType offset
 +
|-
 +
| 0x14 || 0x4 || AgreeText offset
 +
|-
 +
| 0x18 || 0x4 || NonAgreeText offset
 +
|-
 +
| 0x1C || 0x4 || LanguageName offset
 +
|-
 +
| 0x20 || 0x4 || MainTitle offset
 +
|-
 +
| 0x24 || 0x4 || MainText offset
 +
|-
 +
| 0x28 || 0x4 || SubTitle offset
 +
|-
 +
| 0x2C || 0x4 || SubText offset
 +
|}
 +
 +
<code>X offset</code> refers to an offset to a NULL-terminated ASCII string value for <code>X</code> within the full EULA data blob (see below).
 +
 +
===EulaList===
 +
This is the full data blob retrieved using [[ACTU:GetAsyncResult]].
 +
Each EULA list entry is appended at the very end of the previous one. The end offset in the header can be used to get to subsequent EULA list entries.
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset !! Size !! Description
 +
|-
 +
| 0x0 || 0x1 || u8, Number of EULA list entries (n)
 +
|-
 +
| 0x1 || n * (...) || concatenated EULA list entries
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset !! Size !! Description
 +
|-
 +
| 0x0 || 0x30 || [[ACT_Services#EulaHeader|EulaHeader]]
 +
|-
 +
| 0x30 || ... || EULA data
 +
|}
 
|}
 
|}
  
Trusted
587

edits

Navigation menu