Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Open-source M and H file merger tool available
Open-source M and H file merger tool available Tue, 01 September 2015 23:09 Go to previous message
schneck is currently offline schneck

 
Crewman 3rd Class

Messages: 8
Registered: April 2015
Location: United States
I have taken Raptor's fine work on open-sourcing Stars! file decryption and produced a tool. The tool will allow allies to share information directly in their H or M files.

Java code at https://github.com/raptor/stars

Download runnable jar file at https://github.com/tupelo-schneck/stars/releases/download/v0 .9/StarsFileMerger.jar

It's been tested, but please backup your files if you use it, just in case! And let me know (via GitHub is best) what problems you encounter.

If you know not-yet-public information about the Stars! file structures that could help produce more tools like this, please do send me such information!

Using the tool:

java -jar StarsFileMerger.jar -m file...
java -jar StarsFileMerger.jar -h file...

StarsFileMerger will merge data among allies' M files or H files.
Use -m to merge M files, -h to merge H files.

If merging M files:
All M files supplied on the command line will have their data augmented
with the data on each planet, player, design, fleet, minefield, packet,
salvage, or wormhole from any of the files.

Backups of each input M file will be retained with suffix .backup-m#.

If merging H files:
All H files supplied on the command line will have their data replaced
with the newest data on each planet, player, and design from any of the files.

M files supplied on the command line will have their data incorporated
but will not be changed. M files are needed for accurately determining
the latest ship designs.

Backups of each input H file will be retained with suffix .backup-h#.

Usage notes:
If allies merge M files each turn, merging H files should not be necessary.
If any ally skips a turn, merging H files might become necessary.
H file merge can also be used for a single player to fill a new H file
from a collection of M file backups.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Graphing player resources
Next Topic: Stars! AI
Goto Forum:
  


Current Time: Thu Apr 18 22:40:56 EDT 2024