Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Run HHGTTG in DOS Emulator dosemu.

  1. #1
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Run HHGTTG in DOS Emulator dosemu.

    Hi

    I have a rather cherished ancient MS-DOS game HHGTTG [aka, Hitchhikers Guide to the Galaxy]. A few months ago i discovered i can still use it in Linux, via the program dosemu [DOS Emulator]. This works really well - yay. However i'm now looking into whether i can semi-automate the launching of my game, which would enhance the user-experience, given 1. i am lazy, 2. i have a bad memory, 3. no, i really am very lazy!, 4. I have 38 more of these [get it? ].

    Here's my current fully manual way [which as stated, works fine]:
    Code:
     01. Install dosemu
     02. Launch it
     03. Note that now /home/gooeygirl/.dosemu has been created
     04. Navigate to /home/gooeygirl/.dosemu/drive_c
     05. Copy completely my HHGTTG directory [from /hdd/Software/Windows pgms/OLD Stuff/HHGTTG] into this location
     06. In the dosemu window, at its c:\ prompt, observe the directory structure via "dir"
     07. Access my HHGTTG folder therein via "cd hhgttg"
     08. Observe the directory structure via "dir"
     09. Launch the game via "hitchhik"
     10. Yay!! What a hoopy frood.



    Here's v1 of my attempted bash script file, which does successfully launch dosemu, but [as i expected] does not then pass the subsequent DOS commands into the dosemu window for execution:
    Code:
    #!/bin/bash
    
    
    dosemu
    cd hhgttg
    hitchhik
    Obviously i did try some online research, but didn't find anything that seemed relevant... although to be honest i found it difficult to know what keywords would be best to search for in this objective. Does anyone here have any ideas please?

  2. #2
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,640

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Quote Originally Posted by GooeyGirl View Post
    1. i am lazy, 2. i have a bad memory, 3. no, i really am very lazy!, 4. I have 38 more of these [get it? ].
    4 + 38 = 42 = HHGTTG = LEAP!

  3. #3
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,640

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Quote Originally Posted by GooeyGirl View Post
    Does anyone here have any ideas please?
    I'd think that once in DOSEMU you have to run a DOS batch file inside it to start the game. Probably the emulator supports an AUTOSTART.BAT or similar at the filesystem folder. I'm pretty sure that DOSBOX does.

  4. #4
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Ah, ok, thanks. In that case, at this point, given it's only 2 DOS commands, there'a probably no point me trying to solve this... i suppose i'll just need to keep doing it manually.

    Btw, well done in "solving" my [not even slightly difficult] riddle

  5. #5
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,640

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    As the saying goes, being lazy requires some effort. There's a filter setting in Gimp that reverts to default every time gimp is started, and I use it a lot with a different setting, so obviously I looked at:

    Changing the filter settings default: there's no such thing in gimp settings.
    Changing the filter's default: nope, it seems to be "hardwired" at build time, or whatever.
    Create a macro: yes, I suppose, but I'd have to learn macros in gimp, and I'm to lazy for a "only-use-once" investment of my time.

    Solution (ugly, wasteful* workaround): change KDE window settings to not allow closing the gimp window (there's no close button in the title bar). So I only set the filter once a each boot, and that take days or weeks to happen.

    (* but with 24 GB RAM in this box it's not relevant in practice)

  6. #6
    Join Date
    Aug 2008
    Location
    Brazil
    Posts
    2,640

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Of course, gimp is restricted to it's own desktop, so as not to intrude in the main ones.

  7. #7
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    16,293

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    On Thu, 31 Aug 2017 04:06:01 +0000, GooeyGirl wrote:

    > Hi
    >
    > I have a rather cherished ancient MS-DOS game HHGTTG [aka, -Hitchhikers
    > Guide to the Galaxy-]. A few months ago i discovered i can still use it
    > in Linux, via the program *-dosemu-* [DOS Emulator]. This works really
    > well - yay. However i'm now looking into whether i can semi-automate the
    > launching of my game, which would enhance the user-experience, given 1.
    > i am lazy, 2. i have a bad memory, 3. no, i really am -very- lazy!, 4. I
    > have 38 more of these [get it? ].


    Something that might work as well (or better) is to use the frotz Z-code
    interpreter; grab the data files off the original distribution, and point
    frotz at it.

    I believe it's available in a repo on software.opensuse.org - but the
    search seems to be broken at the moment.

    Jim
    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  8. #8
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Thanks Jim. I've never heard of that before so will be interested to give it a try. As you said though, the Search is still broken; returns a 404 error when i try searching for either frotz Z-code interpreter or just frotz. I assume this is collateral damage from the recent/current oS server failure?

  9. #9

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Quote Originally Posted by GooeyGirl View Post
    As you said though, the Search is still broken; returns a 404 error when i try searching for either frotz Z-code interpreter or just frotz. I assume this is collateral damage from the recent/current oS server failure?
    Probably, yes.

    frotz is available in the games repo though, see https://software.opensuse.org//downl...&package=frotz

    Btw, there's also kwest, a KDE3 "port": (also available in "games" for TW, for Leap only in KDE:KDE3 though)
    https://software.opensuse.org//downl...&package=kwest
    https://software.opensuse.org//downl...&package=kwest

  10. #10
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    582

    Default Re: Run HHGTTG in DOS Emulator dosemu.

    Thanks Wolfi. I installed frotz into one of my TW VMs, via the One-Click file downloaded from your link. I read the relevant files in /usr/share/doc/packages/frotz [that was a challenge even just to find where any of its files were]. I re-read Jim's...
    grab the data files off the original distribution, and point frotz at it.
    No matter how much i scratched my head & rubbed my eyes, i remain absolutely clueless about what to do.

    I think it's best that i just stay with dosemu for HHGTTG, given that at least i can successfully make that work.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •