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


Dolphin, the GameCube and Wii emulator - Forums › Game Modifications › Cheats, Hacks, & Game Patches v
« Previous 1 ... 10 11 12 13 14 ... 18 Next »

Is there a break and trace function in the Debug build of Dolphin
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Is there a break and trace function in the Debug build of Dolphin
11-21-2018, 01:48 PM
#1
NoXiousNet
Unregistered
 
I'm currently digging through the Super Smash Brother Brawl code to try to find out how to hook into the animations of characters to play animations at a specific frame count.

I've located the piece of code that controls the flow of code to advancing to the next frame of animation, or breaking to a new animation at 0x8077f180:

SUBI ------ r0, r3, 1
CNTLZW -- r0, r0
RLWINM. - r0, r0, 27, 5, 31
BEQ ------- 0x8077f224
(Take branch = Continue current animation)

The problem is, I have no idea how r3 is obtained in this case. The link register is to 8077f17c, right before the branch function, but I stepped through over 100 lines of assembly and didn't get back to 8077f180. Is there any quick function within Dolphin, or external program to trace the path between two breakpoints?

Just as an aside because I want to vent; why the h-- is Brawl compiled in such a way that standard pointers aren't used often. So much obfuscation with taking a pointer to some junk value like FFFFCCCC, rotating it with a mask, then doing an indexed load to get the address of an important value.
Reply
12-30-2018, 06:46 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,874
Threads: 7
Joined: Oct 2014
You are only allowed to upload binaries of Dolphin if you also provide a download for the source code. I have removed your attachment.
Find
Reply
« Next Oldest | Next Newest »


  • 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