-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can you install windows 95/98 on dosbox pure #105
Comments
You can get Windows 3.1 running in Dosbox. Not sure about 95/98 |
Up to version 3.1, Windows was technically a program that you could run on the DOS operating system. You'd type "win" in the DOS command line and Windows would start. Windows 95 was the first version of Windows that was, in itself, an operating system. Your computer could run on DOS or Windows 95, but you couldn't run Windows 95 "inside" DOS. Hence, since there was no way to run it from DOS, you won't be able to run it from DOSBox (Pure or any other version). Anybody, correct me if I'm overlooking something. :-) |
Oh, and that said, you can totally run Windows 95 as a virtual machine! There's a free preconfigured Win 95 VDI for VirtualBox on archive.org: |
You might want to try https://pcem-emulator.co.uk/ for the old windows machine gaming stuff aswell. |
Out of interest. Does anybody know if it's possible to automatically send the win command to the core without changing any contents of the game archive? |
@mrmatteastwood im guessing for some games that the performance wouldn't be 100% (i know with emulators its also not 100% but there wasn't slow downs are anything) |
Apparently you can install it on the Dosbox-SVN core: http://pages.retromods.org/radius/post/2020-09-05-w95-guide/ |
I did it. after running a bat file remount c: x: and imgmount c your img with windows on it and then boot -l c |
Just for clarify - Windows 9x works under dosbox-x where you can mount disk images to an IDE controller |
Works also on pure |
I just did that too. Installing and booting windows works fine. My issue is that I dont know how to get my games on the hdd image. The way he described on his blog didn't work for me, a lot of my files haven't been copied. Maybe because of the filenames |
You need to zip them first then unzip with 7z on your windows installation |
Also you can use daemon tools 1.4 I think it is to mount games to install alternatively install on a PC first then zip the installation from the game folder |
oof I tried to create those self extracting archives (exe) all day long because I thought that tools like 7zip are too new for win95. |
How ? I can’t find how to properly setup the boot bat file, it throws the usual "error loading operating system" stuff like with dosbox svn without using the conf file, but the conf file seems to be tied to svn |
Just had to remount c to x and mount the HDD img file on x as c
…On Fri, Sep 17, 2021, 6:13 PM P0liak ***@***.***> wrote:
Works also on pure
How ? I can’t find how to properly setup the boot bat file, it throws the
usual "error loading operating system" stuff like with dosbox svn without
using the conf file, but the conf file seems to be tied to svn
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVLTEO5ER5LV7WL5T3MAI3UCO4QLANCNFSM4WXLM66Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@Xbox-Series-X-User - I am having problem running multiple commands in a bat files under Dosbox Pure. Could you share how you manage to get the bat file to work? The series of commands work if I type them interactively from the shell. If I create a bat file contains the same sequence of commands: multiple mount / imgmount commands, and then open this bat file as the content for Dosbox Pure core in Retroarch, the bat file would run but it would exit after the first command in the batch file. It would not run the whole batch file. I have seen some posts about this in other dosbox fork / SVN, and the suggestions was always to use the Autoexec section in the conf file, but Dosbo Pure core does not support conf file, so I can't use the autoexec section in the conf file to do this. |
Yeah it runs part of it I just run the bat twice then it works right for me
my HDD died with the bat so unfortunately cannot share but off memory I
just remount c to x and boot the bat from x and mount the image files as c
and d
…On Sat, Sep 25, 2021, 6:56 PM ckeisc ***@***.***> wrote:
after running a bat file remount c: x: and imgmount c your img with
windows on it and then boot -l c
@Xbox-Series-X-User <https://github.com/Xbox-Series-X-User> - I am having
problem running multiple commands in a bat files under Dosbox Pure. Could
you share how you manage to get the bat file to work?
If I run a bat file contains multiple mount / imgmount commands, and open
this bat file as content in Dosbox Pure core, the bat file would run but it
would exit after the first command in the batch file ran. It would not run
the whole batch file. And Dosbo Pure code does not support conf file, so I
can't use the autoexec section in the conf file to do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVLTEL4NTHOCYJPGNMOBGLUDZHTHANCNFSM4WXLM66Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@Xbox-Series-X-User I found a recent reddit posting that seems similar to what you're suggesting to get dosbox-x booting and running win98 games. Is this what you did?: I've successfully gotten win95 running decently well on dosbox-svn, so if it's truly stable running win98 on dosbox pure I will have to try this. |
That comment is me. It works but it not stable
…On Sat, Feb 12, 2022, 4:30 PM evbo ***@***.***> wrote:
@Xbox-Series-X-User <https://github.com/Xbox-Series-X-User> I found a
recent reddit posting that seems similar to what you're suggesting to get
dosbox-x booting and running win98 games. Is this what you did?:
https://www.reddit.com/r/dosbox/comments/l71k2r/comment/h4vgaru/?utm_source=share&utm_medium=web2x&context=3
I've successfully gotten win95 running decently well on dosbox-svn, so if
it's truly stable running win98 on dosbox pure I will have to try this.
—
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVLTEMCREXP6SFNJFUSUV3U23GQFANCNFSM4WXLM66Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Xbox-Series-X-User agreed. I just used I install directx, S3 Trio 64V+VLB drivers, voodoo drivers. I run an example Windows 95 game (EV Nova). Works. I then run that same hdd img using dosbox pure on Retroarch running on the same desktop. Windows 95 opens but immediately the display driver is incompatible and I'm limited to 16 bit colors. I try reinstalling the S3 drivers and it correctly installs, recognizes them, but then again on restart there are display compatibility issues. In your experience with this, did you find what worked best for display drivers running on dosbox pure? I've tried VGA, SVGA, Trio, but none seem to be compatible. So, it seems games that can run in 16 Bit color will work, but anything higher won't work unless I'm mistaken. |
I believe svga. 32 bit worked for me I think up to 800x600? On win98 at
least. I've played half-life and deus ex so pretty sure 32 bit works but I
did need a svga driver I will see if I can find the name
…On Sun, Feb 13, 2022, 8:02 PM evbo ***@***.***> wrote:
@Xbox-Series-X-User <https://github.com/Xbox-Series-X-User> agreed. I
just used dosbox x to create and install a windows 95 HDD img.
I install directx, S3 Trio 64V+VLB drivers, voodoo drivers. I run an
example Windows 95 game (EV Nova). Works.
I then run that same hdd img using dosbox pure on Retroarch running on the
same desktop. Windows 95 opens but immediately the display driver is
incompatible and I'm limited to 16 bit colors. I try reinstalling the S3
drivers and it correctly installs, recognizes them, but then again on
restart there are display compatibility issues.
In your experience with this, did you find what worked best for display
drivers running on dosbox pure? I've tried VGA, SVGA, Trio, but none seem
to be compatible.
So, it seems games that can run in 16 Bit color will work, but anything
higher won't work unless I'm mistaken.
—
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUVLTEKWNT6UXKWV5IRSCELU3BIDRANCNFSM4WXLM66Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
- Run S3trio64.exe, Sb16w95.exe
- Right click the desktop, select properties
- Go to the Settings tab
- Go to Advanced Properties
[image: alt text]
- Select Change and then Have Disk… and then Browse
- Navigate to d:\tools\s3trio64 and select s3.inf
- Select S3 Inc. Trio32/64 PCI
- restart
- You should be in 256 color mode now
-
-
- The guide I used is a dead site now had to use the way back machine
…On Mon, Feb 14, 2022, 6:22 AM Scott Klitz ***@***.***> wrote:
I believe svga. 32 bit worked for me I think up to 800x600? On win98 at
least. I've played half-life and deus ex so pretty sure 32 bit works but I
did need a svga driver I will see if I can find the name
On Sun, Feb 13, 2022, 8:02 PM evbo ***@***.***> wrote:
> @Xbox-Series-X-User <https://github.com/Xbox-Series-X-User> agreed. I
> just used dosbox x to create and install a windows 95 HDD img.
>
> I install directx, S3 Trio 64V+VLB drivers, voodoo drivers. I run an
> example Windows 95 game (EV Nova). Works.
>
> I then run that same hdd img using dosbox pure on Retroarch running on
> the same desktop. Windows 95 opens but immediately the display driver is
> incompatible and I'm limited to 16 bit colors. I try reinstalling the S3
> drivers and it correctly installs, recognizes them, but then again on
> restart there are display compatibility issues.
>
> In your experience with this, did you find what worked best for display
> drivers running on dosbox pure? I've tried VGA, SVGA, Trio, but none seem
> to be compatible.
>
> So, it seems games that can run in 16 Bit color will work, but anything
> higher won't work unless I'm mistaken.
>
> —
> Reply to this email directly, view it on GitHub
> <#105 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AUVLTEKWNT6UXKWV5IRSCELU3BIDRANCNFSM4WXLM66Q>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you were mentioned.
> Message ID: ***@***.***>
>
|
@Xbox-Series-X-User That's exactly what I did, except I didn't choose PCI for the display. Now I've tried your steps but same results: It works installing s3, and it says I'm getting 256 colors: But after restart issue persists, and device manager says the devices don't work: I've installed windows using dosbox x and then again using dosbox svn retroarch core. Did you use dosbox svn to do initial install? I think that is the only difference perhaps - what emulation was used during install. Interested to know if you can share the link you used, even if its wayback machine. Here's what I referenced: Also, you only installed windows 98? Maybe I should try that instead. Thanks! Update: I thought the issue might be due to using Win 95 OSR2.5 instead of OSR1, so I tried win 98 SE and a similar issue occurred. Same approach, I followed the guide linked above but ran setup to install win 98 on dosbox svn core to match the emulated hardware perfectly. On reboot (with either svn or pure), it always says the S3 Trio hardware isn't detected. And when I first installed s3, win 98 gave me a warning: I am running retroarch on Ubuntu 20.04 with pentium slow and 24 MB of RAM and otherwise default settings. So maybe windows cores are more stable if it worked so well for you? |
realnc/dosbox-core#41 (comment) It may be due to the fact that |
So the enhanced support for installing operating systems and running any loaded content (like ZIP files) with them has just been released as version 0.9.5. See the new release here! It should also be in the online core updater of RetroArch in a few hours. On intel based processors this runs quite well for me. On ARM based devices like Android or Raspberry Pi the story is a bit different but I added some convenience options to help with issues as described in the documentation of the feature. Try it out if you can and report back how things work for you. Cheers! |
Thanks @schellingb - I have successfully installed Windows 98 SE and the first time use experience is great! all the HW are correctly detected, and drivers are found and installed (SB, S3 SVGA and Voodoo). I think there might be some confusion for the discard C: drive feature. First I really like the idea of it. When I install a game, most would make some changes to C: drive however minimum, from creating program group to Install / Update DirectX and other system components, even if we choose to install them to D: drive (which is the content ZIP file). 2 questions:
Great work! I run Retroarch on Xbox Series console and the option to run Windows games are very limited. I was originally limited to Dosbox core fork and when Dosbox Pure supported conf file, it became possible to boot Windows 9x but the HW emulation was not good enough then. Now everything works out of box, so awesome! |
Thanks for testing! Really happy to hear that things are working and that you tried the discard disk modification option, too. So disk drives in a booted operating system inherently work different than in DOSBox's DOS environment. The emulator can only present a raw storage container with which the OS is free to do anything. For example you can just go ahead and format the D: drive, to a different file system even. So how it works under the hood is that DOSBox Pure generates a FAT16 (or FAT32 for really big ZIP files) partition on a hard disk large enough to hold all the files + 1 GB of free space. Any change made to that hard disk by the OS is written out to a separate file which contains the raw sectors of that simulated hard disk that have been modified by the operating system. In the Start Menu, after selecting Now... I do like your idea in 2. |
Thanks, thanks for the info and I think that matches my observation that a sav file was created for a content that was not a zip file. Its “only” about 100MB instead of 1GB in size of the temp D drive, so is this file compressed? Or would grow over time up to the max size of the partition? Another suggestion is to consider putting the OS IMG file in a subfolder under system folder. Dosbox Core does a fair amount of file enumeration for MT32 rom, sf2 files and now IMG files. You have implemented the hashing to limited repeated full enumeration of system folder which could get very big due to some cores like Dolphin put large # of files in there. These IMG files are probably not shared by other cores and can be put in a subfolder? Let me use the features a bit more to comment on ideas better later :) |
Yeah, in theory it can grow to a maximum of the entire partition size as shown in Windows. You can for example delete all files on the D: drive and then run some tool that generates a file filled with garbage until the disk is full. Running defrag might also be a good way to fill up the .sav file as it might move everything on the partition "physically" around (have not tired that). The System folder enumeration did not change much since the last version. It now just looks for more types of files. If the enumeration ends up taking longer than 2 seconds DOSBox Pure will keep an index of files it knows and stores it into "DOSBoxPureMidiCache.txt". If that cache exists it, won't do the full enumeration on startup anymore and instead the user needs to go and select As for making a subdirectory in the system folder.... I did think about it but ended up not for now. Because everything is indexed on startup anyway we can change that any time. Also a user can just go ahead and move or rename the disk image files in the systems folder. That is unless we have a way to save per-content modifications to the C: drive :-) |
After using the "Installing and Booting an Operating System" feature for a day, I have developed the following workflow:
Overall, pretty happy with the feature set and it fully meets my need after some tweaking, sharing above as data points for you. Thanks again! |
I love that workflow, thanks for writing it down. I'm actually curious how do you transfer the content from the SAV file into the ZIP file? The only way I can think of is to move files onto the C: drive and then use a tool like 7-zip to take it out of the OS harddisk .IMG file. Your solution in 2: also seems very neat. Does Windows complain if I have wondered if I could somehow cause something to auto start with the Windows on boot. An idea would be to fake a drive with an For 3 you can also just run the core without content (Load Core then Start Core in RetroArch). Regarding 4 I ended up limiting it for two reasons. First was to encourage the use of the D: drive (even though as you said it is a bit awkward to store big amounts of data into the "save" folder). The second thought was to stay within the limitations of the FAT16 filesystem. While the Windows 95C and newer will work perfectly fine if the partition in the harddisk image is FAT32, it would make it harder for the core to look at the files of the C: drive. Though as of now the files are never looked at anyway so that point is a bit moot. Also adding support for FAT32 disk images might not be too hard so maybe I should just do that :-) I guess I can add a few more options above 1 GB for those who want it, it wouldn't hurt. |
I'm pretty sure I'm missing something crucial, but after successfully installing Windows 98, 98 SE and 95 different times, as in the OS setup is finished and I shut off the "computer" and close content, I don't get the [ Run Installed Operating System ] message in the start menu when loading content afterwards, not even when starting the core by itself. Should the files intended to be used have a different structure than a zip containing a DOS game? I'm testing on Windows 10, by the way. UPDATE: Had to manually scan the system directory using "Audio Options > MIDI Output > Scan System Directory" and the images were then made available to boot. I had been toying around with soundfonts before so that might be why I needed to re-scan it. I think this option should be moved to a more visible location in the options menu and renamed to "Scan System Directory" or similar for when contents on system won't appear on their own. |
@schellingb you are exactly right that to transfer content from SAV file to ZIP, I indeed have to copy them over to a temp folder in C: drive IMG file and then get it out using 7zip. Windows will complain mildly if there is no D:\run.bat for the shortcut to find although there are a lot of options in the shortcut dialog (for Win98 SE), so it might be possible to configure it to fail silently. I originally tried to use a batch file instead of shortcut where I can do IF EXIST to check if run.bat is there. But my batch scripting kungfu is too weak so I gave up and just used a shortcut. oh, the disks are FAT16, no wonder I see some warning in system dialog about C and D drive being on DOS compatibility mode (guess that means FAT16). I might manually construct a FAT32 image (say using PCEm) and drop it into system folder for Dosbox Pure to find. Dosbox Pure wouldn’t actively reject FAT32 IMG file, would it? |
In my testing previously on the Xbox. only fat16 img files worked. I guess cuz dosbox is mainly emulating dos so no need for the fat32 compatibility also major props there has been massive speed improvements on my side |
I use a similar workflow as @ckeisc , but instead of a shortcut in the autorun directory I have also tried with a *.bat file which doesn't complain if there is no Run.bat in Also a problem that I had to fix was when a game stored data like game-saves in the registry. One more thing that I put into my If someone are interested more in depth how my script works I'm happy to try explaining it. BTW, thanks for this update @schellingb this feature (booting windows) is something that I have wanted for a long time in other emulators. Now I have it in my favorite emulator and it is also much better than I could ever hope for. |
That's quite an elaborate script there, impressive. I wonder if it would make sense to develop a Windows 95 program that does a bunch of these things. It could even be embedded into the core and show up on the D: drive to be easily installed. Almost like the "Guest Tools" of something like VMWare. |
Thanks, I'm actually not very good at programming or scripting, Google is my friend here. I like your idea by making this program, this way, we could maybe more easily configure different games that have different needs for them to work properly. The script I use today for "Balls of Steel - pinball" looks like this:
To make the |
My biggest apologies if this has already been clarified, but Windows XP was the first standalone Windows operating system. Anything previous had its own, included version of DOS to run on top of. |
i cant find an answer
The text was updated successfully, but these errors were encountered: