Disable pulseaudio temporary to play Maniac Mansion Deluxe in Heroic - maybe useful with other games

Ok, i was able to start it but without MIDI sound and without speech. I have googled the problem and found kind of a solution but only described rudimentary and for standalone wine. On should create a startscript, i guess that would be *.sh or is it *.bat or maybe something else? And i would really like to know how to do this inside Heroic Game Launcher. https://forum.ubuntuusers.de/topic/maniac-mansion-deluxe-mit-wine/ at the bottom of the page is described to disable pulseaudio temporary to be able to play the game. #!/bin/sh Deactivate PulseAudio if audio problems occur: pulseaudio -k Start wine application: env WINEPREFIX="$HOME/.wine" wine Maniac.exe Reactivate PulseAudio: pulseaudio -D How shall i do this inside Heroic ? If you could help me with this problem i would be very happy
51 Replies
exotic-emerald
exotic-emeraldOP17mo ago
Uptodown
Maniac Mansion Deluxe (Windows)
Remake des ersten und originellsten grafischen Adventures
flat-fuchsia
flat-fuchsia17mo ago
I'm curious: have you confirmed the workaround actually works?
exotic-emerald
exotic-emeraldOP17mo ago
it shall work with Wine , but i would have to configure the startscript to point to the used wine install and to the Maniac.exe ( which does not work without SAVEGAME ) BUT i pointed HEROIC towards autostart.exe and the game starts. You have to create acsetup.cfg yourself with the correct language. Game works. Did not save or load a game though. Only question i have is where the HEROIC startscript for this game is and how i can enter two lines into it. pulseaudio -k at the beginning and pulseaudio -D at the end. I don´t know if it works this way, just a suggestion. But when a german user reports success with it i would like to try it. But how do i do it with HEROIC?
exotic-emerald
exotic-emeraldOP17mo ago
exotic-emerald
exotic-emeraldOP17mo ago
#!/bin/sh Deactivate PulseAudio if audio problems occur: pulseaudio -k Start wine application: env WINEPREFIX="/app/bin/gamemoderun /home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/wine /home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe" Reactivate PulseAudio: pulseaudio -D what am i doing wrong?
exotic-emerald
exotic-emeraldOP17mo ago
is it the wrong ending? is the wine prefix wrong?
exotic-emerald
exotic-emeraldOP17mo ago
i am not this familiar with Linux, should i use " or ' i could try all day long to find out what the error is without finding the solution. I don´t know how to do a startscript the proper way. Therefore i would like to start it with HEROIC. But with temporary disabled pulseaudio. A functioning startscript would be a nice workaround. when i would know where the automatic created startscript from Heroic is i could try to add two lines with the texteditor is a shellscript meant when they write startscript? sometimes i hate people that write unsufficient howtos, i need more info to do this...i am a linux noob you could say. But i could add two lines of text into an automatic generated startscript and hope the best. If only i knew where to find it.... /home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/sideload_apps { "games": [ { "runner": "sideload", "app_name": "mFjXDKMp1MpVKzXpcT2pDr", "title": "Maniac Mansion Deluxe", "install": { "executable": "/home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe", "platform": "Windows", "is_dlc": false }, "folder_name": "/home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD", "art_cover": "https://cdn2.steamgriddb.com/grid/5cc9ab68594aa0ea6bf2f0ecc3977c44.png", "is_installed": true, "art_square": "https://cdn2.steamgriddb.com/grid/5cc9ab68594aa0ea6bf2f0ecc3977c44.png", "canRunOffline": true, "browserUrl": "", "customUserAgent": "", "launchFullScreen": false } ] } this seems to be the starter for Heroic, i would need an option to disable pulseaudio temporary for this one game.....how can i do this? If not possible inside Heroic then please tell me what i am doing wrong with the startscript? Do i need pulseaudio for system sounds, Kodi, MPV, other games? could i use a working alternative?
flat-fuchsia
flat-fuchsia17mo ago
The game log shows the command used to start the game.
exotic-emerald
exotic-emeraldOP17mo ago
yes, it does Wine Command: /app/bin/gamemoderun /home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/wine /home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe
flat-fuchsia
flat-fuchsia17mo ago
Not that. Please provide the log.
exotic-emerald
exotic-emeraldOP17mo ago
but how do i create a "startscript" with this? it is from the log
exotic-emerald
exotic-emeraldOP17mo ago
here, the log, how can i create a startscript with this?
exotic-emerald
exotic-emeraldOP17mo ago
Game launched at: Thu Jan 18 2024 14:57:20 GMT+0100 (Mitteleuropäische Normalzeit) Wine Command: /app/bin/gamemoderun /home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/wine /home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe
flat-fuchsia
flat-fuchsia17mo ago
Oh, Flatpak. What you're trying to do likely won't work.
exotic-emerald
exotic-emeraldOP17mo ago
Problem 2 – Sound driver: Die Audioprobleme beruhen auf einem bekannten Konflikt zwischen PulseAudio und Wine, die sich mit einem speziellen Startskript beheben lassen (Ausführrechte nicht vergessen!): 1 2 3 4 5 6 7 8 9 10
#!/bin/sh Deactivate PulseAudio if audio problems occur: pulseaudio -k Start wine application: env WINEPREFIX="$HOME/.wine" wine Maniac.exe Reactivate PulseAudio: pulseaudio -D i don´t know what a startscript shall be, is it *.sh ? you could easily do that with a texteditor it is provided there, but i don´t know how to properly start wine with it where to set " or 'and if i need $ or not, has there to be a . before wine? I think i would need a startscript, what i guess is a simple shellscript if i am not wrong, that points to the wine version from my log and autostart.exe instead of Maniac.exe
exotic-emerald
exotic-emeraldOP17mo ago
No description
exotic-emerald
exotic-emeraldOP17mo ago
what am i doing wrong? i guess it is a minimal error
flat-fuchsia
flat-fuchsia17mo ago
Your problem is likely somewhere in your Flatpak environment. Unfortunately I have no experience with Flatpak. I can't help you.
exotic-emerald
exotic-emeraldOP17mo ago
i don´t think it is flatpak, one should be able to write a startscript with a texteditor. In Windows it is a *.bat file, in linux it should be *.sh if i am right
flat-fuchsia
flat-fuchsia17mo ago
Yes, but you're running Heroic as a Flatpak. That changes all sorts of things.
exotic-emerald
exotic-emeraldOP17mo ago
sandra@sandra-X541NA:~$ env WINEPREFIX="$/home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/.wine" wine /home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe bash: Syntaxfehler beim unerwarteten Wort »(« sandra@sandra-X541NA:~$ env WINEPREFIX="$/home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/.wine" wine "/home/sandra/Games/Heroic/Prefixes/default/drive_c/Program Files (x86)/LucasFan Games/MMD/autorun.exe" it looks like wine32 is missing, you should install it. as root, please execute "apt-get install wine32" wine: invalid directory $/home/sandra/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/wine/Wine-GE-Proton8-27-LoL/bin/.wine in WINEPREFIX: not an absolute path you are right, it does not start wine right doing this for a neighbour, Sandra, she has an old Celeron Laptop, too weak for Windows11 with updates, so i installed Linux Mint, trying to get this one game working
flat-fuchsia
flat-fuchsia17mo ago
Oh, hey, you should be able to play it with ScummVM, rather. That might be a much easier path, as long as you can get a recent version in Mint.
flat-fuchsia
flat-fuchsia17mo ago
ScummVM :: Wiki
Index.php
Maniac Mansion Deluxe is a fanmade remake of the LucasArts adventure Maniac Mansion. The game includes improvements to the graphics and UI, with no change to the gameplay or difficulty. All the possibile deaths and deadends of the original have been implemented. The remake was created using Adventure Game Studio.
exotic-emerald
exotic-emeraldOP17mo ago
ok, will try that, i like scumm, had it on a smartphone with all games from usenet once, but that was WindowsCE don´t i need wine too for scumm?
flat-fuchsia
flat-fuchsia17mo ago
No, ScummVM is cross-platform. That way you can avoid Wine altogether. You might still not get MIDI music if there's no system-level synthesizer installer, but if you download a soundfont you can have ScummVM use its built-in FluidSynth synthesizer to play music with that soundfont.
exotic-emerald
exotic-emeraldOP17mo ago
oh, ok, that would be nice, tried to install wine32 , crazy thing is it is already installed, but not the right version, and there are dependencies....if only i could fix this absolute path thing in the shellscript, i think it would work....i have to learn more about Linux, simple things, basics.....BUT i will try with Scumm like you recommende. Hope it works the best thing with Maniac Mansion Deluxe is not only the better graphics but also the sound with speech
flat-fuchsia
flat-fuchsia17mo ago
To my knowledge it has no speech, just sound effects.
exotic-emerald
exotic-emeraldOP17mo ago
have played around with wine installation and now the shellscript works. But i could read that deactivate pulseaudio temporary only works with Ubuntu, and it is true. No Music with Wine and Linux Mint, at least as far as i can tell. Now trying ScummVM
flat-fuchsia
flat-fuchsia17mo ago
Music only begins after you select your kids, by the way.
exotic-emerald
exotic-emeraldOP17mo ago
10 years after its release on December 4th 2010, Arachno SoundFont has been featured in more than 3,850 YouTube videos and 300 SoundCloud tracks, by a growing community of 500+ users releasing new contents everyday! This video is my tribute to all users of Arachno SoundFont, and highlights some of their records, best works and initiatives I witnessed during this decade. Thank you all for your support during all those years! Even those I didn't mention in this tribute video. I'd NEVER have expected so much praise and love 10 years later! DOWNLOAD ARACHNO SOUNDFONT NOW AT https://www.arachnosoft.com/main/soundfont.php AND IMMEDIATELY ENHANCE THE SOUND OF YOUR MIDI FILES! i thoughtlike in the original when the light switches on in the Mansion
exotic-emerald
exotic-emeraldOP17mo ago
exotic-emerald
exotic-emeraldOP17mo ago
stgiga's Sandbox of Funware
My Personal Creations
This is my list of creations.
exotic-emerald
exotic-emeraldOP17mo ago
https://www.arachnosoft.com/main/soundfont.php?fbclid=IwAR2dSj66KwRaGWFTe6vHapDnRr17CBUAdRS8He-B7AP_OinY3BT1XEsEdIc best soundfonts i could find, i believe Arachno shall be good but HIDEF from stgiga is the biggest i have been able to find will definitely try both with scummvm, too bad that heroic does not have such an option, would be handy
flat-fuchsia
flat-fuchsia17mo ago
Size isn't everything, but there are a fair number of options out there, yeah. Personally I use the SGMv2 soundfont with the FluidR3 GS portion added in. Such an option?
exotic-emerald
exotic-emeraldOP17mo ago
Fluid with soundfont
flat-fuchsia
flat-fuchsia17mo ago
Well, that's not Heroic's responsibility; it just runs the game. You could presumably install FluidSynth, configure it to use your favoured soundfont and then run it as a user service so that Wine would then use it. It's not something I've ever had to do, though.
exotic-emerald
exotic-emeraldOP17mo ago
https://archive.org/download/SGM-V2.01 ok, think this might be complicated sudo apt-get install pipewire-pulse replaces pulseaudio with pipewire, hopefully better, will try, don´t know if a restart is necessary, normally not under Linux..... yes, you need to restart, will do that now and then test Maniac Mansion Deluxe with Wine, started from Heroic no audio after restart, programs like Hypnotix and iptvnator won´t work have to google a while
exotic-emerald
exotic-emeraldOP17mo ago
Gist
Enable PipeWire on Ubuntu 22.04
Enable PipeWire on Ubuntu 22.04. GitHub Gist: instantly share code, notes, and snippets.
exotic-emerald
exotic-emeraldOP17mo ago
exotic-emerald
exotic-emeraldOP17mo ago
Flathub - Apps for Linux
Helvum | Flathub
Patchbay for PipeWire
exotic-emerald
exotic-emeraldOP17mo ago
exotic-emerald
exotic-emeraldOP17mo ago
das mit iptv scheint an der m3u zu liegen, Free Kanäle funktionieren hab wieder Ton it was the old useless m3u, having audio again Install Install WirePlumber as the session manager: $ sudo apt install pipewire-media-session- wireplumber Notice '-' at the end of 'pipewire-media-session'. This is to remove it in the same command, because 'wireplumber' will be used instead. Start WirePlumber for your user: $ systemctl --user --now enable wireplumber.service
exotic-emerald
exotic-emeraldOP17mo ago
Gist
Enable PipeWire on Ubuntu 22.04
Enable PipeWire on Ubuntu 22.04. GitHub Gist: instantly share code, notes, and snippets.
exotic-emerald
exotic-emeraldOP17mo ago
still no MIDI Music when using Pipewire it works now with ScummVM and Soundfonts with Fluidsynth, like a charm I did read Lutris has so called ScummVM Runner to start Scumm Games, would be nice if heroic could do that too
flat-fuchsia
flat-fuchsia17mo ago
To bypass the interface, or something else?
exotic-emerald
exotic-emeraldOP17mo ago
i thought maybe to get a shortlink on the desktop, but it does not work this way. Lutris seems to be mighty but i can´t get friends with it. Anyway, i installed and configured Heroic, Minigalaxy, Scumm and Steam ( Linux ). Should be enough so far. i will give the Celeron back to his owner, she does not necessarily need it, she got wifi from me but the connection is bad, ordered a usb wifi adapter with large antenna, maybe then it will work properly Thanks for your help with the subject/matter , i learned a lot, would not have thought about scumm so early without you
flat-fuchsia
flat-fuchsia17mo ago
ScummVM has command-line parameters for starting a particular configured game, and you can specify that in Heroic, and then there is also an option for creating a .desktop file, I believe
flat-fuchsia
flat-fuchsia17mo ago
No description
exotic-emerald
exotic-emeraldOP17mo ago
that sounds good, a link to a game in scumm inside Heroic would be what i search for. But for the moment it is enogh with starting Scumm as standalone. Maybe in a few days or weeks, when the wifi adapter arries, i guess i will have to configure that

Did you find this page helpful?