From 1d92468e02e713fbe1408e8997490f8133e8622d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86UGH?= <82129788+aeughsendhelp@users.noreply.github.com> Date: Sat, 26 Aug 2023 18:48:36 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 118 ------------------------------------------------------ 1 file changed, 118 deletions(-) diff --git a/README.md b/README.md index 89b938e..106f0f9 100644 --- a/README.md +++ b/README.md @@ -4,126 +4,8 @@ [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] - - - - -
-

Unity Mod Manager Mod Template

-

- A template for creating Derail Valley mods that load via Unity Mod Manager. -
-
- Report Bug - · - Request Feature -

-
- - - - - -
- Table of Contents -
    -
  1. About The Project
  2. -
  3. Building
  4. -
  5. Packaging
  6. -
  7. License
  8. -
-
- - - - - - -## About The Project - -This is a template for Derail Valley mods that load via the Unity Mod Manager mod loader. -TODO: Instructions for how mod creators use this template. - - - - - - -## Building - -Building the project requires some initial setup, after which running `dotnet build` will do a Debug build or running `dotnet build -c Release` will do a Release build. - -### References Setup - -After cloning the repository, some setup is required in order to successfully build the mod DLLs. You will need to create a new [Directory.Build.targets][references-url] file to specify your local reference paths. This file will be located in the main directory, next to MOD_NAME.sln. - -Below is an example of the necessary structure. When creating your targets file, you will need to replace the reference paths with the corresponding folders on your system. Make sure to include semicolons **between** each of the paths and no semicolon after the last path. Also note that any shortcuts you might use in file explorer—such as %ProgramFiles%—won't be expanded in these paths. You have to use full, absolute paths. -```xml - - - - C:\Program Files (x86)\Steam\steamapps\common\Derail Valley\DerailValley_Data\Managed\ - - $(AssemblySearchPaths);$(ReferencePath); - - -``` - -### Line Endings Setup - -It's recommended to use Git's [autocrlf mode][autocrlf-url] on Windows. Activate this by running `git config --global core.autocrlf true`. - - - - - - -## Packaging - -To package a build for distribution, you can run the `package.ps1` PowerShell script in the root of the project. If no parameters are supplied, it will create a .zip file ready for distribution in the dist directory. A post build event is configured to run this automatically after each successful Release build. - -Linux: `pwsh ./package.ps1` -Windows: `powershell -executionpolicy bypass .\package.ps1` - - -### Parameters - -Some parameters are available for the packaging script. - -#### -NoArchive - -Leave the package contents uncompressed in the output directory. - -#### -OutputDirectory - -Specify a different output directory. -For instance, this can be used in conjunction with `-NoArchive` to copy the mod files into your Derail Valley installation directory. - - - - - ## License Source code is distributed under the MIT license. See [LICENSE][license-url] for more information. - - - - - - - -[contributors-shield]: https://img.shields.io/github/contributors/derail-valley-modding/template-umm.svg?style=for-the-badge -[contributors-url]: https://github.com/derail-valley-modding/template-umm/graphs/contributors -[forks-shield]: https://img.shields.io/github/forks/derail-valley-modding/template-umm.svg?style=for-the-badge -[forks-url]: https://github.com/derail-valley-modding/template-umm/network/members -[stars-shield]: https://img.shields.io/github/stars/derail-valley-modding/template-umm.svg?style=for-the-badge -[stars-url]: https://github.com/derail-valley-modding/template-umm/stargazers -[issues-shield]: https://img.shields.io/github/issues/derail-valley-modding/template-umm.svg?style=for-the-badge -[issues-url]: https://github.com/derail-valley-modding/template-umm/issues -[license-shield]: https://img.shields.io/github/license/derail-valley-modding/template-umm.svg?style=for-the-badge -[license-url]: https://github.com/derail-valley-modding/template-umm/blob/master/LICENSE -[references-url]: https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022 -[autocrlf-url]: https://www.git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_formatting_and_whitespace From 5c910fd9e02ec0f17112a5115487c0b4ced0532b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86UGH?= <82129788+aeughsendhelp@users.noreply.github.com> Date: Sat, 26 Aug 2023 18:49:45 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 106f0f9..456d4f5 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,7 @@ -[![Contributors][contributors-shield]][contributors-url] -[![Forks][forks-shield]][forks-url] -[![Stargazers][stars-shield]][stars-url] -[![Issues][issues-shield]][issues-url] -[![MIT License][license-shield]][license-url] +

Dumb S282 Tweaks

+

This is stupid

- ## License - -Source code is distributed under the MIT license. -See [LICENSE][license-url] for more information. +

+ Source code is distributed under the MIT license. +