schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
731 stars 61 forks source link

Sound broken on dune #482

Closed EricGuzmanSkotnitsky closed 3 months ago

EricGuzmanSkotnitsky commented 3 months ago

When I start dune from retroarch, It asks me to choose install.exe or DunePRG.exe. install.exe Causes dosbox to freeze while DunePRG launches the game successfully but sound is absent.

schellingb commented 3 months ago

For Dune, INSTLALL.EXE generates an executable file called DUNE.BAT which passes the selected sound settings to DUNERPG.EXE. So if you start DUNERPG.EXE directly you won't ever have sound. Can you try DUNE.BAT and report back if that fixes sound for you?

EricGuzmanSkotnitsky commented 3 months ago

Tried DUNE.bat. The only difference is the intro sequence is slightly longer, showing the cyro logo in addition to the virgin one. Still no sound

schellingb commented 3 months ago

Can you post the content of DUNE.BAT? For example, when you see DUNE.BAT listed in the start menu as DUNE\DUNE.BAT, can you select "Go to Command Line" and enter

TYPE C:\DUNE\DUNE.BAT

and write here what gets listed.

EricGuzmanSkotnitsky commented 3 months ago

I tried but half my keys won't work or are overridden by being dospure hotkeys

schellingb commented 3 months ago

I assume you use RetroArch? Check the documentation: https://github.com/schellingb/dosbox-pure?tab=readme-ov-file#playing-with-keyboard-and-mouse

To play not with a gamepad but with keyboard and mouse, be sure to use the 'Game Focus' mode available in RetroArch. By default you can toggle game focus by pressing the scroll lock key. While game focus is active, the hotkeys are disabled and keyboard will not cause retro pad button presses (which could cause multiple keys to be pressed at once).

EricGuzmanSkotnitsky commented 3 months ago

File C:\DUNE\DUNE.BAT not found

schellingb commented 3 months ago

For example, when you see DUNE.BAT listed in the start menu as DUNE\DUNE.BAT, can you select "Go to Command Line" and enter TYPE C:\DUNE\DUNE.BAT

Is DUNE.BAT listed in your startmenu as "DUNE\DUNE.BAT"? I doubt it.

schellingb commented 3 months ago

Another thing you probably could do is to run "INSTALL.EXE" like I mentioned in my first comment to generate a DUNE.BAT that enables sound output. That's how DOS games usually work.

EricGuzmanSkotnitsky commented 3 months ago

Tried that, didn't give me sound but here is what I got when I used type on the new file: @echo off logo duneprg ENG VGA EMS 386

schellingb commented 3 months ago

This is a configuration that is set to "Sound: No Sound" so there will be no sound in the game. Even though this isn't a support forum for how to run DOS games, here's what you need to do:

If this doesn't work, try resetting the core options, maybe you somehow disabled the SoundBlaster.

EricGuzmanSkotnitsky commented 3 months ago

Done all that, did not work

schellingb commented 3 months ago

Do you see multiple INSTALL.EXE in the start menu?

EricGuzmanSkotnitsky commented 3 months ago

yes, I've tried both INSTALL.EXE and DUNE\INSTALL.EXE to no avail. They produce identical bat files as listed above

schellingb commented 3 months ago

When running INSTALL.EXE, after selecting "Automatic configuration", did it say "Your selections have been saved" or was there an error?

We can ignore the INSTALL program by writing DUNE.BAT ourselves. So if before you did TYPE C:\XYZ\DUNE.BAT now enter this into the command line:

echo duneprg ENG VGA SDB2207 EMS 386>C:\XYZ\DUNE.BAT

to manually generate the correct C:\XYZ\DUNE.BAT, then go into the start menu and launch that C:\XYZ\DUNE.BAT.

EricGuzmanSkotnitsky commented 3 months ago

Worked, thank you so much for your help and patience with me!