-
Notifications
You must be signed in to change notification settings - Fork 127
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
Preparing documentation for release v0.19.0 #198
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
47c7720
doc: remove options from the README
ftomassetti c50d5a9
doc: document options in the manual
ftomassetti 54401ff
doc: remove reference to pickle and add reference to hdf5
ftomassetti 32196a7
README: minor
ftomassetti 4dda5e8
README: remove requirements section
ftomassetti 7145804
manual: addressing several comments from tcld
ftomassetti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,100 @@ | ||
Command line interface | ||
====================== | ||
|
||
Using the command line you can issue one single command and let WorldEngine generate a world for you. | ||
Using the command line you can issue one single command and let WorldEngine generate a world for you. | ||
|
||
worldengine [options] [world|plates|ancient_map|info] | ||
|
||
|
||
General options | ||
~~~~~~~~~~~~~~~ | ||
|
||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| Short | Long | Description | | ||
+============+======================+===============================================================================================================================+ | ||
| -o DIR | --output-dir=DIR | generate files in DIR default = '.' | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -n STR | --worldname=STR | set world name to STR | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --hdf5 | save world using protocol buffer format [default: protocol buffer format ] | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -s N | --seed=N | use SEED to initialize the pseudo-random generation | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -t STR | --step=STR | use STEP to specify how far to proceed in the world generation process. Valid values are: plates precipitations full | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -x N | --width=N | WIDTH of the world to be generated | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -y N | --height=N | HEIGHT of the world to be generated | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -q N | --number-of-plates=N | number of plates | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --recursion-limit=N | you need that just if you encounter an error while generating very large maps | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| -v | --verbose | Enable verbose messages | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --version | Display version information | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
| --bw | --black-and-white | Draw maps in black and white (currently affects only the precipitation and temperature maps) | | ||
+------------+----------------------+-------------------------------------------------------------------------------------------------------------------------------+ | ||
|
||
|
||
Options valid only for generate | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| Short | Long | Description | | ||
+===========+============================+================================================================================================================================================+ | ||
| -r FILE | --rivers=FILE | Produce a map of rivers, after the option it expects the name of the file where to generate the map | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| --gs | --grayscale-heightmap | Produce a grayscale heightmap | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --ocean_level=N | Elevation cut off for sea level [default = 1.0] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --temps #/#/#/#/#/# | Specify the quantiles used to identify the temperature levels. It should contains values in [0,1]. [default = .126/.235/.406/.561/.634/.876] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --humidity #/#/#/#/#/#/# | Specify the quantiles used to identify the humidity levels. It should contains values in [0,1]. [default = .059/.222/.493/.764/.927/.986/.998] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| -gv N | --gamma-value N | N = Gamma value for temperature/precipitation gamma correction curve. [default = 1.25] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| -go N | --gamma-offset N | N = Adjustment value for temperature/precipitation gamma correction curve. [default = .2] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | ---not-fade-borders | Avoid fading borders | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --scatter | Generate temperature vs. humidity scatter plot | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --sat | Generate satellite map | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ | ||
|
||
Options valid only for ancient map operations | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| Short | Long | Description | | ||
+===========+============================+======================================================================================================+ | ||
| -w FILE | --worldfile=FILE | WORLD_FILE to be loaded | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| -g FILE | --generatedfile=FILE | name of the GENERATED_FILE | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| -f N | --resize-factor=N | resize factor | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| | --sea_color | help="string for color [blue|brown], [default = brown] | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| | --not-draw-biome | Not draw biome | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| | --not-draw-mountains | Not draw mountains | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| | --not-draw-rivers | Not draw rivers | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
| | --draw-outer-border | Draw outer land border | | ||
+-----------+----------------------------+------------------------------------------------------------------------------------------------------+ | ||
|
||
Export options | ||
~~~~~~~~~~~~~~ | ||
|
||
+-----------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | ||
| Short | Long | Description | | ||
+===========+============================+================================================================================================================================+ | ||
| | --export-format=FORMAT | Export to a specific format such as BMP or PNG. See http://www.gdal.org/formats_list.html for possible formats [default = PNG] | | ||
+-----------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+ | ||
| | --export-datatype=TYPE | Type of stored data, e.g. uint16, int32, float32 etc. [default = uint16] | | ||
+-----------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "an open-source world generator"?^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we can try to be bold :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the change you made further down, going from "is intended to be the best open-source world generator" to "has the goal to be the best open-source world generator", it just sounds more humble. I would vote against boldness for the headline.^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the headline has to be shorter than "is intended to be the best open-source world generator".
I also searched many, many, many, many times for open-source world generator and I could not find any that is comparable to WorldEngine. If I can find one I would change the headline :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ah ah, it seems a disclaimer like you see in advertisement :)