mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2025-12-05 21:15:39 -05:00
Improved koalageddon config init
This commit is contained in:
@@ -68,12 +68,12 @@ If the unlocker is not working as expected, then please fully read the [Generic
|
||||
|
||||
## ⚙ Configuration
|
||||
|
||||
SmokeAPI does not require any manual configuration. By default, it uses the most reasonable options and tries to unlock all DLCs that it can. However, there might be circumstances in which you need more custom-tailored behaviour. In this case you can use a configuration file [SmokeAPI.json] that you can find here in this repository. To use it, simply place it next to the SmokeAPI DLL. It will be read upon each launch of a game. In the absence of the config file, default value specified below will be used.
|
||||
SmokeAPI does not require any manual configuration. By default, it uses the most reasonable options and tries to unlock all DLCs that it can. However, there might be circumstances in which you need more custom-tailored behaviour, such as disabling certain DLCs, or selectively enabling just a few of them. In this case you can use a configuration file [SmokeAPI.config.json] that you can find here in this repository or in the release zip. To use it, simply place it next to the SmokeAPI DLL. It will be read upon each launch of a game. In the absence of the config file, default value specified below will be used.
|
||||
|
||||
| Option | Description | Type | Default |
|
||||
|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|:-------:|
|
||||
| `$version` | A technical field reserved for future use by tools like GUI config editors | Integer | `1` |
|
||||
| `logging` | Toggles generation of `*.log` file | Boolean | `false` |
|
||||
| `$version` | A technical field reserved for use by tools like GUI config editors. Do not modify this value. | Integer | `2` |
|
||||
| `logging` | Toggles generation of `SmokeAPI.log.log` file | Boolean | `false` |
|
||||
| `unlock_all` | Toggles whether all DLCs should be unlocked by default | Boolean | `true` |
|
||||
| `override` | When `unlock_all` is `true`, this option serves as a blacklist of DLC IDs, which should remain locked. When `unlock_all` is `false`, this option serves as a whitelist of DLC IDs, which should become unlocked | List of Integers | `[]` |
|
||||
| `extra_dlcs` | When a game requests number of all DLCs from Steam and gets a response that is equal to or greater than 64, it means that we need to get extra DLCs because Steam returns maximum 64 values this way. In this case, SmokeAPI will fetch extra DLCs from several online source, such as Steam API and a [manually maintained list of DLC IDs] from GitHub. However, in some cases these sources doesn't return all possible DLCs. To address this issue, you can specify the missing DLC IDs¹ in this option. | Object | `{}` |
|
||||
@@ -83,7 +83,7 @@ SmokeAPI does not require any manual configuration. By default, it uses the most
|
||||
|
||||
¹ DLC/Item IDs can be obtained from https://steamdb.info. You need to be logged in with your steam account in order to see accurate inventory item IDs.
|
||||
|
||||
[SmokeAPI.json]: res/SmokeAPI.config.json
|
||||
[SmokeAPI.config.json]: res/SmokeAPI.config.json
|
||||
|
||||
[manually maintained list of DLC IDs]: https://github.com/acidicoala/public-entitlements/blob/main/steam/v1/dlc.json
|
||||
|
||||
|
||||
Reference in New Issue
Block a user