Modding:Setting up your Development Environment: Difference between revisions

From Vintage Story Wiki
Line 94: Line 94:
Both dll and zip mods have their advantages and disadvantages, so why not combine them together? This project setup is equal to zip, but you can pack your zip in a different way. Instead of adding the source code to the zip file, it uses the compiled dll. This allows you to have all the dll benefits while still having the zip mod asset structure.
Both dll and zip mods have their advantages and disadvantages, so why not combine them together? This project setup is equal to zip, but you can pack your zip in a different way. Instead of adding the source code to the zip file, it uses the compiled dll. This allows you to have all the dll benefits while still having the zip mod asset structure.


== Pack ==
== Pack Mod ==
''Syntax: <code>packd-dll <modid></code>''
''Syntax: <code>pack-dll <modid></code>''


Creates a mod zip file and places it in <code>/releases/<modid>/<modid>_v<modversion>_dll.zip</code>. This file is ready for use and can be shared with other people.
Creates a mod zip file and places it in <code>/releases/<modid>/<modid>_v<modversion>_dll.zip</code>. This file is ready for use and can be shared with other people.
Confirmedusers, editor, Administrators
886

edits