Difference between revisions of "Arcane University:Nif implementation"

The Beyond Skyrim Wiki — Hosted by UESP
Jump to: navigation, search
(move implementation stuff from 3D page)
(reorganize software section)
Line 27: Line 27:
 
*[[AU:Mesh Export to NIF|Mesh Export to NIF]]
 
*[[AU:Mesh Export to NIF|Mesh Export to NIF]]
  
==Asset Implementation Software==
+
== Software ==
When you've finished your textures and low poly mesh, they must be converted into Skyrim friendly formats, and implemented into Skyrim. In some of the Partner Projects your work as a 3D artist finishes here, and an asset implementer takes over. However, in most projects you are encouraged to implement your own asset. This is also what we recommend in the Arcane University, as it allows you to see and fix errors in your mesh and textures that's not visible until you see it in game.  
+
There are various tools used for implementing nifs.
  
Asset implementation is a big topic, and more complicated assets require a thorough knowledge of NifSkope and Creation Kit. However, something as simple as a bowl can easily be done!
+
=== General ===
 +
*[[AU:NifSkope|NifSkope]]: NifSkope is the most important program for nif implementation. It is a program that allows you to open NIF files, view and alter NIFs properties and contents, and export NIF files into other file formats readable by other programs such as Blender. Nifskope is where you attach your textures to the NIF and specify shader settings for it to appear correctly in game. Nifskope also allows you to browse the Skyrim meshes BSA (archive) without using a BSA unpacker.
 +
*[https://www.nexusmods.com/newvegas/mods/67829 Sniff]]: A batch operations tool for nif files. It includes many functions which you can read about on its Nexus page.
  
All programs and plugins from here on out are free.  
+
=== Texture Conversion ===
 +
Skyrim uses the [[Arcane_University:DDS_Data_Format|DDS]] file format for all textures. Here is some software which may be used to convert from the source files:
 +
*[[AU:Paint.NET|Paint.NET]]: Easy to use since it provides a nice GUI, and supports DX10 formats. Not the most extensive editing tools however.
 +
*[https://github.com/Microsoft/DirectXTex/wiki/Texconv Texconv]: This is actually what most software uses under the hood. It is developed by Microsoft and is extremely flexible for command line use, but has no GUI.
 +
*[https://www.nexusmods.com/skyrimspecialedition/mods/23316 Cathedral Assets Optimizer]: converts only TGA to DDS. Allows batch conversion.
 +
*[https://developer.nvidia.com/nvidia-texture-tools-exporter Nvidia Texture Tools Exporter]: can be downloaded as standalone program, or as Photoshop plugin. Standalone program allows batch conversion.
 +
*[[AU:GIMP|GIMP]]: Good for editing and creating combined textures like normal/gloss. Does not support DX10 formats, so is not recommended for conversion to DDS.
 +
*[https://github.com/Unity-Technologies/crunch/tree/unity Crunch] is good for extra compression, but does not support DX10 formats.
 +
*[https://gpuopen.com/compressonator/ Compressonator] requires an AMD graphics card, but outputs good quality and has a nice GUI. Also supports command-line use. It does not provide a method of scaling.
  
===Convert Texture Maps to DDS===
+
=== Mesh Conversion ===
Skyrim uses the [[Arcane_University:DDS_Data_Format|DDS]] file format for all their texture maps. Export your textures in PNG or TGA, prepare your diffuse and other maps, then convert the images to DDS.
 
 
 
*[https://www.getpaint.net Paint.Net] ''(also read [[Arcane_University:Paint.Net_for_Skyrim|Paint.net for Skyrim]])''
 
*[https://www.nexusmods.com/skyrimspecialedition/mods/23316 Cathedral Assets Optimizer] converts only TGA to DDS. Allows batch conversion.
 
*[https://developer.nvidia.com/nvidia-texture-tools-exporter Nvidia Texture Tools Exporter] can be downloaded as standalone program, or as Photoshop plugin. Standalone program allows batch conversion.
 
*[https://www.gimp.org GIMP] primarily an image manipulation program. Plugin not required (v 2.10.24). Does not support [[Arcane_University:DDS_Data_Format#There_are_tons_of_DXT_codecs.21_Which_should_I_use.3F|DXT10/BC7]] export. Results can be inferior to other DDS export methods.
 
*[https://github.com/Unity-Technologies/crunch/tree/unity Crunch] is designed for more advanced compression, and is a command-line tool, but it also outputs excellent quality DDS when configured properly.
 
*[https://gpuopen.com/compressonator/ Compressonator] requires an AMD graphics card, but outputs good quality and has a nice GUI. Also supports command-line use.
 
 
 
For information regarding the various export settings, and '''how to convert your texture to DDS''', read the [[Arcane_University:DDS_Data_Format|DDS]] page.
 
 
 
===Convert Mesh to NIF===
 
 
{{note|float=right|max-width=35%|Special Edition uses a different nif format from Skyrim/Legendary Edition. However, nearly all Skyrim/LE nifs will work in SSE, and are easier to work with. SSE nifs are also less precise. For this reason, most projects use LE nifs. If you do need to convert either way, you can use [https://www.nexusmods.com/skyrimspecialedition/mods/23316 Cathedral Assets Optimizer] or [https://www.nexusmods.com/skyrimspecialedition/mods/4089 SSE Nif Optimizer].}}
 
{{note|float=right|max-width=35%|Special Edition uses a different nif format from Skyrim/Legendary Edition. However, nearly all Skyrim/LE nifs will work in SSE, and are easier to work with. SSE nifs are also less precise. For this reason, most projects use LE nifs. If you do need to convert either way, you can use [https://www.nexusmods.com/skyrimspecialedition/mods/23316 Cathedral Assets Optimizer] or [https://www.nexusmods.com/skyrimspecialedition/mods/4089 SSE Nif Optimizer].}}
 
 
There are a variety of methods to convert your mesh, including both software-specific plugins, and standalone converters that are software-agnostic:
 
There are a variety of methods to convert your mesh, including both software-specific plugins, and standalone converters that are software-agnostic:
  
 
*Sofware agnostic:
 
*Sofware agnostic:
**[[Arcane_University:CK-CMD_for_Skyrim|CK-CMD]] - can convert both ways between .fbx and nif. Also can handle havok behaviors.
+
**[[AU:ck-cmd|ck-cmd]] - can convert both ways between .fbx and nif, including collision. Also can handle havok behaviors.
**[[AU:Outfit Studio for Skyrim|Outfit Studio]] - can import .obj or .fbx, and export LE or SSE nifs. Also used skin armor, creatures, or npcs.
+
**[[AU:Outfit Studio|Outfit Studio]] - can import .obj or .fbx, and export LE or SSE nifs. Also used for skinning armor, creatures, or npcs.
*Blender:
+
*[[AU:Blender|Blender]]:
**[https://github.com/niftools/blender_niftools_addon Blender Niftools] - For Blender 2.8+, Export/Import tool between Blender and the Nif format.  
+
**[[AU:Blender Niftools Addon|Blender Niftools Addon]] - For Blender 2.8+, Export/Import tool between Blender and the Nif format.  
**[https://github.com/BadDogSkyrim/PyNifly PyNifly] - Export/Import tool between Blender and the Nif format. Supports SSE Meshes
+
**[[AU:PyNifly|PyNifly]] - Export/Import tool between Blender and the Nif format. Supports SSE Meshes
*3ds Max:
+
*[[AU:3ds Max|3ds Max]]:
 
**[https://github.com/figment/max_nif_plugin/releases/tag/3.8.0 3DS Max Niftools Addon] - Niftools Addon for 3DS Max. Might not work with versions after 2016
 
**[https://github.com/figment/max_nif_plugin/releases/tag/3.8.0 3DS Max Niftools Addon] - Niftools Addon for 3DS Max. Might not work with versions after 2016
 
**[https://www.nexusmods.com/skyrim/mods/84041 Apenov 3DS Max Plugin] - Another Plugin for 3DS Max, works with versions up to 2018. Supports some SSE Meshes
 
**[https://www.nexusmods.com/skyrim/mods/84041 Apenov 3DS Max Plugin] - Another Plugin for 3DS Max, works with versions up to 2018. Supports some SSE Meshes
  
===Add Collision to NIF===
+
=== Collision ===
Your mesh needs a collision to become solid in the engine. Read the [[Arcane_University:Mesh_Collisions|collision wiki page]] for details on what program to use.
+
Most mesh conversion software handles collision now. There are a couple older programs which can be used to manipulate collision only, which are noted here:
 
+
*[[AU:ChunkMerge]]: Can transfer collision from one nif to another, or convert TriShapes to compressed mesh shape collision
*[[Arcane_University:CK-CMD_for_Skyrim|CK-CMD]]
+
*[https://wiki.beyondskyrim.org/wiki/File:Chunkmerge_Utils.zip Chunkmerge Utils]: templates for use with ChunkMerge
*[https://www.afkmods.com/index.php?/files/file/2398-nifutilssuite/ NifUtilsSuite] (includes ChunkMerge) - Can transfer collision from one nif to another, or convert TriShapes to compressed mesh collision
 
*[https://wiki.beyondskyrim.org/wiki/File:Chunkmerge_Utils.zip Chunkmerge Utils] - templates for use with ChunkMerge
 
 
 
===NifSkope===
 
[https://github.com/niftools/nifskope/releases NifSkope] is a program that allows you to open NIF files, view and alter NIF's properties and contents, and export NIF files into other file formats readable by other programs such as Blender. Nifskope is where you attach your textures to the NIF and specify shader settings for it to appear correctly in game. Nifskope also allows you to browse the Skyrim meshes BSA (archive) without using a BSA unpacker.
 
  
<center>{{note|Nifskope is essential for all asset implementation.}}</center>
+
=== Skyrim and Creation Kit ===
 
 
===Skyrim and Creation Kit===
 
 
To view your asset in game you'll need the game. You can use Skyrim Legendary Edition, or Skyrim Special Edition.
 
To view your asset in game you'll need the game. You can use Skyrim Legendary Edition, or Skyrim Special Edition.
 
+
* Creation Kit for the version of Skyrim you are modding for:
Depending on which Skyrim you own, you must download the Creation Kit that goes with your version: Creation Kit Legendary Edition, or Creation Kit Special Edition. See [https://www.creationkit.com/index.php?title=Category:Getting_Started Creationkit.com] for more information.
+
** TES V: Skyrim Creation Kit: cannot be linked to, but can still be downloaded via Steam app
 
+
** [https://store.steampowered.com/app/1946180/Skyrim_Special_Edition_Creation_Kit/ Skyrim Special Edition Creation Kit] and [[AU:CKPE|Creation Kit Platform Extended]]
And finally, if you use Skyrim Special Edition, you'll want to download Creation Kit Fixes to stabilize the program, reduce loadtimes and CTDs. [https://www.nexusmods.com/skyrimspecialedition/mods/20061 SSE Creation Kit Fixes]
 
 
 
== Import/Export tools ==
 
*[[AU:3DS MAX Import|3DS MAX Import]] plugin
 
*[[AU:Blender Niftools Addon|Blender Niftools Addon]]
 
*[[AU:ck-cmd|ck-cmd]]
 
*[[AU:Outfit Studio|Outfit Studio]]
 
*[[AU:PyNifly|PyNifly]]
 
  
 
[[Category:Arcane University-Implementation]]
 
[[Category:Arcane University-Implementation]]

Revision as of 16:01, 1 December 2025

< Arcane University:Implementation
Implementation
Departments
Quests
Nifs
Mechanics

In Beyond Skyrim projects, 3D artists are expected to be able to export their own meshes to nifs, and textures to DDS, if they are simple enough. However, for more complex objects, like animated objects, or those with particle effects, it may fall on an implementer to bring this into Skyrim. Other partner projects of the AU may have the entire responsibility of bringing a mesh from fbx to in-game fall to the implementation team. Therefore, the first thing you should know is how to export to nif from a 3D program or from a predefined format like fbx. For the basic process of asset implementation, see Intro to Asset Implementation.

Reference pages

Tutorials

Weapons

Animated objects

Constraints

Importing/exporting

Software

There are various tools used for implementing nifs.

General

  • NifSkope: NifSkope is the most important program for nif implementation. It is a program that allows you to open NIF files, view and alter NIFs properties and contents, and export NIF files into other file formats readable by other programs such as Blender. Nifskope is where you attach your textures to the NIF and specify shader settings for it to appear correctly in game. Nifskope also allows you to browse the Skyrim meshes BSA (archive) without using a BSA unpacker.
  • Sniff]: A batch operations tool for nif files. It includes many functions which you can read about on its Nexus page.

Texture Conversion

Skyrim uses the DDS file format for all textures. Here is some software which may be used to convert from the source files:

  • Paint.NET: Easy to use since it provides a nice GUI, and supports DX10 formats. Not the most extensive editing tools however.
  • Texconv: This is actually what most software uses under the hood. It is developed by Microsoft and is extremely flexible for command line use, but has no GUI.
  • Cathedral Assets Optimizer: converts only TGA to DDS. Allows batch conversion.
  • Nvidia Texture Tools Exporter: can be downloaded as standalone program, or as Photoshop plugin. Standalone program allows batch conversion.
  • GIMP: Good for editing and creating combined textures like normal/gloss. Does not support DX10 formats, so is not recommended for conversion to DDS.
  • Crunch is good for extra compression, but does not support DX10 formats.
  • Compressonator requires an AMD graphics card, but outputs good quality and has a nice GUI. Also supports command-line use. It does not provide a method of scaling.

Mesh Conversion

Ambox important.png NOTE: Special Edition uses a different nif format from Skyrim/Legendary Edition. However, nearly all Skyrim/LE nifs will work in SSE, and are easier to work with. SSE nifs are also less precise. For this reason, most projects use LE nifs. If you do need to convert either way, you can use Cathedral Assets Optimizer or SSE Nif Optimizer.

There are a variety of methods to convert your mesh, including both software-specific plugins, and standalone converters that are software-agnostic:

  • Sofware agnostic:
    • ck-cmd - can convert both ways between .fbx and nif, including collision. Also can handle havok behaviors.
    • Outfit Studio - can import .obj or .fbx, and export LE or SSE nifs. Also used for skinning armor, creatures, or npcs.
  • Blender:
    • Blender Niftools Addon - For Blender 2.8+, Export/Import tool between Blender and the Nif format.
    • PyNifly - Export/Import tool between Blender and the Nif format. Supports SSE Meshes
  • 3ds Max:

Collision

Most mesh conversion software handles collision now. There are a couple older programs which can be used to manipulate collision only, which are noted here:

  • AU:ChunkMerge: Can transfer collision from one nif to another, or convert TriShapes to compressed mesh shape collision
  • Chunkmerge Utils: templates for use with ChunkMerge

Skyrim and Creation Kit

To view your asset in game you'll need the game. You can use Skyrim Legendary Edition, or Skyrim Special Edition.