Dolphin, the GameCube and Wii emulator - Forums

Full Version: DJ Hero turntable emulated extension for Wii remote plugin?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
(10-18-2010, 04:49 AM)Zanchito Wrote: [ -> ]Still, it would be a hack, but I'm pretty sure it'd fix things.

No hacks need to be done, the crossfade values are just wrong. (I did it wrong :p)
I don't have DJ Hero so I can't test.
The problem lies in Turntable.cpp (if that wasn't obvious :p)
(10-18-2010, 06:39 AM)Billiard26 Wrote: [ -> ]
(10-18-2010, 04:49 AM)Zanchito Wrote: [ -> ]Still, it would be a hack, but I'm pretty sure it'd fix things.

No hacks need to be done, the crossfade values are just wrong. (I did it wrong :p)
I don't have DJ Hero so I can't test.
The problem lies in Turntable.cpp (if that wasn't obvious :p)

Heheh, thanks, Billiard, I didn't want to doubt the current implementation without rebuilding it myself. I haven't been able to fix it yet as I'm still downloading all the prereqs for the build, but if you have a bit of time, it should be pretty easy to fix, as stated above. Cheers!
Fixed!

It's a hackish fix, I'll try to do a cleaner one within the GetState call, but it works. I just changed the original turntable.ccp from
Quote: // crossfade slider
{
u8 cfs = 0;
m_crossfade->GetState(&cfs, 8, 7);

ttdata->slider = cfs;
}

to

Quote:// crossfade slider
{
s8 cfs = 0;
m_crossfade->GetState(&cfs, focus ? 0xF : 0);
cfs+=15;
cfs/=2;
ttdata->slider = cfs;
}

I've recompiled using the latest trunk version, 6286, but the EXE works with versions as old as 6262. I won't submit anything official yet, but I can compile for 32 or 64 bit windows if you'd like to try it, let me know the version you want and I'll attach it to this thread.
i really like to see your turntable fix in 64bit SVN 6286
What if you just swap the 8 and 7 instead? :p
Does that work?
it really doesn't matter
i just want to try his fix
(10-19-2010, 01:22 PM)Billiard26 Wrote: [ -> ]What if you just swap the 8 and 7 instead? :p
Does that work?

No, actually it doesn't! Tongue
I'll give it a whirl to achieve a more elegant solution when I have some time, I'll keep you posted! Smile

knglrk I can't attach the updated dolphin.exe to this post, the forum won't let me. Send me a PM with your email address and I'll send it to you. Just overwrite your old dolphin.exe (backup first!!!) and try it. Please let me know if it works for you, specially if you have a turntable.
For Anyone Who Wants The Turntable Fix

Here The Link To The Download:

http://www.mediafire.com/?5hi171poyyeqejs

and enjoy Smile
Thanks for the hosting, knglrk. Tell us if it works with the turntable!
it works perfectly
I tried it with:

Dj hero controller
xbox 360 wired controller
and keyboard

Good Work
Zanchito

Pages: 1 2 3 4 5 6 7 8 9 10 11 12