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  |
|
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   |
|
magic9mushroom |  | Commander | Messages: 1360
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   |
|
Mark Hewitt |  | Master Chief Petty Officer | Messages: 105
Registered: June 2006 Location: Calgary, Alberta, Canada | |
|
magic9mushroom wrote on Fri, 26 August 2016 01:31Here'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. 
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   |
|
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
|
|
| | | |
Re: Back after 3 years, Windows 10? |
Wed, 19 October 2016 01:49   |
|
|
Mark Hewitt wrote on Sat, 27 August 2016 00:54Using 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? |
Tue, 20 December 2016 12:45   |
|
|
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
|
|
| | |
Goto Forum:
Current Time: Thu Jun 08 00:45:40 EDT 2023
|