+  RHDN Forum Archive
|-+  Romhacking
| |-+  General Romhacking
| | |-+  Visual Boy Advance Tracer
Pages: [1]
Author Topic: Visual Boy Advance Tracer  (Read 430 times)
RedComet
Guest
« on: December 23, 2006, 12:42:50 am »

Am I the only one who can't get the "hook" system to work? The tracer works fine, but I just cannot get any hooks I set to work. It doesn't even generate a hook.txt when I press the ',' key to start hooking.  Sad
KaioShin
Guest
« Reply #1 on: December 23, 2006, 04:08:09 am »

You are using the original vba? I tried that one back and forth and got nothing to work. You'll need vba-sadl-h for tracing.
Start the emulation and hit F11 (I think, or another F button) to call the console.

Quote
1) 'lf' is the 'trace logger' function:
Code:

lf <count>|<address> <file> [/a] [<max>]        Log instructions to file

You either specify the number of instructions to log (<count>), or an address to log to (<address>), in which case you must add '/a'. File is the output file, and <max> is the maximum amount of instructions to log when /a is specified.

RedComet
Guest
« Reply #2 on: December 23, 2006, 04:28:27 am »

I'm using this version in addition to the sdl-h version. I've had good results with g8z_et_al's tracers in the past and it's memory dumping functions have already helped a lot.

The emulator's "hook" system lets me find when things are happening without having to sift through a huge trace log or press "Run" every time a breakpoint is hit. From there I usually pin-point what I want and tehn fine-tune things with a debugger.

I did get an idea while typing this that I'll try.
KaioShin
Guest
« Reply #3 on: December 23, 2006, 04:30:49 am »

Sorry then, I didn't knew g8z_et_al even made a vba tracer.
RedComet
Guest
« Reply #4 on: December 23, 2006, 04:34:43 am »

The formatting of the trace logs is a little different from vba-sdl-h, but it's a little easier for me to follow what's happening, since it's in the same format as their other emus.
RedComet
Guest
« Reply #5 on: January 03, 2007, 11:13:56 am »

Threw together a little program to convert VBA-SDL-H's logs to the format g8z_et_al's Tracer uses. Here it is if anyone else wants it. Smiley

http://www.rpgclassics.com/subsites/twit/progs/trace_convert.zip
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC