ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Public Types | Public Member Functions | List of all members
IsoArchiveFF7 Class Reference

#include <IsoArchiveFF7.h>

Inheritance diagram for IsoArchiveFF7:
Inheritance graph
[legend]
Collaboration diagram for IsoArchiveFF7:
Collaboration graph
[legend]

Public Types

enum  Compression { None, LZS, GZIP }
 
enum  Country {
  NoCountry, Jp, Us, Uk,
  Fr, De, Es
}
 

Public Member Functions

 IsoArchiveFF7 (const QString &name)
 
virtual ~IsoArchiveFF7 () override
 
bool open (QIODevice::OpenMode mode) override
 
const QByteArray & fileLzs (const QString &path, quint32 maxSize=0) const
 
const QByteArray & modifiedFileLzs (const QString &path, quint32 maxSize=0) const
 
Country country () const
 
IsoFileexe () const
 
bool isDisc (int num) const
 
QByteArray windowBinData () const
 
IsoDirectoryfieldDirectory () const
 
IsoDirectoryinitDirectory () const
 
bool isDemo () const
 
QMap< int, QString > maplist ()
 
- Public Member Functions inherited from IsoArchive
 IsoArchive ()
 
 IsoArchive (const QString &name)
 
virtual ~IsoArchive ()
 
virtual bool isOpen () const
 
virtual void close ()
 
QString fileName () const
 
void setFileName (const QString &fileName)
 
QString errorString () const
 
const IsoArchiveIOio () const
 
bool pack (IsoArchive *destination, ArchiveObserver *control=nullptr, IsoDirectory *directory=nullptr)
 
void applyModifications (IsoDirectory *directory)
 
QByteArray file (const QString &path, quint32 maxSize=0) const
 
QIODevice * fileDevice (const QString &path) const
 
QByteArray modifiedFile (const QString &path, quint32 maxSize=0) const
 
QIODevice * modifiedFileDevice (const QString &path) const
 
bool extract (const QString &path, const QString &destination, quint32 maxSize=0) const
 
bool extractDir (const QString &path, const QString &destination) const
 
void extractAll (const QString &destination) const
 
qint32 diffCountSectors (const QString &path, quint32 newSize) const
 
IsoDirectoryrootDirectory () const
 
Archive::ArchiveError error () const
 

Additional Inherited Members

- Protected Member Functions inherited from IsoArchive
void setError (Archive::ArchiveError error, const QString &errorString=QString())
 

Member Enumeration Documentation

◆ Compression

Enumerator
None 
LZS 
GZIP 

◆ Country

Enumerator
NoCountry 
Jp 
Us 
Uk 
Fr 
De 
Es 

Constructor & Destructor Documentation

◆ IsoArchiveFF7()

IsoArchiveFF7::IsoArchiveFF7 ( const QString &  name)
explicit

◆ ~IsoArchiveFF7()

IsoArchiveFF7::~IsoArchiveFF7 ( )
overridevirtual

Member Function Documentation

◆ country()

IsoArchiveFF7::Country IsoArchiveFF7::country ( ) const

◆ exe()

IsoFile * IsoArchiveFF7::exe ( ) const

◆ fieldDirectory()

IsoDirectory * IsoArchiveFF7::fieldDirectory ( ) const

◆ fileLzs()

const QByteArray & IsoArchiveFF7::fileLzs ( const QString &  path,
quint32  maxSize = 0 
) const

◆ initDirectory()

IsoDirectory * IsoArchiveFF7::initDirectory ( ) const

◆ isDemo()

bool IsoArchiveFF7::isDemo ( ) const

◆ isDisc()

bool IsoArchiveFF7::isDisc ( int  num) const

◆ maplist()

QMap< int, QString > IsoArchiveFF7::maplist ( )

◆ modifiedFileLzs()

const QByteArray & IsoArchiveFF7::modifiedFileLzs ( const QString &  path,
quint32  maxSize = 0 
) const

◆ open()

bool IsoArchiveFF7::open ( QIODevice::OpenMode  mode)
overridevirtual

Reimplemented from IsoArchive.

◆ windowBinData()

QByteArray IsoArchiveFF7::windowBinData ( ) const

The documentation for this class was generated from the following files: