RSG.Platform
Attribute that allows fields to be defined as allowing
additional period characters in their filenames without being treated as a
container format. This was originally added to support period characters in
C# Script Object filenames and its usage should be very infrequent.
See url:bugstar:2851438 for more details.
Define a default value.
Constructor.
Attribute value.
Gets a value indicating whether this type allows additional period characters.
Attribute to describe whether game builds have live edit features available.
Constructor.
Attribute value.
Gets a value indicating whether this build can be live edited.
Defines a platform string as used by RAG bank protocol for platform
identification.
See RAGE source tree: base\src\bank\packet.cpp.
Constructor.
Platform string.
Gets the associated game platform string.
Attribute that whether a is a resource.
Initialises a new instance of the class.
Whether the field specifies a file type that is a resource..
Type of compression used on the resource (if applicable).
Gets a value indicating whether the file is a resource (default: false).
Gets the type of compression used on the resource (if applicable).
Attribute for defining platform hardware generation and features.
Constructor.
Generation of platform.
Platform features.
Gets the platform hardware generation.
Gets the platform hardware features.
Attribute that assigns an export and platform extension to a FileType
enum value. This is used for encoding the transitions for the pipeline.
Constructor; specifying the export and platform extension strings.
Export/independent platform extension.
Platform extension.
Gets the platform extension pattern string assigned to a FileType enum value.
'?' character will be substituted for platform filename conversion.
Attribute for defining the VisualStudioPlatformAttribute string on an enum value.
Constructor.
Visual Studio platform string (e.g. Win32, x64, Durango).
Gets the CompilerSetting string assigned to enum value.
Attribute that specifies the platform is a 64-bit architecture.
Constructor.
Whether the field specifies a platform that is 64-bit.
Gets a value indicating whether the platform is 64-bit.
Attribute for defining platform endianness (byte-order).
Constructor.
Endianness of the platform.
Gets the Platform endianness.
Attribute for defining the Ragebuilder Platform character.
Constructor.
PLatform extension character.
Gets the Ragebuilder Platform character assigned to enum value.
Attribute for defining the Ragebuilder Platform string on an enum value.
Constructor.
Ragebuilder platform string.
Gets the Ragebuilder Platform string assigned to enum value.
Attribute for defining the Ragebuilder Texture Template extension string.
Initialises a new instance of the class.
Extension string.
Gets the Texture template extension (e.g. ".win64.tcp").
Gets the Texture template extension for the HD modifier template (e.g. ".win64hd.tcp").
Gets the Texture template modifiers.
See our Sparse Target support at https://hub.rockstargames.com/display/RSGTOOLS/Asset+Pipeline+Spec+-+Sparse+Target+Data.
EndianBitConverter that converts to/from big-endian byte arrays.
Gets a value indicating whether this is little-endian.
Gets the Endianness (byte-order) in which data is converted using this class.
Copies the specified number of bytes from value to buffer, starting at index.
Abstract base class for endian-aware bit-converters.
Static Constructor.
Gets the Little-endian bit-converter.
Gets the Big-endian bit converter.
Gets a value indicating whether the converter is little-endian.
Gets the Endianness (byte-order) in which data is converted using this class.
Converts the specified double-precision floating point number to a 64-bit
signed integer.
The number to convert.
A 64-bit signed integer whose value is equivalent to value.
Converts the specified 64-bit signed integer to a double-precision floating
point number.
The number to convert.
A double-precision floating point number whose value is equivalent to value.
Converts the specified single-precision floating point number to a 32-bit
signed integer.
The number to convert.
A 32-bit signed integer whose value is equivalent to value.
Converts the specified 32-bit signed integer to a single-precision floating
point number.
The number to convert.
A single-precision floating point number whose value is equivalent to value.
Returns the specified Boolean value as an array of bytes.
A Boolean value.
An array of bytes with length 1.
Returns the specified Unicode character value as an array of bytes.
A character to convert.
An array of bytes with length 2.
Returns the specified double-precision floating point value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified 16-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit signed integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns the specified single-precision floating point value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 16-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 2.
Returns the specified 32-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 4.
Returns the specified 64-bit unsigned integer value as an array of bytes.
The number to convert.
An array of bytes with length 8.
Returns a Boolean value converted from one byte at a specified position in
a byte array.
An array of bytes.
The starting position within value.
true if the byte at startIndex in value is nonzero; otherwise, false.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a Unicode character converted from two bytes at a specified position
in a byte array.
An array.
The starting position within value.
A character formed by two bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a Decimal value converted from sixteen bytes at a specified
position in a byte array.
Returns a single-precision floating point number converted from four bytes
at a specified position in a byte array.
An array of bytes.
The starting position within value.
A single-precision floating point number formed by four bytes beginning at
startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a double-precision floating point number converted from eight bytes
at a specified position in a byte array.
An array of bytes.
The starting position within value.
A double precision floating point number formed by eight bytes beginning
at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a 16-bit signed integer converted from two bytes at a specified position
in a byte array.
An array of bytes.
The starting position within value.
A 16-bit signed integer formed by two bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a 32-bit signed integer converted from four bytes at a specified
position in a byte array.
An array of bytes.
The starting position within value.
A 32-bit signed integer formed by four bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a 64-bit signed integer converted from eight bytes at a specified
position in a byte array.
An array of bytes.
The starting position within value.
A 64-bit signed integer formed by eight bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Converts the numeric value of each element of a specified array of bytes
to its equivalent hexadecimal string representation.
An array of bytes.
A string of hexadecimal pairs separated by hyphens, where each pair represents
the corresponding element in value; for example, "7F-2C-4A-00".
value is null.
Converts the numeric value of each element of a specified subarray of bytes
to its equivalent hexadecimal string representation.
An array of bytes.
The starting position within value.
A string of hexadecimal pairs separated by hyphens, where each pair represents
the corresponding element in a subarray of value; for example, "7F-2C-4A-00".
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Converts the numeric value of each element of a specified subarray of bytes
to its equivalent hexadecimal string representation.
An array of bytes.
The starting position within value.
The number of array elements in value to convert.
A string of hexadecimal pairs separated by hyphens, where each pair represents
the corresponding element in a subarray of value; for example, "7F-2C-4A-00".
value is null.
startIndex or length is less than zero.-or-startIndex is greater than zero
and is greater than or equal to the length of value.
The combination of startIndex and length does not specify a position within
value; that is, the startIndex parameter is greater than the length of value
minus the length parameter.
Returns a 16-bit unsigned integer converted from two bytes at a specified
position in a byte array.
The array of bytes.
The starting position within value.
A 16-bit unsigned integer formed by two bytes beginning at startIndex.
startIndex equals the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a 32-bit unsigned integer converted from four bytes at a specified
position in a byte array.
An array of bytes.
The starting position within value.
A 32-bit unsigned integer formed by four bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 3, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Returns a 64-bit unsigned integer converted from eight bytes at a specified
position in a byte array.
An array of bytes.
The starting position within value.
A 64-bit unsigned integer formed by the eight bytes beginning at startIndex.
startIndex is greater than or equal to the length of value minus 7, and is
less than or equal to the length of value minus 1.
value is null.
startIndex is less than zero or greater than the length of value minus 1.
Copies the specified decimal value into the specified byte array,
beginning at the specified index.
A character to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the given number of bytes from the least-specific
end of the specified value into the specified byte array, beginning
at the specified index.
This is used to implement the other CopyBytes methods.
The value to copy bytes for
The number of significant bytes to copy
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified Boolean value into the specified byte array,
beginning at the specified index.
A Boolean value.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified Unicode character value into the specified byte array,
beginning at the specified index.
A character to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified double-precision floating point value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 16-bit signed integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 32-bit signed integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 64-bit signed integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified single-precision floating point value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 16-bit unsigned integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 32-bit unsigned integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the specified 64-bit unsigned integer value into the specified byte array,
beginning at the specified index.
The number to convert.
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Copies the given number of bytes from the least-specific
end of the specified value into the specified byte array, beginning
at the specified index.
This must be implemented in concrete derived classes, but the implementation
may assume that the value will fit into the buffer.
The value to copy bytes for
The number of significant bytes to copy
The byte array to copy the bytes into
The first index into the array to copy the bytes into
Convert specified subrange of value array.
Validate arguments prior to converting specified subrange of Byte array.
value is null.
startIndex is less than zero or off the end of the specified array.
Validate arguments.
Returns an array with the given number of bytes formed
from the least significant bytes of the specified value.
This is used to implement the other GetBytes methods.
The value to get bytes for
The number of significant bytes to return
Structure to define overlapped Int32/Single data.
Integer storage field.
Floating-point storage field.
Simple endian byte-swapping converter (if you just know that you need
to byte-swap data).
Static constructor.
Gets the current architecture endianness.
Gets a value indicating whether the architecture is little-endian.
Gets a value indicating whether the architecture is big-endian.
EndianBitConverter that converts to/from little-endian byte arrays.
Gets a value indicating whether this convert is little-endian.
Gets the Endianness (byte-order) in which data is converted using this class.
Copies the specified number of bytes from value to buffer, starting at index.
Endianness enumeration.
Little endian; least significant byte first.
Big endian; most significant byte first.
extension methods.
Field for caching the attribute values.
Since these are defined by compile-time attributes we can cache them.
Field for caching the attribute values.
Since these are defined by compile-time attributes we can cache them.
FileType enumeration extension method that returns both the export
and platform extension strings for a particular FileType value.
value.
Export/independent string extension (including ".").
Platform string extension (including ".").
FileType enumeration extension method that returns the export
extension String for a particular FileType value.
value.
extension (including ".").
FileType enumeration extension method that returns the platform
extension String for a particular FileType value.
value.
platform extension (including ".").
Return the extension string for a platforms file type.
value.
Platform to determine extension.
File extension (including ".").
Return the value of Allow Additional Period attribute for any given
.
Return a value indicating whether this is a resource.
to check.
true if the type is a resource type; false otherwise.
Return the extension string for a platforms file type.
value.
Platform to determine extension.
File extension (excluding ".").
enumeration utility methods.
Used to cache results of calls to ConvertExtensionToFileType().
Calls to ConvertExtensionToFileType() should be O(log n) once this is populated.
Attempts to convert an extension to a file type
File extension string (e.g. from .
value.
Enumeration to represent game build type (debug, beta etc).
Beta build; most commonly run build with RAG support.
BankRelease build; release build with RAG support.
Debug build.
Release build.
Release PGI build.
Release LTCG build.
BankRelease ASAN build.
Release ASAN build.
Final build.
Profile build.
Profile LTCG build.
GameTool Debug build.
GameTool Beta build.
GameTool BankRelease build.
GameTool Release build.
GameBuildType enumeration utility and extension methods.
Tries to parse a path to find any BuildConfig value, returning whether the operation was successful
Input path string.
found. Only use if method returns true.
true if the string parse was successful; false otherwise.
Return Live Edit capable build types.
of Live Edit capable build types.
Reference to GUIDs and IDs that can be used by Monikers.
GUIDs and integer tuples so we avoid the reference to RSG.Editor.
Tuple with GUID and ID to use with an ImageMoniker for the Windows platform.
subclass that uses an
to read values for different endianness.
Endian bit converter object.
Buffer used for temporary storage before conversion into primitives
Local disposing flag.
Constructor.
Constructor.
Reads a Boolean value from the current stream and advances the current position
of the stream by one byte.
true if the byte is nonzero; otherwise, false.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a decimal value from the current stream and advances the current position
of the stream by sixteen bytes.
A decimal value read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads an 8-byte floating point value from the current stream and advances
the current position of the stream by eight bytes.
An 8-byte floating point value read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a 2-byte signed integer from the current stream and advances the current
position of the stream by two bytes.
A 2-byte signed integer read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a 4-byte signed integer from the current stream and advances the current
position of the stream by four bytes.
A 4-byte signed integer read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads an 8-byte signed integer from the current stream and advances the current
position of the stream by eight bytes.
An 8-byte signed integer read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a 4-byte floating point value from the current stream and advances
the current position of the stream by four bytes.
A 4-byte floating point value read from the current stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a 2-byte unsigned integer from the current stream using little-endian
encoding and advances the position of the stream by two bytes.
A 2-byte unsigned integer read from this stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads a 4-byte unsigned integer from the current stream and advances the
position of the stream by four bytes.
A 4-byte unsigned integer read from this stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads an 8-byte unsigned integer from the current stream and advances the
position of the stream by eight bytes.
An 8-byte unsigned integer read from this stream.
The end of the stream is reached.
The stream is closed.
An I/O error occurs.
Reads the given number of bytes from the stream, throwing an exception
if they can't all be read.
Buffer to read into
Number of bytes to read
subclass that uses an
to write values for different endianness.
Endian bit converter object.
Buffer used for temporary storage before conversion into primitives
Local disposing flag.
Initialises a new instance of the class
specifying an to use.
Endian converter to use.
Initialises a new instance of the class
specifying an to use.
Endian converter to use.
Stream to use.
Initialises a new instance of the class
specifying an to use.
Endian converter to use.
Stream to use.
Character encoding to use.
Writes a one-byte Boolean value to the current stream, with 0 representing
false and 1 representing true.
The Boolean value to write (0 or 1).
An I/O error occurs.
The stream is closed.
Writes a decimal value to the current stream and advances the stream position
by sixteen bytes.
The decimal value to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte floating-point value to the current stream and advances
the stream position by eight bytes.
The eight-byte floating-point value to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte floating-point value to the current stream and advances
the stream position by four bytes.
The four-byte floating-point value to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte signed integer to the current stream and advances the
stream position by four bytes.
The four-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte signed integer to the current stream and advances the
stream position by eight bytes.
The eight-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes a two-byte signed integer to the current stream and advances the stream
position by two bytes.
The two-byte signed integer to write.
An I/O error occurs.
The stream is closed.
Writes a four-byte unsigned integer to the current stream and advances the
stream position by four bytes.
The four-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes an eight-byte unsigned integer to the current stream and advances
the stream position by eight bytes.
The eight-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes a two-byte unsigned integer to the current stream and advances the
stream position by two bytes.
The two-byte unsigned integer to write.
An I/O error occurs.
The stream is closed.
Writes the given number of bytes from the stream.
Buffer to write from.
Number of bytes to write.
extension methods.
This class now statically caches some of the compile-time attributes. This was
noted in some Asset Pipeline performance captures to be significant time because
of the number of assets and consequently the number of hits these methods take.
Field for caching the attribute values.
Since these are defined by compile-time attributes we can cache them.
Field for caching the attributes values.
Since these are defined by compile-time attributes we can
cache them.
Field for caching the attribute values.
Since these are defined by compile-time attributes we can cache them.
Return icon bitmap source for a Platform enum value.
value.
PLatform icon.
Return Ragebuilder Platform String for a Platform enum value.
value.
representing the platform for Ragebuilder.
Return Game Platform String for a Platform enum value.
value.
String for game.
Return Ragebuilder Texture Template extensions attribute for a Platform enum value.
value.
Instance of .
Return Ragebuilder Texture Template extension for a Platform enum value.
value.
Texture template extension.
Return Visual Studio Platform String for a Platform enum value.
value.
Visual Studio platform.
Return platform endianness for a Platform enum value.
value.
Endianness of the platform.
Return whether platform is 64-bit architecture.
value.
true if 64-bit architecture; false otherwise.
Return friendly name String for a Platform enum value.
value.
Friendly name for the .
Return Platform Extension Character for a Platform enum value.
value.
Character that indicates the Ragebuilder Platform.
Hardware feature flags. Way of tagging platforms that can support particular
features giving a finer grain of control over the PlatformGeneration enumeration.
No hardware features.
All hardware features.
Seventh generation hardware default features.
Eigth generation hardware default features.
Hardware generation enumeration. This could be used as a way of
marking features to support based on hardware-generations to
support generation transitions. Alternatively a hardware feature
flag enumeration may be required.
Unknown hardware generation.
Seventh generation; Xbox 360, PS3 etc.
Eigth generation; Xbox One, PS4 etc.
Type of asset files.
Collision bounds dictionary file.
Collision bounds file.
Blendshape file.
Clip dictionary file.
Drawable dictionary file.
Drawable file.
Fragment file.
Texture dictionary file.
Cloth dictionary file.
Blendshape dictionary file.
Visual effects dictionary file.
Expression dictionary file.
Frame filter dictionary file.
Metadata (parCodeGen) file.
RPF Manifest file.
RPF Cache file.
PSO Metadata file.
Resourced PSO Metadata file.
This gets mapped to the same non-resoured variant because the runtime
streaming module can handle the different file types.
SanScript file.
Map ITYP Metadata file.
Map IMAP Metadata file.
Texture processing pipeline specification metadata file.
Texture processing pipeline template metadata file.
Texture processing pipeline link metadata file.
RPF.
Zip file.
Cutscene metadata file.
Export bound file.
Animation file.
Clip file (animation metadata).
Generic file.
Vehicle recording file.
Waypoint recording file.
Material Preset file for an object.
Material Preset file for a surface.
Material Preset template file.
Material Preset export file.
Motion tree file.
Tetrahedron file.
Tetrahedron file.
Object (Scene?) Link Dictionary.
Map Extension dictionary file.
Map occlusion file.
Independent file type to resemble a parameter XML.
SceneXml file.
File type to resemble a FileList.
File type to CSharp Script Object.
The odd Regex ranges are to ensure we don't pick up TCS for
texture template specification.
File type for textures.
This is trying out specifying multiple
per file type value. Ensure you update the too if
you add additional extensions.
Mesh file.
Taint file from a blacklist export.
Unknown file type.
Generic filename and path utility methods.
Assets namespace constant to avoid reference to framework RSG.Assets.Constants.
Default number of Guid characters to use for folder levels.
Return filename basename; stripping off all extensions.
Input filename.
Filename basename (no extensions).
Return an array of string extensions; to determine file types.
Input filename.
Array of String extensions.
E.g.
PathConversion.GetExtensions(@"x:\path\asset.idr.zip");
--> [ "zip", "idr" ]
Return an array of FileType enum values; to determine file types.
Array of extensions.
Array of values indicating all file types.
Goes through parents of a directory and compares to another
Whether two paths with potentiually different case and seperators are the same
Return an array of FileType enum values; to determine file types.
Filename string to determine file type for.
Array of values indicating all file types.
Takes a platform specific filename (common:/) and converts it into a
pipeline friendly path ($(build)/common/)
Game path.
Local machine path.
Return whether the passed in is a Vault Asset path.
Path string to check.
true if the path string is a valid Vault Asset; false otherwise.
Helper method that returns an enumerable of file and Vault Asset paths and
correctly expands the non-Asset Paths only.
Input paths to expand correctly; based on whether they are files or vault assets.
Enumerable of expanded paths.
Get a directory path for a GUID where we use characters of the GUID
as subdirectories.
File extension to append (should include ".").
Number of directory levels to use (default: 3).
Guid g = new Guid("5620b495-a21f-4d0c-972d-2eba736151d2");
String directory = Filename.GetGuidBasedDirectory(
@"x:\testfolder",
g);
// directory is now @"x:\testfolder\5\6\2\5620b495-a21f-4d0c-972d-2eba736151d2"
Platform enumeration.
Independent platform (export data).
Windows x86, 32-bit.
Windows AMD64, 64-bit.
Sony PlayStation 3.
Microsoft Xbox 360.
Sony PlayStation 4.
Microsoft Xbox One.
Android platform.
Apple iOS platform.
Sony PlayStation 4 Pro.
Microsoft Xbox One X (Scorpio).
linux - generic linux platform, currently aimed at 64-bit LE architecture; if there's a need to support other types,
we'll need to account for it withing the code/data, or make a new platfom (eg, linux32).
Yeti - proprietary platform based on linux; will probably share existing x64 data/pipeline, but it's possible there will be exceptions in the future.
NX64 - Nintendo Switch
Provides static properties that give access to platform icons that can be used
throughout an application.
The private field used for the and property.
A generic object that provides thread safety access to the image sources.
The private field used for the and
property.
The private field used for the and
property.
The private field used for the property
property.
The private field used for the property
property.
Gets the icon that shows a symbol for the playstation 3 platform.
Gets the icon that shows a symbol for the playsation 4 platform.
Gets the icon that shows a symbol for the win32 platform.
Gets the icon that shows a symbol for the win32 platform.
Gets the icon that shows a symbol for the xbox 360 platform.
Gets the icon that shows a symbol for the xbox one platform.
Gets the icon that shows a symbol for the android platform.
Gets the icon that shows a symbol for the ios platform.
Ensures that the specified image source is loaded with the specified resource name.
The image source that should be loaded.
The name of the resource the loaded image source should set as its source.
Helper for platform SDK parsing.
Regex to parse version numbers including decimals.
Environment variable for the folder of the XDK files.
The local XDK version information file.
This seems to have been depreciated as of Nov 2015 XDK 10.0.10586.
The prefix in the XDK version file for the version number.
Path to the XDK info executable.
This is preferred as of Nov 2015 XDK 10.0.10586.
The arguments for the XDK executable.
Prefix of the XDK version from the output of the XDK executable.
Prefix of the XDK version from the output of the XDK executable.
Cutoff version for the XDK that determines whether or not to use Edition or Version format.
E.g if a number is <, use Version format. <= is Edition format.
Environment variable for the folder of the Orbis SDK files.
Environment variable for the folder of the Orbis SDK files.
The local Orbis SDK version information file.
Prefix of the SDK version number output to parse.
Environment variable for the folder of the SCE files.
Attempts to parse the local orbis SDK version. Can throw exceptions.
Null if version cannot be found.
Checks if the input is a durango SDK edition or not.
True if the input is an edition, false if it is a version number.
Checks to see if the Orbis Remote Viewer Server is installed.
True if the Remote Viewer Server lib is found.
Attempts to parse the local durango SDK version. Can throw IO exceptions.
Null if version cannot be found.
Attempts to parse the output from the XDK executable for the SDK version.
Can throw IO and Process exceptions.
Null if edition could not be found.
Compares 2 SDK version strings and returns if they can be used together.
E.g User is on 1.5, this can be used with a build that is for 1.4 but
1.4 can't be used on a build with 1.5
If SDK has names in it (eg Jan 2009 XDK), then an exact comparison is used.
True if the first param is compatible with the second param.
Executes shell command in a separate process.
Waits for Exit for specified time in milliseconds.
Standard console output
Default Timeout in milliseconds for querying IP address
Attempts to get default IP address from connected XBOX1 DevKit.
Null if IP address cannot be found.
Attempts to get default IP address from connected PS4 DevKit.
Null if IP address cannot be found.
Returns default SCE root folder.
Folder
Returns current SCE host_tools root folder.
Folder
Returns default XDK root folder.
Folder
Attempts to read output from XDK info executable and parses out version strings.
Can throw IO and Process exceptions.
Prefix format before the version number.
Null if executable could not be found or output parsed.
Attempts to parse IPv4 address from arbitrary text.
Returns first IP address in the text.
Input string.
if parse was successful; otherwise null.
Platform enumeration utility and extension methods.
Return Platform enum value from a Ragebuilder platform string.
Ragebuilder platform string.
for Ragebuilder platform.
Return Platform enum value from a game platform string.
Game platform string.
for Ragebuilder platform.
Return Platform value from String representation.
Platform string.
value for the string.
Return Platform value from friendly name string representation.
Friendly name to convert.
.
Return Platform from an asset filename.
Asset filename
Platform value
Return Platform from an RPF filename.
RPF resource filename
Platform value
Describes the type of compression used on resource files.
No resource compression.
Zlib resource compression.
RAD Oodle/Kraken resource compression.
Unknown resource compression.
Enum defining set of texture template modifiers that we can utilise that has Ragebuilder
support.
No modifiers.
Ultra-HD modifier (PS4 Pro, Scorpio, High-End PC). This defines a TCP template
named "{platform}hd.tcp" that would be picked up for Sparse Targets.