forked from AudiosurfResearch/Wavebreaker-Hook
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee17c2a
commit ca0f097
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: CMake on a single platform | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
env: | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -A Win32 | ||
|
||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} | ||
|
||
- name: Upload dll | ||
uses: actions/[email protected] | ||
with: | ||
name: dll_scrobbler_release | ||
path: ${{github.workspace}}/build/Release/preloadenabler.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
# as-scrobbler | ||
|
||
## Releases | ||
|
||
CI builds can be found in GitHub Actions for every commit. You will need both this DLL and the library from [audiosurfscrobblerlib](https://github.com/duckfromdiscord/audiosurfscrobblerlib). | ||
|
||
## Description | ||
|
||
Allows you to scrobble music listened to in Audiosurf 1 to a [maloja](https://github.com/krateng/maloja) server with the power of [SafetyHook](https://github.com/cursey/safetyhook), C++ and Rust. as-scrobbler rewrites parts of the Wininet library to emulate the last.fm server Audiosurf 1 uses for its built-in scrobbling capabilities, and allows you to send these scrobbles elsewhere. | ||
|
||
# How do I get it to work? | ||
### How do I get it to work? | ||
You will need to copy the DLL to `...\SteamLibrary\steamapps\common\Audiosurf\engine\channels`, and also make sure to place my [audiosurfscrobblerlib](https://github.com/duckfromdiscord/audiosurfscrobblerlib) alongside it. Note that as-scrobbler **only** emulates a server, and the actual scrobbling logic comes from audiosurfscrobblerlib. Your game will not work if you only have as-scrobbler. You also need to place `preload_enabler.toml` one folder above, in `...\SteamLibrary\steamapps\common\Audiosurf\engine`. This file is where you specify your maloja URL, port, and API key. **Also, make sure to enable last.fm scrobbling in-game so that the requests will trigger and thereby be intercepted.** | ||
|
||
# Why is it called preload_enabler? | ||
### Why is it called preload_enabler? | ||
The original goal of this project was to force Audiosurf to fully load your song into memory before playing it, but this functionality is not yet implemented and enabling it will crash your game. | ||
|
||
# Can you allow scrobbling to something else? | ||
### Can you allow scrobbling to something else? | ||
All of the scrobbling logic is in [audiosurfscrobblerlib](https://github.com/duckfromdiscord/audiosurfscrobblerlib). I did this on purpose because it's much easier to add functionality to that than rebuilding as-scrobbler all the time. If you open a PR, it will make it easier for me to add a scrobbling server. I may also add some on my own later on. |