How to change buttons on Guitar Hero On Tour Hack?

Discussion in 'NDS - ROM Hacking and Translations' started by aleiex, Jan 22, 2011.

Jan 22, 2011
  1. aleiex
    OP

    Newcomer aleiex Newbie

    Joined:
    Jan 2, 2011
    Messages:
    3
    Country:
    United States
    Hi, I downloaded hacked guitar hero on tour, since i have dsi XL & CAN'T use guitar grip... but is a damned nightmare to play because of the order of buttons. I want to reorder to put x=green |y=red | b=yellow| a= blue OR the pad up=green| left=red| down=yellow |right= blue.

    I think is a better order because i always miss when red comes in the actual hack.

    I know that arm9.bin muts be modified... but how? I have not idea on how to open the arm9.bin so, i know how to use dslazy, but can't open arm9.bin with any software to edit him, and even doon't knoe what i need to modify to change button order . Hope some one help me pls. My english is poor sry [​IMG]
     
  2. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,713
    Country:
    United Kingdom
    I am not that familiar with the guitar hero DS versions (I do not really even care for the console versions let alone the DS stuff) but I will see if I can get you started.

    There was a cheat option if memory serves- that would be better to edit as what goes would be more transparent to you. If you must use a patch then either consider something like DSATM or hack the existing hack to do what you need- no sense redoing a control hack when it is already there.

    Anyhow the ARM9.bin is the binary file- it is a mixture of many things including but not limited to the actual code the processor runs (in ARM and THUMB modes) which is probably what you want to edit here- this being said it might be the ARM7.bin if other control hacks are anything to go by http://crackerscrap.com/ ("StarFox Command Control Hacking Tutorial" in the documentation section).

    Two things to know
    when a DS button is pressed it changes part of the memory http://nocash.emubase.de/gbatek.htm#dskeypad but in practice these values are copied every so often to another place in the memory and that is what the game uses.

    The GBA port device likely sits on one of the more general purpose buses available to users of the GBA port. It likely follows a similar protocol to the regular DS buttons (copied to another section).

    Your job (or indeed those that did it initially) to allow regular buttons to work in place of the expansion pack. This means taking regular button signals and using them to overwrite the GBA port stuff or redirecting the GBA port reads to where you stash the buttons. As it essentially uses the same 16 bits of memory with a different bit for each key all you would have to do is say change the A button code to instead read the B button

    From here it is simple enough to map buttons to other things.

    As for tools to do it assuming you are not using cheats in which case a plain text editor or more likely a cheat editor like r4cce you are going to need something to pull the rom apart (ndstool should work- DSlazy and DSbuff are frontends if you dislike command lines).
    You will probably need a hex editor
    If you are going to assemble code by hand then you can stick with a hex editor, otherwise see the DS hooking tutorial on the cracker's crap site above.

    The cheat probably does exactly the same thing- feeds the buttons to the where the rom wants to be. Again you change the destination of the button press codes and you change what button on the GBA port the game thinks has been pressed.

    Short version- the existing hack points buttons to where the GBA expansion thing normally sits (or points the rom at the buttons instead, either way it will be obvious once you open the ARM binaries up and compare against a stock rom)- as the buttons use a simple protocol you might have to change what used to read bit 2 to instead read bit 1 or whatever you deem necessary (examples of all the relevant bits will be in the modified code). Repeat for as many buttons as you need to see remapped.
     
  3. YayMii

    Member YayMii hi

    Joined:
    Jun 24, 2009
    Messages:
    4,881
    Location:
    that place
    Country:
    Canada
    You know, there's 4 different Action Replay button hacks for Guitar Hero... I'm pretty sure they're in the GBAtemp cheat database. You should try them.
     
  4. aleiex
    OP

    Newcomer aleiex Newbie

    Joined:
    Jan 2, 2011
    Messages:
    3
    Country:
    United States
    Thnx for the help, but I don't know where they are. I downloaded a pack called 17_01_11_All.zip from that link u posted, but can't find the action replays u mentioned. If u could give me the 4 button codes u said i will very happy. Thnx for all
     
  5. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,713
    Country:
    United Kingdom
    From the US cheats in 17_01_11_CHEATS.XML.zip , R4cce http://home.usay.jp/pc/soft_en.html providing a nice editor. Looking at it the European version is fairly similar and the same logic would be used to do the deed.


    Code:
    !Grip Codes
    :::Enable all codes and only one of the Enable Controller codes to play the game without the use of a grip
    
    ::Grip Check Bypass Code
    52036BB0 18BD8008
    02036BB0 E8BD8008
    D2000000 00000000
    
    ::Removing Guitar grip no longer causes error
    520022BC E1A00FA0
    020022BC E3A00000
    02036BB0 E8BD8008
    D2000000 00000000
    
    ::Enable Trainer Toolkit and Disable "No Grip" Checks
    020076BC 0400FAB0
    023FFE18 00000000
    023FFE1C 00000000
    02036BB0 E8BD8008
    02036760 E8BD8038
    020369FC E8BD8070
    02036F90 EA000002
    
    ::Enable Controller Input (Version 1)
    :::Up is Green, Right is Red, B is Yellow, A is Blue
    52033AC4 E3A0140A
    02033AC4 E3A01301
    02033AC8 E5D11130
    02033AEC E3100002
    02033AF4 E3100001
    02024180 00002F9C
    D2000000 00000000
    
    ::Enable Controller Input (Version 2)
    :::Y = Green, B = Red, A = Yellow, X = Blue
    52033AC4 E3A0140A
    02033AC4 E1A05000
    02033AC8 EBFFC195
    02033ACC E3A04000
    02033AD0 EA000001
    02033ADC E3100B02
    02033AE4 E3100002
    02033AEC E3100001
    02033AF4 E3100B01
    D2000000 00000000
    
    ::Enable Controller Input (Version 3)
    :::X = Green, Y = Red, B = Yellow, A = Blue
    52033AC4 E3A0140A
    02033AC4 E1A05000
    02033AC8 EBFFC195
    02033ACC E3A04000
    02033AD0 EA000001
    02033ADC E3100B01
    02033AE4 E3100B02
    02033AEC E3100002
    02033AF4 E3100001
    D2000000 00000000

    You want
    x=green |y=red | b=yellow| a= blue OR the pad up=green| left=red| down=yellow |right= blue.

    That would appear to be version 3 on the list, a quick scan says it sticks for a few other versions as well.

    The 05 is a conditional write- basically and initialisation and make sure the game does not reset itself type of thing.

    02 type codes are executed after it, figure out what does what- assuming 2 codes per button in the case of actual buttons, directional pad is different. If should be easy enough to at least determine what is what and modify it.
     
  6. aleiex
    OP

    Newcomer aleiex Newbie

    Joined:
    Jan 2, 2011
    Messages:
    3
    Country:
    United States
    OMG u made my day, i will try it (first time i'm using action replay in supercard dstwo) THANK YOU VERY MUCH.
    Another question: how to activate? I remember csome action replay needs to preesss a series of buttons to get activated like select+right, etc
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,713
    Country:
    United Kingdom
    Whoa I did not make those cheats- I pulled them from the XML DB on http://cheats.gbatemp.net/

    DSTwo cheats, I am not familiar with the cart but looking around

    Download USRCHEAT.DAT.zip from the link above and extract it to /_dstwo/

    DSTwo cheats can be activated in game via a menu- different to most other flash carts before it. Press L R and start and the in game menu should pop up allowing you to select things. There will be two cheat options. You can regular cheat (free cheat is for making cheats of fiddling with things like that).
     

Share This Page