VOGONS

Common searches


First post, by Yushatak

User metadata
Rank Member
Rank
Member

DIED (DOSBox Identifier of Executables and Dispatcher) v1.0
Yushatak (c) 2010
-------------------------

This tool is meant to allow DOSBox to act more integrated with Windows, like the NTVDM of 32-bit Windows did but with all the features of DOSBox and the capability to run on 64-bit OSes.

Simply install ActivePython, copy died.pyw to your c:\, and merge the registry file. Click on any DOS EXE file and watch the magic. Right click on a DOS EXE file and hit "Create DOSBox Shortcut" to make a shortcut on the desktop to the program automatically set up to run with DOSBox properly - it even uses any icon with the same name from the game/program's directory.

For advanced users: you can, of course, use any paths you want for any of this stuff by editing the pyw and reg files as necessary. You can also avoid using ActivePython by installing pywin32, pythoncom, and any other third party modules I have forgotten to mention that are used.

I spent hours on this over the course of the night, so I hope you guys get some use out of it - I know I will. I will update the program soon to add the proper support necessary for COM files, and then I think this is pretty much done. The program also has the framework necessary to handle binaries from any other sort of system through any other emulator, but I started with 16-bit DOS because as a 64-bit Windows user that's the most glaringly missing.

DIED w/ ActivePython: http://www.mediafire.com/file/fmh2gjmauye/DIED.rar

DIED "Lite", w/o ActivePython: http://www.mediafire.com/file/wzznlzxqnyy/DIED-Lite.rar (You will of course have to either install the equivalent or get ActivePython elsewhere.)

Edit: Oh by the way, since this edits your exe file handler, I highly recommend keeping this reg script on hand for removal of the program:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

Do _NOT_ delete the pyw file before returning these entries or you're in for a world of hurt.

Reply 1 of 5, by Yushatak

User metadata
Rank Member
Rank
Member

Please replace died.pyw with this new version 1.1 found at http://pastebin.com/raw.php?i=xmgMk20a

The old version used a really haxy trick to test if a file was a PE file which was very inaccurate. The new method is the correct one.

This software is, as of this update, quite solid. I'll make an executable version with an installer for those of you who are too lazy or are afraid to install this yourself soon.

Reply 2 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hmm i recall vdmsound did something similar but don't recall a thing about it needing python.

Did anybody try it ?

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 5, by Yushatak

User metadata
Rank Member
Rank
Member

Unfortunately it seems that the modules required to create DIED are incompatible with py2exe, so it will have to remain a Python solution.

One bug has been found, and that is that DIED prevents Virtual PC for Windows 7 from launching properly. I'm not sure if it's possible to fix that or not, as it seems to have to do with undocumented explorer.exe environment passthrough junk, and since it's undocumented I can't replicate it or pass it on. If anybody has some details on that let me know.

Reply 5 of 5, by Yushatak

User metadata
Rank Member
Rank
Member

Happened back across here, updated it for Python 3.x (specifically 3.6 at this time) since some stuff changed that made the old code incompatible.

http://www.mediafire.com/file/1xkqrt48w3ek88a … ED-Lite-1.2.zip

8 years later and an update - probably would have come sooner if anyone had cared about this project of mine, 🤣.

I'm thinking of rewriting it in C# since that's what I primarily code in these days and it would be more accessible since it doesn't require an interpreter or any packages to do this stuff.