Jump to content

Photo

Writing An Extension Help

vortex extension bsa

  • Please log in to reply
5 replies to this topic

#1
Zanderat

Zanderat

    Resident poster

  • Premium Member
  • 5,038 posts

Hi.  I wanted to attempt to write an extension to Vortex.  But I am a bit of a noob.  Is there a template available to get me stated?  Thanks.



#2
Pickysaurus

Pickysaurus

    Community Manager

  • Admin
  • 15,067 posts

Hi Zanderat,

 

It depends what you want to create. For game extensions we have have a help page on the wiki. For more advanced extensions, there's a sample available in the Vortex Git repo. 

 

https://wiki.nexusmo...sion_for_Vortex

https://github.com/N...ample-extension



#3
Zanderat

Zanderat

    Resident poster

  • Premium Member
  • 5,038 posts

Thanks!

 

I want to attempt an unofficial extension that will handle BSA's similarly to how MO2 does.  Tannin told me that Vortex already has the capability but he doesn't want to use it because of inexperienced users.  But he did give me some code to start:

const arch: types.IArchiveHandler = await context.api.openArchive('path/to/mod/resource.bsa');
await arch.extractAll('path/to/mod');


#4
Tannin42

Tannin42

    Faithful poster

  • Staff
  • PipPipPipPip
  • 2,491 posts

You may also want to check out the wiki about extensions in general here: https://github.com/N...vortex-api/wiki (the article Picky posted is specifically about extensions that add support for a game)



#5
NathanDaly

NathanDaly

    Stranger

  • Members
  • Pip
  • 4 posts

You may also want to check out the wiki about extensions in general here: https://github.com/N...vortex-api/wiki (the article Picky posted is specifically about extensions that add support for a game)

Thanks for the help. 



#6
Nexer4

Nexer4

    Stranger

  • Members
  • Pip
  • 3 posts

Thanks







Also tagged with one or more of these keywords: vortex, extension, bsa

IPB skins by Skinbox
Page loaded in: 1.053 seconds