Skip to content

external_tools

cyberrumor edited this page Mar 14, 2024 · 15 revisions

From ammo, type in tools to enter the tools organizer. This works much the same as the mod organizer, but it won't install tools into your game folder. Order doesn't matter so there's no sorting or activating / deactivating. This simply gives you a reproducible place to store your tools so you can more easily make launch scripts and don't have to extract tools yourself.

Here's some examples of launch scripts for tools. I personally store mine in /usr/local/bin but anywhere in your PATH will do. The examples are given for Skyrim Special Edition installed via a normal Steam instance, but you can adapt these to fit any tool/game.

Most importantly, tools that allow you to specify an output folder should conventionally output to $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite so you don't have to manually copy output back into ammo.

SSEEdit

  • Install SSEEdit with ammo then rename the tool to sseedit.

sseedit

  • Create /usr/local/bin/sseedit with the following contents:
#!/bin/bash

# Create a mod folder called "overwrite"
mkdir -p $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite

# Launch sseedit set to output to the "overwrite" mod
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/sseedit/SSEEdit.exe -sse -o:$HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite -I:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My\ Games/Skyrim\ Special\ Edition/Skyrim.ini

# If the "overwrite" mod is an empty folder, delete it.
rmdir --ignore-fail-on-non-empty ~/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite
  • Make it executable with sudo chmod +x /usr/local/bin/sseedit.
  • Launch sseedit from a bash shell.

quickautoclean

  • Create a file /usr/local/bin/quickautoclean with the following contents:
#!/bin/bash

# Create a mod folder called "overwrite"
mkdir -p $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite

# Launch sseedit set to output to the "overwrite" mod
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/sseedit/SSEEditQuickAutoClean.exe -sse -o:$HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite -I:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My\ Games/Skyrim\ Special\ Edition/Skyrim.ini

# If the "overwrite" mod is an empty folder, delete it.
rmdir --ignore-fail-on-non-empty ~/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite
  • Make it executable with sudo chmod +x /usr/local/bin/quickautoclean.
  • Launch quickautoclean from a bash shell.

SSELODGen

  • Install SSELODGen with ammo then rename the tool to sselodgen. Then create /usr/local/bin/sselodgen with the following contents:
#!/bin/bash

# Create a mod folder called "overwrite"
mkdir -p $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite

# Launch sselodgen set to output to the "overwrite" mod
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/sselodgen/SSELODGen.exe -sse -o:$HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite -I:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My\ Games/Skyrim\ Special\ Edition/Skyrim.ini

# If the "overwrite" mod is an empty folder, delete it.
rmdir --ignore-fail-on-non-empty ~/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite
  • Make it executable with sudo chmod +x /usr/local/bin/sselodgen.
  • Launch sselodgen from a bash shell.

Nifskope

  • Install Nifskope with ammo then rename the tool to nifskope.
  • Create a file /usr/local/bin/nifskope with the following contents:
#!/bin/bash

WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/nifskope/NifSkope.exe
  • Make it executable with sudo chmod +x /usr/local/bin/nifskope.
  • Launch nifskope from a bash shell.

DynDOLOD

  • Install DynDOLOD with ammo then rename the tool to dyndolod.

dyndolod

  • Create a file /usr/local/bin/dyndolod with the following contents:
#!/bin/bash

# Create a mod folder called "overwrite"
mkdir -p $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite

# Launch dyndolod set to output to the "overwrite" mod
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/dyndolod/DynDOLODx64.exe -SSE -o:$HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite -I:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My\ Games/Skyrim\ Special\ Edition/Skyrim.ini -d:$HOME/.steam/steam/steamapps/common/Skyrim\ Special\ Edition/Data

# If the "overwrite" mod is an empty folder, delete it.
rmdir --ignore-fail-on-non-empty ~/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite
  • Make it executable with sudo chmod +x /usr/local/bin/dyndolod.
  • Launch dyndolod from a bash shell.

texgen

  • Create a file /usr/local/bin/texgen with the following contents:
#!/bin/bash

# Create a mod folder called "overwrite"
mkdir -p $HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite

# Launch texgen set to output to the "overwrite" mod
WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/489830/pfx wine $HOME/.local/share/ammo/Skyrim\ Special\ Edition/tools/dyndolod/TexGenx64.exe -SSE -o:$HOME/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite -I:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/Documents/My\ Games/Skyrim\ Special\ Edition/Skyrim.ini

# If the "overwrite" mod is an empty folder, delete it.
rmdir --ignore-fail-on-non-empty ~/.local/share/ammo/Skyrim\ Special\ Edition/mods/overwrite
  • Make it executable with sudo chmod +x /usr/local/bin/texgen.
  • Launch texgen from a bash shell.
Clone this wiki locally