Jump to content

Daggerfall unity support


Excoriated
Go to solution Solved by ChemBoy1,

Recommended Posts

Hi,
hope this is the right place for this.

I noticed that the Daggerfall Unity support in Vortex is lacking. So I wrote a custom extension that fixes this. But this means it will show up as a game variant in the Games tab in Vortex with a "Community" label.

I was wondering if the OG dev could implement the fix to the build in extension for Daggerfall Unity.

Here's the fix in the install method:

if (path.dirname(file).toLowerCase().indexOf('windows') !== -1) {		  
  let targetPath;

  if(path.dirname(file).toLowerCase().indexOf('mods') !== -1)
  {
    targetPath = path.basename(file);
  }
  else
  {
    targetPath = path.join('Mods', path.basename(file));
  }
  // This is the dfmod we want to install.
  result.instructions.push({
    type: 'copy',
    source: file,
    destination: targetPath,
  });
}

Since some modders put their .dfmod files at the root of the zip, they can't be installed via Vortex. This fix checks if this is the case and makes it so the target directory is /mods.

I will upload this as a community extension to Nexus, afaik this will get used over the build in one, if the priority is higher, right?

Link to comment
Share on other sites

  • Solution

That is a very old message that means they are not adding new extensions to that repo. They are added to the site now. You can make PRs to fix bugs in existing extensions. I already have and was specifically invited to do so by the current main Vortex developer, Nagev. 

Some of the extensions are built from TypeScript. If that were the case (it's not for this one), Nagev may need to make the changes himself rather than directly merging your PR. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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