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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Dolphin Patches (Archive) v
« Previous 1 ... 3 4 5 6 7 Next »

ZWW Magic Meter Patch
View New Posts | View Today's Posts

Pages (3): « Previous 1 2 3 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
ZWW Magic Meter Patch
10-26-2010, 06:05 AM
#11
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
(10-26-2010, 04:59 AM)NeoBrain Wrote: (300th post, yeah! Tongue)

Better stop posting, neo, or you may be considered a spammer to the uninformed.

Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
10-26-2010, 07:54 AM
#12
rodiabloalmeida Offline
Member
***
Posts: 56
Threads: 2
Joined: Jul 2009
(10-26-2010, 04:59 AM)NeoBrain Wrote: Fwiw, an (e-)book about c would be even better, since Dolphin uses about no real "advanced" C++ coding... just basic stuff which is self-explanatory or isn't crucial to understanding stuff.

(300th post, yeah! Tongue)

C++ is easier to learn and more "fun" too. For starters it gives a motivation to jump to C after sometime if its needed. And it's good for people suffering from anxiety, wich he had mentioned.
But most important: X2D would not got pranked by the "Shift by 16 joke" if he knew what a simple operand like >> does.
Moral of story: he can actually start to read the code properly by just starting with the basics of C++. After that, he gets motivation and go ahead evolving.

(10-26-2010, 05:10 AM)Xtreme2damax Wrote: Well yeah I've been meaning to, I just need patience which I have very little of when it comes to some things due to anxiety and ADHD. Tongue
I have something to tell you. I have ADHD too, since the childhood. At school I could miss the classes for 3 months and return only when the quartetly tests would be applied. And guess what? I usually got my grade A+ in the tests and then back to skipping class again for another month and so on. Of course I got reproved sometimes due to the many skipped classes, wich I always overcomed just by doing some extra paperwork. But at the end of school's year I was the only in the class with more then 94 points out of 100 in most of the School subjects. Call me crazy if you want. But today I am a well respected IT professional working for the government of the state where I reside. And when I look at one of the books in my desk called "C++ How to Program" with it's 1000 pages and a few, I just think: "How the hell Am I supposed to read this beast? Oh wait... Maybe a chapter at a time." Take that as an extra incentive and don't, for all sake, don't jump to the last page of the book of your choice to just see how many pages do you have to read to finish it. [As if you could. I Know I Can't Tongue ].

(10-26-2010, 06:05 AM)[SS] Starscream Wrote:
(10-26-2010, 04:59 AM)NeoBrain Wrote: (300th post, yeah! Tongue)

Better stop posting, neo, or you may be considered a spammer to the uninformed.

Look, FYI I read forums about emulation and N things related and not related several times per day. Including this one. Now if you feel a little more happy calling me "uninformed" by assuming that I don't read X2D posts and the others'... Man, you are so wrong in so many different levels. I take time to read even yours. But go ahead and hit me. 30 times right in my head. The number of my posts.
Here is a hammer (assuming you can take jokes):

[color=#FF0000]DON'T HOLD YOURSELF. HIT HARD.[/color]
[Image: plastichammer.jpg]

ps: What a damn insomnia. And my "silent" neighbors with that ubber bad loud music all time playing. Man, I'm gonna kill someone today. Angry
Find
10-26-2010, 08:22 AM
#13
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 498
Threads: 3
Joined: Oct 2009
You really need some sleep.

Not a prank btw, shifting by 16, just a random guess from looking at other code that also employs the ratioFactor stuff.
Aside from the fact that shifting a 64-bit integer by 16 is only 0 for values < (1<<16)-1.
Find
10-26-2010, 08:35 AM
#14
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Tomorrow perhaps, I'll play with the code for the rectwave a bit more.

Hmm, I got thinking, what if the music in SMG doesn't actually go silent? That it's just something as simple as the samples being shifted to zero at some point in the code that causes it? I noticed there's a few volume related issues where the volume for some things is so low that it can barely be heard.

The rectwave code for the magic meter is better, just need to work on getting it to output at the correct tone/pitch. I don't really want to mess with the code until I at least have an idea so I just don't create more work for myself. I will read up on C and C++, the problem I have with learning to code is the math involved (I'm terrible at math Tongue) and learning the syntax, structure, and flow of the code.
Find
10-26-2010, 08:49 AM
#15
emu-muncher Offline
Member
***
Posts: 121
Threads: 1
Joined: Jun 2010
(10-26-2010, 07:54 AM)rodiabloalmeida Wrote: But go ahead and hit me. 30 times right in my head

sorry but....LOL! your a funny guy haha.

anyways good luck on this mighty quest.
Intel core i5 750 @ 3.2 GHz / AMD 5850 / 4GB RAM @ 1600 MHz
Windows 7 x64
Find
10-26-2010, 09:43 PM
#16
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 498
Threads: 3
Joined: Oct 2009
I just had a look at the UCode. The actual implementation should be something around this:
http://pastie.org/1249800
However, that one pretty much fails - it plays some sort of sound, but the pitch is really off I'd say.
One might want to look at the fix in SawWave, the way its now seems wrong compared to real hardware.

I'm not really familiar with the differences of HLE and the real DSP, but it seems HLE runs a different speed (hence the odd ratio formula thingy - which atm always ends up as ratioFactor == 1, since we only have a sample rate of 32000 yet).
Either way, with or without the ratio factor thingy, nothing of value in there that helps.
Find
10-27-2010, 02:15 AM
#17
Xtreme2damax Offline
New & Improved
********
Global Moderators
Posts: 3,135
Threads: 91
Joined: Mar 2009
Where can I find the code for AFC, rectwave, saw wave Ucode in the LLE plugin or does that not exist with LLE due to it being accurate to the real dsp? I'll take a look at the Ucode/code you provided later, perhaps I can make something out of it.

I'm going to the library to see if I can check out some books on C/C++ coding if they have them.
Find
10-27-2010, 02:35 AM (This post was last modified: 10-27-2010, 02:36 AM by neobrain.)
#18
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
(10-26-2010, 07:54 AM)rodiabloalmeida Wrote: C++ is easier to learn
Seriously, wtf?
It takes ages until you can code proper C++ code... learning C is basically just a matter of learning syntax+keywords+libc, but in c++ you've got all that class stuff which NEEDS practice before you can use it the way its meant to be.

EDIT: Alright whatever, let's not go off-topic...
My blog
Me on Twitter
My wishlist on Amazon.de
Find
10-27-2010, 02:35 AM (This post was last modified: 10-27-2010, 02:37 AM by Starscream.)
#19
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
When you say "you're going to the library", do you mean actually going out side of the house or somewhere on the internets, because going outside is just a crazy idea? Smile
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
10-27-2010, 03:30 AM
#20
Jack Frost Offline
aka. BhaaL
**********
Developers (Some Administrators and Super Moderators)
Posts: 498
Threads: 3
Joined: Oct 2009
(10-27-2010, 02:15 AM)Xtreme2damax Wrote: Where can I find the code for AFC, rectwave, saw wave Ucode in the LLE plugin or does that not exist with LLE due to it being accurate to the real dsp? I'll take a look at the Ucode/code you provided later, perhaps I can make something out of it.

LLE doesnt have/need it, since its part of the DSP UCode that runs on it.
You can look at a ZWW dump around 0891 (jumptable for the different synth cases) in case you're interrested (docs\DSP\DSP_UC_Zelda.txt for comments, but a bit outdated)
Find
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode