Experimental re-imagining of Pixi with less C#
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.2KB

3 years ago
1234567891011121314151617181920212223242526272829303132333435
  1. # HelloModdingWorld
  2. Shell project for Techblox mods.
  3. Use this as a quick-start project structure for your own mods, or to learn how modding works.
  4. ## Setup
  5. This project requires most of Techblox's `.dll` files to function correctly.
  6. Most, but not all, of these files are stored in Techblox's `Techblox_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 HelloModdingWorld can find all of `.dll` files it needs by copying your Techblox folder here and renaming it to `ref`, but you'll have to re-copy it after every Techblox update.
  9. You can also create a symbolic link (look it up) to your Techblox 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. This project also requires the [GamecraftModdingAPI](https://git.exmods.org/modtainers/GamecraftModdingAPI) library to be installed (in `ref/Plugins/GamecraftModdingAPI.dll`).
  13. [Direct link to install guide](https://www.exmods.org/guides/install.html).
  14. If you don't want to use the standard modding API,
  15. you can remove the dependency by removing `<Reference Include="GamecraftModdingAPI"> ... </Reference>` in `HelloModdingWorld.csproj` and removing all mentions in `MyPlugin.cs`.
  16. ## Building
  17. After you've completed the setup, open the solution file `HelloModdingWorld.sln` in your prefered C# .NET/Mono development environment.
  18. I'd recommend Visual Studio Community Edition or JetBrains Rider for Windows and Monodevelop for Linux.
  19. If you've successfully completed setup, you should be able to build the HelloModdingWorld project without errors.
  20. The build configuration should be automatically imported from the project's files.
  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 HelloModdingWorld mod, copy the build's `HelloModdingWorld.dll` into the `Plugins` folder in Techblox's main folder.