Files
spice2x.github.io/src/spice2x/games/silentscope/silentscope.cpp
T
bicarus 4009bb8a84 sc: bone eater preliminary support (#895)
## Link to GitHub Issue or related Pull Request, if one exists
Fixes #114

## Description of change
Initial support for Silent Scope: Bone Eater, enough to be playable;
doesn't include QoS work needed to make this a smoother experience.

* Game detection
* Fix DX11 overlay to work with non-Unity games
* Implements sub monitor i/o (only really needed to get past I/O check)
* Try to make the game reasonably playable with a mouse
* Ignore the game's attempt to move windows, position them in a
reasonable place
* Fix language hook

## Testing
2026-08-28 03:04:43 -07:00

28 lines
544 B
C++

#include "silentscope.h"
#include "cfg/configurator.h"
#include "hooks/devicehook.h"
#include "util/libutils.h"
#include "projector.h"
namespace games::silentscope {
SilentScopeGame::SilentScopeGame() : Game("Silent Scope") {
}
void SilentScopeGame::attach() {
Game::attach();
// load the game DLL so hooks apply
libutils::try_library("gamendd.dll");
devicehook_init();
devicehook_add(new ProjectorHandle());
}
void SilentScopeGame::detach() {
Game::detach();
}
}