ff7tk 0.80.25
Work with Final Fantasy 7 game data
Public Types | Signals | Public Member Functions | List of all members
FF7Save Class Reference

edit saves from Final Fantasy 7 More...

#include <FF7Save.h>

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

Public Types

enum  WORLDVEHICLE { WVEHCILE_BUGGY = 0 , WVEHCILE_TBRONCO = 2 , WVEHCILE_HIGHWIND = 4 }
 
enum  WORLDCHOCOBO {
  WCHOCO_WILD , WCHOCO_YELLOW = 2 , WCHOCO_GREEN = 3 , WCHOCO_BLUE = 4 ,
  WCHOCO_BLACK = 5 , WCHOCO_GOLD = 6
}
 
enum  LOVER { LOVE_BARRET , LOVE_TIFA , LOVE_AERIS , LOVE_YUFFIE }
 
enum  MATERIACAVE { CAVE_MIME , CAVE_HPMP , CAVE_QUADMAGIC , CAVE_KOTR }
 
enum  SOUNDMODE { SOUND_MONO , SOUND_STEREO }
 
enum  CONTROLMODE { CONTROL_NORMAL , CONTROL_CUSTOM }
 
enum  CURSORMODE { CURSOR_INITIAL , CURSOR_MEMORY }
 
enum  ATBMODE { ATB_ACTIVE , ATB_RECOMMENED , ATB_WAIT }
 
enum  CAMERAMODE { CAMERA_AUTO , CAMERA_FIXED }
 
enum  MAGICORDER {
  MAGIC_RAI , MAGIC_RIA , MAGIC_AIR , MAGIC_ARI ,
  MAGIC_IRA , MAGIC_IAR
}
 
enum  MENUITEMS {
  MENUITEM , MENUMAGIC , MENUMATERIA , MENUEQUIPMENT ,
  MENUSTATUS , MENUFORM , MENULIMIT , MENUCONFIG ,
  MENUPHS , MENUSAVE
}
 Menu items for ff7. More...
 
enum  CONTROLACTION {
  ACTION_CAMERA , ACTION_TARGET , ACTION_PAGEUP , ACTION_PAGEDOWN ,
  ACTION_MENU , ACTION_OK , ACTION_CANCEL , ACTION_SWITCH ,
  ACTION_HELP , ACTION_UNKNOWN1 , ACTION_UNKNOWN2 , ACTION_PAUSE ,
  ACTION_UP , ACTION_RIGHT , ACTION_DOWN , ACTION_LEFT
}
 Possible Actions the user can input. More...
 
enum  PSXBUTTON {
  BTN_L2 , BTN_R2 , BTN_L1 , BTN_R1 ,
  BTN_TRIANGLE , BTN_CIRCLE , BTN_X , BTN_SQUARE ,
  BTN_SELECT , BTN_UNKNOWN1 , BTN_UNKNOWN2 , BTN_START ,
  BTN_UP , BTN_RIGHT , BTN_DOWN , BTN_LEFT
}
 Final Fantasy 7 Buttons for when on PSX. More...
 
enum  KEYITEMS {
  COTTONDRESS , SATINDRESS , SILKDRESS , WIG ,
  DYEDWIG , BLONDEWIG , GLASSTIARA , RUBYTIATA ,
  DIAMONDTIARA , COLOGNE , FLOWERCOLOGNE , SEXYCOLOGNE ,
  MEMBERSCARD , LINGERIE , MYSTERYPANTIES , BIKINIBRIEFS ,
  PHARMACYCOUPON , DISINFECTANT , DEODORANT , DIGESTIVE ,
  HUGEMATERIA_CONDOR , HUGEMATERIA_COREL , HUGEMATERIA_UNDERWATER , HUGEMATERIA_ROCKET ,
  KEYTOANCIENTS , LETTERTOADAUGHTER , LETTERTOAWIFE , LUNARHARP ,
  BASEMENTKEY , KEYTOSECTOR5 , KEYCARD60 , KEYCARD62 ,
  KEYCARD65 , KEYCARD66 , KEYCARD68 , MIDGARPARTS1 ,
  MIDGARPARTS2 , MIDGARPARTS3 , MIDGARPARTS4 , MIDGARPARTS5 ,
  PHS , GOLDTICKET , KEYSTONE , LEIATHANSCALES ,
  GLACIERMAP , COUPON_A , COUPON_B , COUPON_C ,
  BLACKMATERIA , MYTHRIL , SNOWBOARD
}
 ID's for each keyitem. More...
 
typedef QVector< QString > SubContainer
 used to hold more xml style string in metadata signing More...
 

Signals

void fileChanged (bool)
 emits when internal data changes More...
 

Public Member Functions

 FF7Save ()
 create a new FF7Save object More...
 
FF7SaveInfo::FORMAT fileDataFormat (QFile &file)
 fileFormat- Read a file and get its Format. More...
 
bool loadFile (const QString &fileName)
 attempt to load fileName as ff7save More...
 
bool saveFile (const QString &fileName, int s=0)
 attempt to save fileName as ff7save More...
 
bool exportFile (const QString &fileName, FF7SaveInfo::FORMAT exportFormat, int s=0)
 Export a File to the specificed format. Calls one of several internal methods to export the file. More...
 
void importSlot (int s=0, QString fileName="", int fileSlot=0)
 import from a file into a slot More...
 
void clearSlot (int s)
 clear a slot More...
 
void copySlot (int s)
 copy a slot Sin to the buffer More...
 
void pasteSlot (int s)
 paste from the buffer into a slot More...
 
void newGame (int s, const QString &region=QStringLiteral("NTSC-U"), const QString &fileName=QString())
 creates a new game in a slot More...
 
void newGamePlus (int s, QString CharFileName, QString fileName="")
 creates a new game + in a slot More...
 
bool exportCharacter (int s, int char_num, QString fileName)
 export a character More...
 
void importCharacter (int s, int char_num, QByteArray new_char)
 export a character More...
 
bool fixMetaData (QString fileName="", QString UserID="")
 parse the metadata for 2012 / 2013 release More...
 
QByteArray generatePsSaveSignature (QByteArray data, QByteArray keySeed)
 generates a signature for PS3 or VMP based on input.. More...
 
QByteArray fileHeader (void)
 file Header as QByteArray More...
 
bool setFileHeader (QByteArray data)
 set the file header More...
 
QByteArray slotHeader (int s)
 Header for a slot as QByteArray. More...
 
bool setSlotHeader (int s, QByteArray data)
 set the slot header More...
 
QByteArray slotFooter (int s)
 Footer for a slot as QByteArray. More...
 
bool setSlotFooter (int s, QByteArray data)
 set the slot footer More...
 
QByteArray slotPsxRawData (int s)
 QByteArray of a psx save (multiblock saves are ok) More...
 
bool setSlotPsxRawData (int s, QByteArray data)
 set the slots raw psx data More...
 
QByteArray slotFF7Data (int s)
 Return Raw data from the slot. More...
 
bool setSlotFF7Data (int s, QByteArray data)
 
bool setSlotFF7Data (int s, const FF7SLOT &data)
 
QList< QByteArray > slotIcon (int s)
 return slots save icon. each new frame will be appended to the list. More...
 
QList< qint8 > chocoboPens (int s)
 return the chocobos in the pen outside of the chocobo farm More...
 
void setChocoboPen (int s, int pen, qint8 value)
 return the chocobos in the pen outside of the chocobo farm More...
 
quint8 condorWins (int s)
 wins in fort condor mini game More...
 
void setCondorWins (int s, quint8 wins)
 set how many time you have won the fort condor mini game More...
 
quint8 condorLosses (int s)
 losses in fort condor mini game More...
 
void setCondorLosses (int s, quint8 losses)
 set how many time you have lost the fort condor mini game More...
 
quint16 condorFunds (int s)
 
void setCondorFunds (int s, quint16 value)
 set how gil you have donated to fort condor More...
 
quint16 locationId (int s)
 Id of the location save is located on. More...
 
void setLocationId (int s, quint16 locationID)
 set location id save is located on More...
 
quint16 mapId (int s)
 map id save is on More...
 
void setMapId (int s, quint16 mapID)
 set map id save is located on More...
 
qint16 locationX (int s)
 x coordinate on field map More...
 
void setLocationX (int s, qint16 x)
 set x coordinate on field map More...
 
qint16 locationY (int s)
 y coordinate on field map More...
 
void setLocationY (int s, qint16 y)
 set y coordinate on field map More...
 
quint16 locationT (int s)
 triangle play is standing on. field map More...
 
void setLocationT (int s, quint16 t)
 set t coordinate on field map More...
 
quint8 locationD (int s)
 direction player is facing on field map More...
 
void setLocationD (int s, quint8 d)
 set direction player is facing on field map More...
 
quint16 craterSavePointMapID (int s)
 map the placeable save point is on More...
 
qint16 craterSavePointX (int s)
 x coordinate of the placeable save point More...
 
qint16 craterSavePointY (int s)
 y coordinate of the placeable save point More...
 
qint16 craterSavePointZ (int s)
 z coordinate of the placeable save point More...
 
void setCraterSavePointMapID (int s, int value)
 set the map that the placeable save point is on More...
 
void setCraterSavePointX (int s, int value)
 set x coordinate of the placeable save point More...
 
void setCraterSavePointY (int s, int value)
 set y coordinate of the placeable save point More...
 
void setCraterSavePointZ (int s, int value)
 set z coordinate of the placeable save point More...
 
QByteArray controllerMapping (int s)
 get controller mapping for a slot More...
 
void setControllerMapping (int s, QByteArray map)
 set the controller mapping for a slot More...
 
quint8 controllerMapping (int s, int action)
 get button bound to an action for a slot More...
 
void setControllerMapping (int s, int action, int button)
 bind a button to an action for a slot. More...
 
quint16 options (int s)
 In game options for a slot. More...
 
void setOptions (int s, int opt)
 Set in game options for a slot. More...
 
bool soundMode (int s)
 soundMode mono or stero More...
 
void setSoundMode (int s, int mode)
 setSound mode for a slot More...
 
void setSoundMode (int s, bool mode)
 
bool controlMode (int s)
 
void setControlMode (int s, int mode)
 
void setControlMode (int s, bool mode)
 
bool cursorMode (int s)
 
void setCursorMode (int s, int mode)
 
void setCursorMode (int s, bool mode)
 
int atbMode (int s)
 
void setAtbMode (int s, int mode)
 
bool cameraMode (int s)
 
void setCameraMode (int s, int mode)
 
void setCameraMode (int s, bool mode)
 
int magicOrder (int s)
 
void setMagicOrder (int s, int order)
 
bool battleHelp (int s)
 
void setBattleHelp (int s, bool shown)
 
int battleSpeed (int s)
 
void setBattleSpeed (int s, int speed)
 
int battleMessageSpeed (int s)
 
void setBattleMessageSpeed (int s, int speed)
 
int messageSpeed (int s)
 
void setMessageSpeed (int s, int speed)
 
bool fieldHelp (int s)
 
void setFieldHelp (int s, bool shown)
 
bool battleTargets (int s)
 
void setBattleTargets (int s, bool shown)
 
bool phsVisible (int s, int who)
 
void setPhsVisible (int s, int who, bool checked)
 
quint16 phsVisible (int s)
 
void setPhsVisible (int s, quint16 phs_visible)
 
bool phsAllowed (int s, int who)
 
quint16 phsAllowed (int s)
 
void setPhsAllowed (int s, int who, bool checked)
 
void setPhsAllowed (int s, quint16 phs_visible)
 
bool menuVisible (int s, int index)
 
void setMenuVisible (int s, int index, bool checked)
 
quint16 menuVisible (int s)
 
void setMenuVisible (int s, quint16 menu_visible)
 
bool menuLocked (int s, int index)
 
void setMenuLocked (int s, int index, bool checked)
 
quint16 menuLocked (int s)
 
void setMenuLocked (int s, quint16 menu_visible)
 
quint16 item (int s, int item_num)
 
QList< quint16 > items (int s)
 
void setItems (int s, QList< quint16 > items)
 
void setItem (int s, int item_num, quint16 rawitem)
 
void setItem (int s, int item_num, quint16 new_id, quint8 new_qty)
 
bool materiaCave (int s, MATERIACAVE cave)
 
void setMateriaCave (int s, MATERIACAVE cave, bool isEmpty)
 
quint8 partyMateriaId (int s, int mat_num)
 
qint32 partyMateriaAp (int s, int mat_num)
 
quint8 stolenMateriaId (int s, int mat_num)
 
qint32 stolenMateriaAp (int s, int mat_num)
 
void setPartyMateria (int s, int mat_num, quint8 id, qint32 ap)
 
void setStolenMateria (int s, int mat_num, quint8 id, qint32 ap)
 
quint32 descTime (int s)
 
void setDescTime (int s, quint32 new_time)
 
QString descName (int s)
 
void setDescName (int s, QString new_name)
 
QString descLocation (int s)
 
void setDescLocation (int s, QString new_desc_location)
 
quint8 descLevel (int s)
 
void setDescLevel (int s, int new_level)
 
quint8 descParty (int s, int char_num)
 
void setDescParty (int s, int char_num, quint8 new_id)
 
quint16 descCurHP (int s)
 
void setDescCurHP (int s, quint16 new_curHP)
 
quint16 descMaxHP (int s)
 
void setDescMaxHP (int s, quint16 new_maxHP)
 
quint16 descCurMP (int s)
 
void setDescCurMP (int s, quint16 new_curMP)
 
quint16 descMaxMP (int s)
 
void setDescMaxMP (int s, quint16 new_maxMP)
 
quint32 descGil (int s)
 
void setDescGil (int s, quint32 new_gil)
 
QColor dialogColorUL (int s)
 
QColor dialogColorUR (int s)
 
QColor dialogColorLL (int s)
 
QColor dialogColorLR (int s)
 
void setDialogColorUL (int s, QColor color)
 
void setDialogColorUR (int s, QColor color)
 
void setDialogColorLL (int s, QColor color)
 
void setDialogColorLR (int s, QColor color)
 
QString chocoName (int s, int choco_num)
 
void setChocoName (int s, int choco_num, QString new_name)
 
QString location (int s)
 
void setLocation (int s, QString new_location)
 
quint32 gil (int s)
 
void setGil (int s, quint32 gil)
 
quint16 gp (int s)
 
void setGp (int s, int gp)
 
quint16 battles (int s)
 
void setBattles (int s, int battles)
 
quint16 runs (int s)
 
void setRuns (int s, int runs)
 
quint8 party (int s, int pos)
 
void setParty (int s, int pos, int new_id)
 Set the party member to an ID. When changing a party member the slots description data is also updated. More...
 
qint8 chocoboPen (int s, int pos)
 
void setChocoboPen (int s, int pos, int type)
 
bool seenPandorasBox (int s)
 
void setSeenPandorasBox (int s, bool seen)
 
quint8 love (int s, bool battle, LOVER who)
 
void setLove (int s, bool battle, LOVER who, quint8 love)
 
quint16 speedScore (int s, int rank)
 
void setSpeedScore (int s, int rank, quint16 score)
 
quint16 bikeHighScore (int s)
 
void setBikeHighScore (int s, quint16 score)
 
QString snowboardTime (int s, int course)
 
void setSnowboardTime (int s, int course, QString time)
 
quint8 snowboardScore (int s, int course)
 
void setSnowboardScore (int s, int course, quint8 score)
 
quint32 countdownTimer (int s)
 
void setCountdownTimer (int s, quint32 time)
 
FF7CHAR character (int s, int char_num)
 
QByteArray rawCharacterData (int s, int char_num)
 
quint8 charID (int s, int char_num)
 
quint8 charLevel (int s, int char_num)
 
quint8 charStr (int s, int char_num)
 
quint8 charVit (int s, int char_num)
 
quint8 charMag (int s, int char_num)
 
quint8 charSpi (int s, int char_num)
 
quint8 charDex (int s, int char_num)
 
quint8 charLck (int s, int char_num)
 
quint8 charStrBonus (int s, int char_num)
 
quint8 charVitBonus (int s, int char_num)
 
quint8 charMagBonus (int s, int char_num)
 
quint8 charSpiBonus (int s, int char_num)
 
quint8 charDexBonus (int s, int char_num)
 
quint8 charLckBonus (int s, int char_num)
 
qint8 charLimitLevel (int s, int char_num)
 
quint8 charLimitBar (int s, int char_num)
 
QString charName (int s, int char_num)
 
quint8 charWeapon (int s, int char_num)
 
quint8 charArmor (int s, int char_num)
 
quint8 charAccessory (int s, int char_num)
 
quint8 charFlag (int s, int char_num, int flag_num)
 
quint16 charLimits (int s, int char_num)
 
quint16 charKills (int s, int char_num)
 
quint16 charTimesLimitUsed (int s, int char_num, int level)
 
quint16 charCurrentHp (int s, int char_num)
 
quint16 charBaseHp (int s, int char_num)
 
quint16 charCurrentMp (int s, int char_num)
 
quint16 charBaseMp (int s, int char_num)
 
quint8 charUnknown (int s, int char_num, int unknown_num)
 
quint16 charMaxHp (int s, int char_num)
 
quint16 charMaxMp (int s, int char_num)
 
quint32 charCurrentExp (int s, int char_num)
 
quint32 charNextExp (int s, int char_num)
 
quint8 charMateriaId (int s, int who, int mat_num)
 
qint32 charMateriaAp (int s, int who, int mat_num)
 
void setCharacter (int s, int char_num, const FF7CHAR &new_char)
 
void setCharID (int s, int char_num, qint8 new_id)
 
void setCharLevel (int s, int char_num, qint8 new_level)
 
void setCharStr (int s, int char_num, quint8 str)
 
void setCharVit (int s, int char_num, quint8 vit)
 
void setCharMag (int s, int char_num, quint8 mag)
 
void setCharSpi (int s, int char_num, quint8 spi)
 
void setCharDex (int s, int char_num, quint8 dex)
 
void setCharLck (int s, int char_num, quint8 lck)
 
void setCharStrBonus (int s, int char_num, quint8 strbonus)
 
void setCharVitBonus (int s, int char_num, quint8 vitbonus)
 
void setCharMagBonus (int s, int char_num, quint8 magbonus)
 
void setCharSpiBonus (int s, int char_num, quint8 spibonus)
 
void setCharDexBonus (int s, int char_num, quint8 dexbonus)
 
void setCharLckBonus (int s, int char_num, quint8 lckbonus)
 
void setCharLimitLevel (int s, int char_num, qint8 limitlevel)
 
void setCharLimitBar (int s, int char_num, quint8 limitbar)
 
void setCharName (int s, int char_num, QString new_name)
 
void setCharWeapon (int s, int char_num, quint8 weapon)
 
void setCharArmor (int s, int char_num, quint8 armor)
 
void setCharAccessory (int s, int char_num, quint8 accessory)
 
void setCharFlag (int s, int char_num, int flag_num, quint8 flag_value)
 
void setCharLimits (int s, int char_num, quint16 new_limits)
 
void setCharKills (int s, int char_num, quint16 kills)
 
void setCharTimeLimitUsed (int s, int char_num, int level, quint16 timesused)
 
void setCharCurrentHp (int s, int char_num, quint16 curHp)
 
void setCharBaseHp (int s, int char_num, quint16 baseHp)
 
void setCharCurrentMp (int s, int char_num, quint16 curMp)
 
void setCharBaseMp (int s, int char_num, quint16 baseMp)
 
void setCharUnknown (int s, int char_num, int unknown_num, quint8 value)
 
void setCharMaxHp (int s, int char_num, quint16 maxHp)
 
void setCharMaxMp (int s, int char_num, quint16 maxMp)
 
void setCharCurrentExp (int s, int char_num, quint32 exp)
 
void setCharNextExp (int s, int char_num, quint32 next)
 
void setCharMateria (int s, int who, int mat_num, quint8 id, qint32 ap)
 
void setCharMateria (int s, int who, int mat_num, materia mat)
 
QList< FF7CHOCOBOchocobos (int s)
 
QList< quint16 > chocobosStaminas (int s)
 
QList< QString > chocobosNames (int s)
 
QList< bool > chocoboCantMates (int s)
 
qint8 stablesOwned (int s)
 
qint8 stablesOccupied (int s)
 
qint8 stableMask (int s)
 
void setStablesOwned (int s, qint8 value)
 
void setStablesOccupied (int s, qint8 value)
 
void setStableMask (int s, qint8 value)
 
FF7CHOCOBO chocobo (int s, int chocoSlot)
 
quint16 chocoStamina (int s, int chocoSlot)
 
quint16 chocoSpeed (int s, int chocoSlot)
 
quint16 chocoMaxSpeed (int s, int chocoSlot)
 
quint16 chocoSprintSpeed (int s, int chocoSlot)
 
quint16 chocoMaxSprintSpeed (int s, int chocoSlot)
 
quint8 chocoSex (int s, int chocoSlot)
 
quint8 chocoType (int s, int chocoSlot)
 
quint8 chocoCoop (int s, int chocoSlot)
 
quint8 chocoAccel (int s, int chocoSlot)
 
quint8 chocoIntelligence (int s, int chocoSlot)
 
quint8 chocoRaceswon (int s, int chocoSlot)
 
quint8 chocoPCount (int s, int chocoSlot)
 
quint8 chocoPersonality (int s, int chocoSlot)
 
bool chocoCantMate (int s, int chocoSlot)
 
void setChocoStamina (int s, int chocoSlot, quint16 stamina)
 
void setChocoSpeed (int s, int chocoSlot, quint16 speed)
 
void setChocoMaxSpeed (int s, int chocoSlot, quint16 maxspeed)
 
void setChocoSprintSpeed (int s, int chocoSlot, quint16 sprintSpeed)
 
void setChocoMaxSprintSpeed (int s, int chocoSlot, quint16 maxsprintSpeed)
 
void setChocoSex (int s, int chocoSlot, quint8 value)
 
void setChocoType (int s, int chocoSlot, quint8 value)
 
void setChocoCoop (int s, int chocoSlot, quint8 value)
 
void setChocoAccel (int s, int chocoSlot, quint8 value)
 
void setChocoIntelligence (int s, int chocoSlot, quint8 value)
 
void setChocoRaceswon (int s, int chocoSlot, quint8 value)
 
void setChocoPCount (int s, int chocoSlot, quint8 value)
 
void setChocoPersonality (int s, int chocoSlot, quint8 value)
 
void setChocoCantMate (int s, int chocoSlot, bool cantMate)
 
int lenFile (void)
 
int lenFileHeader (void)
 
int lenCoreSave (void)
 
int lenSlotHeader (void)
 
int lenSlotFooter (void)
 
int lenSlot (void)
 
int numberOfSlots (void)
 
QString fileName (void)
 
void setFileModified (bool, int s)
 
void setRegion (int s, const QString &region)
 
bool isFileModified (void)
 
bool isSlotModified (int s)
 
bool isSlotEmpty (int s)
 
bool isFF7 (int s)
 
bool isPAL (int s)
 
bool isNTSC (int s)
 
bool isJPN (int s)
 
QString region (int s)
 
char psx_block_type (int s)
 
void setPsx_block_type (int s, char block_type)
 
quint8 psx_block_next (int s)
 
void setPsx_block_next (int s, int next)
 
quint8 psx_block_size (int s)
 
void setPsx_block_size (int s, int blockSize)
 
void fix_pc_bytemask (int s)
 
QByteArray unknown (int s, int z)
 
bool setUnknown (int s, int z, QByteArray data)
 
quint16 steps (int s)
 
void setSteps (int s, int steps)
 
quint8 churchProgress (int s)
 
void setChurchProgress (int s, int progress)
 
quint8 donProgress (int s)
 
void setDonProgress (int s, int progress)
 
quint16 battlePoints (int s)
 
void setBattlePoints (int s, quint16)
 
quint32 time (int s)
 
void setTime (int s, quint32 new_time)
 
void setDisc (int s, int disc)
 
quint8 disc (int s)
 
quint16 mainProgress (int s)
 
void setMainProgress (int s, int mProgress)
 
QByteArray keyItems (int s)
 
bool setKeyItems (int s, QByteArray data)
 
bool keyItem (int s, int keyItem)
 
void setKeyItem (int s, int keyItem, bool pickedUp)
 
bool itemMask1 (int s, int bit)
 
void setItemMask1 (int s, int bit, bool pickedUp)
 
bool bmProgress1 (int s, int bit)
 
void setBmProgress1 (int s, int bit, bool isTrue)
 
void setBmProgress1 (int s, int value)
 
bool bmProgress2 (int s, int bit)
 
void setBmProgress2 (int s, int bit, bool isTrue)
 
void setBmProgress2 (int s, int value)
 
bool bmProgress3 (int s, int bit)
 
void setBmProgress3 (int s, int bit, bool isTrue)
 
void setBmProgress3 (int s, int value)
 
bool midgarTrainFlags (int s, int bit)
 
void setMidgarTrainFlags (int s, int bit, bool isTrue)
 
void setMidgarTrainFlags (int s, int value)
 
bool turtleParadiseFlyerSeen (int s, int flyer)
 
quint8 turtleParadiseFlyersSeen (int s)
 
void setTurtleParadiseFlyerSeen (int s, int flyer, bool seen)
 
void setTurtleParadiseFlyersSeen (int s, quint8 flyersSeen)
 
bool startBombingMission (int s)
 
void setStartBombingMission (int s, bool isTrue)
 
quint32 uWeaponHp (int s)
 
void setUWeaponHp (int s, int hp)
 
bool killedEmeraldWeapon (int s)
 
void setKilledEmeraldWeapon (int s, bool isTrue)
 
bool killedRubyWeapon (int s)
 
void setKilledRubyWeapon (int s, bool isTrue)
 
quint8 tutSave (int s)
 
void setTutSave (int s, int value)
 
bool canFightNinjaInForest (int s)
 
void setCanFightNinjaInForest (int s, bool isTrue)
 
quint8 tutSub (int s)
 
bool tutSub (int s, int bit)
 
void setTutSub (int s, int bit, bool isTrue)
 
void setTutSub (int s, int value)
 
bool yuffieUnlocked (int s)
 has yuffie been unlocked More...
 
void setYuffieUnlocked (int s, bool isUnlocked)
 set if yuffie has been unlocked More...
 
bool vincentUnlocked (int s)
 has vincent been unlocked More...
 
void setVincentUnlocked (int s, bool isUnlocked)
 set if vincent has been unlocked More...
 
bool worldChocobo (int s, int bit)
 
void setWorldChocobo (int s, int bit, bool isTrue)
 
bool worldVehicle (int s, int bit)
 
void setWorldVehicle (int s, int bit, bool isTrue)
 
quint32 worldCoordsLeader (int s, bool firstChunk)
 
int worldCoordsLeaderX (int s)
 
int worldCoordsLeaderID (int s)
 
int worldCoordsLeaderAngle (int s)
 
int worldCoordsLeaderY (int s)
 
int worldCoordsLeaderZ (int s)
 
void setWorldCoordsLeader (int s, bool firstChunk, int value)
 
void setWorldCoordsLeaderX (int s, int value)
 
void setWorldCoordsLeaderID (int s, int value)
 
void setWorldCoordsLeaderAngle (int s, int value)
 
void setWorldCoordsLeaderY (int s, int value)
 
void setWorldCoordsLeaderZ (int s, int value)
 
quint32 worldCoordsTc (int s, bool firstChunk)
 
int worldCoordsTcX (int s)
 
int worldCoordsTcID (int s)
 
int worldCoordsTcAngle (int s)
 
int worldCoordsTcY (int s)
 
int worldCoordsTcZ (int s)
 
void setWorldCoordsTc (int s, bool firstChunk, int value)
 
void setWorldCoordsTcX (int s, int value)
 
void setWorldCoordsTcID (int s, int value)
 
void setWorldCoordsTcAngle (int s, int value)
 
void setWorldCoordsTcY (int s, int value)
 
void setWorldCoordsTcZ (int s, int value)
 
quint32 worldCoordsBh (int s, bool firstChunk)
 
int worldCoordsBhX (int s)
 
int worldCoordsBhID (int s)
 
int worldCoordsBhAngle (int s)
 
int worldCoordsBhY (int s)
 
int worldCoordsBhZ (int s)
 
void setWorldCoordsBh (int s, bool firstChunk, int value)
 
void setWorldCoordsBhX (int s, int value)
 
void setWorldCoordsBhID (int s, int value)
 
void setWorldCoordsBhAngle (int s, int value)
 
void setWorldCoordsBhY (int s, int value)
 
void setWorldCoordsBhZ (int s, int value)
 
quint32 worldCoordsSub (int s, bool firstChunk)
 
int worldCoordsSubX (int s)
 
int worldCoordsSubID (int s)
 
int worldCoordsSubAngle (int s)
 
int worldCoordsSubY (int s)
 
int worldCoordsSubZ (int s)
 
void setWorldCoordsSub (int s, bool firstChunk, int value)
 
void setWorldCoordsSubX (int s, int value)
 
void setWorldCoordsSubID (int s, int value)
 
void setWorldCoordsSubAngle (int s, int value)
 
void setWorldCoordsSubY (int s, int value)
 
void setWorldCoordsSubZ (int s, int value)
 
quint32 worldCoordsWchoco (int s, bool firstChunk)
 
int worldCoordsWchocoX (int s)
 
int worldCoordsWchocoID (int s)
 
int worldCoordsWchocoAngle (int s)
 
int worldCoordsWchocoY (int s)
 
int worldCoordsWchocoZ (int s)
 
void setWorldCoordsWchoco (int s, bool firstChunk, int value)
 
void setWorldCoordsWchocoX (int s, int value)
 
void setWorldCoordsWchocoID (int s, int value)
 
void setWorldCoordsWchocoAngle (int s, int value)
 
void setWorldCoordsWchocoY (int s, int value)
 
void setWorldCoordsWchocoZ (int s, int value)
 
quint32 worldCoordsDurw (int s, bool firstChunk)
 
int worldCoordsDurwX (int s)
 
int worldCoordsDurwID (int s)
 
int worldCoordsDurwAngle (int s)
 
int worldCoordsDurwY (int s)
 
int worldCoordsDurwZ (int s)
 
void setWorldCoordsDurw (int s, bool firstChunk, int value)
 
void setWorldCoordsDurwX (int s, int value)
 
void setWorldCoordsDurwID (int s, int value)
 
void setWorldCoordsDurwAngle (int s, int value)
 
void setWorldCoordsDurwY (int s, int value)
 
void setWorldCoordsDurwZ (int s, int value)
 
void setSaveNumber (int s, int saveNum)
 
bool subMiniGameVictory (int s)
 
void setSubMiniGameVictory (int s, bool won)
 
bool playedPianoOnFlashback (int s)
 Did Cloud play piano durring the flashback?. More...
 
void setPlayedPianoOnFlashback (int s, bool played)
 Set if Cloud played piano durring the flashback. More...
 
quint8 chocoboRating (int s, int stable)
 Get Choco Billy's Rating of a chocobo. More...
 
void setChocoboRating (int s, int stable, int rating)
 Set Choco Billy's Rating of a chocobo. More...
 
QList< quint8 > chocoboRatings (int s)
 
QString psxDesc (int s)
 Get Description Text for PSX Slot. More...
 
void setPsxDesc (QString newDesc, int s)
 Set The Description Text for PSX Slot (text shows in memory card manager of playstation) USE WITH CAUTION CAN RETURN JUNK DATA. More...
 
int unknown_zmax ()
 the number of unknown z vars. More...
 
void setFormat (FF7SaveInfo::FORMAT newFormat)
 Set the format of the loaded file. More...
 
FF7SaveInfo::FORMAT format ()
 Returns the format of the loaded file. More...
 
bool isBufferSlotPopulated ()
 True when the bufferslot is populated. More...
 

Detailed Description

edit saves from Final Fantasy 7

Todo:

Support for PS4 Saves.

Support for XBONE Saves

FF7Save does it all. Open the file , edit then save. All of the file handling will be taken care of for you. the following are supported formats:

File Description
*.ff7 PC Format Save; If a metadata.xml file is in the save path it will be updated.
ff7slot* Switch Format save, same as PC
*.mcr Common Emulator format (Virtual Memory Card)
*.mcd Common Emulator format (Virtual Memory Card)
*.mci Common Emulator format (Virtual Memory Card)
*.mc Common Emulator format (Virtual Memory Card)
*.ddf Common Emulator format (Virtual Memory Card)
*.ps Common Emulator format (Virtual Memory Card)
*.psm Common Emulator format (Virtual Memory Card)
*.bin Common Emulator format (Virtual Memory Card)
*.vgs Memory Card from Virtual Game Station
*.mem Memory Card from Virtual Game Station
*.gme Dex drive format virtual memory card
*.VM1 Internal PSX Memory Card on PS3 (Virtual Memory Card)
*.VMP VMC format used by the PSP and PsVita
*.PSV Single save "Exported" by a PS3.
* A Raw PSX memory card "file" extracted from a real or virtual memory card
*.mcs Psx Game Edit Save
*.ps1 Memory Juggle Save
*.psx XP AR GS Caetla Save
*.mcb Smart Link format
*.mcx Dantel Format
*.pda Dantel Format

Member Typedef Documentation

◆ SubContainer

QVector< QString > FF7Save::SubContainer

used to hold more xml style string in metadata signing

Member Enumeration Documentation

◆ ATBMODE

Enumerator
ATB_ACTIVE 

0

ATB_RECOMMENED 
ATB_WAIT 

1

◆ CAMERAMODE

Enumerator
CAMERA_AUTO 

0

CAMERA_FIXED 

1

◆ CONTROLACTION

Possible Actions the user can input.

Enumerator
ACTION_CAMERA 

0

ACTION_TARGET 

1

ACTION_PAGEUP 

2

ACTION_PAGEDOWN 

3

ACTION_MENU 

4

ACTION_OK 

5

ACTION_CANCEL 

6

ACTION_SWITCH 

7

ACTION_HELP 

8

ACTION_UNKNOWN1 

9

ACTION_UNKNOWN2 

10

ACTION_PAUSE 

11

ACTION_UP 

12

ACTION_RIGHT 

13

ACTION_DOWN 

14

ACTION_LEFT 

15

◆ CONTROLMODE

Enumerator
CONTROL_NORMAL 

0

CONTROL_CUSTOM 

1

◆ CURSORMODE

Enumerator
CURSOR_INITIAL 

0

CURSOR_MEMORY 

1

◆ KEYITEMS

ID's for each keyitem.

Enumerator
COTTONDRESS 

0

SATINDRESS 

1

SILKDRESS 

2

WIG 

3

DYEDWIG 

4

BLONDEWIG 

5

GLASSTIARA 

6

RUBYTIATA 

7

DIAMONDTIARA 

8

COLOGNE 

9

FLOWERCOLOGNE 

10

SEXYCOLOGNE 

11

MEMBERSCARD 

12

LINGERIE 

13

MYSTERYPANTIES 

14

BIKINIBRIEFS 

15

PHARMACYCOUPON 

16

DISINFECTANT 

17

DEODORANT 

18

DIGESTIVE 

19

HUGEMATERIA_CONDOR 

20

HUGEMATERIA_COREL 

21

HUGEMATERIA_UNDERWATER 

22

HUGEMATERIA_ROCKET 

23

KEYTOANCIENTS 

24

LETTERTOADAUGHTER 

25

LETTERTOAWIFE 

26

LUNARHARP 

27

BASEMENTKEY 

28

KEYTOSECTOR5 

29

KEYCARD60 

30

KEYCARD62 

31

KEYCARD65 

32

KEYCARD66 

33

KEYCARD68 

34

MIDGARPARTS1 

35

MIDGARPARTS2 

36

MIDGARPARTS3 

37

MIDGARPARTS4 

38

MIDGARPARTS5 

39

PHS 

40

GOLDTICKET 

41

KEYSTONE 

42

LEIATHANSCALES 

43

GLACIERMAP 

44

COUPON_A 

45

COUPON_B 

46

COUPON_C 

47

BLACKMATERIA 

48

MYTHRIL 

49

SNOWBOARD 

50

◆ LOVER

Enumerator
LOVE_BARRET 

0

LOVE_TIFA 

1

LOVE_AERIS 

2

LOVE_YUFFIE 

3

◆ MAGICORDER

Enumerator
MAGIC_RAI 

0

MAGIC_RIA 

1

MAGIC_AIR 

2

MAGIC_ARI 

3

MAGIC_IRA 

4

MAGIC_IAR 

5

◆ MATERIACAVE

Enumerator
CAVE_MIME 

0

CAVE_HPMP 

1

CAVE_QUADMAGIC 

2

CAVE_KOTR 

3

◆ MENUITEMS

Menu items for ff7.

Enumerator
MENUITEM 

0

MENUMAGIC 

1

MENUMATERIA 

2

MENUEQUIPMENT 

3

MENUSTATUS 

4

MENUFORM 

5

MENULIMIT 

6

MENUCONFIG 

7

MENUPHS 

8

MENUSAVE 

9

◆ PSXBUTTON

Final Fantasy 7 Buttons for when on PSX.

Enumerator
BTN_L2 

0

BTN_R2 

1

BTN_L1 

2

BTN_R1 

3

BTN_TRIANGLE 

4

BTN_CIRCLE 

5

BTN_X 

6

BTN_SQUARE 

7

BTN_SELECT 

8

BTN_UNKNOWN1 

9

BTN_UNKNOWN2 

10

BTN_START 

11

BTN_UP 

12

BTN_RIGHT 

13

BTN_DOWN 

14

BTN_LEFT 

15

◆ SOUNDMODE

Enumerator
SOUND_MONO 

0

SOUND_STEREO 

1

◆ WORLDCHOCOBO

Enumerator
WCHOCO_WILD 

0

WCHOCO_YELLOW 

2

WCHOCO_GREEN 

3

WCHOCO_BLUE 

4

WCHOCO_BLACK 

5

WCHOCO_GOLD 

6

◆ WORLDVEHICLE

Enumerator
WVEHCILE_BUGGY 

0

WVEHCILE_TBRONCO 

2

WVEHCILE_HIGHWIND 

4

Constructor & Destructor Documentation

◆ FF7Save()

FF7Save::FF7Save ( )
explicit

create a new FF7Save object

Member Function Documentation

◆ atbMode()

int FF7Save::atbMode ( int  s)

◆ battleHelp()

bool FF7Save::battleHelp ( int  s)

◆ battleMessageSpeed()

int FF7Save::battleMessageSpeed ( int  s)

◆ battlePoints()

quint16 FF7Save::battlePoints ( int  s)

◆ battles()

quint16 FF7Save::battles ( int  s)

◆ battleSpeed()

int FF7Save::battleSpeed ( int  s)

◆ battleTargets()

bool FF7Save::battleTargets ( int  s)

◆ bikeHighScore()

quint16 FF7Save::bikeHighScore ( int  s)

◆ bmProgress1()

bool FF7Save::bmProgress1 ( int  s,
int  bit 
)

◆ bmProgress2()

bool FF7Save::bmProgress2 ( int  s,
int  bit 
)

◆ bmProgress3()

bool FF7Save::bmProgress3 ( int  s,
int  bit 
)

◆ cameraMode()

bool FF7Save::cameraMode ( int  s)

◆ canFightNinjaInForest()

bool FF7Save::canFightNinjaInForest ( int  s)

◆ charAccessory()

quint8 FF7Save::charAccessory ( int  s,
int  char_num 
)

◆ character()

FF7CHAR FF7Save::character ( int  s,
int  char_num 
)

◆ charArmor()

quint8 FF7Save::charArmor ( int  s,
int  char_num 
)

◆ charBaseHp()

quint16 FF7Save::charBaseHp ( int  s,
int  char_num 
)

◆ charBaseMp()

quint16 FF7Save::charBaseMp ( int  s,
int  char_num 
)

◆ charCurrentExp()

quint32 FF7Save::charCurrentExp ( int  s,
int  char_num 
)

◆ charCurrentHp()

quint16 FF7Save::charCurrentHp ( int  s,
int  char_num 
)

◆ charCurrentMp()

quint16 FF7Save::charCurrentMp ( int  s,
int  char_num 
)

◆ charDex()

quint8 FF7Save::charDex ( int  s,
int  char_num 
)

◆ charDexBonus()

quint8 FF7Save::charDexBonus ( int  s,
int  char_num 
)

◆ charFlag()

quint8 FF7Save::charFlag ( int  s,
int  char_num,
int  flag_num 
)

◆ charID()

quint8 FF7Save::charID ( int  s,
int  char_num 
)

◆ charKills()

quint16 FF7Save::charKills ( int  s,
int  char_num 
)

◆ charLck()

quint8 FF7Save::charLck ( int  s,
int  char_num 
)

◆ charLckBonus()

quint8 FF7Save::charLckBonus ( int  s,
int  char_num 
)

◆ charLevel()

quint8 FF7Save::charLevel ( int  s,
int  char_num 
)

◆ charLimitBar()

quint8 FF7Save::charLimitBar ( int  s,
int  char_num 
)

◆ charLimitLevel()

qint8 FF7Save::charLimitLevel ( int  s,
int  char_num 
)

◆ charLimits()

quint16 FF7Save::charLimits ( int  s,
int  char_num 
)

◆ charMag()

quint8 FF7Save::charMag ( int  s,
int  char_num 
)

◆ charMagBonus()

quint8 FF7Save::charMagBonus ( int  s,
int  char_num 
)

◆ charMateriaAp()

qint32 FF7Save::charMateriaAp ( int  s,
int  who,
int  mat_num 
)

◆ charMateriaId()

quint8 FF7Save::charMateriaId ( int  s,
int  who,
int  mat_num 
)

◆ charMaxHp()

quint16 FF7Save::charMaxHp ( int  s,
int  char_num 
)

◆ charMaxMp()

quint16 FF7Save::charMaxMp ( int  s,
int  char_num 
)

◆ charName()

QString FF7Save::charName ( int  s,
int  char_num 
)

◆ charNextExp()

quint32 FF7Save::charNextExp ( int  s,
int  char_num 
)

◆ charSpi()

quint8 FF7Save::charSpi ( int  s,
int  char_num 
)

◆ charSpiBonus()

quint8 FF7Save::charSpiBonus ( int  s,
int  char_num 
)

◆ charStr()

quint8 FF7Save::charStr ( int  s,
int  char_num 
)

◆ charStrBonus()

quint8 FF7Save::charStrBonus ( int  s,
int  char_num 
)

◆ charTimesLimitUsed()

quint16 FF7Save::charTimesLimitUsed ( int  s,
int  char_num,
int  level 
)

◆ charUnknown()

quint8 FF7Save::charUnknown ( int  s,
int  char_num,
int  unknown_num 
)

◆ charVit()

quint8 FF7Save::charVit ( int  s,
int  char_num 
)

◆ charVitBonus()

quint8 FF7Save::charVitBonus ( int  s,
int  char_num 
)

◆ charWeapon()

quint8 FF7Save::charWeapon ( int  s,
int  char_num 
)

◆ chocoAccel()

quint8 FF7Save::chocoAccel ( int  s,
int  chocoSlot 
)

◆ chocobo()

FF7CHOCOBO FF7Save::chocobo ( int  s,
int  chocoSlot 
)

◆ chocoboCantMates()

QList< bool > FF7Save::chocoboCantMates ( int  s)

◆ chocoboPen()

qint8 FF7Save::chocoboPen ( int  s,
int  pos 
)

◆ chocoboPens()

QList< qint8 > FF7Save::chocoboPens ( int  s)

return the chocobos in the pen outside of the chocobo farm

Parameters
sslot number (0-14)
Returns
list of chocobo in then pen.

◆ chocoboRating()

quint8 FF7Save::chocoboRating ( int  s,
int  stable 
)

Get Choco Billy's Rating of a chocobo.

This is the rating that Choco Billy give to a chocobo it follows the same format as FF7Save::chocoboPen()

Parameters
sslot number (0-14)
stablestable number (0-5)

◆ chocoboRatings()

QList< quint8 > FF7Save::chocoboRatings ( int  s)

◆ chocobos()

QList< FF7CHOCOBO > FF7Save::chocobos ( int  s)

◆ chocobosNames()

QList< QString > FF7Save::chocobosNames ( int  s)

◆ chocobosStaminas()

QList< quint16 > FF7Save::chocobosStaminas ( int  s)

◆ chocoCantMate()

bool FF7Save::chocoCantMate ( int  s,
int  chocoSlot 
)

◆ chocoCoop()

quint8 FF7Save::chocoCoop ( int  s,
int  chocoSlot 
)

◆ chocoIntelligence()

quint8 FF7Save::chocoIntelligence ( int  s,
int  chocoSlot 
)

◆ chocoMaxSpeed()

quint16 FF7Save::chocoMaxSpeed ( int  s,
int  chocoSlot 
)

◆ chocoMaxSprintSpeed()

quint16 FF7Save::chocoMaxSprintSpeed ( int  s,
int  chocoSlot 
)

◆ chocoName()

QString FF7Save::chocoName ( int  s,
int  choco_num 
)

◆ chocoPCount()

quint8 FF7Save::chocoPCount ( int  s,
int  chocoSlot 
)

◆ chocoPersonality()

quint8 FF7Save::chocoPersonality ( int  s,
int  chocoSlot 
)

◆ chocoRaceswon()

quint8 FF7Save::chocoRaceswon ( int  s,
int  chocoSlot 
)

◆ chocoSex()

quint8 FF7Save::chocoSex ( int  s,
int  chocoSlot 
)

◆ chocoSpeed()

quint16 FF7Save::chocoSpeed ( int  s,
int  chocoSlot 
)

◆ chocoSprintSpeed()

quint16 FF7Save::chocoSprintSpeed ( int  s,
int  chocoSlot 
)

◆ chocoStamina()

quint16 FF7Save::chocoStamina ( int  s,
int  chocoSlot 
)

◆ chocoType()

quint8 FF7Save::chocoType ( int  s,
int  chocoSlot 
)

◆ churchProgress()

quint8 FF7Save::churchProgress ( int  s)

◆ clearSlot()

void FF7Save::clearSlot ( int  s)

clear a slot

Parameters
sslot number (0-14)

◆ condorFunds()

quint16 FF7Save::condorFunds ( int  s)
Returns
amount of gil you have donated to fort condor
Parameters
sslot number (0-14)

◆ condorLosses()

quint8 FF7Save::condorLosses ( int  s)

losses in fort condor mini game

Parameters
sslot number (0-14)
Returns
number of losses at fort condor

◆ condorWins()

quint8 FF7Save::condorWins ( int  s)

wins in fort condor mini game

Parameters
sslot number (0-14)
Returns
number of wins at fort condor

◆ controllerMapping() [1/2]

QByteArray FF7Save::controllerMapping ( int  s)

get controller mapping for a slot

The controller mapping while stored in the pc save is not used? and shouldn't be edited

Parameters
sslot number (0-14)
Returns
Mapping as raw bytes

◆ controllerMapping() [2/2]

quint8 FF7Save::controllerMapping ( int  s,
int  action 
)

get button bound to an action for a slot

The controller mapping while stored in the pc save is not used? and shouldn't be edited

Parameters
sslot number (0-14)
actiongame action ( FF7Save::CONTROLACTION )
Returns
FF7Save::PSXBUTTON that an action is mapped to

◆ controlMode()

bool FF7Save::controlMode ( int  s)

◆ copySlot()

void FF7Save::copySlot ( int  s)

copy a slot Sin to the buffer

Parameters
sslot number (0-14)

◆ countdownTimer()

quint32 FF7Save::countdownTimer ( int  s)

◆ craterSavePointMapID()

quint16 FF7Save::craterSavePointMapID ( int  s)

map the placeable save point is on

Parameters
sslot number (0-14)
Returns
mapID of map containing the save point

◆ craterSavePointX()

qint16 FF7Save::craterSavePointX ( int  s)

x coordinate of the placeable save point

Parameters
sslot number (0-14)
Returns
x coordinate of the placeable save point

◆ craterSavePointY()

qint16 FF7Save::craterSavePointY ( int  s)

y coordinate of the placeable save point

Parameters
sslot number (0-14)
Returns
y coordinate of the placeable save point

◆ craterSavePointZ()

qint16 FF7Save::craterSavePointZ ( int  s)

z coordinate of the placeable save point

Parameters
sslot number (0-14)
Returns
z coordinate of the placeable save point

◆ cursorMode()

bool FF7Save::cursorMode ( int  s)

◆ descCurHP()

quint16 FF7Save::descCurHP ( int  s)

◆ descCurMP()

quint16 FF7Save::descCurMP ( int  s)

◆ descGil()

quint32 FF7Save::descGil ( int  s)

◆ descLevel()

quint8 FF7Save::descLevel ( int  s)

◆ descLocation()

QString FF7Save::descLocation ( int  s)

◆ descMaxHP()

quint16 FF7Save::descMaxHP ( int  s)

◆ descMaxMP()

quint16 FF7Save::descMaxMP ( int  s)

◆ descName()

QString FF7Save::descName ( int  s)

◆ descParty()

quint8 FF7Save::descParty ( int  s,
int  char_num 
)

◆ descTime()

quint32 FF7Save::descTime ( int  s)

◆ dialogColorLL()

QColor FF7Save::dialogColorLL ( int  s)

◆ dialogColorLR()

QColor FF7Save::dialogColorLR ( int  s)

◆ dialogColorUL()

QColor FF7Save::dialogColorUL ( int  s)

◆ dialogColorUR()

QColor FF7Save::dialogColorUR ( int  s)

◆ disc()

quint8 FF7Save::disc ( int  s)

◆ donProgress()

quint8 FF7Save::donProgress ( int  s)

◆ exportCharacter()

bool FF7Save::exportCharacter ( int  s,
int  char_num,
QString  fileName 
)

export a character

Parameters
sslot number (0-14)
char_numcharacter slot (0-8)
fileNamefile to write
Returns
true is successful

◆ exportFile()

bool FF7Save::exportFile ( const QString &  fileName,
FF7SaveInfo::FORMAT  exportFormat,
int  s = 0 
)

Export a File to the specificed format. Calls one of several internal methods to export the file.

Parameters
fileNamefile that will be saved
exportFormatThe Format to export.
sSlot to export if exporting to a single slot save type
Returns
True if Successful
See also
exportPCFormat(),exportVMCFormat(),exportPSX(),exportPS3(),exportPGE(),exportPDA

◆ fieldHelp()

bool FF7Save::fieldHelp ( int  s)

◆ fileChanged

void FF7Save::fileChanged ( bool  )
signal

emits when internal data changes

◆ fileDataFormat()

FF7SaveInfo::FORMAT FF7Save::fileDataFormat ( QFile &  file)

fileFormat- Read a file and get its Format.

Parameters
file- A File to check the format of
Returns
The Format of the file

◆ fileHeader()

QByteArray FF7Save::fileHeader ( void  )

file Header as QByteArray

◆ fileName()

QString FF7Save::fileName ( void  )

◆ fix_pc_bytemask()

void FF7Save::fix_pc_bytemask ( int  s)

◆ fixMetaData()

bool FF7Save::fixMetaData ( QString  fileName = "",
QString  UserID = "" 
)

parse the metadata for 2012 / 2013 release

Parameters
fileNamename of the file to output
UserIDsquaresoft id number to when signing
Returns
True is Successful

◆ format()

FF7SaveInfo::FORMAT FF7Save::format ( )

Returns the format of the loaded file.

Returns
FF7SaveInfo::FORMAT

◆ generatePsSaveSignature()

QByteArray FF7Save::generatePsSaveSignature ( QByteArray  data,
QByteArray  keySeed 
)

generates a signature for PS3 or VMP based on input..

Parameters
datato generate signature for
keySeedkeySeed that will be used to sign the data
Returns
new Signature for the file

◆ gil()

quint32 FF7Save::gil ( int  s)

◆ gp()

quint16 FF7Save::gp ( int  s)

◆ importCharacter()

void FF7Save::importCharacter ( int  s,
int  char_num,
QByteArray  new_char 
)

export a character

Parameters
sslot number (0-14)
char_numcharacter slot (0-8)
new_charraw bytes for a character in ff7

◆ importSlot()

void FF7Save::importSlot ( int  s = 0,
QString  fileName = "",
int  fileSlot = 0 
)

import from a file into a slot

Will import a slot from a file(fileName) into slot (s). when importing from a multi slot save type slot # (fileSlot) in the file will be imported.

Parameters
sslot to import into
fileNamefile that will be imported
fileSlotslot to import from fileName

◆ isBufferSlotPopulated()

bool FF7Save::isBufferSlotPopulated ( )

True when the bufferslot is populated.

◆ isFF7()

bool FF7Save::isFF7 ( int  s)

◆ isFileModified()

bool FF7Save::isFileModified ( void  )

◆ isJPN()

bool FF7Save::isJPN ( int  s)

◆ isNTSC()

bool FF7Save::isNTSC ( int  s)

◆ isPAL()

bool FF7Save::isPAL ( int  s)

◆ isSlotEmpty()

bool FF7Save::isSlotEmpty ( int  s)

◆ isSlotModified()

bool FF7Save::isSlotModified ( int  s)

◆ item()

quint16 FF7Save::item ( int  s,
int  item_num 
)

◆ itemMask1()

bool FF7Save::itemMask1 ( int  s,
int  bit 
)

◆ items()

QList< quint16 > FF7Save::items ( int  s)

◆ keyItem()

bool FF7Save::keyItem ( int  s,
int  keyItem 
)

◆ keyItems()

QByteArray FF7Save::keyItems ( int  s)

◆ killedEmeraldWeapon()

bool FF7Save::killedEmeraldWeapon ( int  s)

◆ killedRubyWeapon()

bool FF7Save::killedRubyWeapon ( int  s)

◆ lenCoreSave()

int FF7Save::lenCoreSave ( void  )

◆ lenFile()

int FF7Save::lenFile ( void  )

◆ lenFileHeader()

int FF7Save::lenFileHeader ( void  )

◆ lenSlot()

int FF7Save::lenSlot ( void  )

◆ lenSlotFooter()

int FF7Save::lenSlotFooter ( void  )

◆ lenSlotHeader()

int FF7Save::lenSlotHeader ( void  )

◆ loadFile()

bool FF7Save::loadFile ( const QString &  fileName)

attempt to load fileName as ff7save

Parameters
fileNamefile that will be loaded
Returns
True if Successful

◆ location()

QString FF7Save::location ( int  s)

◆ locationD()

quint8 FF7Save::locationD ( int  s)

direction player is facing on field map

Parameters
sslot number (0-14)
Returns
direction

◆ locationId()

quint16 FF7Save::locationId ( int  s)

Id of the location save is located on.

Parameters
sslot number (0-14)
Returns
location id

◆ locationT()

quint16 FF7Save::locationT ( int  s)

triangle play is standing on. field map

Parameters
sslot number (0-14)
Returns
triangle

◆ locationX()

qint16 FF7Save::locationX ( int  s)

x coordinate on field map

Parameters
sslot number (0-14)
Returns
x coordinate

◆ locationY()

qint16 FF7Save::locationY ( int  s)

y coordinate on field map

Parameters
sslot number (0-14)
Returns
y coordinate

◆ love()

quint8 FF7Save::love ( int  s,
bool  battle,
FF7Save::LOVER  who 
)

◆ magicOrder()

int FF7Save::magicOrder ( int  s)

◆ mainProgress()

quint16 FF7Save::mainProgress ( int  s)

◆ mapId()

quint16 FF7Save::mapId ( int  s)

map id save is on

Parameters
sslot number (0-14)
Returns
map id

◆ materiaCave()

bool FF7Save::materiaCave ( int  s,
FF7Save::MATERIACAVE  cave 
)

◆ menuLocked() [1/2]

quint16 FF7Save::menuLocked ( int  s)

◆ menuLocked() [2/2]

bool FF7Save::menuLocked ( int  s,
int  index 
)

◆ menuVisible() [1/2]

quint16 FF7Save::menuVisible ( int  s)

◆ menuVisible() [2/2]

bool FF7Save::menuVisible ( int  s,
int  index 
)

◆ messageSpeed()

int FF7Save::messageSpeed ( int  s)

◆ midgarTrainFlags()

bool FF7Save::midgarTrainFlags ( int  s,
int  bit 
)

◆ newGame()

void FF7Save::newGame ( int  s,
const QString &  region = QStringLiteral("NTSC-U"),
const QString &  fileName = QString() 
)

creates a new game in a slot

Parameters
sslot number (0-14)
regionRegion to make the save
fileNameRaw PSX file to use instead of default data

◆ newGamePlus()

void FF7Save::newGamePlus ( int  s,
QString  CharFileName,
QString  fileName = "" 
)

creates a new game + in a slot

When creating a new game+ two char files will be exported. one for cait sith and another for vincent. those characters have to be reset to correctly set a new game. You can reimport the char files when you acquire the character in your new game +

Parameters
sslot number (0-14)
CharFileNamebase filename to use for saving char files vincent and
fileNameRaw PSX file to use instead of defalut data

◆ numberOfSlots()

int FF7Save::numberOfSlots ( void  )

◆ options()

quint16 FF7Save::options ( int  s)

In game options for a slot.

Parameters
sslot number (0-14)
Returns
game options in raw format

◆ party()

quint8 FF7Save::party ( int  s,
int  pos 
)

◆ partyMateriaAp()

qint32 FF7Save::partyMateriaAp ( int  s,
int  mat_num 
)

◆ partyMateriaId()

quint8 FF7Save::partyMateriaId ( int  s,
int  mat_num 
)

◆ pasteSlot()

void FF7Save::pasteSlot ( int  s)

paste from the buffer into a slot

Parameters
sslot number (0-14)

◆ phsAllowed() [1/2]

quint16 FF7Save::phsAllowed ( int  s)

◆ phsAllowed() [2/2]

bool FF7Save::phsAllowed ( int  s,
int  who 
)

◆ phsVisible() [1/2]

quint16 FF7Save::phsVisible ( int  s)

◆ phsVisible() [2/2]

bool FF7Save::phsVisible ( int  s,
int  who 
)

◆ playedPianoOnFlashback()

bool FF7Save::playedPianoOnFlashback ( int  s)

Did Cloud play piano durring the flashback?.

Returns
True if the player played the piano durring the flashback
Parameters
sslot number (0-14)

◆ psx_block_next()

quint8 FF7Save::psx_block_next ( int  s)

◆ psx_block_size()

quint8 FF7Save::psx_block_size ( int  s)

◆ psx_block_type()

char FF7Save::psx_block_type ( int  s)

◆ psxDesc()

QString FF7Save::psxDesc ( int  s)

Get Description Text for PSX Slot.

This text is the text shown when you view the save slot in the memory manager on the playstation. It is also visible in many programs that work with psx memory cards.

Parameters
sslot number (0-14)

◆ rawCharacterData()

QByteArray FF7Save::rawCharacterData ( int  s,
int  char_num 
)

◆ region()

QString FF7Save::region ( int  s)

◆ runs()

quint16 FF7Save::runs ( int  s)

◆ saveFile()

bool FF7Save::saveFile ( const QString &  fileName,
int  s = 0 
)

attempt to save fileName as ff7save

Parameters
fileNamefile that will be saved
sthe slot to be saved in case of single slot export.
Returns
True if Successful

◆ seenPandorasBox()

bool FF7Save::seenPandorasBox ( int  s)

◆ setAtbMode()

void FF7Save::setAtbMode ( int  s,
int  mode 
)

◆ setBattleHelp()

void FF7Save::setBattleHelp ( int  s,
bool  shown 
)

◆ setBattleMessageSpeed()

void FF7Save::setBattleMessageSpeed ( int  s,
int  speed 
)

◆ setBattlePoints()

void FF7Save::setBattlePoints ( int  s,
quint16  bp 
)

◆ setBattles()

void FF7Save::setBattles ( int  s,
int  battles 
)

◆ setBattleSpeed()

void FF7Save::setBattleSpeed ( int  s,
int  speed 
)

◆ setBattleTargets()

void FF7Save::setBattleTargets ( int  s,
bool  shown 
)

◆ setBikeHighScore()

void FF7Save::setBikeHighScore ( int  s,
quint16  score 
)

◆ setBmProgress1() [1/2]

void FF7Save::setBmProgress1 ( int  s,
int  bit,
bool  isTrue 
)

◆ setBmProgress1() [2/2]

void FF7Save::setBmProgress1 ( int  s,
int  value 
)

◆ setBmProgress2() [1/2]

void FF7Save::setBmProgress2 ( int  s,
int  bit,
bool  isTrue 
)

◆ setBmProgress2() [2/2]

void FF7Save::setBmProgress2 ( int  s,
int  value 
)

◆ setBmProgress3() [1/2]

void FF7Save::setBmProgress3 ( int  s,
int  bit,
bool  isTrue 
)

◆ setBmProgress3() [2/2]

void FF7Save::setBmProgress3 ( int  s,
int  value 
)

◆ setCameraMode() [1/2]

void FF7Save::setCameraMode ( int  s,
bool  mode 
)

◆ setCameraMode() [2/2]

void FF7Save::setCameraMode ( int  s,
int  mode 
)

◆ setCanFightNinjaInForest()

void FF7Save::setCanFightNinjaInForest ( int  s,
bool  isTrue 
)

◆ setCharAccessory()

void FF7Save::setCharAccessory ( int  s,
int  char_num,
quint8  accessory 
)

◆ setCharacter()

void FF7Save::setCharacter ( int  s,
int  char_num,
const FF7CHAR new_char 
)

◆ setCharArmor()

void FF7Save::setCharArmor ( int  s,
int  char_num,
quint8  armor 
)

◆ setCharBaseHp()

void FF7Save::setCharBaseHp ( int  s,
int  char_num,
quint16  baseHp 
)

◆ setCharBaseMp()

void FF7Save::setCharBaseMp ( int  s,
int  char_num,
quint16  baseMp 
)

◆ setCharCurrentExp()

void FF7Save::setCharCurrentExp ( int  s,
int  char_num,
quint32  exp 
)

◆ setCharCurrentHp()

void FF7Save::setCharCurrentHp ( int  s,
int  char_num,
quint16  curHp 
)

◆ setCharCurrentMp()

void FF7Save::setCharCurrentMp ( int  s,
int  char_num,
quint16  curMp 
)

◆ setCharDex()

void FF7Save::setCharDex ( int  s,
int  char_num,
quint8  dex 
)

◆ setCharDexBonus()

void FF7Save::setCharDexBonus ( int  s,
int  char_num,
quint8  dexbonus 
)

◆ setCharFlag()

void FF7Save::setCharFlag ( int  s,
int  char_num,
int  flag_num,
quint8  flag_value 
)

◆ setCharID()

void FF7Save::setCharID ( int  s,
int  char_num,
qint8  new_id 
)

◆ setCharKills()

void FF7Save::setCharKills ( int  s,
int  char_num,
quint16  kills 
)

◆ setCharLck()

void FF7Save::setCharLck ( int  s,
int  char_num,
quint8  lck 
)

◆ setCharLckBonus()

void FF7Save::setCharLckBonus ( int  s,
int  char_num,
quint8  lckbonus 
)

◆ setCharLevel()

void FF7Save::setCharLevel ( int  s,
int  char_num,
qint8  new_level 
)

◆ setCharLimitBar()

void FF7Save::setCharLimitBar ( int  s,
int  char_num,
quint8  limitbar 
)

◆ setCharLimitLevel()

void FF7Save::setCharLimitLevel ( int  s,
int  char_num,
qint8  limitlevel 
)

◆ setCharLimits()

void FF7Save::setCharLimits ( int  s,
int  char_num,
quint16  new_limits 
)

◆ setCharMag()

void FF7Save::setCharMag ( int  s,
int  char_num,
quint8  mag 
)

◆ setCharMagBonus()

void FF7Save::setCharMagBonus ( int  s,
int  char_num,
quint8  magbonus 
)

◆ setCharMateria() [1/2]

void FF7Save::setCharMateria ( int  s,
int  who,
int  mat_num,
materia  mat 
)

◆ setCharMateria() [2/2]

void FF7Save::setCharMateria ( int  s,
int  who,
int  mat_num,
quint8  id,
qint32  ap 
)

◆ setCharMaxHp()

void FF7Save::setCharMaxHp ( int  s,
int  char_num,
quint16  maxHp 
)

◆ setCharMaxMp()

void FF7Save::setCharMaxMp ( int  s,
int  char_num,
quint16  maxMp 
)

◆ setCharName()

void FF7Save::setCharName ( int  s,
int  char_num,
QString  new_name 
)

◆ setCharNextExp()

void FF7Save::setCharNextExp ( int  s,
int  char_num,
quint32  next 
)

◆ setCharSpi()

void FF7Save::setCharSpi ( int  s,
int  char_num,
quint8  spi 
)

◆ setCharSpiBonus()

void FF7Save::setCharSpiBonus ( int  s,
int  char_num,
quint8  spibonus 
)

◆ setCharStr()

void FF7Save::setCharStr ( int  s,
int  char_num,
quint8  str 
)

◆ setCharStrBonus()

void FF7Save::setCharStrBonus ( int  s,
int  char_num,
quint8  strbonus 
)

◆ setCharTimeLimitUsed()

void FF7Save::setCharTimeLimitUsed ( int  s,
int  char_num,
int  level,
quint16  timesused 
)

◆ setCharUnknown()

void FF7Save::setCharUnknown ( int  s,
int  char_num,
int  unknown_num,
quint8  value 
)

◆ setCharVit()

void FF7Save::setCharVit ( int  s,
int  char_num,
quint8  vit 
)

◆ setCharVitBonus()

void FF7Save::setCharVitBonus ( int  s,
int  char_num,
quint8  vitbonus 
)

◆ setCharWeapon()

void FF7Save::setCharWeapon ( int  s,
int  char_num,
quint8  weapon 
)

◆ setChocoAccel()

void FF7Save::setChocoAccel ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoboPen() [1/2]

void FF7Save::setChocoboPen ( int  s,
int  pen,
qint8  value 
)

return the chocobos in the pen outside of the chocobo farm

Parameters
sslot number (0-14)
penthe slot in the pen to assign to (0-3)
valuerating of the chocobo (0:Empty 1:Wonderful 2:Great 3:Good 4:Fair 5:Average 6:Poor 7:Bad 8:Terrible)

◆ setChocoboPen() [2/2]

void FF7Save::setChocoboPen ( int  s,
int  pos,
int  type 
)

◆ setChocoboRating()

void FF7Save::setChocoboRating ( int  s,
int  stable,
int  rating 
)

Set Choco Billy's Rating of a chocobo.

This is the rating that Choco Billy give to a chocobo it follows the same format as FF7Save::chocoboPen()

Parameters
sslot number (0-14)
stablestable number 0-5
rating(0-8) 0:empty 1: wonderful 8:terrible

◆ setChocoCantMate()

void FF7Save::setChocoCantMate ( int  s,
int  chocoSlot,
bool  cantMate 
)

◆ setChocoCoop()

void FF7Save::setChocoCoop ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoIntelligence()

void FF7Save::setChocoIntelligence ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoMaxSpeed()

void FF7Save::setChocoMaxSpeed ( int  s,
int  chocoSlot,
quint16  maxspeed 
)

◆ setChocoMaxSprintSpeed()

void FF7Save::setChocoMaxSprintSpeed ( int  s,
int  chocoSlot,
quint16  maxsprintSpeed 
)

◆ setChocoName()

void FF7Save::setChocoName ( int  s,
int  choco_num,
QString  new_name 
)

◆ setChocoPCount()

void FF7Save::setChocoPCount ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoPersonality()

void FF7Save::setChocoPersonality ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoRaceswon()

void FF7Save::setChocoRaceswon ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoSex()

void FF7Save::setChocoSex ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChocoSpeed()

void FF7Save::setChocoSpeed ( int  s,
int  chocoSlot,
quint16  speed 
)

◆ setChocoSprintSpeed()

void FF7Save::setChocoSprintSpeed ( int  s,
int  chocoSlot,
quint16  sprintSpeed 
)

◆ setChocoStamina()

void FF7Save::setChocoStamina ( int  s,
int  chocoSlot,
quint16  stamina 
)

◆ setChocoType()

void FF7Save::setChocoType ( int  s,
int  chocoSlot,
quint8  value 
)

◆ setChurchProgress()

void FF7Save::setChurchProgress ( int  s,
int  progress 
)

◆ setCondorFunds()

void FF7Save::setCondorFunds ( int  s,
quint16  value 
)

set how gil you have donated to fort condor

Parameters
sslot number (0-14)
valueamount of gil donated

◆ setCondorLosses()

void FF7Save::setCondorLosses ( int  s,
quint8  losses 
)

set how many time you have lost the fort condor mini game

Parameters
sslot number (0-14)
lossesnumber of losses in the fort condor mini game

◆ setCondorWins()

void FF7Save::setCondorWins ( int  s,
quint8  wins 
)

set how many time you have won the fort condor mini game

Parameters
sslot number (0-14)
winsnumber of wins in the fort condor mini game

◆ setControllerMapping() [1/2]

void FF7Save::setControllerMapping ( int  s,
int  action,
int  button 
)

bind a button to an action for a slot.

The controller mapping while stored in the pc save is not used? and shouldn't be edited

Parameters
sslot number (0-14)
actionvalid game action ( FF7Save::CONTROLACTION )
buttona valid button ( FF7Save::PSXBUTTON )

◆ setControllerMapping() [2/2]

void FF7Save::setControllerMapping ( int  s,
QByteArray  map 
)

set the controller mapping for a slot

The controller mapping while stored in the pc save is not used? and shouldn't be edited

Parameters
sslot number (0-14)
mapMapping as raw bytes

◆ setControlMode() [1/2]

void FF7Save::setControlMode ( int  s,
bool  mode 
)

◆ setControlMode() [2/2]

void FF7Save::setControlMode ( int  s,
int  mode 
)

◆ setCountdownTimer()

void FF7Save::setCountdownTimer ( int  s,
quint32  time 
)

◆ setCraterSavePointMapID()

void FF7Save::setCraterSavePointMapID ( int  s,
int  value 
)

set the map that the placeable save point is on

Parameters
sslot number (0-14)
valuenew mapID

◆ setCraterSavePointX()

void FF7Save::setCraterSavePointX ( int  s,
int  value 
)

set x coordinate of the placeable save point

Parameters
sslot number (0-14)
valuenew x coordinate

◆ setCraterSavePointY()

void FF7Save::setCraterSavePointY ( int  s,
int  value 
)

set y coordinate of the placeable save point

Parameters
sslot number (0-14)
valuenew y coordinate

◆ setCraterSavePointZ()

void FF7Save::setCraterSavePointZ ( int  s,
int  value 
)

set z coordinate of the placeable save point

Parameters
sslot number (0-14)
valuenew z coordinate

◆ setCursorMode() [1/2]

void FF7Save::setCursorMode ( int  s,
bool  mode 
)

◆ setCursorMode() [2/2]

void FF7Save::setCursorMode ( int  s,
int  mode 
)

◆ setDescCurHP()

void FF7Save::setDescCurHP ( int  s,
quint16  new_curHP 
)

◆ setDescCurMP()

void FF7Save::setDescCurMP ( int  s,
quint16  new_curMP 
)

◆ setDescGil()

void FF7Save::setDescGil ( int  s,
quint32  new_gil 
)

◆ setDescLevel()

void FF7Save::setDescLevel ( int  s,
int  new_level 
)

◆ setDescLocation()

void FF7Save::setDescLocation ( int  s,
QString  new_desc_location 
)

◆ setDescMaxHP()

void FF7Save::setDescMaxHP ( int  s,
quint16  new_maxHP 
)

◆ setDescMaxMP()

void FF7Save::setDescMaxMP ( int  s,
quint16  new_maxMP 
)

◆ setDescName()

void FF7Save::setDescName ( int  s,
QString  new_name 
)

◆ setDescParty()

void FF7Save::setDescParty ( int  s,
int  char_num,
quint8  new_id 
)

◆ setDescTime()

void FF7Save::setDescTime ( int  s,
quint32  new_time 
)

◆ setDialogColorLL()

void FF7Save::setDialogColorLL ( int  s,
QColor  color 
)

◆ setDialogColorLR()

void FF7Save::setDialogColorLR ( int  s,
QColor  color 
)

◆ setDialogColorUL()

void FF7Save::setDialogColorUL ( int  s,
QColor  color 
)

◆ setDialogColorUR()

void FF7Save::setDialogColorUR ( int  s,
QColor  color 
)

◆ setDisc()

void FF7Save::setDisc ( int  s,
int  disc 
)

◆ setDonProgress()

void FF7Save::setDonProgress ( int  s,
int  progress 
)

◆ setFieldHelp()

void FF7Save::setFieldHelp ( int  s,
bool  shown 
)

◆ setFileHeader()

bool FF7Save::setFileHeader ( QByteArray  data)

set the file header

Parameters
datareplace existing data with these bytes
Returns
True is Successful

◆ setFileModified()

void FF7Save::setFileModified ( bool  changed,
int  s 
)

◆ setFormat()

void FF7Save::setFormat ( FF7SaveInfo::FORMAT  newFormat)

Set the format of the loaded file.

Parameters
newFormata valid FF7SaveInfo::FORMAT

◆ setGil()

void FF7Save::setGil ( int  s,
quint32  gil 
)

◆ setGp()

void FF7Save::setGp ( int  s,
int  gp 
)

◆ setItem() [1/2]

void FF7Save::setItem ( int  s,
int  item_num,
quint16  new_id,
quint8  new_qty 
)

◆ setItem() [2/2]

void FF7Save::setItem ( int  s,
int  item_num,
quint16  rawitem 
)

◆ setItemMask1()

void FF7Save::setItemMask1 ( int  s,
int  bit,
bool  pickedUp 
)

◆ setItems()

void FF7Save::setItems ( int  s,
QList< quint16 >  items 
)

◆ setKeyItem()

void FF7Save::setKeyItem ( int  s,
int  keyItem,
bool  pickedUp 
)

◆ setKeyItems()

bool FF7Save::setKeyItems ( int  s,
QByteArray  data 
)

◆ setKilledEmeraldWeapon()

void FF7Save::setKilledEmeraldWeapon ( int  s,
bool  isTrue 
)

◆ setKilledRubyWeapon()

void FF7Save::setKilledRubyWeapon ( int  s,
bool  isTrue 
)

◆ setLocation()

void FF7Save::setLocation ( int  s,
QString  new_location 
)

◆ setLocationD()

void FF7Save::setLocationD ( int  s,
quint8  d 
)

set direction player is facing on field map

Parameters
sslot number (0-14)
dnew direction

◆ setLocationId()

void FF7Save::setLocationId ( int  s,
quint16  locationID 
)

set location id save is located on

Parameters
sslot number (0-14)
locationIDnew locationID

◆ setLocationT()

void FF7Save::setLocationT ( int  s,
quint16  t 
)

set t coordinate on field map

Parameters
sslot number (0-14)
tnew t coordinate

◆ setLocationX()

void FF7Save::setLocationX ( int  s,
qint16  x 
)

set x coordinate on field map

Parameters
sslot number (0-14)
xnew x coordinate

◆ setLocationY()

void FF7Save::setLocationY ( int  s,
qint16  y 
)

set y coordinate on field map

Parameters
sslot number (0-14)
ynew y coordinate

◆ setLove()

void FF7Save::setLove ( int  s,
bool  battle,
FF7Save::LOVER  who,
quint8  love 
)

◆ setMagicOrder()

void FF7Save::setMagicOrder ( int  s,
int  order 
)

◆ setMainProgress()

void FF7Save::setMainProgress ( int  s,
int  mProgress 
)

◆ setMapId()

void FF7Save::setMapId ( int  s,
quint16  mapID 
)

set map id save is located on

Parameters
sslot number (0-14)
mapIDnew mapID

◆ setMateriaCave()

void FF7Save::setMateriaCave ( int  s,
FF7Save::MATERIACAVE  cave,
bool  isEmpty 
)

◆ setMenuLocked() [1/2]

void FF7Save::setMenuLocked ( int  s,
int  index,
bool  checked 
)

◆ setMenuLocked() [2/2]

void FF7Save::setMenuLocked ( int  s,
quint16  menu_visible 
)

◆ setMenuVisible() [1/2]

void FF7Save::setMenuVisible ( int  s,
int  index,
bool  checked 
)

◆ setMenuVisible() [2/2]

void FF7Save::setMenuVisible ( int  s,
quint16  menu_visible 
)

◆ setMessageSpeed()

void FF7Save::setMessageSpeed ( int  s,
int  speed 
)

◆ setMidgarTrainFlags() [1/2]

void FF7Save::setMidgarTrainFlags ( int  s,
int  bit,
bool  isTrue 
)

◆ setMidgarTrainFlags() [2/2]

void FF7Save::setMidgarTrainFlags ( int  s,
int  value 
)

◆ setOptions()

void FF7Save::setOptions ( int  s,
int  opt 
)

Set in game options for a slot.

Parameters
sslot number (0-14)
optgame options in raw format

◆ setParty()

void FF7Save::setParty ( int  s,
int  pos,
int  new_id 
)

Set the party member to an ID. When changing a party member the slots description data is also updated.

Parameters
s- Slot to set th party in
pos- Party slot to set
new_id- Id of character

◆ setPartyMateria()

void FF7Save::setPartyMateria ( int  s,
int  mat_num,
quint8  id,
qint32  ap 
)

◆ setPhsAllowed() [1/2]

void FF7Save::setPhsAllowed ( int  s,
int  who,
bool  checked 
)

◆ setPhsAllowed() [2/2]

void FF7Save::setPhsAllowed ( int  s,
quint16  phs_visible 
)

◆ setPhsVisible() [1/2]

void FF7Save::setPhsVisible ( int  s,
int  who,
bool  checked 
)

◆ setPhsVisible() [2/2]

void FF7Save::setPhsVisible ( int  s,
quint16  phs_visible 
)

◆ setPlayedPianoOnFlashback()

void FF7Save::setPlayedPianoOnFlashback ( int  s,
bool  played 
)

Set if Cloud played piano durring the flashback.

Parameters
sslot number (0-14)
playedTrue = Cloud Played piano

◆ setPsx_block_next()

void FF7Save::setPsx_block_next ( int  s,
int  next 
)

◆ setPsx_block_size()

void FF7Save::setPsx_block_size ( int  s,
int  blockSize 
)

◆ setPsx_block_type()

void FF7Save::setPsx_block_type ( int  s,
char  block_type 
)

◆ setPsxDesc()

void FF7Save::setPsxDesc ( QString  newDesc,
int  s 
)

Set The Description Text for PSX Slot (text shows in memory card manager of playstation) USE WITH CAUTION CAN RETURN JUNK DATA.

This text is the text shown when you view the save slot in the memory manager on the playstation. It is also visible in many programs that work with psx memory cards.

Parameters
newDescyour new text
sslot number (0-14)

◆ setRegion()

void FF7Save::setRegion ( int  s,
const QString &  region 
)

◆ setRuns()

void FF7Save::setRuns ( int  s,
int  runs 
)

◆ setSaveNumber()

void FF7Save::setSaveNumber ( int  s,
int  saveNum 
)

◆ setSeenPandorasBox()

void FF7Save::setSeenPandorasBox ( int  s,
bool  seen 
)

◆ setSlotFF7Data() [1/2]

FF7Save::setSlotFF7Data ( int  s,
const FF7SLOT data 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
sslot number (0-14)
datareplace existing data with these bytes

◆ setSlotFF7Data() [2/2]

bool FF7Save::setSlotFF7Data ( int  s,
QByteArray  data 
)

◆ setSlotFooter()

bool FF7Save::setSlotFooter ( int  s,
QByteArray  data 
)

set the slot footer

Parameters
sslot number (0-14)
datareplace existing data with these bytes
Returns
True is Successful

◆ setSlotHeader()

bool FF7Save::setSlotHeader ( int  s,
QByteArray  data 
)

set the slot header

Parameters
sslot number (0-14)
datareplace existing data with these bytes
Returns
True is Successful

◆ setSlotPsxRawData()

bool FF7Save::setSlotPsxRawData ( int  s,
QByteArray  data 
)

set the slots raw psx data

Most Useful when connected to a hexEditor, This function will set the slot(s) raw data as if writing to a psx card directly. even if more then one slot and correctly update the save index based on whats in the data.

Parameters
sslot number (0-14)
datareplace existing data with these bytes
Returns
True is Successful

◆ setSnowboardScore()

void FF7Save::setSnowboardScore ( int  s,
int  course,
quint8  score 
)

◆ setSnowboardTime()

void FF7Save::setSnowboardTime ( int  s,
int  course,
QString  time 
)

◆ setSoundMode() [1/2]

void FF7Save::setSoundMode ( int  s,
bool  mode 
)

◆ setSoundMode() [2/2]

void FF7Save::setSoundMode ( int  s,
int  mode 
)

setSound mode for a slot

Parameters
sslot number (0-14)
modenew soundMode FF7Save::SOUNDMODE

◆ setSpeedScore()

void FF7Save::setSpeedScore ( int  s,
int  rank,
quint16  score 
)

◆ setStableMask()

void FF7Save::setStableMask ( int  s,
qint8  value 
)

◆ setStablesOccupied()

void FF7Save::setStablesOccupied ( int  s,
qint8  value 
)

◆ setStablesOwned()

void FF7Save::setStablesOwned ( int  s,
qint8  value 
)

◆ setStartBombingMission()

void FF7Save::setStartBombingMission ( int  s,
bool  isTrue 
)

◆ setSteps()

void FF7Save::setSteps ( int  s,
int  steps 
)

◆ setStolenMateria()

void FF7Save::setStolenMateria ( int  s,
int  mat_num,
quint8  id,
qint32  ap 
)

◆ setSubMiniGameVictory()

void FF7Save::setSubMiniGameVictory ( int  s,
bool  won 
)

◆ setTime()

void FF7Save::setTime ( int  s,
quint32  new_time 
)

◆ setTurtleParadiseFlyerSeen()

void FF7Save::setTurtleParadiseFlyerSeen ( int  s,
int  flyer,
bool  seen 
)

◆ setTurtleParadiseFlyersSeen()

void FF7Save::setTurtleParadiseFlyersSeen ( int  s,
quint8  flyersSeen 
)

◆ setTutSave()

void FF7Save::setTutSave ( int  s,
int  value 
)

◆ setTutSub() [1/2]

void FF7Save::setTutSub ( int  s,
int  bit,
bool  isTrue 
)

◆ setTutSub() [2/2]

void FF7Save::setTutSub ( int  s,
int  value 
)

◆ setUnknown()

bool FF7Save::setUnknown ( int  s,
int  z,
QByteArray  data 
)

◆ setUWeaponHp()

void FF7Save::setUWeaponHp ( int  s,
int  hp 
)

◆ setVincentUnlocked()

void FF7Save::setVincentUnlocked ( int  s,
bool  isUnlocked 
)

set if vincent has been unlocked

Parameters
sslot number (0-14)
isUnlockedIs Character Unlocked?

◆ setWorldChocobo()

void FF7Save::setWorldChocobo ( int  s,
int  bit,
bool  isTrue 
)

◆ setWorldCoordsBh()

void FF7Save::setWorldCoordsBh ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsBhAngle()

void FF7Save::setWorldCoordsBhAngle ( int  s,
int  value 
)

◆ setWorldCoordsBhID()

void FF7Save::setWorldCoordsBhID ( int  s,
int  value 
)

◆ setWorldCoordsBhX()

void FF7Save::setWorldCoordsBhX ( int  s,
int  value 
)

◆ setWorldCoordsBhY()

void FF7Save::setWorldCoordsBhY ( int  s,
int  value 
)

◆ setWorldCoordsBhZ()

void FF7Save::setWorldCoordsBhZ ( int  s,
int  value 
)

◆ setWorldCoordsDurw()

void FF7Save::setWorldCoordsDurw ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsDurwAngle()

void FF7Save::setWorldCoordsDurwAngle ( int  s,
int  value 
)

◆ setWorldCoordsDurwID()

void FF7Save::setWorldCoordsDurwID ( int  s,
int  value 
)

◆ setWorldCoordsDurwX()

void FF7Save::setWorldCoordsDurwX ( int  s,
int  value 
)

◆ setWorldCoordsDurwY()

void FF7Save::setWorldCoordsDurwY ( int  s,
int  value 
)

◆ setWorldCoordsDurwZ()

void FF7Save::setWorldCoordsDurwZ ( int  s,
int  value 
)

◆ setWorldCoordsLeader()

void FF7Save::setWorldCoordsLeader ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsLeaderAngle()

void FF7Save::setWorldCoordsLeaderAngle ( int  s,
int  value 
)

◆ setWorldCoordsLeaderID()

void FF7Save::setWorldCoordsLeaderID ( int  s,
int  value 
)

◆ setWorldCoordsLeaderX()

void FF7Save::setWorldCoordsLeaderX ( int  s,
int  value 
)

◆ setWorldCoordsLeaderY()

void FF7Save::setWorldCoordsLeaderY ( int  s,
int  value 
)

◆ setWorldCoordsLeaderZ()

void FF7Save::setWorldCoordsLeaderZ ( int  s,
int  value 
)

◆ setWorldCoordsSub()

void FF7Save::setWorldCoordsSub ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsSubAngle()

void FF7Save::setWorldCoordsSubAngle ( int  s,
int  value 
)

◆ setWorldCoordsSubID()

void FF7Save::setWorldCoordsSubID ( int  s,
int  value 
)

◆ setWorldCoordsSubX()

void FF7Save::setWorldCoordsSubX ( int  s,
int  value 
)

◆ setWorldCoordsSubY()

void FF7Save::setWorldCoordsSubY ( int  s,
int  value 
)

◆ setWorldCoordsSubZ()

void FF7Save::setWorldCoordsSubZ ( int  s,
int  value 
)

◆ setWorldCoordsTc()

void FF7Save::setWorldCoordsTc ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsTcAngle()

void FF7Save::setWorldCoordsTcAngle ( int  s,
int  value 
)

◆ setWorldCoordsTcID()

void FF7Save::setWorldCoordsTcID ( int  s,
int  value 
)

◆ setWorldCoordsTcX()

void FF7Save::setWorldCoordsTcX ( int  s,
int  value 
)

◆ setWorldCoordsTcY()

void FF7Save::setWorldCoordsTcY ( int  s,
int  value 
)

◆ setWorldCoordsTcZ()

void FF7Save::setWorldCoordsTcZ ( int  s,
int  value 
)

◆ setWorldCoordsWchoco()

void FF7Save::setWorldCoordsWchoco ( int  s,
bool  firstChunk,
int  value 
)

◆ setWorldCoordsWchocoAngle()

void FF7Save::setWorldCoordsWchocoAngle ( int  s,
int  value 
)

◆ setWorldCoordsWchocoID()

void FF7Save::setWorldCoordsWchocoID ( int  s,
int  value 
)

◆ setWorldCoordsWchocoX()

void FF7Save::setWorldCoordsWchocoX ( int  s,
int  value 
)

◆ setWorldCoordsWchocoY()

void FF7Save::setWorldCoordsWchocoY ( int  s,
int  value 
)

◆ setWorldCoordsWchocoZ()

void FF7Save::setWorldCoordsWchocoZ ( int  s,
int  value 
)

◆ setWorldVehicle()

void FF7Save::setWorldVehicle ( int  s,
int  bit,
bool  isTrue 
)

◆ setYuffieUnlocked()

void FF7Save::setYuffieUnlocked ( int  s,
bool  isUnlocked 
)

set if yuffie has been unlocked

Parameters
sslot number (0-14)
isUnlockedIs Character Unlocked?

◆ slotFF7Data()

QByteArray FF7Save::slotFF7Data ( int  s)

Return Raw data from the slot.

Parameters
sslot number (0-14)

◆ slotFooter()

QByteArray FF7Save::slotFooter ( int  s)

Footer for a slot as QByteArray.

Parameters
sslot number (0-14)

◆ slotHeader()

QByteArray FF7Save::slotHeader ( int  s)

Header for a slot as QByteArray.

Parameters
sslot number (0-14)

◆ slotIcon()

QList< QByteArray > FF7Save::slotIcon ( int  s)

return slots save icon. each new frame will be appended to the list.

◆ slotPsxRawData()

QByteArray FF7Save::slotPsxRawData ( int  s)

QByteArray of a psx save (multiblock saves are ok)

Parameters
sslot number (0-14); if a multi block set s should be the first block used

◆ snowboardScore()

quint8 FF7Save::snowboardScore ( int  s,
int  course 
)

◆ snowboardTime()

QString FF7Save::snowboardTime ( int  s,
int  course 
)

◆ soundMode()

bool FF7Save::soundMode ( int  s)

soundMode mono or stero

Parameters
sslot number (0-14) return TRUE if Stero mode; FALSE for Mono

◆ speedScore()

quint16 FF7Save::speedScore ( int  s,
int  rank 
)

◆ stableMask()

qint8 FF7Save::stableMask ( int  s)

◆ stablesOccupied()

qint8 FF7Save::stablesOccupied ( int  s)

◆ stablesOwned()

qint8 FF7Save::stablesOwned ( int  s)

◆ startBombingMission()

bool FF7Save::startBombingMission ( int  s)

◆ steps()

quint16 FF7Save::steps ( int  s)

◆ stolenMateriaAp()

qint32 FF7Save::stolenMateriaAp ( int  s,
int  mat_num 
)

◆ stolenMateriaId()

quint8 FF7Save::stolenMateriaId ( int  s,
int  mat_num 
)

◆ subMiniGameVictory()

bool FF7Save::subMiniGameVictory ( int  s)

◆ time()

quint32 FF7Save::time ( int  s)

◆ turtleParadiseFlyerSeen()

bool FF7Save::turtleParadiseFlyerSeen ( int  s,
int  flyer 
)

◆ turtleParadiseFlyersSeen()

quint8 FF7Save::turtleParadiseFlyersSeen ( int  s)

◆ tutSave()

quint8 FF7Save::tutSave ( int  s)

◆ tutSub() [1/2]

quint8 FF7Save::tutSub ( int  s)

◆ tutSub() [2/2]

bool FF7Save::tutSub ( int  s,
int  bit 
)

◆ unknown()

QByteArray FF7Save::unknown ( int  s,
int  z 
)

◆ unknown_zmax()

int FF7Save::unknown_zmax ( )
inline

the number of unknown z vars.

Returns
Number Of "z" vars in ff7save

◆ uWeaponHp()

quint32 FF7Save::uWeaponHp ( int  s)

◆ vincentUnlocked()

bool FF7Save::vincentUnlocked ( int  s)

has vincent been unlocked

Parameters
sslot number (0-14)
Returns
True if vincent has been unlocked

◆ worldChocobo()

bool FF7Save::worldChocobo ( int  s,
int  bit 
)

◆ worldCoordsBh()

quint32 FF7Save::worldCoordsBh ( int  s,
bool  firstChunk 
)

◆ worldCoordsBhAngle()

int FF7Save::worldCoordsBhAngle ( int  s)

◆ worldCoordsBhID()

int FF7Save::worldCoordsBhID ( int  s)

◆ worldCoordsBhX()

int FF7Save::worldCoordsBhX ( int  s)

◆ worldCoordsBhY()

int FF7Save::worldCoordsBhY ( int  s)

◆ worldCoordsBhZ()

int FF7Save::worldCoordsBhZ ( int  s)

◆ worldCoordsDurw()

quint32 FF7Save::worldCoordsDurw ( int  s,
bool  firstChunk 
)

◆ worldCoordsDurwAngle()

int FF7Save::worldCoordsDurwAngle ( int  s)

◆ worldCoordsDurwID()

int FF7Save::worldCoordsDurwID ( int  s)

◆ worldCoordsDurwX()

int FF7Save::worldCoordsDurwX ( int  s)

◆ worldCoordsDurwY()

int FF7Save::worldCoordsDurwY ( int  s)

◆ worldCoordsDurwZ()

int FF7Save::worldCoordsDurwZ ( int  s)

◆ worldCoordsLeader()

quint32 FF7Save::worldCoordsLeader ( int  s,
bool  firstChunk 
)

◆ worldCoordsLeaderAngle()

int FF7Save::worldCoordsLeaderAngle ( int  s)

◆ worldCoordsLeaderID()

int FF7Save::worldCoordsLeaderID ( int  s)

◆ worldCoordsLeaderX()

int FF7Save::worldCoordsLeaderX ( int  s)

◆ worldCoordsLeaderY()

int FF7Save::worldCoordsLeaderY ( int  s)

◆ worldCoordsLeaderZ()

int FF7Save::worldCoordsLeaderZ ( int  s)

◆ worldCoordsSub()

quint32 FF7Save::worldCoordsSub ( int  s,
bool  firstChunk 
)

◆ worldCoordsSubAngle()

int FF7Save::worldCoordsSubAngle ( int  s)

◆ worldCoordsSubID()

int FF7Save::worldCoordsSubID ( int  s)

◆ worldCoordsSubX()

int FF7Save::worldCoordsSubX ( int  s)

◆ worldCoordsSubY()

int FF7Save::worldCoordsSubY ( int  s)

◆ worldCoordsSubZ()

int FF7Save::worldCoordsSubZ ( int  s)

◆ worldCoordsTc()

quint32 FF7Save::worldCoordsTc ( int  s,
bool  firstChunk 
)

◆ worldCoordsTcAngle()

int FF7Save::worldCoordsTcAngle ( int  s)

◆ worldCoordsTcID()

int FF7Save::worldCoordsTcID ( int  s)

◆ worldCoordsTcX()

int FF7Save::worldCoordsTcX ( int  s)

◆ worldCoordsTcY()

int FF7Save::worldCoordsTcY ( int  s)

◆ worldCoordsTcZ()

int FF7Save::worldCoordsTcZ ( int  s)

◆ worldCoordsWchoco()

quint32 FF7Save::worldCoordsWchoco ( int  s,
bool  firstChunk 
)

◆ worldCoordsWchocoAngle()

int FF7Save::worldCoordsWchocoAngle ( int  s)

◆ worldCoordsWchocoID()

int FF7Save::worldCoordsWchocoID ( int  s)

◆ worldCoordsWchocoX()

int FF7Save::worldCoordsWchocoX ( int  s)

◆ worldCoordsWchocoY()

int FF7Save::worldCoordsWchocoY ( int  s)

◆ worldCoordsWchocoZ()

int FF7Save::worldCoordsWchocoZ ( int  s)

◆ worldVehicle()

bool FF7Save::worldVehicle ( int  s,
int  bit 
)

◆ yuffieUnlocked()

bool FF7Save::yuffieUnlocked ( int  s)

has yuffie been unlocked

Parameters
sslot number (0-14)
Returns
True if yuffie has been unlocked

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