Help:Creating mods: Difference between revisions

Fix some weird things from my last edit.
(Added a proper guide to creating mods with BCML. Updated some of the other notes.)
(Fix some weird things from my last edit.)
 
Line 71: Line 71:
<br>
<br>


There is no limit to how many files you can add to the mod folder, but you should only be placing files strictly necessary to your mod in the BNP to keep file sizes down.
Here's an example mod structure that edits the Bear model, Master Sword effects, and the map section A-2.<br>
 
In this case, we would point BCML to the <code style="background: #E6E4E4; border-radius: 5px;">Mod Folder</code> folder.
To make sure of this, I use a different folder layout than is standard to keep organized.<br>
It adds an extra sub-directory to the mod folder that can store assets only used by the mod creator.
 
Mod Folder/
├── Assets/
│  ├── textures/
│  │  ├── MyModel_Alb.dds
│  │  ├── MyModel_Spm.dds
│  │  └── MyModel_Nrm.dds
│  └── MyModel.blend
└── Build/
    ├── content/
    │  ├── Actor/
    │  │  ├── Pack/
    │  │  │  └── FldObj_MyModel_A_01.sbactorpack
    │  │  └── ActorInfo.product.sbyml
    │  └── Model/
    │      ├── FldObj_MyModel_A.sbfres
    │      └── FldObj_MyModel_A.Tex1.sbfres
    └── aoc/
        └── 0010/
            └── Map/
                └── MainField/
                    └── A-8/
                        └── A-8_Dynamic.smubin
 
When creating a mod in this format, point the BNP Creator to the <code style="background: #E6E4E4; border-radius: 5px;>Build</code> folder.


<br>
<br>


==== Mod Structure ====
===== WiiU/Cemu =====
A general rule when making mods is if it exists in the game dump, it can go in your mod in the relative location.
 
For example, the WiiU game file <code style="background: #E6E4E4; border-radius: 5px;">UpdateDump/content/Model/Animal_Bear.sbfres</code> would go in <code style="background: #E6E4E4; border-radius: 5px;>ModFolder/content/Model/Animal_Bear.sbfres</code>; when this mod is loaded, Animal_Bear.sbfres will be overwritten by the file in your mod.
 
UpdateDump and ModFolder are both relative to your PC.
 
<br>
 
===== WiiU/Cemu Folder Structure =====
  Mod Folder/
  Mod Folder/
  ├── content/
  ├── content/
Line 129: Line 93:
<br>
<br>


===== Switch/Yuzu Folder Structure =====
===== Switch/Yuzu =====
  Mod Folder/
  Mod Folder/
  ├── 01007EF00011E000/
  ├── 01007EF00011E000/
Line 144: Line 108:
  │                  └── A-2_Dynamic.smubin
  │                  └── A-2_Dynamic.smubin
  └── info.json
  └── info.json
If you're unsure where a file should go in your mod folder, look at where it is in the game files, use the reletive path to find out where it should go in your mod.
For example, the WiiU game file <code style="background: #E6E4E4; border-radius: 5px;">UpdateDump/content/Model/Animal_Bear.sbfres</code> would go in <code style="background: #E6E4E4; border-radius: 5px;>ModFolder/content/Model/Animal_Bear.sbfres</code>; when this mod is loaded, Animal_Bear.sbfres will be overwritten by the file in your mod.


<br>
<br>