SKYRIM
Reading bsa in vb by theru
Skyrim » Modders resources and tutorials
Added: 18/05/2012 - 01:45PM
Updated: 18/05/2012 - 11:29PM

9 Endorsements

0 Latest version

280 Unique D/Ls

352 Total D/Ls

5,597 Total Views

Uploaded by theru

Description

Last updated at 23:29, 18 May 2012 Uploaded at 13:45, 18 May 2012

Update
added full project folder and 2 more options, save all files and autocreate foldername
now if i forgot to add some junkname clean up and the folder looks like somename.somename
add this into form.vb
ElseIf foldername.Contains(".change this to the extension junk") = True Then
My.Computer.FileSystem.DeleteDirectory(foldername, FileIO.DeleteDirectoryOption.DeleteAllContents)

just add this to the bottom where the rest of this are

and hit extract all again and it will work

0.1
2 files form.vb and bsaArchive.vb (asume u still got csharp dll, from first download)
Updated,fixed the error, can now extract all bsa, in order to extract 1 selected file u need to have the complete folder structure in same folder the app is.
so if u want alduin nif.
example :create folder meshes/actor/alduin

this example just extract the selected file, for extracting all files in listbox use for each statement and before this create full structure of folder in the directory wich the app is run,

bsaarchive (skyrim oblivion) structure reading in vb file.
icsharp code library.dll included
form example

since i couldt see a vb code for this anywhere in googling i decided to share the knowledgde for other vb developers =P


what do i do with this files?

add bsaArchive to your project, add reference to sharplib

create a form with listbox and 2 button,progressbar and one opefile dialog and a label,just paste my form example in there

hit debug, any question, just ask away ;)

this is mostly for other vb developers to learn how bsa works and learn it ^^

Notes. if u decide to use my file with your own modified codes in it in your app or perhaps do a dll, please link it where u got the bsaarchive from.