... | ... | @@ -12,28 +12,28 @@ Note: In the areas referencing the `CraftPresence` folder, if you downloaded a s |
|
|
|
|
|
## Setup
|
|
|
|
|
|
1. [Download a copy of this repo](https://gitlab.com/CDAGaming/CraftPresence-Wow-Edition/-/archive/master/CraftPresence-Wow-Edition-master.zip) or [a release zip here](https://github.com/CDAGaming/CraftPresence-Wow-Edition/releases) (Previously located [here](https://gitlab.com/CDAGaming/CraftPresence/-/releases)) and decompress it. Inside you will find two folders of importance: the main `CraftPresence` folder containing the WoW addon, and an inner `script` folder containing a python script (and it's inner dependencies).
|
|
|
1. [Download a copy of this repo](https://gitlab.com/CDAGaming/CraftPresence-Wow-Edition/-/archive/master/CraftPresence-Wow-Edition-master.zip) or [a release zip here](https://github.com/CDAGaming/CraftPresence-Wow-Edition/releases) (Previously located [here](https://gitlab.com/CDAGaming/CraftPresence/-/releases)) and decompress it. Inside you will find two folders of importance: the main `CraftPresence` folder containing the WoW addon, and an inner `Script` folder containing a python script (and it's inner dependencies).
|
|
|
|
|
|
2. Install the WoW addon by copying the main `CraftPresence` folder to your `Interface/AddOns` directory. When you log in, you may see a few colored squares on the top left corner of your screen. These will be important later on.
|
|
|
|
|
|

|
|
|

|
|
|
|
|
|
3. Open a Command Prompt or Terminal window and install the `pywin32` and `Pillow` libraries for Python by typing this command:
|
|
|
`pip install pywin32 pillow`
|
|
|
3. Open a Command Prompt or Terminal window and install the `pywin32`, `pypresence` and `Pillow` libraries for Python by typing this command:
|
|
|
`pip install pywin32 pypresence pillow`
|
|
|
|
|
|
4. Move to the `CraftPresence` folder within `Interface/Addons`, then move into the **script** folder. For example, if you are still in the same command prompt window from Step 2, you will have to do something like this (You can also just navigate to it normally without command prompt):
|
|
|
4. Move to the `CraftPresence` folder within `Interface/Addons`, then move into the **Script** folder. For example, if you are still in the same command prompt window from Step 2, you will have to do something like this (You can also just navigate to it normally without command prompt):
|
|
|
|
|
|
`cd <addons_location>\CraftPresence\script`
|
|
|
`cd <addons_location>\CraftPresence\Script`
|
|
|
|
|
|
5. Launch the Python Script `DiscordRichPresence.py` either via double-clicking it, or launching it in command prompt via `py DiscordRichPresence.py` while within the `script` folder. You can now force an update by typing **/cp update** to ensure functionality.
|
|
|
|
|
|
On certain events (player login, zone change, revive, etc...) the squares will appear automatically, then disappear after a certain amount of seconds. If it fails to update, you can use **/cp update** to trigger this manually.
|
|
|
|
|
|
From now on, you can double-click the `DiscordRichPresence.py` file (Or make a shortcut to it to launch it easier) and it will work by itself. Your rich presence will be updated automatically as long as the script is kept running in the background. You can just create a shortcut to this script on your Desktop and open it every time you open WoW.
|
|
|
From now on, you can double-click the `DiscordRichPresence.py` file (Or make a shortcut to it to launch it easier) and it will work by itself. Your rich presence will be updated automatically as long as the script is kept running in the background. You can also create a shortcut to this script on your Desktop and open it every time you open WoW.
|
|
|
|
|
|
## License
|
|
|
|
|
|
Both the addon and the DiscordRichPresence.py script are in the public domain.
|
|
|
The rpc.py file is from [this repo](https://github.com/suclearnub/python-discord-rpc) and it's [MIT licenced](https://gitlab.com/CDAGaming/CraftPresence/-/raw/game/world-of-warcraft/addon/script/rpc.py-LICENSE).
|
|
|
The rpc.py file (from v0.3.0 and below) is from [this repo](https://github.com/suclearnub/python-discord-rpc) and it's [MIT licenced](https://gitlab.com/CDAGaming/CraftPresence-Wow-Edition/-/raw/v0.3.0/Script/rpc.py-LICENSE).
|
|
|
|
|
|
This project is an extended form of [WowDim's original DRPC for Wow](https://github.com/wodim/wow-discord-rich-presence) as well as [Attk4's Revisions for Retail Support](https://github.com/Attk4/wow-discord-rich-presence), meant to add more customizability and bring it's support more in line with CraftPresence's Minecraft counterpart. |
|
|
\ No newline at end of file |