Skip to content

An easy discord rich-presence implementation for S.T.A.L.K.E.R.

License

Notifications You must be signed in to change notification settings

Tosox/rpc4stalker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpc4stalker

Note: This mod is only compatible with games based on Call of Chernobyl

                               $$\   $$\             $$\               $$\ $$\                           
                               $$ |  $$ |            $$ |              $$ |$$ |                          
  $$$$$$\   $$$$$$\   $$$$$$$\ $$ |  $$ | $$$$$$$\ $$$$$$\    $$$$$$\  $$ |$$ |  $$\  $$$$$$\   $$$$$$\  
 $$  __$$\ $$  __$$\ $$  _____|$$$$$$$$ |$$  _____|\_$$  _|   \____$$\ $$ |$$ | $$  |$$  __$$\ $$  __$$\ 
 $$ |  \__|$$ /  $$ |$$ /      \_____$$ |\$$$$$$\    $$ |     $$$$$$$ |$$ |$$$$$$  / $$$$$$$$ |$$ |  \__|
 $$ |      $$ |  $$ |$$ |            $$ | \____$$\   $$ |$$\ $$  __$$ |$$ |$$  _$$<  $$   ____|$$ |      
 $$ |      $$$$$$$  |\$$$$$$$\       $$ |$$$$$$$  |  \$$$$  |\$$$$$$$ |$$ |$$ | \$$\ \$$$$$$$\ $$ |      
 \__|      $$  ____/  \_______|      \__|\_______/    \____/  \_______|\__|\__|  \__| \_______|\__|      
           $$ |                                                                                          
           $$ |                                                                                          
           \__|                                                                                           

Installation

  • Download the latest release
  • Install the VC Redistributables located in the redist folder if necessary
  • Install the gamedata folder like any other mod
  • Copy the contents of the win32 folder into the Data Install Location (usually the bin folder) if the game's platform is x32
  • Copy the contents of the win64 folder into the Data Install Location (usually the bin folder) if the game's platform is x64
    • You can check the platform of some tested games here
  • If everything was installed correctly, a console window should appear when the game is started
  • Open the game and load a save to update the rich presence data

Compilation

  • C++ 17 is required for compilation

Preview

FAQ

Which S.T.A.L.K.E.R. games is the program compatible with?

It is compatible with all games based on the Call of Chernobyl mod. Unfortunately, this does not include the three original games. A list of tested games can be found here.

How does the program work?

The mod that needs to be installed is the most important part of this program. It saves the data to be displayed in the discord status in a file in %temp%\rpc4stalker.json. The dll is only responsible for reading and transmitting the data to discord via their GameSDK.

Can the mod conflict with other mods?

No, because no files need to be overwritten during the installation.

Compatability

Game Platform Data Install Location
S.T.A.L.K.E.R. Call of Chernobyl Win32 /bin/
S.T.A.L.K.E.R. Call of The Zone Win32 /bin/
S.T.A.L.K.E.R. Call of Misery Win32 /bin/
S.T.A.L.K.E.R. Road To The North Win64 /bin/
S.T.A.L.K.E.R. Global War Win32 /bin/
S.T.A.L.K.E.R. Anomaly Win64 /bin/
S.T.A.L.K.E.R. Dead Air Win32 /
S.T.A.L.K.E.R. A.R.E.A. Win32 /bin/

Credits