This repository has moved! Please check out the latest version at the new location https://git.exmods.org/NGnius/GameSDKcraft
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Você pode visualizar os arquivos e realizar clone, mas não poderá realizar push nem abrir issues e pull requests.

4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
1234567891011121314151617181920212223242526272829303132333435
  1. # GamecraftRPC
  2. Experimental project for Discord Rich Presence in Gamecraft.
  3. This currently only works in native environments (eg this does not work with Wine/Proton) although I'm sure someone can find a way to fix that.
  4. ## Dev environment Setup
  5. This project requires most of Gamecraft's `.dll` files to function correctly.
  6. Most, but not all, of these files are stored in Gamecraft's `Gamecraft_Data\Managed` folder.
  7. The project is pre-configured to look in a folder called ref in the solution's main directory or one level up from that.
  8. You can make sure GamecraftRPC can find all of `.dll` files it needs by copying your Gamecraft folder here and renaming it to `ref`, but you'll have to re-copy it after every Gamecraft update.
  9. You can also create a symbolic link (look it up) to your Gamecraft install folder named `ref` in this folder to avoid having to re-copy files.
  10. For any mod to work, you will have to patch your game with [GCIPA](https://git.exmods.org/modtainers/GCIPA).
  11. [Direct link to install guide](https://git.exmods.org/modtainers/GCIPA/src/branch/master/README.md#how-to-install).
  12. !!Download a release from git.exmods.org not github.com!!
  13. This project also requires the [GamecraftModdingAPI](https://git.exmods.org/modtainers/GamecraftModdingAPI) library to be installed (in `ref/Plugins/GamecraftModdingAPI.dll`).
  14. [Direct link to install guide](https://www.exmods.org/guides/install.html).
  15. For rich presence functionality, files in lib/x86_64 of Discord's [GameSDK](https://discord.com/developers/docs/game-sdk/sdk-starter-guide) must be copied to ref/Gamecraft_Data/Plugins.
  16. The GameSDK csharp folder is already included in the git repo.
  17. ## Building
  18. After you've completed the setup, open the solution file `GamecraftRPC.sln` in your prefered C# .NET/Mono development environment.
  19. I'd recommend Visual Studio Community Edition or JetBrains Rider for Windows and Monodevelop for Linux.
  20. If you've successfully completed setup, you should be able to build the GamecraftRPC project without errors.
  21. If it doesn't work and you can't figure out why, ask for help on [our Discord server](https://discord.gg/xjnFxQV).
  22. ## Installation
  23. To install the GamecraftRPC mod, copy the build's `GamecraftRPC.dll` into the `Plugins` folder in Gamecraft's main folder.