Re: Utility to clean .m files |
Sun, 24 November 2019 00:54 |
|
ricks03 | | | Messages: 222
Registered: January 2012 Location: NC | |
|
It's completely understandable that the Jeffs included information in the .M file that didn't need to be there. They data-compressed things to the nth degree but one additional nibble here or there meant saving space in the code. They didn't need to worry about file security. Files were encrypted. The front end managed access, and it was password-protected. Disassembling things back then was expensive. And Stars was play by email. People didn't have access to all the files. The host would, but then again regardless of security the host could always copy files off and generate turns forward to find things out. That's inherent in their game model. Yes, there was hotseat, but that was LAN-based.
The internet world is VERY different now. That they wrote a game we're still playing is a testament to their game.
But, that doesn't mean we can't now make some changes.
I've update my github site (https://github.com/ricks03/TotalHost) for TotalHost with:
StarsClean.pl - cleans out information from player files that shouldn't be in there. If you automate your turn generation, just include it in your process.
StarsRace.pl - lists out race details included in most Stars! files (I had to figure it out for StarsClean anyway).
StarsMsg.pl - lists all the player comms in a .m or .x file (useful if you want to store those messages)
StarsByte.pl - dumps out, in various formats, the decrypted bytes in a Stars! file. I use it for debugging my code for the above utilities.
I've also updated TotalHost to include the StarsRace functionality - when you view an uploaded race on TotalHost, if displays the race characteristics (even the icon )
Might be a bit, but I'll add the StarsClean functionality to TotalHost as a game option after I've had a bit more time to be certain it's not breaking anything (at least TotalHost backs up each game turn by turn, and can be restored through the site). Given the vast multitudes playing Stars! (not) no ones exactly beating a path to my door :-
https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHostReport message to a moderator
|
|
|