Skip to content

Commit

Permalink
feat: improves and move documentation fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiaudioTT committed Nov 2, 2023
1 parent 01d27a3 commit bd92a27
Showing 1 changed file with 3 additions and 57 deletions.
60 changes: 3 additions & 57 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,13 @@ Hoi4 Rich Presence

This is a presence for discord that shows what you are doing in Hearts of Iron 4.

## How to Download and install
## How to download and install

Download the lastest presence from:

[Releases](https://github.com/ThiaudioTT/hoi4-presence/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.
Struggling in installing? See the [Wiki](https://github.com/ThiaudioTT/hoi4-presence/wiki/Downloading,-Installing-and-Uninstalling).

## Submiting an issue

Found a bug? Submit it in:

[Issues](https://github.com/ThiaudioTT/hoi4-presence/issues)
Found a bug? Submit it in [Issues](https://github.com/ThiaudioTT/hoi4-presence/issues).

## Contributing

Expand All @@ -77,32 +52,3 @@ See: [How it Works](https://github.com/ThiaudioTT/hoi4-presence/wiki/How-it-work
[Hoi4 Wiki](https://hoi4.paradoxwikis.com/Hearts_of_Iron_4_Wiki)

[Logo](https://www.reddit.com/r/hoi4/comments/85l962/new_game_icon_made_by_me_the_original_sucks_free/)

## 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.

0 comments on commit bd92a27

Please sign in to comment.