Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » DOS Box Serial shenanigans.. (DOSbox won't take a serial number)
DOS Box Serial shenanigans.. Thu, 09 January 2020 18:16 Go to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 915
Registered: August 2012
I have a couple of DOSBox instances that I am trying to set up - one of which could turn into a rather nicely packaged docker container with a VNC over HTTP interface (it mostly works, except that it isn't all that stable at the moment and the serial number issue listed herein).

Neither of them are accepting the serial number.
Both are writing to the stars.ini file, but repeatedly generate the various errors associated with being a software pirate (I hadn't seen ships captains selling cargo on the black market before!)

Doesn't seem to matter which key I use, it is accepted, but the copy protection kicks in...

Ideas anyone?
Gible maybe?

Report message to a moderator

Re: DOS Box Serial shenanigans.. Thu, 09 January 2020 21:11 Go to previous messageGo to next message
raptor is currently offline raptor

 
Master Chief Petty Officer
Creator of StarsWine
Created StarsWine

Messages: 102
Registered: June 2014
Which stars executable are you running? Is it 2.7jrc3 or 2.6jrc4?

Copy protecton also kicks in if multiple instances in the same game have the same serial

654f494482c7904c4f0f265d6c081582 stars.exe // 2.7jRC3
df40ce50f5117acfbad8de00c37c8730 stars.exe // 2.6jRC4

Report message to a moderator

Re: DOS Box Serial shenanigans.. Thu, 09 January 2020 21:17 Go to previous messageGo to next message
raptor is currently offline raptor

 
Master Chief Petty Officer
Creator of StarsWine
Created StarsWine

Messages: 102
Registered: June 2014
Curious, are you trying to get Stars! in a browser? I started an in-browser stars project here:

https://github.com/stars-4x/stars-browser/

It works OK for single-player, but multi-player needs more work on the JS wrapper to get files into/out of the dosbox emulator.

Report message to a moderator

Re: DOS Box Serial shenanigans.. Thu, 09 January 2020 21:27 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Senior Chief Petty Officer

Messages: 92
Registered: January 2012
Location: NC
As long as all the turns are submitted from the same computer, you won't trigger the copy protection.

If you're trying to run the same serial number in more than one DOXbox session, Stars! likely is detecting each of them as separate machines, which means you have the same serial number on more than one "computer" which will trigger that effect.





https://www.irelandbybicycle.com
https://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: DOS Box Serial shenanigans.. Thu, 09 January 2020 21:38 Go to previous messageGo to next message
raptor is currently offline raptor

 
Master Chief Petty Officer
Creator of StarsWine
Created StarsWine

Messages: 102
Registered: June 2014
Ah, I forgot about the hardware ID. This says that you can change the disk label to calc a new hardware hash:

https://wiki.starsautohost.org/wiki/Copy_Protection_Features

I wonder if that can be automated

Report message to a moderator

Re: DOS Box Serial shenanigans.. Thu, 09 January 2020 22:04 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Senior Chief Petty Officer

Messages: 92
Registered: January 2012
Location: NC
It sounds like there's more than one serial number available...

With stars closed:
delete all stars.ini files
delete all .x files (the serial hash doesn't get rewritten if you save again)
open stars on each vm, and enter a different serial number.
Save and submit all turns.

Should be ok then.



https://www.irelandbybicycle.com
https://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: DOS Box Serial shenanigans.. Fri, 10 January 2020 03:17 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 915
Registered: August 2012
Making a way for me to play easily.

And for that ease to be portable...

It's not a multiplayer game - just me vs the computer, and copy protection keeps kicking in - even within a single session.


Just deleted the stars.ini file, and started Dosbox... Asked for the serial, gave it one. It took it.
Started a new, completely stock game.
Genned the first turn: Usurper message...


[Updated on: Fri, 10 January 2020 04:28]

Report message to a moderator

Re: DOS Box Serial shenanigans.. Fri, 10 January 2020 10:06 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Senior Chief Petty Officer

Messages: 92
Registered: January 2012
Location: NC
XAPBob wrote on Fri, 10 January 2020 03:17
Making a way for me to play easily.

And for that ease to be portable...

It's not a multiplayer game - just me vs the computer, and copy protection keeps kicking in - even within a single session.


Just deleted the stars.ini file, and started Dosbox... Asked for the serial, gave it one. It took it.
Started a new, completely stock game.
Genned the first turn: Usurper message...
Hmm. I think there was a point that a number of the "in the wild" serials got banned. A fresh serial number?



https://www.irelandbybicycle.com
https://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: DOS Box Serial shenanigans.. Fri, 10 January 2020 13:12 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 915
Registered: August 2012
Really?

I'd have expected them to show up as invalid when entered, rather than to be accepted and then trigger the bug.

Will dig through my backups for my serial then.

That took less time than I expected, and did indeed work. That's irritating (how long it took to figure out). No doubt there is another post on here about the serials which have been banned


[Updated on: Fri, 10 January 2020 13:17]

Report message to a moderator

Re: DOS Box Serial shenanigans.. Fri, 10 January 2020 13:21 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Senior Chief Petty Officer

Messages: 92
Registered: January 2012
Location: NC
The community (especially back then) was VERY protective of serial numbers, and very supportive of the Jeffs. Because you never knew how your game would be screwed up by sharing them, and because the game wasn't expensive. So you won't see a lot of support for figuring out banned serials.

And even back then, serials were relatively cheap--you could buy them at discounted rates in blocks of 16! (I still have my printout of the email with them).


[Updated on: Fri, 10 January 2020 13:22]




https://www.irelandbybicycle.com
https://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: DOS Box Serial shenanigans.. Fri, 10 January 2020 13:44 Go to previous message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 915
Registered: August 2012
I don't have an issue with them no longer being valid, just that it would be nice to be told that, rather than just to have the copy protection kick in.

Glad it was something so simple


I wonder if all DOSBox "hardware" is the same...


[Updated on: Fri, 10 January 2020 13:45]

Report message to a moderator

Previous Topic: battle speed, enigma pulsar, and WM
Next Topic: MT parts details
Goto Forum:
  


Current Time: Mon Jan 27 10:42:12 EST 2020