Difference between revisions of "Version Control"

858 bytes added ,  23:09, 14 November 2016
no edit summary
imported>HaploTR
imported>HaploTR
Line 113: Line 113:
As mentioned at the top of the page, this document will not explain how to use external revision control software such as Perforce or Git, but now we will discuss the workflow for multiple team members contributing to the same project while using such software.
As mentioned at the top of the page, this document will not explain how to use external revision control software such as Perforce or Git, but now we will discuss the workflow for multiple team members contributing to the same project while using such software.


Now that your .esm is created, you'll want to upload it to your depot/repository (whichever terminology applies to your software - we'll say "repository" going forward).
Think of the .esm as the one true source for what your mod is. When you want to make changes to it, you make those changes through the .esp file. The .esp file is essentially a changelist for your local edits.
 
Let's say a room already exists in your .esm master file
* When you modify a single wall in that room and save, only the modifications for that wall get saved to the .esp -- the rest of the room is not in the .esp, because it remains unchanged in the .esm file.
* When you merge the .esp into the .esm, the Creation links the IDs of those changed assets, to the assets in the .esm that share the same IDs.
* When you add things to the .esp that don't exist in the .esm, the Creation Kit knows those are new because no assets in the .esm share the same ID. So in the merge, those new asset references are added to the .esm.
* After you merge your changes into the .esm, the .esp is emptied out - there are no more changes left in your .esp, because they are now an integrated part of your .esm as the one true source.


There are a few things to remember with multiple team members working on the same master file.
There are a few things to remember with multiple team members working on the same master file.
Anonymous user