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
GUI: add sound effects #157
Conversation
…f current theme is not saved the console will crash upon unloading hdl server
So? Is it going to be merged? On another note: It already got merged into the OPL Daily Builds! |
Sounds good to me! 👍 |
Really nice choice of subtle sounds - well done! |
@KrahJohlito, there is a problem with the covers using a custom theme in the last Navigating through the game list some covers disappears forever, and sometimes This seems that do not happens in the previous sound test build v1.2. Tested with Bumblebee and Spider themes. Best regards. |
I've located the problem, I will fix it soon and add a commit to the PR. Thank you sir |
@ElPatas1 It was also found that for per theme (external) sfx having a theme loaded with a short boot sound and switching to one with a long boot sound would result in the difference in duration being played back at theme change as it was trying to occupy the same amount of memory as the shorter sound. This has also been fixed. Thanks to @Tupakaveli for spotting this. I will add the commit to the PR when you've had a chance to test this build and give it approval. Thank you. |
@KrahJohlito: THX for the update! @Tupakaveli: Wow! Interesting spoting, haha! :) Great job finding it and great Job Krah for finding the cause and fixing it! @ElPatas1: Yes, please take your time! You had been 'chosen', specifically because you can compile them and because you test these things sooo thoroughly! The '[tester-]firewall' (alpha/beta-testers who found most bugs) have certainly found most things, but probably not all! Even once you tested and approved it, we will probably still find some issues, but it's still at a stage where it is 'ready for the end-user'! Take your time! 🙂 I am just happy that this project (I mean in regards to the SFX and sounds here, but also generally...) reached this point of development! I am glad, the end-user and theme-creators (and possibly later per game as well) can get the fruits of the stuff! |
@KrahJohlito, the covers seems to work fine now. After unloading the HDLServer the OPL not freezes inmediately, but if you like I noticed that in the game settings the pademu emulation for Dualshock 3/4 is Best regards. |
@ElPatas1 HDL server seems to have a few issues with its current code, only thing I could suggest is to force an exit at unload so OPL can reinit properly but that's more of a work-around. Yes, sorry I was just doing a basic compile. Here is a PADEMU build if you wish to make sure it is still functioning correctly. http://frd.li/6c76bf727c385bffaf4e67599aa2c8ad Thanks |
Yes, you are right, in the r1200 the freeze happens after unloading the HDLServer, I continue testing the covers, and when i have time i search in which build Best regards. |
New merge incoming? :) |
@ElPatas1 @Jay-Jay-OPL It was here in the code All the best. |
@KrahJohlito, i tested previous OPL stable versions and the freeze happens also while starting Then yes, i think is better separate this problem from this pull request. Please eliminate your fix of saving the config before the initialitation of the HDLServer Best regards. |
I tend to agree on this small change and also their cause, with @ElPatas1. The issue is not caused by your code and it would keep the PR clean from other unrelated stuff! :) |
Yeeeeeeheeeeeaaaaaassss! THX! |
GUI: add sound effects
Pull Request checklist
Note: these are not necessarily requirements
Two small bug fixes, one to stop crash at init if user navigates menus and one to stop crash at unloading hdl server if the current theme is not saved to cfg.
Add sound effects (code for external files found in themes & default royalty free sounds)
Royalty free sounds source:
made by @Tupakaveli //boot sound
made by @RivalK93 //cancel
http://www.flashkit.com/soundfx/Interfaces/Switches/Switch19-intermed-5235/index.php //confirm
http://www.flashkit.com/soundfx/Interfaces/Clicks/ambient_-agent_vi-8701/index.php //cursor
http://www.flashkit.com/soundfx/Interfaces/Zings/Reminder-public_d-291/index.php //message
http://www.flashkit.com/soundfx/Interfaces/Zips/idg-zip3-intermed-2896/index.php //transition
It is a run-time option, It has been tested by the community, thanks to all the testers:
dekkit, jolek, RivalK93, svotib, TnA, Tupkaveli, VeditaBR.
and a HUGE thanks to @sp193 for all his help; contributing code, advice and trouble-shooting and making changes to the PS2SDK that support this feature.
Test-Build (sfx and boot sound are enabled by default in the test build for sake of ease they are off by default in PR)
http://frd.li/91ced1b1e263d82802cb41a4fb29610b