• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
1 2 3 4 5 … 7 Next »

[PATCH] Xenoblade: HLE audio hack fix
View New Posts | View Today's Posts

Pages (41): 1 2 3 4 5 … 41 Next »
Jump to page 
Thread Rating:
  • 6 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
[PATCH] Xenoblade: HLE audio hack fix
01-10-2011, 07:44 PM (This post was last modified: 05-30-2013, 08:52 AM by delroth.)
#1
Mylek Offline
Junior Member
**
Posts: 36
Threads: 2
Joined: Sep 2009
EDIT (2013-05-30): this hack is no longer required if you use recent versions of Dolphin (>= 3.5-1000). The Dolphin team provides no support for this hack/patch.

This patch should prevent choppy noise in HLE audio in Xenoblade.

After playing for a while, especially when FPS is above/below expected game FPS, audio turns into choppy noise mixed with normal audio. Easy way to see this is to sit at the title screen with no fps limiting or audio throttling. With this patch applied the noise shouldn't occur.


r6856 x64 with the patch v2: https://docs.google.com/leaf?id=0B6-VV5W...ist&num=50

r6856 win32 with the patch v2: https://docs.google.com/leaf?id=0B6-VV5W...ist&num=50

For those interested in how this works, the game engine's writes to looping audio buffers seems to drift towards the read offsets until it eventually overtakes them (resulting in noise). When the engine only sees odd offsets in the PB structures this doesn't seem to happen.

Update: Posted v3.1 here http://forums.dolphin-emu.org/showthread...#pid169677


Attached Files
.patch   xenoblade_hle_bp_addr_hack_2.patch (Size: 1.33 KB / Downloads: 4,696)
Find
01-11-2011, 03:31 AM
#2
DSlayer Offline
Junior Member
**
Posts: 12
Threads: 0
Joined: Jan 2011
Awesome! Thanks for this. Smile
Find
01-12-2011, 07:13 AM
#3
Ninja_Gundam
Unregistered
 
Hmm nice addon! Can u build up a 32bit revision already patched too? Smile Smile

Chooo
01-12-2011, 11:43 AM
#4
Mylek Offline
Junior Member
**
Posts: 36
Threads: 2
Joined: Sep 2009
Added a win32 build to the OP.
Find
01-12-2011, 07:45 PM
#5
Ninja_Gundam
Unregistered
 
Thx for the nice and quick patch! I will try when i can and report. Btw, what u suggesto to use as audioconfiguration? openAl,Dsound..?

Chooo
01-13-2011, 05:04 AM
#6
Mylek Offline
Junior Member
**
Posts: 36
Threads: 2
Joined: Sep 2009
XAudio2, 48k, audio throttle on, frame limit off
Find
01-13-2011, 04:06 PM
#7
leisurecrab
Unregistered
 
Thx so much. This issue has troubled me for a long time. I will give my feedback as soon as possible!!!
01-13-2011, 11:29 PM
#8
Ninja_Gundam
Unregistered
 
Thx tested now seem to works really nicer than before Smile

Just a question.. coz im ignorant;
after a patch like this one, has been tested, the new svn of dolphin will include those automatically?

Chooo
01-14-2011, 08:54 PM
#9
kentchoy89
Unregistered
 
I have tried to use the patched version 6820 build up, but there are noise when battling, sound like lagging. Can i know what is the problem?
01-16-2011, 08:52 AM (This post was last modified: 01-16-2011, 08:56 AM by Mylek.)
#10
Mylek Offline
Junior Member
**
Posts: 36
Threads: 2
Joined: Sep 2009
I made some changes to the patch that should fix the issues you are having. The newer version has been added to the OP.
Find
« Next Oldest | Next Newest »
Pages (41): 1 2 3 4 5 … 41 Next »
Jump to page 


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma