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

Add features to make interfacing with WorldChunkTool easier #7

Merged
merged 4 commits into from
Nov 29, 2018

Conversation

UncleClapton
Copy link
Contributor

This PR adds two features.

  1. A flag to accept all prompts, meaning the extraction process is completely automated and the program exits on complete.
  2. Exit codes for convenient signaling to an executing program.

Exit Codes

Code Description
0 Extraction success
1 Input file missing
2 oo2core_5_win64.dll file missing
3 Other exception occurred

Motivation

I have been working on a patch tool which automates the process of extracting, patching (applying mods), and installing text (GMD) files. I planned on using WorldChunkTool to extract chunk files, however I ran into the road block of detecting when the program errors, and dealing with user interaction when none is really needed. Implementing these two features would allow other tool to easily depend on this one to extract chunk files for use.

@mhvuze mhvuze merged commit 158a411 into mhvuze:master Nov 29, 2018
@UncleClapton UncleClapton deleted the console-automation branch November 29, 2018 19:02
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