forked from cloudhead/rx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
91 lines (56 loc) · 2.61 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
██ ████ ██ ██
███ ██ ███
██ ██ ██
██ ██ ██
`rx` is a modern and minimalist pixel editor.
Designed with great care and love
with pixel artists and animators in mind.
OVERVIEW
`rx` is an extensible, modern and minimalist pixel editor implemented
in rust[0]. rx is free software, licensed under the GPLv3.
Most of the information on how to use rx is on the website:
https://rx.cloudhead.io. There, you can also find a user guide
(https://rx.cloudhead.io/guide.html), installation instructions,
and binary download links.
To build rx from source, see the build sections bellow.
Once inside rx, enter the `:help` command to get a list of key bindings
and commands.
[0]: https://rust-lang.org
REQUIREMENTS
On Linux and Windows, Vulkan[0] is currently required, with a compatible
graphics adapter.
On macOS, Metal[1] is required.
[0]: https://www.khronos.org/vulkan/
[1]: https://developer.apple.com/metal/
BUILD DEPENDENCIES
* rust (https://www.rust-lang.org/tools/install)
* cmake (https://cmake.org/download/)
On macOS, `Xcode` and the `Xcode Command Line Tools` are required.
The latter can be obtained by running `xcode-select --install`
CMake can be installed with `brew install cmake`.
BUILD & INSTALLATION
Before proceeding, make sure the BUILD DEPENDENCIES have been installed.
Then, clone this repository and from its root, run:
$ cargo install --locked --path .
This will install rx under `~/.cargo/bin/rx`. If you prefer a different
install location, you can specify it via the `--root <prefix>` flag, where
<prefix> is for example '/usr/local'.
CONTRIBUTING
See the CONTRIBUTING file for details. Contributions are appreciated.
USAGE
See the guide at https://rx.cloudhead.io/guide.html.
TROUBLESHOOTING
If something isn't working like it's supposed to, there are various things
you can do to debug the problem:
* Run `rx` with verbose logging, by using the `-v` command-line flag. This
will log errors from the underlying libraries that are usually suppressed,
and will show debug output that might indicate what the problem is.
* If `rx` is crashing, run it with `RUST_BACKTRACE=1` set in your environment
to show a backtrace on crash.
* It could be that the issue is related to your configuration - in that case
the program can be run without loading the initialization script like so:
rx -u -
LICENSE
This software is licensed under the GPL. See the LICENSE file for more details.
COPYRIGHT
(c) 2019 Alexis Sellier