jukibom / audica-mod-starter-template

A no-config starter project for creating audica mods. See the README to get started.
2 stars 1 forks source link

audica-mod-starter-template

This template bundles melon-mod and a simple dll-building C# solution + csproj.

Getting Started

Automated setup (recommended!)

Use get-started.ps1 (right click => Run With PowerShell) to configure the name / author / version of the mod, copy needed melon loader dll references and add a post-build step to automatically copy the last built debug or release dll to the Audica mods directory.

NOTE: I have not tested the audica directory auto-location for non-steam versions of Audica but it should work! If not, the script should prompt for manual input but please let me know if there are any problems.

Manual setup

Skip this if the script above completed successfully.

What now?

Open the main AudicaModding.sln and browse to Main.cs. You'll see it's setup to log out when you press T on the keyboard. Run a build and you should see a new dll file matching the name provided in the get-started script appear in both the local bin/[Release | Debug]/ and Audica/Mods folder.

With MelonMod installed, add --melonloader.console to audica's launch options in steam or however you're loading Audica.exe and a debug console should spawn along with Audica. If everything's working, pressing T should log out a message!

Next Steps

Get involved in the Audica Modding Discord, we're lovely and we can point you in the right direction! https://discord.gg/cakQUt5 For MelonMod specific discussion, advice and updates join the MelonMod discord at https://discord.gg/M6VDhjv

Updating MelonLoader

If a new version of MelonLoader or Audica is released, re-run melon loader in the audica root to regenerate references and mod loader. Then just run copy-references.ps1 in the root with the absolute or relative path to the audica folder and your mod folder (probably AudicaMod).

Other

Pull requests welcome! Or come bug me on the audica modding discord and I'll help where I can.