Difference between revisions of "Data File"
Updated Light Master file entry with more detailed information.
imported>Qazaaq m (Changed to internal link) |
imported>ShadeMe (Updated Light Master file entry with more detailed information.) |
||
Line 22: | Line 22: | ||
'''Light Master:''' <code>.esl</code> | '''Light Master:''' <code>.esl</code> | ||
*Light | *Light Master (.esl) files are a new optimized file format, introduced in the 1.10 Update. They behave like a normal plugin, except for the following: | ||
**.esl files | **.esl files cannot be edited in the Creation Kit. Active development should be done in an normal .esp file. | ||
**.esl files bypass the 8-bit plugin ID limit (255). | **.esl files bypass the 8-bit plugin ID limit (255), by using more of the Form ID for their load order. | ||
**.esl files have a budget of no more than | **.esl files have a budget of no more than 2,048 forms, with Form IDs <code>0x800</code> to <code>0xFFF</code> available for use. | ||
**.esl files are | ***A maximum of 4096 .esl files can be loaded by the engine at once, but more Form IDs in an .esl file means that less .esl files can be loaded. | ||
*To convert a normal plugin (.esp) to a light (.esl) | ***Using .esl files that each have 2048 Form IDs, the limit drops to about 300 loaded .esl files. | ||
*It is good practice to run Compact Active File Form IDs to optimize your | **.esl files are merged into plugin slot <code>0xFE</code> at runtime. Their runtime Form ID is <code>0xFE[000](Hex Load Order)[000](Original Form ID)</code>. | ||
** | ***Form <code>0xFA0</code> from the 10th loaded .esl file would be <code>0xFE00AFA0</code> at runtime. From the 200th .esl file, it would be <code>0xFE0C8FA0</code>. | ||
*To convert a normal plugin (.esp) to a light (.esl) master, load your .esp file, and under File, select Convert Active File to Light Master. | |||
*It is good practice to run Compact Active File Form IDs to optimize your Form IDs within the 2,048 form budget before converting. | |||
**Compacting Form IDs does also change Form IDs in the .esp file, so be sure do this before converting to .esl, and be sure to save the .esp file afterwards. | |||
**Do not compact Form IDs on an .esp file you have already released and are updating. Because Form IDs change, you essentially create a new plugin when compacting, and this new plugin will not be compatible with saves using the old version. | |||
*Updating .esl files has more restrictions than updating .esp files, but not many. | |||
**Because of the 2,048 Form ID limit, it is important to be careful when deleting forms not to reuse Form IDs. | |||
***A saved weapon form could be deleted in your plugin, then have an armor form take the FormID when compacted. | |||
**Again, be sure to save compacted .esp files, because otherwise compacting again with new forms might give different Form IDs for forms already in a game save. | |||
**As long as development is done on compacted .esp files that match released .esl files, forms can be added under the 2,048 form limit, and existing forms can be edited without issue. | |||
*.esl Files released by Bethesda Game Studios (Creation Club releases) are loaded automatically by the game. | |||
*.esl Files released by Modders must be activated in the game's load order, like normal plugins. They load after .esm files, but before .esp files. | |||
'''Save:''' <code>.fos</code> | '''Save:''' <code>.fos</code> |