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

"CT Special Forces 3 - Bioterror" no music and sound #242

Open
Danniel79 opened this issue Feb 3, 2024 · 8 comments
Open

"CT Special Forces 3 - Bioterror" no music and sound #242

Danniel79 opened this issue Feb 3, 2024 · 8 comments

Comments

@Danniel79
Copy link

Danniel79 commented Feb 3, 2024

There is no music or sounds as soon as the game starts. ReGBA and mGBA has music and sounds.
I use Dingux Mips32 build on RG350.

@Danniel79
Copy link
Author

Danniel79 commented Feb 7, 2024

I found this discussion:
"Same for me with some game (ct special forces bio terror) not having an audio. Figured it out to fix this issue is by editing gpsp config file. Go to 1st sdcard (mmc) > CFW > retroarch > .retroarch > config > gpSP > gpSP.cfg Open that gpsp.cfg with text editor. If there contain line said auto load save state "false", change "false" to "true" Then save it. You can use dingux commander app to edit the file or notepad on your pc to open this config file.In my case when auto load state is enabled again. The audio of the game is working again"
My gpsp.cfg and gpsp.opt does not have this line with auto load.

@andymcca
Copy link

If you go to the RetroArch Quick Menu whilst in-game, and then Resume, does the music/sound come back? That happens to me sometimes on the PS2 build.

@andymcca
Copy link

andymcca commented May 18, 2024

@Danniel79 I checked this out - it appears to be a Dynarec issue. You can workaround it by switching to Interpreter and then back to Dynarec after the game menu (this restored the sound on my PC). Will see if I can investigate further in the meantime.

@andymcca
Copy link

Works in a build from an old commit bc8c072 (from Dec 2021), but not in a random build I found from Apr 2023, Time for some bisecting!!

@Danniel79
Copy link
Author

Danniel79 commented May 26, 2024

@andymcca Thanks for your investigation. I'll try when I have time.

@andymcca
Copy link

andymcca commented May 26, 2024

@Danniel79 no problem.

@davidgfnet I traced this issue to commit 8036ad5 from Jan 2022, where you did more work on fixing out of bounds RAM flushes. The previous commit works ok, so it's something about the code here which stops music/sound working on this game. For clarity - the sound works on the Language selection screen at the very beginning, then music should play on the title screen and following screens from this, but it doesn't, and in-game sound is also missing.

This seems to affect all dynarecs (report is for MIPS32, and I also tested and confirmed same issue on ARM/x86).

andymcca added a commit to andymcca/lr-gpsp-amcc that referenced this issue Aug 6, 2024
This partially reverts commit 8036ad5 which broke the audio in dynarecs on CT Special Forces 3.  Essentially restoring the setting of the IWRAM/EWRAM thresholds back to the original positions in the code, but keeping the other changes in 8036ad5.

Applying this PR restores the working audio in this game.

Up to @davidgfnet if this is satisfactory to commit or not without further investigation.
@andymcca
Copy link

andymcca commented Aug 6, 2024

@Danniel79 I just did a PR which restores the audio - essentially it's a partial revert of commit 8036ad5 . May not get committed though as I think that original commit was supposed to fix a different problem.

@Danniel79
Copy link
Author

@andymcca thank you.I hope that someone will make the corrected core for Dingux MIPS 32.

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