Libraries

A list of all notable programming libraries developed by trigger_segfault.

  • TriggersTools.FileFind

    An improvement on Window's existing .NET Framework API for finding files. Enumeration no longer fails when encountering a secure file. File numeration is a little bit faster. Added support for matching file names by Regex.

  • TriggersTools.DirectoryCaseSensitivity

    A library for working with Windows 10, April 2018 Update's addition of per-directory case sensitivity. Although Windows now supports case-sensitive folders, most programs still do not, and will not behave properly when files with matching case-insensitive names exist. Only use DirectoryCaseSensitivity.SetCaseSensitive() when appropriate.

  • TriggersTools.Build.BuildTime

    Automatically assigns an AssemblyBuildTimeAttribute to the assembly during the beginning of the build. Build time can be acquired through extension methods such as Assembly.GetBuildTime() with AssemblyBuildTimeExtensions in the namespace TriggersTools.Build. Unlike relying on the linker time, (which already no longer works in .NET Core 1.1 and later), this method guarantees that the build time will be present as long as it was compiled with MSBuild.

  • TriggersTools.Build.CopyrightYear

    Replaces all instances of {YEAR} in copyrights with the current year. Works with the MSBuild $(Copyright) property and the AssemblyCopyrightAttribute. Assign the $(CopyrightYearAssemblyInfo) property in your project file as your input assembly info file if you're using one different from Properties\AssemblyInfo.cs. Assembly files are local to $(ProjectDir) unless rooted.

  • TriggersTools.SteinsGate.Divergence

    Allows you to programmatically draw Divergence Meter nixie tubes from the visual novel & anime: Steins;Gate. Divergence uses graphics taken from the Steins;Gate visual novel for drawing the tubes, digits, and decimal point. The rest of the available characters are drawn with the Oslo II font, by Antonio Rodrigues Jr. This font was chosen as it had a similar style as well as perfect aspect ratio for each character.

  • TriggersTools.Asciify (WIP)

    An asciifier library for C# Base asciifier implementations based off of Spektre's Stack Overflow Post, but with added color capabilities. This project is nowhere near finished and the classes are pretty poorly setup at the moment, but it still works. I would not recommend using this anywhere until it's actually cleaned up.

  • TriggersTools.ILPatching (WIP)

    A library with helpful methods for scanning and patching CIL instructions with Mono.Cecil. This was designed around a custom Regular Expression implementation that works specifically for IL opcodes and operands. The result is an easy to use API for locating the code that needs to be patched and extracting the operands that need to be known via capturing.

  • TriggersTools.CatSystem2 (WIP)

    A library for extracting resources from, decompiling scripts from, and working with the CatSystem2 visual novel game engine. The repo contains a Documentation Wiki for ongoing documentation of CatSystem2 file specifications, undocumented features, debugging, decompiling scripts, and more. This library was split and isolated from the Grisaia Extract Sprite Viewer tool so that it could have use elsewhere.

  • TriggersTools.SharpUtils (WIP)

    A personal NuGet package library for often-used utility functions and classes. This library has only been deployed as NuGet prereleases so that people do not expect to rely on the API to stay the same forever.

  • TriggersTools.Windows.Resources (WIP)

    A library for working with and modifying Windows executable resources. This is based off of the existing ClrPlus.Windows.PeBinary.ResourceLib library and modified for better functionality, and faster resource saving. Menu and Dialog resources have a proper API for them that relies much less on hacking things to get them to save properly.