Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » Back after 3 years, Windows 10?
Back after 3 years, Windows 10? Fri, 26 August 2016 02:49 Go to next message
Mark Hewitt is currently offline Mark Hewitt

 
Master Chief Petty Officer

Messages: 105
Registered: June 2006
Location: Calgary, Alberta, Canada
Hi all!

I was on about 3 years ago. Played in a few games. Recently I'd thought I'd take a crack at running Stars! again single-player as I've never finished a game solo.

My current workstation is Windows 10 64-bit. This appears to be rather bothersome for getting Stars! to work. Tried the Win3.11 DOSBoxStars.rar from the Wiki article Stars_vs_OS with the latest DOSBox 0.74 but that doesn't work. Can't even get it to run Win 3.11 alone.

Any ideas? Tried searching for solutions but couldn't find any.

(Edit by Ron: I've replaced that old DOSBoxStars with one that includes a portable DOSBox, and it works without having to install DOSBox separately. )

(Edit by Ron: Nov. 1, 2019 Goto https://wiki.starsautohost.org/wiki/Stars_vs_OS and use the StarsWine or DOSBoxStars found there)


[Updated on: Fri, 01 November 2019 09:49] by Moderator


Report message to a moderator

Re: Back after 3 years, Windows 10? Fri, 26 August 2016 03:31 Go to previous messageGo to next message
magic9mushroom is currently offline magic9mushroom

 
Commander

Messages: 1361
Registered: May 2008
Here's how I did it (with, admittedly, some help):

- Download and install VirtualBox.
- Create a virtual machine in VirtualBox, set up for Linux.
- Download a Linux distribution of your choice. They usually come as a disk image file.
- Put the disk image in the virtual machine's virtual CD drive, and install the OS.
- Use the VirtualBox option to install guest additions on the virtual machine (allows you to create shared folders, letting you transfer files between your real computer and the virtual machine).
- Transfer or copy your Stars! game files into the virtual machine.
- Download Wine and install it in the virtual machine.
- In the virtual machine, use Wine to run Stars!.

That's all free and all legal. Using VirtualBox or another emulator to run an older version of Windows (I hear the best for this sort of work is 98SE, but anything between 95 and XP should work fine) is simpler, but you'll have to find a Windows disk image, which aren't generally legally available for free.


[Updated on: Fri, 26 August 2016 03:42]

Report message to a moderator

Re: Back after 3 years, Windows 10? Fri, 26 August 2016 10:34 Go to previous messageGo to next message
Mark Hewitt is currently offline Mark Hewitt

 
Master Chief Petty Officer

Messages: 105
Registered: June 2006
Location: Calgary, Alberta, Canada
magic9mushroom wrote on Fri, 26 August 2016 01:31
Here's how I did it (with, admittedly, some help):


Hey, magic9mushroom, thanks for the prompt reply. I thought about it and went and looked at what I tried last night.

Mark Hewitt wrote on Fri, 26 August 2016 00:49

Tried the Win3.11 DOSBoxStars.rar from the Wiki article Stars_vs_OS with the latest DOSBox 0.74 but that doesn't work. Can't even get it to run Win 3.11 alone.


And fixed a typo in my dosbox.conf to actually point at the correct location of the virtual C drive and it works!

So using that .rar from the link above with DOSBox 0.74 (the current version works! I have 2.6JRC4 running in a 1024x768 window on my Windows 10 64-bit 1920x1080 desktop. Well, it took my serial number, the splash screen came up, and I could start a tutorial. Smile

Next up:

1. Deliver command line arguments to the Stars! program so I can use external universe files and edit and use race files.

2. See if I can push Win3.11 to greater resolutions. Not needed, but might be nice.

Report message to a moderator

Re: Back after 3 years, Windows 10? Fri, 26 August 2016 15:24 Go to previous messageGo to next message
Mark Hewitt is currently offline Mark Hewitt

 
Master Chief Petty Officer

Messages: 105
Registered: June 2006
Location: Calgary, Alberta, Canada
Using Windows 10 and DOSBox isn't as flexible as running under Wine on Linux, where each window was a X window of appropriate size, but I think I can get most of what I need now as opposed to later when I get a new Linux workstation up and running. And below I add in a step-by-step procedure to get Stars! running under Windows 10.

I don't think I can improve on the resolution, as that's tied up inside DOSBox machine emulation. (And who knows what Windows 3.11 would do?) But I do have command line arguments working.

As for tools, I checked a couple. Stars Calculator 3.06 just works in Windows 10 directly, although its help file is only accessable under earlier Windows with the appropriate Winhlp32.exe (same as the Stars! help file). Stars Notebook needs to run under Windows 3.11.

Here's how I did it. Adjust the locations as you need to.

0. I install most manual installs and special games under C:\Prog\. I also have C:\Prog\bin\ in the PATH environmental variable.

1. Download DOSBox 0.74 for Windows from https://www.dosbox.com/ . I installed it in C:\Prog\DB\.

2. Goto the wiki article here http://wiki.starsautohost.org/wiki/Stars_vs_OS and download DOSBoxStars.rar. I installed it in C:\Prog\Stars.DB\

The .rar's only contents is DOSBoxC, the directory containing the Windows 3.11 Windows directory and a Stars directory, with just a Stars.exe. It also contains the dosbox.conf, DOSBox's configuration file.

4. Move dosbox.conf from C:\Prog\Stars.DB\DOSBoxC\ to C:\Prog\Stars.DB\ and edit its [autoexec] section to contain:

[autoexec]
# Lines in this section will be run at startup.
mount C C:\Prog\Stars.DB\DOSBoxC\
set PATH=C:\WINDOWS;C:\STARS;C:\NOTEBOOK
mount D .
D:


The trick I use to have Stars! and other Win311 programs access files outside of its mapped C drive is to map a D drive on the current working directory from the Windows 10 file system and use a Windows 10 command window running the batch files I list below.

5. Replace the contents of C:\Prog\Stars.DB\DOSBoxC\Stars with a complete set of Stars program files. Here's what I have (Stars.exe is 2.6JRC4 with the player colours changed back in 2013):
C:\Users\mark\Prog\Stars\Stars>dir
 Volume in drive C is OS
 Volume Serial Number is EC87-0D61

 Directory of C:\Users\mark\Prog\Stars\Stars

2016-08-26  12:26    <DIR>          .
2016-08-26  12:26    <DIR>          ..
2004-08-03  23:00           256,192 help.exe
1998-04-27  22:12             1,104 helpread.txt
1995-04-17  03:19            99,856 hyprfind.dll
1998-04-04  23:37         1,631,550 Stars!.hlp
2009-05-27  00:00         3,344,384 stars.exe
1998-04-04  23:37         1,631,550 stars.hlp
2000-04-26  14:25         4,218,116 stars26jrc3.exe
2009-03-16  11:48         3,344,384 stars26jrc4.altcolour.exe
2000-12-19  16:06         3,344,384 stars26jrc4.exe
2009-05-27  00:00         3,344,384 stars26jrc4.mycolour.exe
2000-04-26  14:09         3,153,152 stars27jrc3.exe
2003-09-23  13:08           209,608 tabctl32.ocx
              12 File(s)     24,578,664 bytes
               2 Dir(s)   9,832,062,976 bytes free


6. I add in two tools. Starcal v3.06 and Stars Notebook v2.xf, in two directories under C:\Prog\Stars.DB\DOSBoxC\, Starcal and Notebook. Starcal I can run in Windows 10. Notebook I use Windows 3.11 to run.

7. Create 2 batch files to run programs in the Windows 3.11 environment and put them in C:\Prog\bin\ (as they will be run from a Windows 10 command window):

stars.bat
@echo off
start /b C:\Prog\DB\DOSBox.exe -noconsole -conf "C:\Prog\Stars.DB\dosbox.conf" -c "win /n stars %* -x" -c "exit"


starsnb.bat
@echo off
start /b C:\Prog\DB\DOSBox.exe -noconsole -conf "C:\Prog\Stars.DB\dosbox.conf" -c "win /n notebook" -c "exit"


8. And a 3rd batch file to run the Stars help file in Win3.11. It can be put anywhere as it won't be run from the command line.

starshlp.bat [ this one gets cut off unless you show the full post ]
@echo off
start /b C:\Pro
...



[Updated on: Sat, 27 August 2016 06:23]

Report message to a moderator

trophy.gif  Re: Back after 3 years, Windows 10? Tue, 30 August 2016 14: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
Thanks for this great post!


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Back after 3 years, Windows 10? Fri, 14 October 2016 15:26 Go to previous messageGo to next message
LittleEddie is currently offline LittleEddie

 
Lieutenant
Helped track down one or more Stars bugs

Messages: 517
Registered: February 2011
Location: Delaware
Stars! also runs great in Windows 10 32 bit version.

My desktop is Ubuntu 16.04 and I run Stars! over wine with AutoHost Client for managing turns.

I also run a Windows 10 32 bit version inside of VirtualBox where I also runs Stars & AutoHost for the few things that don't work quite right under wine. Mostly downloading and the autoreports feature of Autohost.

And I keep all my game files on Dropbox so they are always up to date on both systems.


[Updated on: Fri, 14 October 2016 15:27]

Report message to a moderator

Re: Back after 3 years, Windows 10? Tue, 18 October 2016 22:30 Go to previous messageGo to next message
ManicLurch is currently offline ManicLurch

 
Lt. Junior Grade

Messages: 462
Registered: May 2009
I was messing around with a new computer, setting up a vm to play stars on it and came across this link:

https://developer.microsoft.com/en-us/microsoft-edge/tools/v ms/

Microsoft is giving away different windows vms for use in web development.

I downloaded the first windows 7 vm from the site and it is the 32 bit version and stars works perfectly on it.

The catch I think is there is a 90 day limit. But you can easily take a snapshot and revert back to keep it under the 90 day limit.

Just another option for VMs.

Report message to a moderator

Re: Back after 3 years, Windows 10? Wed, 19 October 2016 01:49 Go to previous messageGo to next message
nmid

 
Commander

Messages: 1608
Registered: January 2011
Location: GMT +5.5

Mark Hewitt wrote on Sat, 27 August 2016 00:54
Using Windows 10 and DOSBox isn't as flexible as running under Wine on Linux, where each window was a X window of appropriate size, but I think I can get most of what I need now as opposed to later when I get a new Linux workstation up and running. And below I add in a step-by-step procedure to get Stars! running under Windows 10.

I don't think I can improve on the resolution, as that's tied up inside DOSBox machine emulation. (And who knows what Windows 3.11 would do?) But I do have command line arguments working.

As for tools, I checked a couple. Stars Calculator 3.06 just works in Windows 10 directly, although its help file is only accessable under earlier Windows with the appropriate Winhlp32.exe (same as the Stars! help file). Stars Notebook needs to run under Windows 3.11.

Here's how I did it. Adjust the locations as you need to.

0. I install most manual installs and special games under C:\Prog\. I also have C:\Prog\bin\ in the PATH environmental variable.

1. Download DOSBox 0.74 for Windows from https://www.dosbox.com/ . I installed it in C:\Prog\DB\.

2. Goto the wiki article here http://wiki.starsautohost.org/wiki/Stars_vs_OS and download DOSBoxStars.rar. I installed it in C:\Prog\Stars.DB\

The .rar's only contents is DOSBoxC, the directory containing the Windows 3.11 Windows directory and a Stars directory, with just a Stars.exe. It also contains the dosbox.conf, DOSBox's configuration file.

4. Move dosbox.conf from C:\Prog\Stars.DB\DOSBoxC\ to C:\Prog\Stars.DB\ and edit its [autoexec] section to contain:

[autoexec]
# Lines in this section will be run at startup.
mount C C:\Prog\Stars.DB\DOSBoxC\
set PATH=C:\WINDOWS;C:\STARS;C:\NOTEBOOK
mount D .
D:


The trick I use to have Stars! and other Win311 programs access files outside of its mapped C drive is to map a D drive on the current working directory from the Windows 10 file system and use a Windows 10 command window running the batch files I list below.

5. Replace the contents of C:\Prog\Stars.DB\DOSBoxC\Stars with a complete set of Stars program files. Here's what I have (Stars.exe is 2.6JRC4 with the player colours changed back in 2013):
C:\Users\mark\Prog\Stars\Stars>dir
 Volume in drive C is OS
 Volume Serial Number is EC87-0D61

 Directory of C:\Users\mark\Prog\Stars\Stars

2016-08-26  12:26    <DIR>          .
2016-08-26  12:26    <DIR>          ..
2004-08-03  23:00           256,192 help.exe
1998-04-27  22:12             1,104 helpread.txt
1995-04-17  03:19            99,856 hyprfind.dll
1998-04-04  23:37         1,631,550 Stars!.hlp
2009-05-27  00:00         3,344,384 stars.exe
1998-04-04  23:37         1,631,550 stars.hlp
2000-04-26  14:25         4,218,116 stars26jrc3.exe
2009-03-16  11:48         3,344,384 stars26jrc4.altcolour.exe
2000-12-19  16:06         3,344,384 stars26jrc4.exe
2009-05-27  00:00         3,344,384 stars26jrc4.mycolour.exe
2000-04-26  14:09         3,153,152 stars27jrc3.exe
2003-09-23  13:08           209,608 tabctl32.ocx
              12 File(s)     24,578,664 bytes
               2 Dir(s)   9,832,062,976 bytes free


6. I add in two tools. Starcal v3.06 and Stars Notebook v2.xf, in two directories under C:\Prog\Stars.DB\DOSBoxC\, Starcal and Notebook. Starcal I can run in Windows 10. Notebook I use Windows 3.11 to run.

7. Create 2 batch files to run programs in the Windows 3.11 environment and put them in C:\Prog\bin\ (as they will be run from a Windows 10 command window):

stars.bat
@echo off
start /b C:\Prog\DB\DOSBox.exe -noconsole -conf "C:\Prog\Stars.DB\dosbox.conf" -c "win /n stars %* -x" -c "exit"


starsnb.bat
@echo off
start /b C:\Prog\DB\DOSBox.exe -noconsole -conf "C:\Prog\Stars.DB\dosbox.conf" -c "win /n notebook" -c "exit"


8. And a 3rd batch file to run the Stars help file in Win3.11. It can be put anywhere as it won't be run from the command line.

starshlp.bat [ this one gets cut off unless yo
...




I know my minefields.. but I'm a chaff sweeper.
I used to curse when I got stuck in traffic... till I realised I AM traffic.

Report message to a moderator

Re: Back after 3 years, Windows 10? Wed, 19 October 2016 07:14 Go to previous messageGo to next message
magic9mushroom is currently offline magic9mushroom

 
Commander

Messages: 1361
Registered: May 2008
nmid wrote on Wed, 19 October 2016 16:49
Thanks Mark.
Can you share some screenshots of how stars looks in the setup?
I've had bad experiences with dosbox and uncomfortable GUIs / how tough it is to use my mouse in dosbox.

For the record, here are the issues I've had with Wine/Kubuntu/VirtualBox stack:

1. Auto-backup of saves is disabled. This is probably a permissions issue related to keeping Stars! and its files in a shared folder, as I do, but I'm not 100% sure. You can still back them up manually just fine.

2. Selection cursor on the map is misaligned. Selection point is aligned to a point slightly left of the tip of the cursor.

3. Different bolding of certain text than I got in Win XP.

Report message to a moderator

Re: Back after 3 years, Windows 10? Mon, 19 December 2016 00:26 Go to previous messageGo to next message
raptor is currently offline raptor

 
Chief Warrant Officer 1
Creator of StarsWine
Created StarsWine

Messages: 138
Registered: June 2014
Hi,

I put this together: http://starsautohost.org/sahforum2/index.php?t=msg&th=55 51

(I decided to create a separate topic on it)


[Updated on: Tue, 20 December 2016 12:53]

Report message to a moderator

Re: Back after 3 years, Windows 10? Tue, 20 December 2016 12:45 Go to previous messageGo to next message
Altruist is currently offline Altruist

 
Commander

Messages: 1068
Registered: August 2005
Location: Berlin
Thanks for the DosBox-Standalone.
But I am getting problems with the mouse: it's not accessing the lower half of the window. The mouse, in general, is behaving rather erratic.

Report message to a moderator

Re: Back after 3 years, Windows 10? Tue, 20 December 2016 12:58 Go to previous messageGo to next message
raptor is currently offline raptor

 
Chief Warrant Officer 1
Creator of StarsWine
Created StarsWine

Messages: 138
Registered: June 2014
I just created a separate topic on the issue - could you please post what exact system you're on to that topic? (e.g. Windows 10 64 bit, etc.):

http://starsautohost.org/sahforum2/index.php?t=msg&th=55 51

Thanks!

Report message to a moderator

Re: Back after 3 years, Windows 10? Sat, 21 April 2018 03:38 Go to previous message
raptor is currently offline raptor

 
Chief Warrant Officer 1
Creator of StarsWine
Created StarsWine

Messages: 138
Registered: June 2014
I added another solution to running Stars! in Windows 10 64-bit, StarsWine:

https://starsautohost.org/sahforum2/index.php?t=msg&th=5 590



[Updated on: Sat, 21 April 2018 03:41]

Report message to a moderator

Previous Topic: Windows 7 compatibility issues? Look no further!
Next Topic: StarsWine - Major update to new WINE engine
Goto Forum:
  


Current Time: Sat Apr 20 01:38:44 EDT 2024