Ship file

From Interstellar Rift Wiki
Revision as of 00:15, 15 February 2018 by Erandelax (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Exportable ship configuration file (*.shipz) is a zip-like archive that is basically used to transfer ship blueprints between players outside of the Steam Workshop. However you can use it to process your ship with some external programs as well.

Archive structure

Currently (0.1.55d) the ship file archive contains such a list of text files:

  1. authorId - plain text file contains a steamID of the ship creator account. Ends with a line feed symbol.
  2. authorName - plain text file in theory, should contain the creator's name, but for now it contains just two new line symbols.
  3. device - JSON file describes the current state of all on-board devices and their configuration, access group lists and other stuff.
  4. displayName - plain text file contains a ship name. You can use game color codes to make it colorful, but beware - game loading screens and search filters do not get along with these too much. File ends with a line feed symbol.
  5. hash - plain text file contains a 64-byte hash md5-like hash of something. File ends with a line feed symbol.
  6. IRversion - plain text file contains current game version (aka "0.1.55d") when the save was taken. Ends with a line feed symbol.
  7. name - plain text file currently contains just two line feed symbols.
  8. publishedfileid - plain text file contains steamID of the Workshop item the ship file represents. For saves that have been never uploaded to the Steam Workshop it's "0". Two saves with the same "publishedfileid" will upload their content as a same workshop item, so if you want to upload several versions of the same ship to the Workshop, just export it, change "publishedfileid" to 0, import and upload as a new workshop item! File ends with a line feed symbol.
  9. ship - XML file contains a list of ship rooms, list of exterior props (type + position + color) and the history of the interior changes (so called "instructions"). However if you want to use it in order to cancel several changes of the ship interior, beware not to mess with the device file which should be edited as well.
  10. shipVersion - plain text file contains an integer number that increments each time ship is uploaded to the Workshop, so that game knows if the ship on your PC is older than the one you have online. File ends with a line feed symbol.