I’m trying to get an old Windows game running for a friend.

It seems to be a 16bit macromedia app and I kind of got it running in a Win 98 VM using Virtualbox. DOSBox seems to get confused by it being a Windows app.

Thing is, the friend is very much not good with tech and I want to set everything up for him to “just work”. Installing VBox might be a bit too much.

Apparently, you can install Windows inside DOSBox, but is that really stable and usable for layman? Are there any other approaches?

  • BlueSquid0741@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    32
    ·
    16 days ago

    You should say what the game is.

    Certain games might have known specific workarounds, hacks, some obscure patch someone knows from an old forum, source ports or rereleases.

    And then again certain games might be non-functional no matter what you try.

  • cafeinux@infosec.pub
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    16 days ago

    Try running it in Windows 3.11.

    There was a game I was playing on Windows 95 or 98 when I was a child. I had success running it in Windows 3.11 on DosBox (with no instability to report, even the sound was crisp).

    I setup Windows 3.11 to start my game upon OS startup, I then found a little software made for Windows 3.11 that exits Windows when a given program closes.

    I put the Windows 3.11 .IMG and the game .ISO in a folder along with a DOSBox portable installation, created a shortcut which launches the DOSBox instance with the correct parameters to mount the ISO and IMG files and start Windows 3.11, Windows launches the game, then exits when the game does.

    All of this means that I can just click the shortcut to have the game start with very little overhead, for the price of a little portable folder and it’s shortcut, and the underlying DOSBox or Windows system are basically invisible to the end user.

    Try to see if your game runs in Windows 3.11 and if this is the case, I will try to find back any documentation or resource I used at the time to help you package that game as I did.

    Edit: Windows 3.1 or even Windows 1 might be worth a shot as well if you want to go as minimal as possible.

  • ComeHereOrIHookYou@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    15 days ago

    I don’t think your friend installing VirtualBox is too much. Just help him install VirtualBox and then give him a copy of the Windows 98 virtual machine you have already setup.

  • BigTrout75@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    16 days ago

    Does the game exist on modern platforms like steam? It might be worth the $5 and then just install it that way.

        • woelkchen@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 days ago

          Gog.com is always worth a look.

          Gog is well indexed by Google. If it’s on Gog, a simple web search would have listed that result. “I barely managed to find it at all” means that it was more work than just googling it and clicking on the Gog result.

  • aaaaaaaaargh@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    15 days ago

    I’d always try wine (x86) first. I remember a friend and me wanted to play Dungeon Keeper 1 a couple of years ago and after fiddling around with Windows 7 for ages we finally tried it on Linux using wine and it worked out of the box and even simulated IPX. Now, about a decade later, I’m using wine for pretty much everything, not only games.

    And if wine doesn’t work for you, try pcem. Might take some more time to set up, especially because you’re aiming for a win16 app, but it’s also closer to the original hardware (because other than wine it’s an actual physical device emulator).

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    16 days ago

    You could install Windows 95 or 98 in a VM. I like libvirt for that. And you can install Windows 95 in a DosBox. It’s pretty straightforward and there are a bunch of tutorials out there how to do it. Other than that I usually stick with Lutris and Bottles. (Edit: Those are Linux tools.)

  • Kelly@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    15 days ago

    Apparently, you can install Windows inside DOSBox, but is that really stable and usable for layman? Are there any other approaches?

    I think thats where PCem or 86box becomes more helpful.

  • NaibofTabr@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 days ago

    Super basic, but have you already tried using the compatibility mode? If it runs in a Windows 98 VM it should theoretically work with compatibility mode set to Windows 98.

    Native solutions are best, if they’re effective.

      • NaibofTabr@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 days ago

        Ah, I didn’t realize that was a limitation.

        So here’s an article about packaging a 16-bit application with winevdm, an open source 16-bit emulator, into an MSIX which makes it installable and launchable as if it were a single application: Running 16-bit applications on Windows 10 64-bit.

        Definitely a more complex process though.

        I also suggest looking for the software on myabandonware.com because they collect community-built fixed versions of older applications, especially games. If anyone has made a fixed version for this game, it will probably be there.

      • IHawkMike@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 days ago

        I could be way off base here, but I’d probably start with the 32-bit version of Windows 7 to hack it into working.

        First, you want a 32-bit OS – unless you can get one of the 16-bit OSes virtualized well, but I have no experience with that. 32-bit Windows has NTVDM for running emulated 16-bit apps. 64-bit Windows only has the WOW64 (Windows-on-Windows) emulator for running 32-bit apps.

        Also, Windows 7 has a large collection of shims and compatibility layers built in, plus a ton of tweaks you can do with the Application Compatibility Toolkit. I don’t know if there are ACT limitations with 16-bit apps though since I haven’t had to do any serious work with it since the XP -> 7 upgrade wave.

  • LovableSidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 days ago

    I would think the easiest way is to get a cheap old PC and install XP or 98 etc. If you’re afraid of getting hacked keep it off the network.