FileStructure clientmessages-en: Difference between revisions

From OuroDev
No edit summary
No edit summary
Line 1: Line 1:




{| class="wikitable" style="display: inline-table;"
{| class="wikitable" style="width:50%"
|+clientmessages-en.bin Structure
|+PIGG BIN File Structure (clientmessages-en.bin)
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | DataType
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:10%;" | Size
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:30%;" | Description
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | Notes
|-
|-
! # Bytes
| style="text-align: center; background-color:#dae8fc;" | Bytes
! Description
| style="text-align: center; background-color:#dae8fc;" | 8
! Notes
| style="text-align: center; background-color:#dae8fc;" | Unknown
| style="text-align: center; background-color:#dae8fc;" | Likely CRC or Similar (Work in Progress)
|-
|-
|8
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|Unknown
| style="text-align: center; background-color:#dae8fc;" | 4
|Likely CRC or similar
| style="text-align: center; background-color:#dae8fc;" | Size of Data / Maybe Offset
| style="text-align: center; background-color:#dae8fc;" | Work in Progress
|-
|-
|4
| style="text-align: center; background-color:#dae8fc;" | *
|Little Endian Integer 32
| style="text-align: center; background-color:#dae8fc;" | LOOP
|Size of Data or Offset (5133201)
| style="text-align: center; background-color:#dae8fc;" | String Entries
| style="text-align: center; background-color:#dae8fc;" |
|-
|-
|*
| style="text-align: center; background-color:#dae8fc;" | Bytes
|Begin Repeating Pattern
| style="text-align: center; background-color:#dae8fc;" | VAR
|
| style="text-align: center; background-color:#dae8fc;" | String 1 Null Ended
| style="text-align: center; background-color:#dae8fc;" | Ascii / UTF not Sure / Can be Just Null / Rare
|-
|-
|VAR
| style="text-align: center; background-color:#dae8fc;" | Bytes
|String
| style="text-align: center; background-color:#dae8fc;" | VAR
|Ascii or UTF haven't varified
| style="text-align: center; background-color:#dae8fc;" | String 2 Null Ended
| style="text-align: center; background-color:#dae8fc;" | Can be Just Null
|-
|-
|NULL
| style="text-align: center; background-color:#dae8fc;" | *
|
| style="text-align: center; background-color:#dae8fc;" | END LOOP
|
| style="text-align: center; background-color:#dae8fc;" |  
|-
| style="text-align: center; background-color:#dae8fc;" |  
|2nd String or NULL
|
|
|-
|*
|End Repeating Pattern
|
|}
|}
</BR>
{| class="wikitable" style="width:50%"
{| class="wikitable"  
|+C Format Strings Table
|+2nd Section
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | DataType
|-
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:10%;" | Size
! # Bytes
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:30%;" | Description
! Description
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | Notes
! Notes
|-
|4 Bytes
|Little Endian Integer 32 
|Number Entries (3632)
|-
|4 Bytes
|Little Endian Integer 32
|Size of Data or Offset (20684)
|-
|-
|*
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
|Begin Repeating Pattern
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
|
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Number Entries
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Currently 3632
|-
|-
|VAR
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|String
| style="text-align: center; background-color:#dae8fc;" | 4
|
| style="text-align: center; background-color:#dae8fc;" | Size of Data / Offset
| style="text-align: center; background-color:#dae8fc;" | Currently 20684
|-
|-
|NULL
| style="text-align: center; background-color:#dae8fc;" | *
|
| style="text-align: center; background-color:#dae8fc;" | LOOP
|
| style="text-align: center; background-color:#dae8fc;" | String Entries
| style="text-align: center; background-color:#dae8fc;" | C Format String Ex Time %d
|-
|-
|C Format
| style="text-align: center; background-color:#dae8fc;" | Bytes
|example %d, %I
| style="text-align: center; background-color:#dae8fc;" | VAR
|
| style="text-align: center; background-color:#dae8fc;" | String 1 Null Ended
| style="text-align: center; background-color:#dae8fc;" | Ascii / UTF not Sure / Can be Just Null / Rare
|-
|-
|NULL
| style="text-align: center; background-color:#dae8fc;" | Bytes
|
| style="text-align: center; background-color:#dae8fc;" | VAR
|
| style="text-align: center; background-color:#dae8fc;" | String 2 Null Ended
| style="text-align: center; background-color:#dae8fc;" | Usually the Format String Portion %d, %i
|-
|-
|*
| style="text-align: center; background-color:#dae8fc;" | *
|End Repeating Pattern
| style="text-align: center; background-color:#dae8fc;" | END LOOP
|
| style="text-align: center; background-color:#dae8fc;" |
| style="text-align: center; background-color:#dae8fc;" |  
|}
|}
</BR>
{| class="wikitable" style="width:50%"
{| class="wikitable" style="display: inline-table;"
|+PString Index Table
|+3rd Section
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | DataType
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:10%;" | Size
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:30%;" | Description
! style="text-align: center; font-weight:bold; font-size:16px; background-color:#5578dd;width:20%;" | Notes
|-
|-
! # Bytes
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Integer/UInteger
! Description
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | 4
! Notes
| style="text-align: center; font-size:15px; background-color:#dae8fc;" | Size of Data
| style="text-align: center; font-size:15px; background-color:#dae8fc;" |
|-
|-
|4
| style="text-align: center; background-color:#dae8fc;" | *
|Size of Block
| style="text-align: center; background-color:#dae8fc;" | LOOP
|
| style="text-align: center; background-color:#dae8fc;" | PStrings
| style="text-align: center; background-color:#dae8fc;" |  
|-
|-
|*
| style="text-align: center; background-color:#dae8fc;" | Bytes
|Begin Repeating Pattern
| style="text-align: center; background-color:#dae8fc;" | VAR
|
| style="text-align: center; background-color:#dae8fc;" | String Null Ended
| style="text-align: center; background-color:#dae8fc;" |  
|-
|-
|VAR
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|Length of String
| style="text-align: center; background-color:#dae8fc;" | 4
|PStringValue
| style="text-align: center; background-color:#dae8fc;" | Index to String Table
| style="text-align: center; background-color:#dae8fc;" | Example  3208, 2345 not in any particular order
|-
|-
|4 Bytes
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|Little Endian Integer 32 
| style="text-align: center; background-color:#dae8fc;" | 4
|value ex 3208 or 2345
| style="text-align: center; background-color:#dae8fc;" | 2nd Index to String Table
| style="text-align: center; background-color:#dae8fc;" | 1 greater than previous Index Above
|-
|-
|4 Bytes
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|Little Endian Integer 32 
| style="text-align: center; background-color:#dae8fc;" | 4
|value ex 3209 or 2346
| style="text-align: center; background-color:#dae8fc;" | Number Format Attributes Used in String
| style="text-align: center; background-color:#dae8fc;" | # of {insert here} in string, many are 0
|-
|-
|4 Bytes
| style="text-align: center; background-color:#dae8fc;" | *
|Little Endian Integer 32 
| style="text-align: center; background-color:#dae8fc;" | LOOP
|Number Attributes, Mostly 0
| style="text-align: center; background-color:#dae8fc;" | If Number Attribues > 0
| style="text-align: center; background-color:#dae8fc;" |
|-
|-
|4 Bytes Repeat
| style="text-align: center; background-color:#dae8fc;" | Integer/UInteger
|Little Endian Integer 32 
| style="text-align: center; background-color:#dae8fc;" | 4
|Additional Attributes Index if not zero count
| style="text-align: center; background-color:#dae8fc;" | Index to C Format String Table
| style="text-align: center; background-color:#dae8fc;" |
|-
|-
|*
| style="text-align: center; background-color:#dae8fc;" | *
|End Repeating Pattern
| style="text-align: center; background-color:#dae8fc;" | END LOOP
|
| style="text-align: center; background-color:#dae8fc;" |
| style="text-align: center; background-color:#dae8fc;" |  
|}
|}
</BR>-----------------------------
</BR>Content Example... To big to post anyway:


== Content Example... To big to post anyway ==
</BR>You've spent a total of {Minutes} minutes fighting the good fight.
</BR>You've spent a total of {Minutes} minutes fighting the good fight.
</BR>You've spent a total of {Hours} hours fighting the good fight.
</BR>You've spent a total of {Hours} hours fighting the good fight.

Revision as of 11:49, 12 May 2019


PIGG BIN File Structure (clientmessages-en.bin)
DataType Size Description Notes
Bytes 8 Unknown Likely CRC or Similar (Work in Progress)
Integer/UInteger 4 Size of Data / Maybe Offset Work in Progress
* LOOP String Entries
Bytes VAR String 1 Null Ended Ascii / UTF not Sure / Can be Just Null / Rare
Bytes VAR String 2 Null Ended Can be Just Null
* END LOOP
C Format Strings Table
DataType Size Description Notes
Integer/UInteger 4 Number Entries Currently 3632
Integer/UInteger 4 Size of Data / Offset Currently 20684
* LOOP String Entries C Format String Ex Time %d
Bytes VAR String 1 Null Ended Ascii / UTF not Sure / Can be Just Null / Rare
Bytes VAR String 2 Null Ended Usually the Format String Portion %d, %i
* END LOOP
PString Index Table
DataType Size Description Notes
Integer/UInteger 4 Size of Data
* LOOP PStrings
Bytes VAR String Null Ended
Integer/UInteger 4 Index to String Table Example 3208, 2345 not in any particular order
Integer/UInteger 4 2nd Index to String Table 1 greater than previous Index Above
Integer/UInteger 4 Number Format Attributes Used in String # of {insert here} in string, many are 0
* LOOP If Number Attribues > 0
Integer/UInteger 4 Index to C Format String Table
* END LOOP

Content Example... To big to post anyway


You've spent a total of {Minutes} minutes fighting the good fight.
You've spent a total of {Hours} hours fighting the good fight.
You've fought the good fight {Count} times.
You've been fighting the good fight for {Minutes} minutes today.
You've been fighting the good fight for {Hours} hours today.
You activated the {PowerName} power.
{PowerName} is recharged.
{PowerName} is still recharging.
Unable to queue up {PowerName}. {PowerName2} is already queued.
{PowerName} added to queue.
{PowerName} hit!
{PowerName} missed!
Target is unaffected by {PowerName}.
{PowerName} cancelled.
The target must be on the ground to use this power.
You cannot attack this target, you have been taunted by {VillainName}.
Something
Not enough endurance to use {PowerName}.
Target is too far away to continue using {PowerName}.
Target is too hard to see to continue using {PowerName}.
Shutting off {PowerName}.
{PowerName} knocked off!
You are held!
You are no longer held.
You have been stunned!
You are no longer stunned.
You have been immobilized!
You can move again.