Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Stars!tools: merging and fuel usage
Stars!tools: merging and fuel usage Sun, 18 March 2018 09:35 Go to previous message
mrvan is currently offline mrvan

 
Officer Cadet 1st Year

Messages: 220
Registered: May 2014
I wrote some very simple python-based tools for stars.

I don't expect these to be directly useful for anyone, but if they are, good for you Smile

https://github.com/vanatteveldt/starstools/

Currently contains two tools:

  • [merge.py]
    Downloads and merges .m files of you and your ally and creates an html index with archive. Uses the m/h file merger from https://github.com/tupelo-schneck/stars (thanks!). I run it in a cron job outputting to a password protected public html folder (so the new merged .m file is automatically available when a new turn is in)
  • [fuel.py]
    Calculate fuel usage and booster requirements for a given trip, including slowing down and AR decay.


Neither of them is meant to be generally useful and a lot of stuff is hard coded. So, if you want to use it you probably either need to adapt some things or make them more general.

Pull requests welcome Smile

Feel free to reply/mail/pm if you have any technical questions, suggestions, or remarks!


[Updated on: Sun, 18 March 2018 09:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Request for source code of any and all utilities
Next Topic: Stars! decryption
Goto Forum:
  


Current Time: Sat Apr 20 06:27:11 EDT 2024