US Phantom Hourglass D-Pad Hack

Discussion in 'NDS - ROM Hacking and Translations' started by Heran Bago, Oct 1, 2007.

Thread Status:
Not open for further replies.
  1. Rankio

    Rankio GBAtemp Fan

    Member
    417
    1
    Mar 7, 2007
    United States
    L/R do not work, I did not test any other buttons but apparently those don't either.
     
  2. Heran Bago
    OP

    Heran Bago Where do puyo come from?

    Member
    3,015
    429
    Nov 6, 2005
    United States
    Foggy California
    Nice! I think I'll throw together a batch file for the command-line impaired. I'll add your patch to the OP too.
    Nice work jajasilver! [​IMG]
     
  3. cflemin301

    cflemin301 Member

    Newcomer
    33
    0
    Jul 21, 2006
    United States
    do you think you can fix the button problems?
    L and R don't work and none of the ABXY and
    START or SELECT
    buttons work.
     
  4. Heran Bago
    OP

    Heran Bago Where do puyo come from?

    Member
    3,015
    429
    Nov 6, 2005
    United States
    Foggy California
    The only one I would use would be L.

    Does teh game require any of these buttons to work?
     
  5. cflemin301

    cflemin301 Member

    Newcomer
    33
    0
    Jul 21, 2006
    United States
    it uses keys for the other functions. here is a list of the buttons, other than the d-pad:
    L Button: Hold an Item.
    R Button: Hold an Item.
    Y Button: Display the Menu screen.
    A Button: Display tbe Collection screen.
    B Button: Display the Map screen.
    Start: Pause, Skip (During a cinematic)

    i got those from a guide on gamefaqs.
    could you make a new file with those?
     
  6. Heran Bago
    OP

    Heran Bago Where do puyo come from?

    Member
    3,015
    429
    Nov 6, 2005
    United States
    Foggy California
    The patch, along with instructions and a semi-convenient batch file can be picked up here in either zip or rar form. Yay!
     
  7. Heran Bago
    OP

    Heran Bago Where do puyo come from?

    Member
    3,015
    429
    Nov 6, 2005
    United States
    Foggy California
    This isn't bad! I like how you an use Dpad gestures for some sword strokes.
    This game just got about 50% better. =D
     
  8. rhyguy

    rhyguy GBAtemp Maniac

    Member
    1,377
    0
    Jul 21, 2007
    Melbourne
    can you still use the stylus?

    Also, did you just change your av?
     
  9. cflemin301

    cflemin301 Member

    Newcomer
    33
    0
    Jul 21, 2006
    United States
    will we be able to use the other keys, even without the d-pad for menus?
     
  10. bluebright

    bluebright GBAtemp Advanced Fan

    Member
    643
    16
    Feb 24, 2006
    Melbourne, Australia
    its cool that someone has done this, for those who want it I guess. But, I'm sticking with the stylus controls, since it was made for it.
     
  11. jinqui242

    jinqui242 Advanced Member

    Newcomer
    54
    1
    Jun 27, 2007
    United States
    Yes, the stylus controls still work with the patch.
     
  12. dib

    dib GBAtemp Advanced Maniac

    Member
    1,574
    6
    May 1, 2004
    United States
    Actually the patch manages to make the game worse. Now you're trying to walk with the dpad but still need your stylus handy so you use your sword and inventory items. On top of it, the hotkeys end up broken so now accessing your map requires more effort and the L+R shortcuts break. It would be great to see a traditional controls patch, but this isn't it. Nice effort though, glad to see other people recognize the game's shortcomings when they don't offer you a traditional alternative to the extraneous touch screen controls.
     
  13. Mewgia

    Mewgia drifter

    Member
    2,161
    10
    Dec 16, 2006
    United States
    Boston, MA
    i'll wait for a control hack that does not break the current button functions...maybe someone can go to the extreme and make one that maps different attacks to the ABXY buttons? O:
     
  14. Heran Bago
    OP

    Heran Bago Where do puyo come from?

    Member
    3,015
    429
    Nov 6, 2005
    United States
    Foggy California
    Yes.
    No, it changes itself every time you view the page.

    Start is also a shortcut to save the game. Nice job Gamefaqs. [​IMG]

    No, all button functionality is gone, however the game is still entirely playable as all button functions are accessible from the touch screen.

    Cool I don't care this topic's not really about how much you like the default controls. If you don't have any technical questions or comments I encourage you to join/start another circlejerk thread.

    You might have missed the people who don't like their hand/stylus covering the screen just for walking.

    that'd be sweet yeah
     
  15. toenailed

    toenailed Member

    Newcomer
    25
    0
    Jul 3, 2007
    can someone test this please LoZ DPAD fix

    i notice this part While debugging the game

    all can be found from RAM in 0x202AE08 and 0x20004E0

    in offset 0x202AE08
    Code:
    0202AE08: Âldr r1, =0x4000130 Â Â Â Â ;button routine offset of DPAD, L, R, A, B, Start and Select
    0202AE0C: Âldr r0, =0x27FFFA8 Â Â Â Â ;button routine offset of X and Y
    0202AE10: Âb 0x020004E0 Â Â Â Â ;jump to 0x020004E0 to customise DPAD function
    0202AE14: Âldrh r1,[r0] Â Â Â Â ;get the value found in 0x27FFFA8 and save it in r1
    0202AE18: Âldr r0,=0x2FFF
    in offset 0x20004E0
    Code:
    020004E0: Âldrh r2, [r1] Â Â Â Â;get the value found in 0x4000130 save it in r2
    020004E4: Âorr r2,r2,#0xF0 Â Â Â;bitwise OR the r2 with #0xF0, so Game will think the DPAD was not pressed
    020004E8: Âb 0x0202ADE4 Â Â Â Â ;now it jump to 0x202ADE4 instead of jumping back to 0x020AE14
    so i just edited the patcher made by jajasilver so it will make the 0x020004E8 value to

    Code:
    020004E8: b 0x0202AE14
    and jump back to its routine so the button A,B,X,Y,L,R,Start and Select wont change its default function

    PS in ROM after patching with old patcher it can be found in @0x000044E8 // 3D AA 00 EA // the new patcher will change it to // 49 AA 00 EA // [little endian], using hexeditor you can edit it manually

    it works for me, hope works to all too.. [​IMG]
     
  16. edwardbloom

    edwardbloom Newbie

    Newcomer
    3
    0
    Oct 18, 2007
    Italy
    There's a little hope of using this patch in an EUR version?
    it does'nt work, and i'd like to use it, i just hate moving link with the stylus, but i'd like playing it in italian...
     
  17. toenailed

    toenailed Member

    Newcomer
    25
    0
    Jul 3, 2007
    please dont forget to read the readme.txt .. [​IMG]
    i tried it in my Supercard and in emulator
     
  18. edwardbloom

    edwardbloom Newbie

    Newcomer
    3
    0
    Oct 18, 2007
    Italy
    Thanks a lot! thank you!
    Now I try to understand what I have to do (i'm not precisely a hex coder...) but I think it will be easy with your instructions...[​IMG]


    Edit: Yes, yes, yes, it works!!
    I tried it in a R4...thanks a lot again!
     
  19. toenailed

    toenailed Member

    Newcomer
    25
    0
    Jul 3, 2007
    thats good to hear! [​IMG] .. btw i believe R4 support ARDS code can you try this for [E] version please..
    its a very very long code the idea was to map the X button to act as Spin Slash (did i name it right? [​IMG] ) and still using the DPAD i was hoping to make an rolling but Spinning is a lot easier to make, i can make an ips for this, ards code is just a lot faster and easier to make anyway here it is.. [​IMG]

    Code:
    D-Pad hack ARDS code for [E] version only
    5200A184 E59F10A8
    0200A180 EAFFD8A2
    0202AE28 EAFF5574
    E2000400 000001B8
    E1D120B0 E38220F0
    E59F1198 E12FFF11
    E92D007F E1A05000
    E59F418C E5943000
    E353000A C3A03000
    E3530000 B3A03000
    E3530001 02833001
    05843000 0A000038
    E3530002 02833001
    05843000 0A000040
    E3530003 02833001
    05843000 0A000039
    E3530004 02833001
    05843000 0A00003B
    E3530005 02833001
    05843000 0A00002E
    E3530006 02833001
    05843000 0A000039
    E3530007 02833001
    05843000 0A000023
    E3530008 02833001
    05843000 0A00002E
    E3530009 02833001
    05843000 0A000018
    E59F00E8 E5D00000
    E3500028 03A03001
    05843000 0A000030
    E3A00301 E5D00130
    E35000BF 0A00000E
    E35000DF 0A00000F
    E350007F 0A000010
    E35000EF 0A000011
    E35000AF 0A000012
    E350006F 0A000013
    E350009F 0A000014
    E350005F 0A000015
    EA00001D E3A03E81
    E3A04000 EA000014
    E3A03000 E3A04E81
    EA000011 E3A03E81
    E3A04A01 EA00000E
    E3A03A01 E3A04E81
    EA00000B E3A03A01
    E3A04E36 EA000008
    E3A03A01 E3A04C0D
    EA000005 E3A03000
    E1A04005 EA000002
    E3A03000 E3A04C0D
    EAFFFFFF E1C130B8
    E1C140BA E3A03001
    E3A04000 E1C130BC
    E1C140BE E8BD007F
    E59F100C E12FFF11
    0202AE2C 020003FC
    027FFFA9 0200A190
    D2000000 00000000
    PS. i believe wont work in patched ROM means it need to try on unpatched one .. anyway its ok if you cant .. [​IMG]
     
  20. edwardbloom

    edwardbloom Newbie

    Newcomer
    3
    0
    Oct 18, 2007
    Italy
    Ehm... [​IMG] I'm not skilled enough to use your code...I have to use it with exeditor? but I don't know how to do...excuse me, I don't understand any about coding! [​IMG] it would be easier for me to use the ips...but, in every way, congratulations. you're great! the patch is wonderful!
     
Thread Status:
Not open for further replies.