ROM Hack gba asm Question?

kenghot

Active Member
OP
Newcomer
Joined
Nov 4, 2006
Messages
29
Trophies
0
Website
www.kenghot.com
XP
67
Country
Thailand
Now i strat to debug ffv . Now i use Tracer-vgba to trace command in gba and i got some trace.log. Could some body tell me what is the command of arm7 that perform which button that user press? and how do i know that's 'A' button.
 

dblank

Well-Known Member
Newcomer
Joined
Sep 24, 2006
Messages
50
Trophies
0
XP
50
Country
Does this help? (from http://nocash.emubase.de/gbatek.txt)

Keypad Input
------------

The built-in GBA gamepad has 4 direction keys, and 6 buttons.

4000130h - KEYINPUT - Key Status Â
Bit Expl.
0 Button A (0=Pressed, 1=Released)
1 Button B (etc.)
2 Select (etc.)
3 Start (etc.)
4 Right (etc.)
5 Left (etc.)
6 Up (etc.)
7 Down (etc.)
8 Button R (etc.)
9 Button L (etc.)
 

kenghot

Active Member
OP
Newcomer
Joined
Nov 4, 2006
Messages
29
Trophies
0
Website
www.kenghot.com
XP
67
Country
Thailand
Million Thanks, dblank
This link of document is really great.
bow.gif

i'll try to study with it.
 

kenghot

Active Member
OP
Newcomer
Joined
Nov 4, 2006
Messages
29
Trophies
0
Website
www.kenghot.com
XP
67
Country
Thailand
after i read documents, i found that gba has bios function to decompress data for LZ77, the command is "swi $11" . so i use program "Visualboy Advance Tracer" to keep log of asm command. but when i search in log file (it's about 100,00 lines) i just found only one line of "swi $11". Did i do something wrong?

another question, Can i dump vram or wram and then search for dialog text such as "Hell" in dump file.

Thanks
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
Open up VBA (I use Kode54's build for any hacking like this as it has SSE2 support: http://board.zsnes.com/phpBB2/viewtopic.ph...r=asc&start=145 ) and hit tools memory viewer.
Now hit save and type the start address (02000000=WRAM and 03000000=IRAM) and the length you want to dump in hex. Hit OK choose a destination and there will appear a .dmp file the contents of which are the contents of the memory at the point of dumping, given what you have accomplished so far I assume you can work a hex editor.
 

kenghot

Active Member
OP
Newcomer
Joined
Nov 4, 2006
Messages
29
Trophies
0
Website
www.kenghot.com
XP
67
Country
Thailand
Thanks again FAST6191,
Yes i can use hex editor and understand it well. i've load file form your link but can not run. i got message "This application has failed to start because d3d9.dll was not found." . did i miss somthing?
cry.gif


Thanks again.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: @salazarcosplay yeah cod's still up