Loading into CS2
After building Osiris, you need to inject (load) the library into the running Counter-Strike 2 process. The injection method differs between Windows and Linux.Before you begin
Ensure you have:- Successfully built Osiris for your platform
- Counter-Strike 2 installed and running
- The appropriate injection tool for your platform
- Windows
- Linux
Windows injection
On Windows, you need a DLL injector to inject Osiris.dll into the CS2 process.Important limitations
Counter-Strike 2 blocks the standardLoadLibrary injection method. You must use a manual mapping (reflective DLL injection) injector.Injection steps
Open your injector
Launch your manual mapping DLL injector with administrator privileges.
Administrator privileges are required to inject into game processes.
Select the DLL
Browse and select the Osiris.dll file you built in the previous step.Typical location:
Inject with manual mapping
Ensure your injector is set to use manual mapping or reflective injection mode.Click the inject button.
Choosing a safe injector
When selecting a DLL injector:- Use injectors that support manual mapping/reflective injection
- Prefer open-source injectors where you can review the code
- Avoid injectors known to be detected by VAC
- Research the injector’s detection history in cheat communities
The developers do not recommend or endorse any specific injector. All injection carries risk.
After injection
Once Osiris is successfully loaded:- Press Insert to open the Osiris GUI
- Navigate through the tabs: Combat, HUD, Visuals, Sound
- Configure features according to your preferences
- Settings are automatically saved to disk
Configuration location
Settings are stored in:- Windows:
%appdata%\OsirisCS2\configs\default.cfg - Linux:
$HOME/OsirisCS2/configs/default.cfg
Troubleshooting
Injection fails
- Process not found: Ensure CS2 is running before attempting injection
- Permission denied: Run the injector with administrator/sudo privileges
- Wrong architecture: Verify you built the x64 version, not x86
Game crashes
- Incompatible build: Ensure you used the Release build configuration
- Game update: CS2 updates may break Osiris; wait for an updated version
- Conflicting software: Disable other overlays or game modifications
GUI doesn’t appear
- Wrong key: Try pressing Insert or Home to open the menu
- Injection failed: Check injector logs for error messages
- Panorama issue: Restart the game and try again