Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PackFarc console command arguments #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copyrat90
Copy link

@copyrat90 copyrat90 commented Aug 19, 2021

Sky Editor's console has the PackFarc command, but the arguments are invalid.

If Directory.Exists(Arguments(0)) Then
    Await Farc.Pack(Arguments(0), Arguments(1), Integer.Parse(Arguments(2)), Boolean.Parse(Arguments(3)), CurrentFileSystem)
Else
    Console.WriteLine("Directory does not exist: " & Arguments(0))

Arguments(0) is the command name PackFarc itself, NOT the Input Directory.
Input Directory is Arguments(1), Output Filename is Arguments(2), and so on.

~\SkyEditor.ROMEditor.UI.WPF Build 220 $ PackFarc test\lang\us message-us.bin 5 False
Directory does not exist: PackFarc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant