VOGONS

Common searches


First post, by Bladeforce

User metadata
Rank Member
Rank
Member

Hi. Could I ask if it is possible if dosbox could be implemented in the OS just like wine is in Linux?
So you can just double click an install program (for example) and it installs into a prefix like wine

Reply 1 of 5, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

it could probably done in Linux but not in Windows. People tried that and hosed their Windows 😀 (since it means all exe/com files are opened with Dosbox -> not a good idea on a system where every program uses exe 😀)

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 5, by collector

User metadata
Rank l33t
Rank
l33t

Vlad managed to isolate DOS executables for his VDMSound Launchpad. Never looked too close at how he was doing it.

One possibility would be to do it via a shell extension. Something Like:

REGEDIT4

[HKEY_CLASSES_ROOT\exefile\shell\Run In DOSBox]

[HKEY_CLASSES_ROOT\exefile\shell\Run In DOSBox\command]
@="DOSBox.bat \"%1\""

[HKEY_CLASSES_ROOT\comfile\shell\Run In DOSBox]

[HKEY_CLASSES_ROOT\comfile\shell\Run In DOSBox\command]
@="DOSBox.bat \"%1\""

[HKEY_CLASSES_ROOT\batfile\shell\Run In DOSBox]

[HKEY_CLASSES_ROOT\batfile\shell\Run In DOSBox\command]
@="DOSBox.bat \"%1\""

and a bat of

C:\DOSBox\dosbox.exe -conf <path_to_your_conf> -c "mount -u c" -c "mount C ." -c "C:" -c "%~n1%~x1"

I guess it would also take having some global defaults set before hand, such as a default folder mounded as C:, but those could be set main conf file.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 4 of 5, by collector

User metadata
Rank l33t
Rank
l33t

The above reg file will add an item for EXE, COM and BAT. Not that it will not discriminate between types of EXE files, but it will only be invoked when the user selects it.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 5 of 5, by theelf

User metadata
Rank Oldbie
Rank
Oldbie
Dominus wrote:

it could probably done in Linux but not in Windows. People tried that and hosed their Windows 😀 (since it means all exe/com files are opened with Dosbox -> not a good idea on a system where every program uses exe 😀)

Integrate dosbox with FAR manager is very easy on windows. Of course is not at OS level, but is great way to use DOS software, very transparent from a user point of view, like wine

I preffer to do a batch file for every DOS game, much better control