Difference between revisions of "String (RW Section)"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{RW Section|String|0x0002}}
+
{{RW Section
 +
| NAME = String
 +
| VENDORNAME = Criterion Games
 +
| MODULENAME = Core
 +
| MODULEID = 000000
 +
| IDENTIFIER = 02
 +
| PARENTS = [[Texture (RW Section)|Texture]]
 +
}}
  
The '''string''' section is used to store an array of characters (i.e. a string). It includes a trailing zero, and is padded with zeros to the next 4 byte boundary.
+
The '''String''' section is used to store an array of characters (i.e. a string). It includes a trailing zero, and is padded with zeros to the next 4 byte boundary. Note that the characters within the string are [https://en.wikipedia.org/wiki/ASCII ASCII-encoded], as opposed to the [[Unicode String (RW Section)|Unicode String]] section.

Latest revision as of 11:24, 11 September 2020

String
RenderWare Stream Section
Vendor Criterion Games
Module Core
Module ID 0x000000
Identifier 0x02
Chunk ID 0x00000002
Versions All
Hierarchy
Parents:
Texture
Children:
None
Extensions:
None
File Format

The String section is used to store an array of characters (i.e. a string). It includes a trailing zero, and is padded with zeros to the next 4 byte boundary. Note that the characters within the string are ASCII-encoded, as opposed to the Unicode String section.