Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound effects are noises in PAL(Chinese RPG) with Intel HDA #148

Open
Jimmy-Z opened this issue Oct 25, 2024 · 6 comments
Open

Sound effects are noises in PAL(Chinese RPG) with Intel HDA #148

Jimmy-Z opened this issue Oct 25, 2024 · 6 comments

Comments

@Jimmy-Z
Copy link

Jimmy-Z commented Oct 25, 2024

First of all, thank you for this amazing software!

The game is probably not very well known in the west but it's the most prominent DOS game in China back in the late 90s.
https://en.wikipedia.org/wiki/The_Legend_of_Sword_and_Fairy_(video_game)

Adlib music works fine, but various sound effects sound like white noise (with a little variation, if that makes sense), like a while after you start a new game, after some dialogue your aunt will hit you with a pan, and all battle sound effects (needs to proceed a bit further into the game).

I tried this on two of my older laptops, both with Intel HDA, both had this issue.

Then I tried this in 86box with Sound Blaster PCI 128 (ES1373) with sbemu, sound effects works fine.

1.0.0 beta 5 on a bare minimum of freedos 1.3, settings are according to readme.txt.

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Oct 26, 2024

update: I did more tinkering

  • laptop is thinkpad x230, cpu i5-3210m, intel hda.
  • freedos 1.3 on a usb stick.
  • other popular games like doom, quake, duke nukem 3d seems to be working fine.
    • I only tested shareware/demo versions, so quake doesn't have cd music, but sound effects sounds fine.
  • /K44100, no effect
  • /FIXTC, no effect
  • /T6, no effect
  • /I5, no effect
    • as a side note, in hwinfo:
      • 5 is listed as free(LPT2)
      • 7 is used (onboard ethernet, not plugged, tried to disable it in bios/uefi setting, doesn't work)
      • 9 is used (rerouted irq 2)
  • reload bios default, no effect
  • /I9, worse, music still works, but sound effects is disabled, not even noise.
    • other games I tried to test doesn't support setting irq to 9.
  • use himemx.sys instead of jemmex, and disable real mode support, even worse, music is gone.
    • I don't quite understand, this is supposedly a protected mode game, but I could be wrong on this.
      • update: it's likely a real mode game.
    • doom, quake, duke nukem 3d still works.
  • descent setup.exe, this is the only other thing I tested that sound effects also doesn't work.
    • in setup.exe, select "Test Digital Sound Card", I can hear noise coming out on the center/left/right channel respectively
      • on dosbox it's a woman's voice saying "seven"
    • in game sound effects sounds ok, however
    • I'm sure when I tested this for the first few times, it worked, but after some tinkering it now doesn't, I'm pretty sure I've reverted all settings, I don't know, maybe I should doubt my memory.
  • descent 2, with a setup.exe looking very similar to 1, however, it works fine, I can hear the woman's voice saying "zero" clearly.
  • /VOL9, since default volume is so low, but I can hear the "seven" in descent setup.exe vaguely covered under the noise now.
  • after all these tinkering, the noise pattern is different now, and I can't seem to get it back to the "white noise" pattern.

@volkertb
Copy link
Collaborator

volkertb commented Dec 1, 2024

Thanks for the extensive testing, @Jimmy-Z! 🙏🏽

I know this project could do with more active development lately. I'm trying to contribute some, but my expertise doesn't come even close to that of @crazii. I hope to find more time to get deeper involved in this project in my free time, but I also hope that other developers step up to help maintain and improve SBEMU.

In the meantime, could you maybe test this game with older builds of SBEMU as well, to see if there are any regressions in this release? Thanks again!

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Dec 1, 2024

Good idea! I'll test this, maybe tomorrow.

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Dec 15, 2024

I tested 1.0-beta4 and UserBuild_2024.04.29_09-29, unfortunately both exactly the same symptom, what other versions do you think worth testing?

@volkertb
Copy link
Collaborator

I know it's quite an old version, but could you maybe test this with 1.0beta3? Earlier this month, someone posted a message in the SBEMU thread on Vogons, mentioning that YMF724 cards stopped working after beta3 as well. Not sure if that's related to your issues with Intel HDA, but let's see if these issues are correlated.

There are a lot of snapshot releases between beta 3 and beta 4, but ff you can confirm that it's still working with that version, then we can at least start bisecting to get to the version (and with that hopefully also the change) that introduced this bug .

No rush, though. We're in the midsts of the winter holidays, after all. Whenever you get around to it and feel like diving into it is fine. Thanks again, enjoy the holidays and have a wonderful and healthy 2025! ☺️

@Jimmy-Z
Copy link
Author

Jimmy-Z commented Dec 26, 2024

Thanks for the suggestion, and happy holidays to you too! ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants