diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eaceccf..56d0628 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push jobs: ci: name: CI - uses: acidicoala/KoalaBox/.github/workflows/build-and-package.yml@7c927fd4cbb2156a9f2cb8a83a41f2d6037da961 + uses: acidicoala/KoalaBox/.github/workflows/build-and-package.yml@807cc1d5ac021c778bd918a2a530d5bc38d1d6b9 permissions: contents: write with: diff --git a/CMakeLists.txt b/CMakeLists.txt index f24f2d9..7908a2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,8 @@ configure_linker_exports( configure_build_config(extra_build_config) -set(SMOKE_API_SOURCES +set( + SMOKE_API_SOURCES src/smoke_api/smoke_api.cpp src/smoke_api/smoke_api.hpp src/steam_api_exports/steam_api_flat.cpp diff --git a/KoalaBox b/KoalaBox index 7c927fd..807cc1d 160000 --- a/KoalaBox +++ b/KoalaBox @@ -1 +1 @@ -Subproject commit 7c927fd4cbb2156a9f2cb8a83a41f2d6037da961 +Subproject commit 807cc1d5ac021c778bd918a2a530d5bc38d1d6b9 diff --git a/README.md b/README.md index 128663e..4e3fcb9 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Try installing the unlocker in hook mode first. If it doesn't work, try installi 1. Find `steam_api.dll`/`steam_api64.dll` file in game directory, and add `_o` to it's name, e.g. `steam_api64_o.dll`. 2. Download the latest SmokeAPI release zip from [SmokeAPI Releases]. -3. From SmokeAPI archive unpack `steam_api.dll`/`steam_api64.dll`, depending on the game bitness, and place it next the original steam_api DLL file. +3. From SmokeAPI archive unpack `steam_api.dll`/`steam_api64.dll`, depending on the game bitness, and place it next to the original steam_api DLL file. If the unlocker is not working as expected, then please fully read the [Generic Unlocker Installation Instructions] before seeking help in the support forum. @@ -68,7 +68,7 @@ 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, just drop it alongside 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. 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. | Option | Description | Type | Default | |-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|:-------:| @@ -83,6 +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.json [manually maintained list of DLC IDs]: https://github.com/acidicoala/public-entitlements/blob/main/steam/v1/dlc.json ## ๐Ÿ‘‹ Acknowledgements diff --git a/build.ps1 b/build.ps1 index 4a3805f..fdc94c9 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,3 +1,6 @@ +# Usage: +# PS ..\SmokeAPI> .\build.ps1 64 Debug + Set-Location (Get-Item $PSScriptRoot) . ./KoalaBox/build.ps1 @args