Difference between revisions of "Save Editing"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
 
m (1 revision imported)
(No difference)

Revision as of 14:56, 3 December 2016


Ambox important.png Ambox important.png
Aside from the official TiTS save editor, the development team does not fully endorse or support save editing as this will be considered "cheating" and/or "hacking" the game's files to gain a desired result instead of using the in-game mechanics as intended.

If you intend on editing your save file, do note that you are fully responsible for any outcome the changes made to your save file may produce--this includes any negative effects it may have on your gameplay experience, appearances of any strange cosmetic or function-related bugs that did not exist before the editing, or even corrupting the save file itself, or otherwise making it unreadable by the game.

Always remember to keep a backup copy of your original, unaltered, save file!

Description


This is a reference to modifying the Trials in Tainted Space save game file.

There are two file variants the game can save to: a game-specific *.tits file (by using the "Save File" button) or the more editable *.sol file (by using the "Save" button). This editing guide will only concentrate on the Local Shared Object file type (*.sol).


Editors


There are a couple ways one can go about editing save files.


TiTS Save Editor

No details on this at the moment.


CourseVector .minerva

The most common and more publicly available method is by using a local shared object editor named .minerva. Legacy versions of .minerva can be downloaded and used on a machine locally, but requires the AIR environment software to be installed for the program function properly. Alternatively, the current online-browser version will allow uploading a *.sol file to edit, then saving the changes to a new file.


Save File Location


Depending on the operating system and/or web browser being used, the *.sol save file generated for the game may be found in one of a number of places.

Folder Directory

The first step is to find the proper folder directory:


Windows Vista & 7

Access the "AppData" folder by doing the following:

  • Windows Key + R to open the Run command prompt.
  • Type, or copy and paste "%AppData%" into the Run command and hit OK or press Enter.
  • Roaming > Macromedia > Flash Player > #SharedObjects > [numbers and letters]


Another option is to set hidden folders as visible, enabling navigation directly to the AppData folder.

Full path:
C:\Users\[username]\AppData\Roaming\Macromedia\Flash Player\#SharedObjects\[numbers and letters]\

If using Windows XP, save files can be located at the file path:
C:\Documents and Settings\[username]\Application Data\Macromedia\Flash Player\#SharedObjects\[numbers and letters]\

If using Google Chrome, save files can be located at the file path:
C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\#SharedObjects\[numbers and letters]\


Alternatively, if you can't find the exact directory, you can search for the file by doing the following:

  • Windows Key + R to open the Run command prompt.
  • Type, or copy and paste "%AppData%" into the Run command and hit OK or press Enter.
  • Go to the Search Roaming text input box in the top right corner of the window and type "TiTs_" or ".sol".
  • Wait for the search to find the relevant files.


Mac OS X

Full path:
Users/[username]/Library/Preferences/Macromedia/Flash Player/#SharedObjects/[numbers and letters]/


Linux

Full path:
/home/[username]/.macromedia/Flash_Player/#SharedObjects/[numbers and letters]/


File Location

After finding the proper directory, the next step is to find the actual file in the following folder location:

If Trials in Tainted Space is downloaded and played on the local hard drive instead of the online browser, the save file may be found in a folder labeled "localhost", usually located in the Macromedia Flash Player cache/temporary folder.

  • For example, on Windows 7: Roaming > Macromedia > Flash Player > #SharedObjects > [numbers and letters] > localhost

Newer versions of Flash have changed this to a folder labelled "#localWithNet"

  • E.g: Roaming > Macromedia > Flash Player > #SharedObjects > [numbers and letters] > #localWithNet


Alternatively, playing online via www.fenoxo.com or fenoxo.com will produce a save file located in the "www.fenoxo.com" and "fenoxo.com" folders, respectively. If playing it from the FurAffinity website (or www.furaffinity.net), it would be located in the "d.facdn.net" folder.

  • For example, on Windows 7: Roaming > Macromedia > Flash Player > #SharedObjects > [numbers and letters] > www.fenoxo.com

Filename

After finding the appropriate folder, the save file produced should be named something to the effect of "TiTs_n.sol", where the "n" is the slot number the save was saved in.

  • For instance, if the file was saved in Slot 3, the file would be named "TiTs_3.sol".


Save File Anatomy


There are a variety of value types that make up the components of a save file. They include:

  • Integer - A whole (non-decimal) number.
  • Number - A number with a decimal or fractional value.
  • Boolean - A binary value consisting of true or false.
  • String - A sequence of text-based characters.
  • Array - A collection of variables grouped together.
  • Object - Similar to an array, a collection consisting of a group of variables.


Note that a number value can be considered an integer if no decimals are present in its value. Both integers and numbers can be positive or negative values.


Variable Array


The save file will contain a main array of values, each possibly containing another array of values (which can also contain yet another array of values).

The main set of values presented in the save are as follows:


Characters

This array contains the various information of characters marked for serialization. The information deals mostly with stats, slotted items, and body part details of the specific character.

For editing the player's character, the array object of interest would be "PC".


Breast Rows

The breast rows, regardless of breast sizes, fall under the "BreastRow" class of organ objects which contain the following properties:


Cocks

The penis falls under the "Cock" class of organ objects which contain the following properties:


Orifices

The vagina and anus fall under the "Vagina" class of organ objects which contain the following properties:


Pregnancy

The "PregnancyData" array consists of active and inactive "wombs" which contain the following properties:


Type Values

For a reference to the integers used for the predefined types and flags, see the Global Values page.

To determine whether or not a type/flag is compatible with a certain body part, refer to the list of body parts found in the Appearance page.


Item

For most item objects, only a few notable values are saved.

However, if the item is marked for serialization, the object is dynamic rather than static, and additional values are available:


Storage

Storage class arrays are commonly used for key items, perks, and status effects. The values for a storage object are as follows:


Collection

Type collection of type/flag arrays are used determine the values for each damage/resistance of an item. The arrays are as follows:

For typeCollection, the array's index numbers correlate to the damage type, where the values under each type designates the amount of damage/protection from each type. The flagCollection works similar to other flag-like arrays where only the defined/adopted flag values are included in the collection.