Changed FTLDat to allow opening dats in read-only mode

This commit is contained in:
Vhati 2013-09-29 07:58:57 -04:00
parent 7b65cc5d73
commit b94440e0a0
7 changed files with 55 additions and 14 deletions

View file

@ -201,7 +201,7 @@ public class SlipstreamCLI {
dstP = new FTLDat.FolderPack( extractDir );
for ( File datFile : datFiles ) {
srcP = new FTLDat.FTLPack( datFile, false );
srcP = new FTLDat.FTLPack( datFile, "r" );
List<String> innerPaths = srcP.list();
for ( String innerPath : innerPaths ) {