Yekyaa- / bizhawk

Automatically exported from code.google.com/p/bizhawk
1 stars 0 forks source link

Evaluate pointers in RAM watch #377

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been doing some work with N64 games using BizHawk 1.9.1 lately and have 
run into the issue of games storing data I want to monitor in different areas 
of memory each execution, locating them using a pointer + offset system.

An example is character position in Donkey Kong 64. The 4 byte pointer is 
located at 0x807FBB4C and X, Y & Z position values are 4 byte floats stored at 
[base + 0x7C], [base + 0x80] and [base + 0x84] respectively, where base is the 
location on the system bus that 0x807FBB4C points to.

Monitoring these values requires me to write some Lua to resolve the pointer 
and display the value on screen or hook BizHawk with an external tool that 
supports pointer evaluation such as Cheat Engine.

Needless to say both workarounds aren't as elegant as using BizHawk's built in 
tools for watching and poking values. This feature would make my work a lot 
quicker and allow distribution of tables to the TAS and glitch hunting 
communities without bundling Lua scripts that simply evaluate pointers.

Thanks in advance, Isaac.

Original issue reported on code.google.com by partyatm...@gmail.com on 21 Jan 2015 at 3:51