Skip to content

A C# Library to read and write seaurchin score files

License

Notifications You must be signed in to change notification settings

EbiseLutica/SusLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SusLoader

Sus Loader は、 Seaurchin Score File を読み書きできる C# 向けのライブラリです。

使用例

カレントディレクトリに Sample.sus という名前のファイルがあるとします。

using System.IO;
using SusLoader;

class Program
{
	static void Main()
	{
		// スコアを読み込む
		var score = Score.Parse(File.ReadAllText("Sample.sus"));

		// 曲名を書き換える
		score.Title = "Hacked!";
		// 難易度をいじる
		score.Difficulty = DifficultyType.WorldsEnd;
		// World's END に
		score.WEType = "";

		// 書き換えたものを保存する
		File.WriteAllText("SampleWE.sus", score.ToString());
	}
}

ライセンス

MIT

About

A C# Library to read and write seaurchin score files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages