-
Notifications
You must be signed in to change notification settings - Fork 6
external_tools
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.
- Install protontricks via
pipx install protontricks
. Using it instead of wine ensures your tools run in the same environment as the game.
- Install SSEEdit with ammo then rename the tool to
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
protontricks-launch --appid 489830 $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 -p:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/Skyrim\ Special\ Edition/Plugins.txt
# 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.
- 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
protontricks-launch --appid 489830 $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 -p:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/Skyrim\ Special\ Edition/Plugins.txt
# 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.
- 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
protontricks-launch --appid 489830 $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 -p:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/Skyrim\ Special\ Edition/Plugins.txt
# 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. - If you get errors about not being able to create a file, manually
mkdir
the path leading up to that file within your game's wine prefix.
- Install Nifskope with ammo then rename the tool to
nifskope
. - Create a file
/usr/local/bin/nifskope
with the following contents:
#!/bin/bash
protontricks-launch --appid 489830 $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.
- Install DynDOLOD with ammo then rename the tool to
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
protontricks-launch --appid 489830 $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 -m:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/My\ Documents/My\ Games/Skyrim\ Special\ Edition -p:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/Skyrim\ Special\ Edition/Plugins.txt
# 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. - DynDOLOD requires proton version 9 or greater or it will error when trying to call texgen.exe.
- DynDOLOD crashes unless you use dxt5 compression when you run 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
protontricks-launch --appid 489830 $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 -p:$HOME/.steam/steam/steamapps/compatdata/489830/pfx/drive_c/users/steamuser/AppData/Local/Skyrim\ Special\ Edition/Plugins.txt
# 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. - When you run TexGen, make sure you select DXT5 as the compression algorithm or DynDOLOD will crash with "A call to an OS function failed"
- See https://stepmodifications.org/forum/topic/19354-linuxproton-a-call-to-an-os-function-failed/#comment-277538