Welcome
Ladies and Gents:

These forums are now closed and registration disabled.

Please join us at our new forum on Proboards. Our hope is that these new forums are more stable, provide more and better features, and allow continuation of the project forums in a safer, more secure, long term environment.

me3explorer.proboards.com

--The ME3Explorer Team

WV | SFAR Editor 2

Development board for ME3Explorer tools. Please try to keep discussions for each tool inside its own thread.

WV | SFAR Editor 2

Postby Renmiri » 18 Sep 2013, 17:25

Our fairy godfather ;) posted this on his blog

Image

and has this hint on how to use it

//Constructor
DLCPackage DLC = new DLCPackage(path); //Open SFAR

//File List
FileEntryStruct[] DLC.Files;

//Extract File
public MemoryStream DecompressEntry(int Index); //Decompres File[Index] from a new FileStream
public MemoryStream DecompressEntry(int Index, FileStream fs); //Decompres File[Index] from FileStream

//Replace File
public void ReplaceEntry(string filein, int Index); //filein = File to replace with, Index = which File

//Add File
public void AddFileQuick(string filein, string path); //filein = File to add, path = path inside DLC

//Rebuild DLC
public void ReBuild(); //Rebuild/Decompress entire SFAR

greetz WV
Renmiri
Emeritus
 
Posts: 207
Joined: 31 Aug 2012, 20:42
Has thanked: 141 time
Have thanks: 37 time

Re: SFAR file manager ?

Postby Renmiri » 18 Sep 2013, 18:23

And it does let you extract a PCC, I suppose it should let you add and replace them too :p

Image
Renmiri
Emeritus
 
Posts: 207
Joined: 31 Aug 2012, 20:42
Has thanked: 141 time
Have thanks: 37 time


Return to ME3Explorer Toolset Development

Who is online

Users browsing this forum: No registered users and 0 guests

suspicion-preferred