Rileysoft.FileFormats.CNF 1.2.1

Suggested Alternatives

Rileysoft.SCE.PlayStation

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Rileysoft.FileFormats.CNF --version 1.2.1
NuGet\Install-Package Rileysoft.FileFormats.CNF -Version 1.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Rileysoft.FileFormats.CNF" Version="1.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rileysoft.FileFormats.CNF --version 1.2.1
#r "nuget: Rileysoft.FileFormats.CNF, 1.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Rileysoft.FileFormats.CNF as a Cake Addin
#addin nuget:?package=Rileysoft.FileFormats.CNF&version=1.2.1

// Install Rileysoft.FileFormats.CNF as a Cake Tool
#tool nuget:?package=Rileysoft.FileFormats.CNF&version=1.2.1

SYSTEM.CNF

This file is top-level and defines a few parameters for the PlayStation® / PlayStation® 2 to use to run the program.

Contents

These are the contents for the copy of .hack//infection's System.cnf which uses CRLF for the newlines

BOOT2 = cdrom0:\SLUS_202.67;1
VER = 1.00
VMODE = NTSC

A PARAM2 and PARAM4 can also be present but aren't in this example.

Loading in C#

Install the nuget package Rileysoft.FileFormats.CNF

For C# reference the following for use to load a CNF file:
CnfFile - Performs I/O to read/write System Config files.
CnfData - Defines the System Config.

Code Example:

using Rileysoft.FileFormats.CNF;

var file = new CnfFile("SYSTEM.CNF", true); // Reads SYSTEM.CNF and sets the underlying data to readonly.
var cnfData = file.Data;

References

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

Update registered trademark symbol location for PlayStation® 2 to be in the correct spot.