ropenttd

Crates.ioropenttd
lib.rsropenttd
version0.0.2
sourcesrc
created_at2024-01-16 10:02:29.821419
updated_at2024-01-16 10:02:29.821419
descriptionProvide a raw access to openttd save files
homepage
repositoryhttps://github.com/fernandobatels/ropenttd
max_upload_size
id1101460
size13,192,886
Luis Fernando Batels (fernandobatels)

documentation

README

OpenTTD reader

Crate API

A demonstration crate to read the OpenTTD save files. Only use this project with a backup copy of your saves.

Examples

Default company info

cargo run company saves/example1.sav
 name                 inaugurated_year   president   currency   money     loan
 Petfield Transport   1950               D. Nelson   GBP        3647337   0

TODO

  • load save game ottx
  • parse the main company
  • parse the others companies
  • parse the trains
  • parse the planes
  • parse the trucks
  • parse the ships
  • parse the economy
  • parse the map
  • parse the cities
  • parse the industries
  • parse the stations
  • parse the ports
  • parse the airports
  • parse the roads
  • parse the rails
  • render the map in some way
  • support old save games
  • support other formats(ottd, ottn..)
  • lib mode
  • cli mode
Commit count: 0

cargo fmt