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

Better CLI tools and tool documentation #97

Merged
merged 18 commits into from
May 13, 2020
Merged

Conversation

Xeeynamo
Copy link
Contributor

Most of the CLI tools (eg. OpenKh.Commands.*) were poorly implemented.

This fixes the issue by adding proper in-app documentation and error handling when no parameters are passed.
Some tools got new functionalities as well:

  • OpenKh.Command.IdxImg is now able to specify a different IMG when paired with a IDX, it is possible to deny to recursively extract all its inner IDXs, specify a different output directory and list the content of a IDX in the same order as they are stored in the IMG.

  • OpenKh.Command.HdAssets can specify other prefix than _ASSET_ when extracting. It also allow to strip the ReMIX asset header from a file, making them perfectly compatible with their original games.

  • OpenKh.Command.Bbsa can now extract to a custom directory.

Last, but not least, there were no links to the tool page in OpenKH website. The tutorial about KH2TextEditor written by @Vladabdf was not linked anywhere too. This pull request fixes all those issues, while creating a new page where all the tools from OpenKH are listed.

Copy link
Collaborator

@Vladabdf Vladabdf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Command line tools work as expected, minus MsgTool. Approving~

@Vladabdf Vladabdf merged commit bcce491 into master May 13, 2020
@Xeeynamo Xeeynamo deleted the feature/better-cli branch May 24, 2020 09:03
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.

2 participants