Skip to content

Hearts of Iron IV presence for Discord!

License

Notifications You must be signed in to change notification settings

kiozet/hoi4-presence

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hoi4 Discord Rich presence

demonstration

Download and install

Download the lastest presence from:

Releases

It's named as hoi4-presence-vVERSION.zip

Extract the files into a folder, and

Then, execute setup.exe to install.

The script will do all the work for you.

After the execution, you can delete the files.

Uninstalling

Inside your game folder, you will see a file named launcher-settings.json.

Inside of it:

change "exePath": "runRPC.exe", to "exePath": "hoi4.exe",

You can delete all the other files originated from discord presence.

Submiting an issue

Found a bug? Submit it in:

Issues

Contributing

Feel free to contribute! I will be happy to see your pull request.

First, read the CONTRIBUTING.md file.

how the presence works?

It uses the saves to get data. So, spend one month in the game or save the game to update the presence.

TODO...

Image sources

Hoi4 Wiki

Logo

Compiling from source

You dont believe in my .exe files? :(

Go to /DiscordRPC and execute it using pyinstaller:

pyinstaller.exe main.py --name hoi4Presence --noconsole --clean

Don't compile in one file, it wont work.

Configuring the batch

The batch is for executing the presence without doing it yourself.

In launcher-settings.json (in your game folder), change exePath:

"exePath": "runRPC.bat",

if the save game folder isn't in your documents folder change the line in runRPC.bat manually.

Changing settings.txt

in settings.txt, (in your save folder) change:

save_as_binary=no

and you're done.

About

Hearts of Iron IV presence for Discord!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.3%
  • Batchfile 5.7%