Rileysoft.FileFormats.CNF
1.2.1
dotnet add package Rileysoft.FileFormats.CNF --version 1.2.1
NuGet\Install-Package Rileysoft.FileFormats.CNF -Version 1.2.1
<PackageReference Include="Rileysoft.FileFormats.CNF" Version="1.2.1" />
paket add Rileysoft.FileFormats.CNF --version 1.2.1
#r "nuget: Rileysoft.FileFormats.CNF, 1.2.1"
// 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
- Reference this constructor for more information on the constructor used in this example.
- Reference PS Dev Wiki for more information on
System.cnf
. - Shadow from PSXDev's Post on PSX SYSTEM.CNF files
- Axion Drak's PSX2CNFCreator documentation
Product | Versions 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. |
-
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.