Jump to content

Write permission error with one particular Fallout 3 mod


jwideman

Recommended Posts

I'm using the current stable Vortex and ran into trouble installing this mod: https://www.nexusmods.com/fallout3/mods/16654

I've tried both the mod manager download and the manual file. I don't know why it's wanting write permission or why it's not getting it - it's the only mod that won't install. I suspect it's the fomod, but I'm not sure what it's trying to do that's different from every single other fomod that all install perfectly fine.

For your convenience, here's the script:

using System; 
using System.IO; 
using fomm.Scripting; 

class Script : BaseScript {
	
	public static bool OnActivate() {
		DoInstallation();
		return true;
	}
	
	public static void DoInstallation() {
		// First, we check which MODs are installed.
		bool bFoundFOOK2 = DataFileExists("FOOK2 - Main.ESM");
		bool bFoundFWE = DataFileExists("FO3 Wanderers Edition - Main File.esm");
		bool bFoundMMM = DataFileExists("Mart's Mutant Mod.esm");
		
		// Next, we do the installation. If the filename (or it's path) contains
		// a certain KEYWORD that corresponds to a DLC or MOD which isn't installed,
		// it is ignored. Otherwise it is installed.
        foreach( string file in GetFomodFileList() ) {
			if( file.Contains("FOOK2") && bFoundFOOK2 == false
			|| file.Contains("FWE") && bFoundFWE == false
			|| file.Contains("MMM") && bFoundMMM == false ) {
				// do nothing
			} else {
				// do install
				InstallFileFromFomod(file);
				if( file.EndsWith(".esp") || file.EndsWith(".esm") ) {
					bool bActivate = file.Contains("-") ? false : true;
					SetPluginActivation(file, bActivate);
				}
        	}
       }
	}
}

Link to comment
Share on other sites

The problem appears to be with the way the mod itself is packaged. Before I installed it, I had to repackage the mod. Once I did that, Vortex installed the mod. Here's what I did:

  1. Manually downloaded the mod archive. (If you've already downloaded the archive with the "Mod Manager Download" button, you'll find it in your Fallout 3 download folder.)
  2. Unzipped the archive. Within the folder "K9 Breeds v1.1-16654-1-1" is a sub-folder "K9 Breeds v1.1."
  3. Using cut and paste, moved the contents of sub-folder "K9 Breeds v1.1" up one level into folder "K9 Breeds v1.1-16654-1-1."
  4. Deleted the now empty sub-folder "K9 Breeds v1.1," leaving only the upper level folder "K9 Breeds v1.1-16654-1-1" and its contents.
  5. Selected the contents of the latter folder using 7Zip and zipped them up into an archive labelled "K9 Breeds v1.1-16654-1-1."
  6. Dropped the archive into the Drop File(s) box on the Fallout 3 mods page.
  7. Installed the mod.

Some of those dogs are so cute!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...