Skip to content

Commit 8adafac

Browse files
committed
Implement lutris library provider
1 parent 5f8daa8 commit 8adafac

File tree

10 files changed

+454
-64
lines changed

10 files changed

+454
-64
lines changed

README.md

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,13 @@
1-
# OpenGamepadUI Plugin Template
1+
# OpenGamepadUI Lutris
22

3-
This repository contains a reference template for creating a plugin for
4-
[OpenGamepadUI](https://github.com/ShadowBlip/OpenGamepadUI).
3+
![](./docs/icon.png)
54

6-
## Requirements
7-
8-
You will need to install the dependencies for OpenGamepadUI listed
9-
[here](https://github.com/ShadowBlip/OpenGamepadUI#requirements).
5+
Lutris plugin for OpenGamepadUI
106

117
## Usage
128

13-
This repository contains the basic files you need to write your own plugin.
14-
It includes a [Makefile](Makefile) which you can use to build and package your
15-
plugin. For help using the Makefile, run:
16-
17-
```bash
18-
make help
19-
```
20-
21-
Use the following steps to get started:
22-
23-
1. Fork this repository and clone your repository locally
24-
25-
2. Clone the [OpenGamepadUI](https://github.com/ShadowBlip/OpenGamepadUI) repository next to your plugin folder. It should look something like this:
26-
27-
```bash
28-
$ ls
29-
OpenGamepadUI
30-
OpenGamepadUI-plugin-template
31-
```
32-
33-
3. Edit `plugin.json` in your plugin repository and fill our your plugin details
34-
35-
4. Run `make build` from your plugin repository to symlink your plugin inside the OpenGamepadUI project directory
36-
37-
5. Open the OpenGamepadUI project in the Godot editor
38-
39-
Once you have completed these steps, you can use the Godot editor to write your
40-
plugin.
41-
429
You can build and install this plugin with:
4310

4411
```bash
4512
make install
4613
```
47-
48-
For more in-depth documentation on how to write plugins, refer to the
49-
[Plugin Development Guide](https://github.com/ShadowBlip/OpenGamepadUI/blob/main/docs/PLUGINS.md)
50-
51-
## Distribution
52-
53-
You can distribute your plugin by building a plugin package with:
54-
55-
```bash
56-
make dist
57-
```
58-
59-
This will create a zip file under the `dist` directory.
60-
61-
To have your plugin be considered for inclusion in the OpenGamepadUI plugin store,
62-
create a pull request to the [OpenGamepadUI-plugins](https://github.com/ShadowBlip/OpenGamepadUI-plugins)
63-
repository with an entry for your plugin to have your plugin listed in the
64-
plugin store.

assets/lutris.svg

Lines changed: 262 additions & 0 deletions
Loading

assets/lutris.svg.import

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://vmxevju8fdjc"
6+
path.s3tc="res://.godot/imported/lutris.svg-c0e1ed3d5f16ceea7bf9e99c43f4d80e.s3tc.ctex"
7+
metadata={
8+
"imported_formats": ["s3tc_bptc"],
9+
"vram_texture": true
10+
}
11+
12+
[deps]
13+
14+
source_file="res://plugins/lutris/assets/lutris.svg"
15+
dest_files=["res://.godot/imported/lutris.svg-c0e1ed3d5f16ceea7bf9e99c43f4d80e.s3tc.ctex"]
16+
17+
[params]
18+
19+
compress/mode=2
20+
compress/high_quality=false
21+
compress/lossy_quality=0.7
22+
compress/hdr_compression=1
23+
compress/normal_map=0
24+
compress/channel_pack=0
25+
mipmaps/generate=true
26+
mipmaps/limit=-1
27+
roughness/mode=0
28+
roughness/src_normal=""
29+
process/fix_alpha_border=true
30+
process/premult_alpha=false
31+
process/normal_map_invert_y=false
32+
process/hdr_as_srgb=false
33+
process/hdr_clamp_exposure=false
34+
process/size_limit=0
35+
detect_3d/compress_to=0
36+
svg/scale=1.0
37+
editor/scale_with_editor_scale=false
38+
editor/convert_colors_with_editor_theme=false

0 commit comments

Comments
 (0)