Changes between Version 39 and Version 40 of Modding_Guide


Ignore:
Timestamp:
May 18, 2023, 6:16:24 PM (12 months ago)
Author:
Stan
Comment:

Fix command. modmod and public contains textures.xml needed to save the archive.

Legend:

Unmodified
Added
Removed
Modified
  • Modding_Guide

    v39 v40  
    5757{{{
    5858#!sh
    59 pyrogenesis.exe -mod=public -mod=mymod -mod=anothermod ...
     59pyrogenesis.exe -mod=mod -mod=public -mod=mymod -mod=anothermod ...
    6060}}}
    6161This will load the `public` mod first, then add all files from `mymod`, then adding all files from `anothermod` (replacing all already present files) and so on.
     
    134134{{{
    135135#!sh
    136 binaries/system/pyrogenesis -mod=mod -archivebuild=binaries/data/mods/mymod -archivebuild-output=mymod.pyromod -archivebuild-compress
     136binaries/system/pyrogenesis-mod=mod -mod=public -mod=mymod -archivebuild=binaries/data/mods/mymod -archivebuild-output=mymod.pyromod -archivebuild-compress
    137137}}}
    138138On windows you'll have to be careful with dots and '/' the command will be more like:
     
    140140{{{
    141141#!sh
    142 binaries\system\pyrogenesis.exe -mod=mymod -archivebuild="binaries\data\mods\mymod" -archivebuild-output="mymod.pyromod" -archivebuild-compress
     142binaries\system\pyrogenesis.exe -mod=mod -mod=public -mod=mymod -archivebuild="binaries\data\mods\mymod" -archivebuild-output="mymod.pyromod" -archivebuild-compress
    143143}}}
    144144This produces the distributable mymod.pyromod in your working directory. If users now install it as explained [#Howtoinstallmods above], they can run it with the "-mod=mymod" command line argument as explained [#Howaremodsused above].