.NET Parser for The Sims Online's CST format.
Find a file
Tony Bark 10a9958065 Improved GetText function
Glad I moved to the dev branch because I wasn't expecting this to be a breaking change.
2024-04-09 09:47:13 -04:00
.github Improved GetText function 2024-04-09 09:47:13 -04:00
.vscode Target Standard 2.1 2023-08-10 18:37:03 -04:00
CSTNet Improved GetText function 2024-04-09 09:47:13 -04:00
CSTNet.Tests Removed CaretSeparatedText class 2023-11-28 10:26:54 -05:00
doc Removed CaretSeparatedText class 2023-11-28 10:26:54 -05:00
notebooks Improved GetText function 2024-04-09 09:47:13 -04:00
.editorconfig Removed CaretSeparatedText class 2023-11-28 10:26:54 -05:00
.gitattributes Add .gitignore and .gitattributes. 2020-12-08 17:56:36 -05:00
.gitignore Rewrote normalizing algorithm 2020-12-11 01:05:46 -05:00
code_of_conduct.md Migrated CST notebook from .NET Labs 2020-12-08 18:46:52 -05:00
CSTNet.sln Removed CaretSeparatedText class 2023-11-28 10:26:54 -05:00
Directory.Build.props Reproducible Builds 2023-08-18 01:46:47 -04:00
LICENSE Relicensed under BSD 3-clause 2022-04-29 06:39:56 -04:00
README.md Improved normalization algorithm 2024-04-09 09:26:59 -04:00

CST.NET

<p align="center"><a href="https://github.com/tonytins/cstdotnet/blob/main/LICENSE"><img src="https://img.shields.io/github/license/tonytins/cstdotnet" alt="GitHub license"></a> <a href="https://github.com/tonytins/cstdotnet/actions?query=workflow%3Abuild.yml"><img src="https://img.shields.io/github/actions/workflow/status/tonytins/cstdotnet/build.yml" alt="GitHub Workflow Status"></a> <img src="https://img.shields.io/github/commit-activity/w/tonytins/cstdotnet" alt="GitHub commit activity"> <a href="code_of_conduct.md"></br> <img src="https://img.shields.io/codeclimate/maintainability-percentage/tonytins/cstdotnet" alt="Code Climate maintainability"> <img src="https://img.shields.io/nuget/dt/CSTNet" alt="NuGet Downloads"> <a href="https://www.nuget.org/packages/tonybark.updatetools"><img src="https://img.shields.io/nuget/v/cstnet.svg" /></a></br><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant"></a></br> </p>

CST.NET is a library for parsing Maxis' key-value pair format. It can be used in conjunction with your own custom frameworks, or the original UIText APIs.

Caret-Separated Text (or CST) is a key-value pair format represented by digits or words as keys and the value as text enclosed between carets. (e.g. <key> ^<text>^) Any text which is not enclosed with carets is considered a comment and ignored. Neither strings nor comments may use the caret character.

Changelog

See changelog.md

Usage

See /docs.

To-do

  • Support for parameters (e.g. %1)

Known issues

  • Skipping comments is a little unpredictable.

Requirements

Contributing

You can contribute to CST.NET by testing cutting edge features in the latest releases, filing bugs, and joining in the discussion on our forums!

Looking for something to do? Check out the issues tagged as help wanted to get started.

Regarding translations, full object and UI translations should currently be released on the forums. This is far from perfect and is due to be reworked. Stay tuned!

License

I license this project under the BSD-3-Clause license - see LICENSE for details.