|
1 | 1 | # SETS - STO Equipment and Trait Selector |
2 | | -A Star Trek Online build tool in Python |
3 | | -**Website: https://stobuilds.com/apps/sets** |
| 2 | +A Star Trek Online build tool in Python. Please refer to the [website](https://stobuilds.com/apps/sets) for information on how this app is used and included features. |
4 | 3 |
|
5 | 4 | ## Description |
6 | | - |
7 | 5 | Build management and sharing tool for STO. |
8 | | -Builds can be exported to a PNG file that can be opened by another person using SETS. |
9 | | - |
10 | | -## Contributing |
11 | | -If you find any information or images missing, please check or update the official wiki (https://stowiki.net) -- where SETS gets this information. You can report wiki issues on the Star Trek Online Community Discord Server (https://discord.gg/eApUvTRr5q) in the #wiki-requests channel or on the STOBuilds Discord Server (https://discord.gg/stobuilds) in the #wiki-update-talk channel. |
12 | | - |
13 | | -For application-related issues or suggestions, please visit the STOBuilds Discord: https://discord.gg/stobuilds (#sets-support channel) |
14 | | - |
15 | | -## Getting Started |
16 | | -### Application (no installations required) |
17 | | -*Currently not available* |
| 6 | +Builds can be exported to a PNG or JSON file that can be opened by another person using SETS. |
18 | 7 |
|
19 | | -### Script (Windows 8, 10, 11 ONLY) |
20 | | -For Windows 8, 10, 11 there is the possibility to get `SETS Loader` that contains batch scripts to install the app. Get `SETS Loader` from it's repository: https://github.com/STOCD/SETS_Loader |
| 8 | +## Installation |
| 9 | +### Images library |
| 10 | +All installation methods require an images library containing the game icons. The app will download these automatically, but as this takes a very long time, it is recommended to download the newest compressed image library from the [release](https://github.com/STOCD/releases) page. Once downloaded this has to be decompressed and placed in into the `.config/images` folder. |
| 11 | +``` |
| 12 | +SETS |
| 13 | + +- .config |
| 14 | + | `- images |
| 15 | + | `- <lots of images> |
| 16 | + +- SETS.exe / main.py |
| 17 | + +- ... |
| 18 | +``` |
21 | 19 |
|
22 | | -### Script (using the git source) |
23 | | -- View the INSTALLATION.md file for detailed installation information |
24 | | -- This is not necessary with the application version. |
| 20 | +### Executable for Windows |
| 21 | +Download the zipped app from the [release](https://github.com/STOCD/releases) page. Unzip it into a folder where you want your app to live. To speed up the image downloading process, obtain the images library as detailed above. Double-clicking `SETS.exe` will start the app. |
25 | 22 |
|
26 | | -### Running the program (script, not application) |
| 23 | +You can create a desktop shortcut by rightclicking on `SETS.exe` and clicking on "Create shortcut" in the context menu. Then move the created shortcut to your desktop. To create a start menu entry, open the start menu folder by rightclicking on an arbitrary app in your start menu and clicking on "Open file location". Then move the created shortcut to the folder that opened. |
27 | 24 |
|
28 | | -Windows: |
29 | | -> python main.py |
30 | 25 |
|
31 | | -Linux/macOS: |
32 | | -> python3 main.py |
33 | | -> |
34 | | -### Dependencies |
35 | | -* Python 3.8 or higher |
36 | | -* Pillow |
37 | | -* requests-html |
38 | | -* lxml-html-clean |
39 | | -* numpy |
40 | | -* tkmacos (MacOS only) |
| 26 | +### Script (Cross-Platform) |
| 27 | +*The commands below are for Windows. If you want to install the app on Linux, use `python3` instead of `python`. A more comprehensive guide for installing the script version can be found on the [website](https://stobuilds.com/apps/sets/installation).* |
41 | 28 |
|
| 29 | +First, create a folder to house your app. Open a command prompt and navigate *inside* the created folder. |
42 | 30 |
|
43 | | -## Image cache |
44 | | -The image cache can be over 4,000 files. |
| 31 | +Download the source code. This can be done using `git` or manual download: |
| 32 | +- Manual Download: On the GitHub page of [this repository](https://github.com/STOCD/SETS), click on the green `CODE` button and select "Download ZIP". Save the archive and unpack it so that the files and folders seen on the repository page are *directly* inside your app folder. |
| 33 | +- Git: run `git clone https://github.com/STOCD/SETS.git .` |
45 | 34 |
|
46 | | -The majority of this are gear icons and ship images. Gear icons tend to be very small (under 40MB for them all, included in the packaged images) while ship images can be quite large and are left for automatic download. |
47 | | -- `CONFIG_DIRECTORY/images/` (automatic) is used to store downloaded images. |
48 | | -You can find the images archive on the [release page](https://github.com/STOCD/SETS/releases) |
| 35 | +Install dependencies by running `python -m pip install .`. |
49 | 36 |
|
50 | | -## Configuration directory |
51 | | -The configuration directory contains multiple files and folders. |
52 | | -The configuration directory will automatically be created. |
| 37 | +To speed up the image download process on first start of the app, download the latest image archive from [releases](https://github.com/STOCD/SETS/releases). Create a `.config` folder and unpack the images archive into it. The images should be in `<app_root>\.config\images\`. |
53 | 38 |
|
54 | | -### Configuration Files |
55 | | -- `cache/` (automatic) is used to store downloaded wiki source data |
56 | | -- `library/` (automatic) is the default open/save location for exports and imports. |
57 | | -- `library/.template.json` (optional) will be imported when running the app [^2] |
58 | | -- `library/autosave.json` (automatic) will be used to save changes as you make them |
59 | | -- `override/` (optional) will be checked for images/files before the standard locations, allowing a user to manually override any item. |
60 | | -- `.state_SETS.json` (automatic) is used to store settings |
61 | | -- `.config.json` (optional) is used for manual settings |
| 39 | +*Ubuntu* users might need to install the `libxcb-cursor0` package for this app to work: `sudo apt install libxcb-cursor0` |
62 | 40 |
|
63 | | -## Authors |
| 41 | +To run the app, navigate to your apps folder. Then: |
| 42 | +- Windows: Use `python main.py` to start the app. |
| 43 | +- Linux: Use `python3 main.py` to start the app. |
64 | 44 |
|
65 | | -* Producer - Mara "Sizer" Morrigan - mara.mos714@gmail.com, Discord: Sizer#3498 |
66 | | -* Programmer - Liraal2 |
67 | | -* Programmer | Linux Testing - Serious Table - Discord: Serious Table#8141 |
68 | | -* Programmer - Stephen Hill - Discord: sukobi#1841 |
69 | | -* Programmer | QA | "girl Friday" - Shinga - Discord: Shinga#9959 |
70 | | - |
71 | | -## Licence |
72 | | - |
73 | | -SETS and its source code is licensed under GPLv3 |
74 | | - |
75 | | -Star Trek Online and its content is copyright of Cryptic Studios. |
| 45 | +## Contributing |
| 46 | +If you find any information or images missing, please check or update the [official wiki](https://stowiki.net) -- where SETS gets this information. You can report wiki issues on the [Star Trek Online Community Discord Server](https://discord.gg/eApUvTRr5q) in the "#wiki-discussion" channel or on the [STOBuilds Discord Server](https://discord.gg/kxwHxbsqzF) in the "#wiki-update-talk" channel. |
76 | 47 |
|
77 | | -[^2]: This is a standard .json file exported from SETS |
| 48 | +For application-related issues or suggestions, please visit the [STOBuilds Discord](https://discord.gg/kxwHxbsqzF) ("#sets-support" channel). |
0 commit comments