Skip to content

A parser for the common file type used by Introversion Software's recent games.

License

Notifications You must be signed in to change notification settings

Totengeist/IVParsers

Repository files navigation

Introversion Parsers

Build Status Latest Stable Version codecov Total Downloads License PHP Version Require

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.

Installation

Use the package manager composer to install IVParsers.

composer require totengeist/iv-parsers

Usage

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());

Support

For questions not related to contributing directly to the project, please reach out on Discord.

Contributing

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.

License

MIT

About

A parser for the common file type used by Introversion Software's recent games.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages