Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » m and h files merger tool
Re: m and h files merger tool Sat, 27 July 2013 05:28 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
XyliGUN wrote on Wed, 24 July 2013 20:31
I'm apologise for being away and not replying for so long time. But a real life pressure was too high for the last year. Including such things like a new job, new home, some health problems, etc, etc, etc. But, after all, it's more or less back to normal now. So, let keep going!
Sorry

PS: I found 5000 messages related to Stars! in my mailbox after not cheking it within a year. Shocked

Some of these msgs (probably asking you to share your knowledge of the file structures) must be mine. Sherlock

Welcome back! Very Happy



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: m and h files merger tool Mon, 29 July 2013 11:23 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

And one more version of SAH turn merger was sent to Ron.
* error level is always 0, and error message can be found in output
* m files with multiple turns supported
* optional minefields merge works
* optional packets merge works
* optional wormhole merge works
* optional fleets merge works

It was checked using several quite bit games and so far it looks good.
But real testing is highly recommended.



"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Mon, 29 July 2013 15:33 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
New merger exe in place, waiting for nmid to test again.


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: m and h files merger tool Wed, 31 July 2013 15:01 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

Status update: testing on SAH is in progress (thanks to Ron and nmid).
Issue was found and addressed. Waiting for new version to be verified.




"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Wed, 31 July 2013 22:43 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
nmid says it all works great, including the new fleet merge function. Now I just need to code additions to Host Utility to allow hosts to set what stuff to merge.


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: m and h files merger tool Fri, 09 August 2013 18:46 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

It seems that the same tool could be able to cleanup hidden info from the m files after gen (like what trader carryes, etc.).
Ron, let me know if you think this will be usefull or not.

Another thing I forgot to mention: I have several requests on whether it is possible to detect license/Emperor bug before the gen, to be able to stop the gen and put the game on hold, to avoid regens and issues related to it.
Well, technically yes, since to do this we just need to compare serial/hw hash block (which is encrypted) in all of x files with each other and if there is serial hash equals, while hw hash is not, then it will arised in case of gen. But, I'm not a layer, and I'm not sure whether it is correct thing to do, since we touch and prevent license enforcing from being activated.
Thoughts, comments?



"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Sat, 10 August 2013 04:48 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
XyliGUN wrote on Sat, 10 August 2013 00:46
It seems that the same tool could be able to cleanup hidden info from the m files after gen (like what trader carryes, etc.).

They could be separate tools, in case some1 doesn't use the merger. Also the "cleaner" could be invisibly run everywhere. Lurking

Quote:
Well, technically yes, since to do this we just need to compare serial/hw hash block (which is encrypted) in all of x files with each other and if there is serial hash equals, while hw hash is not, then it will arised in case of gen. But, I'm not a layer, and I'm not sure whether it is correct thing to do, since we touch and prevent license enforcing from being activated.
Thoughts, comments?

It would be nice if SAH detected the problem on uploading the x file, and told the player at the same time it tells the received size. There's no real need to actually alter the x file, since it would probably be enough if an email was sent to the game's Host(s) and/or the game was put on Hold. Whip



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: m and h files merger tool Sat, 10 August 2013 07:10 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 957
Registered: August 2012
It doesn't prevent licensing rules being applied, it stops allies tripping up.

Report message to a moderator

Re: m and h files merger tool Sat, 10 August 2013 17:17 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

m.a@stars
It would be nice if SAH detected the problem on uploading the x file, and told the player at the same time it tells the received size. There's no real need to actually alter the x file, since it would probably be enough if an email was sent to the game's Host(s) and/or the game was put on Hold. Whip

OK, after all it's up to Ron whether he want to use such check on SAH.



"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Thu, 15 August 2013 22:35 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
XyliGUN wrote on Sat, 10 August 2013 17:17
m.a@stars
It would be nice if SAH detected the problem on uploading the x file, and told the player at the same time it tells the received size. There's no real need to actually alter the x file, since it would probably be enough if an email was sent to the game's Host(s) and/or the game was put on Hold. Whip

OK, after all it's up to Ron whether he want to use such check on SAH.

I think it would be ok. You could add it as a switch, and it should not depend on any merger tool .ini file settings.



Ron Miller
Stars! AutoHost

Report message to a moderator

Re: m and h files merger tool Fri, 16 August 2013 12:09 Go to previous messageGo to next message
craebild is currently offline craebild

 
Lieutenant

Messages: 568
Registered: December 2003
Location: Copenhagen, Denmark
Ron wrote on Fri, 16 August 2013 04:35
XyliGUN wrote on Sat, 10 August 2013 17:17
m.a@stars
It would be nice if SAH detected the problem on uploading the x file, and told the player at the same time it tells the received size. There's no real need to actually alter the x file, since it would probably be enough if an email was sent to the game's Host(s) and/or the game was put on Hold. Whip

OK, after all it's up to Ron whether he want to use such check on SAH.

I think it would be ok. You could add it as a switch, and it should not depend on any merger tool .ini file settings.

The emperor bug doesn't just pop up for pirates, it also pops up for people who have paid for the software. The three times I have seen the emperor bug were:

1. I was non-playing host in a game, one player helped an ally finish his turn. Both players had legitimate copies.
2. I was testing a battle in the battlesim, but I had recently changed PC's, so some of the files in the battlesim had the hw hash of the old PC, others had the hw hash of the new PC.
3. I needed to know the messages that occurs when the emperor bug is triggered to write something about it, so I intentionally triggered it using a backup of files from the battlesim from an older PC.

I don't think any of those would be considered violations of license terms or illegal in any way.



Med venlig hilsen / Best regards / Mit freundlichen Grüßen
Christian Ræbild / Christian Raebild

Report message to a moderator

Re: m and h files merger tool Mon, 19 August 2013 13:04 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

OK, it would be nice if you can share with me an examples of those "real game" files (xy, m, x), where emperor bug was triggered.
I need to have them in state just before the gen. Just for the testing purposes and under NDA.
PS: It doesn't matter whether your turn is password protected or not, in any case I don't need to know your password.



"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Tue, 27 August 2013 13:03 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

I've send updated tool to Ron with the emperor bug detection functionality.


"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Fri, 30 August 2013 05:51 Go to previous messageGo to next message
craebild is currently offline craebild

 
Lieutenant

Messages: 568
Registered: December 2003
Location: Copenhagen, Denmark
Hi,

I am sorry I didn't get back to you before now, but I have been on holiday in Verona and Venice and just got back yesterday.

If you still need an example of the emperor bug being triggered it would probably be easiest for me to recreate it using battlesim files, but I assume that would work just as well as the files from a real game.



Med venlig hilsen / Best regards / Mit freundlichen Grüßen
Christian Ræbild / Christian Raebild

Report message to a moderator

Re: m and h files merger tool Sat, 31 August 2013 03:24 Go to previous messageGo to next message
XyliGUN is currently offline XyliGUN

 
Ensign
Stars! V.I.P


Messages: 325
Registered: July 2004
Location: Russia, St.Petersburg

craebild, no problem, yep, it can be recreated pretty easily and I have one sample, so I was just wondering whether someone have a real game samples, just to be absolutely sure. Smile


"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For Love

Report message to a moderator

Re: m and h files merger tool Sat, 12 April 2014 09:37 Go to previous message
ccmaster is currently offline ccmaster

 
Lt. Commander
Dueling Club Administrator

Messages: 985
Registered: November 2002
Location: Germany

Some news ?
Ccmaster

Report message to a moderator

Previous Topic: Planet mover (remapping tool)
Next Topic: My wheels are turning
Goto Forum:
  


Current Time: Thu Mar 28 06:13:43 EDT 2024