Skip to content

Commit

Permalink
Fix no_grass_in_objects extraction
Browse files Browse the repository at this point in the history
The mod "No Grass in Objects" needed to ultimately be installed to
Data/NetScriptFramework/Plugins. Because it contains a DLL (which ammo
has special handling for so you can avoid manually managing these),
during installation, the Plugins folder was being moved out of
NetScriptFramework. This ultimately caused it to install to
Data/Plugins.

Fix this by not elevating contents NetScriptFramework during
installation.

If you previously had no_grass_in_objects installed, you can fix this by
moving the Plugins folder back into NetScriptFramework. For example:
`mv ~/.local/share/ammo/Skyrim/mods/no_grass_in_objects/{Plugins,NetScriptFramework}`

Then launch ammo and run `commit`.
  • Loading branch information
cyberrumor committed Mar 14, 2024
1 parent baf8d70 commit fd82643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ammo/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def normalize(destination: Path, dest_prefix: Path) -> Path:
file = destination.name
local_path = str(path).split(str(dest_prefix))[-1].lower()
for i in [
"NetScriptFramework",
"Data Files",
"Data",
"DynDOLOD",
Expand Down
1 change: 1 addition & 0 deletions ammo/mod_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,7 @@ def has_extra_folder(path) -> bool:
not in [
self.game.data.name.lower(),
"skse",
"netscriptframework",
"bashtags",
"docs",
"meshes",
Expand Down

0 comments on commit fd82643

Please sign in to comment.