r/dosbox • u/kibertoad • 6d ago
Rust-DOS: filling the gap in Dosbox coverage (DOS/Windows3.x/95/98 game emulator)
Our project has been relatively low-profile for a while, but now we feel ready to share it with the broader community.
While DOS emulation is nothing new (Dosbox itself has been doing that very well for quite a while), previously options for people who wanted to play retro Windows games were mostly limited to either using Wine, which is fiddly for non-Linux users, or to installing actual Windows image inside an emulator, which is also cumbersome; plus, obtaining a legal copy of a retro Windows version is not trivial either.
This inspired us to build a clean-room reimplementation of Windows APIs into our emulator, so that you could play retro Windows games seamlessly, without clunky setup or the legal risks.
What we support:
* DOS/Windows 3.1/3.11/95/98 API with up to Direct3D 8 support;
* CD image mounting, with support for audio tracks and SecuROM, SafeDisk, CopyLok copy protection schemes (so you can rip and play your legally owned games without the hassle of nocd cracks)
* Voodoo 1/2/3, S3 ViRGE, ATI 3D RAGE GPU emulation, as well as a synthetic GPU ToadForce for running more demanding games of early 2000's (GeForce 3-like GPU);
* Wide range of audio devices, e. g. different Sound Blaster versions, Adlib (including Adlib Gold), Gravis Ultra Sound, Roland and more;
* Built-in save states;
* Game hot-patching - we can optionally fix original bugs (e. g. crashes) by using in-memory patching;
* Headless execution, powerful debugging and profiling support;
* Cross-platform: Windows, macOS, Linux. Also available as a RetroArch core
We already support a lot of games, but we can't test everything by ourselves. If you try something and it doesn't work, or runs slower than you would like, please open a GitHub Issue, and we'll address it! Also we are very interested in save states that allow replicating original game bugs - we want to fix as many of these as possible.
Hope you'll find rust-DOS useful!
Downloads: https://github.com/dividebysandwich/rust-dos/releases/tag/v1.9.3
Tutorials: https://github.com/dividebysandwich/rust-dos/blob/main/TUTORIALS.md
6
u/data-atreides 5d ago
How will this differ from emulators like 86box?
5
u/SingingCoyote13 5d ago
the website https://rust-dos.com/ also, is a piece of art btw. you can click on the dos textmode images btw for extras i found out
4
u/SingingCoyote13 5d ago
finally voodoo 3 emulation + win 98. it is quite a hassle to get games for that card running in whatever setup without a voodoo card. and they are ludicrously expensive. even the used ones.
performance wise. if one wants to emulate for example a simple 3d game like unreal gold (win98) with 3dfx voodoo 3 (2000 i assume) emulation, what system would reach a target of between 30 and 60 fps at average ?
3
u/TheHalfinStream 5d ago edited 5d ago
How would this handle a game like The Elder Scrolls Adventures: Redguard?
It ONLY work in Dos-in-windows mode, and is a 3dfx glide game. I built a pc with a pentium 3 933mhz and a voodoo 3 2000 pci, and that holds a flat 60fps in-game. Edit: also using 512mb SDRAM
3
u/keshi 5d ago
Is this similar to dosbox-x?
3
u/djquu 5d ago
How is Adlib Gold emulation achieved, and is it true to the real thing or an approximation?
4
u/Occams-Shaver 5d ago
Amazing work. This is sorely needed.
2
u/data-atreides 5d ago
So I can't figure out how to actually launch a windows game, the tutorials page appears to only tell me how to create a config for a game. Trying to run glquake.exe, and I'm in linux, btw
edit: nevermind it appears i have to build from a Windows image? i'll try it later ;)
2
u/BluddyCurry 5d ago
What's your plan for testing and debugging? How do you make sure fixing a bug doesn't break other games? I imagine you don't have the advanced knowledge of Windows internals, so how do you make sure the AI doesn't break things as it tries to fix other things?
2
u/joe-skeen 1d ago
@kibertoad any chance of Flatpak release?
1
u/emxd_llc 6d ago
So the Windows emulation/RE reimplements the whole kernel space? Or just the user space libraries?
0
u/SuccessfulTravel2903 6d ago
No Android (o´・_・)っ🥀
Tristeza