Difference between revisions of "Atom Setup"

Jump to navigation Jump to search
93 bytes added ,  23:40, 26 October 2015
m
Formatting and minor wording changes
imported>Gawdl3y
(Added Mod Organizer information)
imported>Gawdl3y
m (Formatting and minor wording changes)
Line 11: Line 11:


== Quick compile ==
== Quick compile ==
Obtain the [https://atom.io/packages/build build] package the same way as above. Then, place the below text in a file called '''.atom-build.json''' (yes, with the leading dot!) in your '''Skyrim\Data\Scripts\Source''' directory. Change the path in the cwd setting if you need to (make sure to use double-backslashes). If you don't have the DLC, just remove them from the -import= argument.
Obtain the [https://atom.io/packages/build build] package the same way as above. Then, place the below text in a file called '''.atom-build.json''' (yes, with the leading dot!) in your <code>Skyrim\Data\Scripts\Source</code> directory. Change the path in the <code>cwd</code> setting if you need to (make sure to use double-backslashes). If you don't have the DLC, just remove them from the <code>-import</code> argument.
<pre>{
<pre>{
"cmd": "Papyrus Compiler\\PapyrusCompiler.exe",
"cmd": "Papyrus Compiler\\PapyrusCompiler.exe",
Line 29: Line 29:


=== Mod Organizer ===
=== Mod Organizer ===
One of the most common problem modders have with Mod Organizer is getting Papyrus compilation working correctly. Setting up Atom to work with Mod Organizer is simple. You do '''not''' need to launch Atom through Mod Organizer. Instead, just place the above '''.atom-build.json''' file in the mod directory that you're working on, e.g. '''Mod Organizer\mods\Ultra Cool Mod\Scripts\Source'''. Some tweaking to the file needs to be done, namely changing the -import and -output parameters. Using the prior mod example, your import and output lines would look similar to this:
One of the most common problem modders have with Mod Organizer is getting Papyrus compilation working correctly. Setting up Atom to work with Mod Organizer is simple. You do '''not''' need to launch Atom through Mod Organizer. Instead, just place the above '''.atom-build.json''' file in the mod's scripts source directory that you're working on, e.g. <code>Mod Organizer\mods\Ultra Cool Mod\Scripts\Source</code>. Some tweaking to the file needs to be done, namely changing the <code>-import</code> and <code>-output</code> arguments. Using the prior mod example, your import and output lines would look similar to this:
<pre>"-import=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts\\Source;Data\\Scripts\\Source;Data\\Scripts\\Source\\Dawnguard;Data\\Scripts\\Source\\Dragonborn;Data\\Scripts\\Source\\Hearthfire",
<pre>"-import=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts\\Source;Data\\Scripts\\Source;Data\\Scripts\\Source\\Dawnguard;Data\\Scripts\\Source\\Dragonborn;Data\\Scripts\\Source\\Hearthfire",
"-output=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts",</pre>
"-output=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts",</pre>
If your scripts depend on another mod, just add its script source directory to the -import parameter as well, after your mod's directory, but before the Skyrim and DLC directories. Example:
If your scripts depend on another mod, just add its script source directory to the <code>-import</code> argument as well, after your mod's directory, but before the Skyrim and DLC directories. Example:
<pre>"-import=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts\\Source;C:\\Program Files (x86)\\Mod Organizer\\mods\\Some Other Mod\\Scripts\\Source;Data\\Scripts\\Source;Data\\Scripts\\Source\\Dawnguard;Data\\Scripts\\Source\\Dragonborn;Data\\Scripts\\Source\\Hearthfire",</pre>
<pre>"-import=C:\\Program Files (x86)\\Mod Organizer\\mods\\Ultra Cool Mod\\Scripts\\Source;C:\\Program Files (x86)\\Mod Organizer\\mods\\Some Other Mod\\Scripts\\Source;Data\\Scripts\\Source;Data\\Scripts\\Source\\Dawnguard;Data\\Scripts\\Source\\Dragonborn;Data\\Scripts\\Source\\Hearthfire",</pre>


Anonymous user

Navigation menu