This library aims to provide parsers for common Introversion file formats. It is currently focused on the early access game The Last Starship, but will hopefully include other parsers in the future.
This library is developed by the community. We are not affiliated with Introversion Software.
Use the package manager composer to install IVParsers.
composer require totengeist/iv-parsers
IVParsers currently supports .ship
and .space
files for The Last Starship. Files can be loaded, modified and saved.
$ship = ShipFile(file_get_contents('science-vessel.ship'));
$ship->setName('Crusher');
$ship->setAuthor('Totengeist');
file_put_contents('Crusher.ship', $ship->toString());
$save = SaveFile(file_get_contents('Fun Time.space'));
$save->getSaveVersion();
TiddletBug::resolveBug($save);
file_put_contents('Fun Time.space', $save->toString());
For questions not related to contributing directly to the project, please reach out on Discord.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.