Skip to content

Commit

Permalink
Added paragraph about local verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Root-Core committed Sep 10, 2024
1 parent dbea02b commit 9eb1082
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ The order is not important and the arguments are not passed on to the game.

The easiest way to implement a new fix or modify an existing one, is to use local fixes.

### Game fixes

First of all, you should find the Steam-ID of the game (right click the game in your Steam library -> 'Properties...' -> 'Updates' -> 'App ID:') and use it as the filename, with a `.py` extension.

Example `Day of Defeat: Source` (AppID 300):
Expand All @@ -38,6 +40,20 @@ Note that local fixes override the included "global" fixes. So using an existing

For example, overriding the default fix will disable [the parameter parsing for Steam games](#start-parameter-fixes). This can be restored by copying [the global default file](gamefixes-steam/default.py) and applying your changes accordingly.

### Verbs

You can also add local Winetricks verbs, just like the ones implemented [here](verbs).

This also allows you to override existing Protontricks and Winetricks verbs, for example if a URL or file hash has changed.

> ~/.config/protonfixes/localfixes/<verb_name>.verb
To call them, just use the default function:

```python
util.protontricks('<verb_name>')
```

## Non-Steam games

As we support platforms other than Steam, these fixes can also be used by other launchers, such as Lutris, Heroic, Legendary or Bottles.
Expand Down

0 comments on commit 9eb1082

Please sign in to comment.