I tried all of them and they all fail at startup with this error in the log:

/home/xxxxxx/Games/Heroic/Bio Menace/dosbox/dosbox_x86_64: error while loading shared libraries: libFLAC.so.8: cannot open shared object file: No such file or directory

I do have libFLAC.so.12.1 so I tried creating a symlink in the game folder or in the DOSBox one within, but no luck, still same error.

I have DOSBox Staging installed and FlatSeal set up as per documentation.

I can play the game in DOSBox Staging, and they work fine in that case.

Installing Windows versions makes them work from Heroic, but while Bio Menace for example works well, Cannon Fodder has no music, even after setting up the Soundblaster to IRQ7 (as suggested on the forums).

UPDATE: leeching on the Discord (it makes me feel dirty even to name that piece of crap) I found this, obviously unstructured, thread in which the Heroic dev says that Linux versions lack the metadata for GOGDL to use DosBox Staging, ending up relying on the native version. Meanwhile, Windows installations have no DOSBOX folder, so adding even an empty dir solves failed starts in that case.

  • thenose@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    I’ve done it after some struggles. But if I remember right the key was installing dosbox (staging) and pointing at the exe on heroic rather than leave it to the app to decide. I think. It’s my son’s birthday today so give me a shout and I’ll go through my settings later tonight if needed. But yh I remember the frustration. Also I just remembered there’s a tickbox on the advanced panel about some 3 letter word. Ticking that was also essential matter of fact that might be the only important thing. Sorry for being vague. I’ll get some facts later today

    • biofaust@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 days ago

      Those are the threads I went through before writing the post and from where I took the symlink idea.

  • sic_semper_tyrannis@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    Why do you need it to go through Heroic? I bought games from GoG, downloaded the files, and launched it through DosBox without Heroic and it worked.

    • Dariusmiles2123@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      I guess on the Steam Deck that would mean having to leave game mode to launch desktop mode except if you could launch dosbox as a non steam game.

  • Auster@thebrainbin.org
    link
    fedilink
    arrow-up
    10
    ·
    7 days ago

    What if you install DOSBox separately, then point Heroic to open it along with the game’s bundled config file? (Iirc dosbox -conf /path/to/conf-file.conf, though can’t test now to be sure)

  • Dariusmiles2123@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 days ago

    I’m also struggling to get Earthworm Jim from GOG working on my Steam Deck through heroic, so I’m following your journey with attention.

    What’s really annoying in my case is that it worked without installing anything except Heroic at the beginning and now it doesn’t anymore and I don’t know what change is responsibles for the situation…

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

    Back in like 2008, I wrote a SB16 DOS WAV file player/driver utility, and I made a point to find out the exact BLASTER config for a default DOSBox configuration…

    BLASTER=A220 I7 D1 H5 T6

    I hope I’ve been of at least some sort of help, I think that H5 T6 stuff pertains to the MIDI music side of the card/emulation.

    Edit: Regarding your initial question regarding missing libraries, I’d try what the other commenter suggested, install the flac and EV libraries, but my setup isn’t quite configured like yours so I can’t confirm from here.