Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Here es the link to the skeleton repo, including the complete VS Solution:
https://github.com/stuck1a/UnityModTemplate
I've further modified the postbuild event script to make it a bit more universal and it will also generate the zip files on the fly.
To use this template just open the .sln file in Visual Studio, rename the project + assembly in the project options and adjust the path to your steam directory in the postbuild event script, that's it :-)
Theres a small typo in your script which caused the copy commands to fail. This one worked for me (I also replaced the project name with a marco, so it can be reused for other mods without adjusting):
copy /Y "$(TargetDir)Info.json" "E:\Programme\Steam\steamapps\common\Stranded Deep\Mods\$(ProjectName)\."
copy /Y "$(TargetDir)$(ProjectName).dll" "E:\Programme\Steam\steamapps\common\Stranded Deep\Mods\$(ProjectName)\."
The used target .NET-Framework must be 4.6.2 (higher SHOULD also work)
When I've referenced the UnityModManager.dll Assembly from the location, where I installed UMM, the build failed. Even if it should be the same assembly, I had to use the one which UMM copied into my Standed Deep Directory under "<SD INSTALL PATH>\Stranded Deep\Stranded_Deep_Data\Managed\UnityModManager\UnityModManager.dll" for some reason.