Skip to content

Commit

Permalink
Add simple help.
Browse files Browse the repository at this point in the history
  • Loading branch information
EusthEnoptEron committed Apr 2, 2020
1 parent bafc933 commit d4728a8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions railiar/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ class Program

static void Main(string[] args)
{
if (args.Length == 0 || args.Contains("-h"))
{
Console.WriteLine($"railtools.exe file1 file2 file3...");
Console.WriteLine($"");
Console.WriteLine($"*.xfl => Extract archive into folder with same name");
Console.WriteLine($"*.wcg => Convert to *.png");
Console.WriteLine($"*.gsc => Convert to *.txt for translation");
Console.WriteLine($"*.txt => Convert back to *.gsc");
Console.WriteLine($"*.png => Convert to *.gsc");
Console.WriteLine($"*.jpg => Convert to *.gsc");
Console.WriteLine($"*.bmp => Convert to *.gsc");
Console.WriteLine($"*.wav => Extract playable *.ogg if detected");
Console.WriteLine($"Directory => Pack to *.xfl");

return;
}

foreach (var path in args)
{
DealWithFile(Path.GetFullPath(path));
Expand Down

0 comments on commit d4728a8

Please sign in to comment.