StarFox Command (U) D-Pad hack

Discussion in 'NDS - ROM Hacking and Translations' started by cracker, Nov 27, 2008.

  1. cracker
    OP

    cracker Nyah!

    Member
    3,142
    409
    Aug 24, 2005
    United States
    Since DeSmume relies on GDB for debugging it will be a pain in the ass and may take a while to figure out. I will do my best to fit it into my spare time. It is possible that it is a bug in the emulator itself since it works on the real hardware and no$gba.
     


  2. Lodey

    Lodey Newbie

    Newcomer
    5
    0
    Sep 30, 2014
    United States
    That's greatly appreciated, I'll be checking back periodically. Best of luck, Cracker.
     
  3. cracker
    OP

    cracker Nyah!

    Member
    3,142
    409
    Aug 24, 2005
    United States
    So far I'm not able to find any recent version of the emulator that has been the GDB functionality. The problem is that the latest version that I have found (0.7.1) white screens right away. I will keep searching for a newer version that has GDB and would appreciate that if anyone has one if they could send it my way.
     
  4. Lodey

    Lodey Newbie

    Newcomer
    5
    0
    Sep 30, 2014
    United States
    I asked on the forums.

    "from what ive heard, it always "works" and some people are able to make use of it. it's never "worked" for me. just be sure the JIT is off and use a dev+ version"
     
  5. Nikhl

    Nikhl Member

    Newcomer
    35
    18
    Sep 7, 2014
    United States
    Tampa, Florida
    The link doesnt work, which kinda blows. <snip>​
     
  6. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,154
    8,895
    Nov 21, 2005
  7. Digitsie

    Digitsie Advanced Member

    Newcomer
    91
    1
    Sep 15, 2014
    United States
    Shouldn't that hack be put on romhacking or something so it doesn't get lost?
     
  8. Nikhl

    Nikhl Member

    Newcomer
    35
    18
    Sep 7, 2014
    United States
    Tampa, Florida
    Thanks man
     
  9. cracker
    OP

    cracker Nyah!

    Member
    3,142
    409
    Aug 24, 2005
    United States
    I'm in the middle of re-registering my domain so that is the reason for the outage. I will post it to romhacking after I figure out what — if anything — I need to change for DeSmume to play it.
     
  10. pleonex

    pleonex GBAtemp Regular

    Member
    197
    78
    Jan 16, 2009
    South of Spain
    To get a DeSmume version with GDB enabled:
    • Windows:
    1. Download the sources from the repo (don't use 0.9.10, it has so many bugs)
    2. Copy "desmume/src/windows/defaultconfig/userconfig.h" to "desmume/src/windows/userconfig/"
    3. Edit the file to uncomment "#define GDB_STUB"
    4. Compile as release.
    • Linux:
    1. Download the sources from the repo
    2. Run "./configure --enable-gdb-stub"
    3. Run "make" and "sudo make install"
    In any platform to run it with GDB use: 'desmume --arm9gdb=PORT game.nds' or 'desmume --arm7gdb=PORT game.nds'


    I have been using IDA Pro to connect to DeSmume and the debugging (at least for me) it's so much easier than using no$gba.
     
  11. Ulieq

    Ulieq GBAtemp Fan

    Member
    363
    73
    Jan 14, 2014
    United States
    Los Angeles, California
    OMG I didn't know this hack existed. Moronic stylus controls caused me to drop this game asap. I'll def retry now!
     
  12. Lodey

    Lodey Newbie

    Newcomer
    5
    0
    Sep 30, 2014
    United States
    Hey Cracker, how's the DeSmuMe version coming along?
     
  13. MaxylianO

    MaxylianO Newbie

    Newcomer
    1
    0
    Feb 24, 2016
    Argentina
    Does anyone still have the file? :( the site containing the link is gone now.
     
  14. cracker
    OP

    cracker Nyah!

    Member
    3,142
    409
    Aug 24, 2005
    United States
    Here you go.
     

    Attached Files:

  15. MaeseJesus

    MaeseJesus GBAtemp Regular

    Member
    220
    38
    Apr 3, 2013
    Thank you, Cracker. I've been looking for it everywhere, and for some reason trying to insert the code by Hex Editing has been giving me problems.
     
  16. NicoBlogs

    NicoBlogs GBAtemp Regular

    Member
    289
    89
    Apr 19, 2013
    United States
    USA
    Sorry for necro.
    For me all versions behave like v2 on desmume. On no$GBA nothing works.
    Maybe it's only for real hardware?
     
    Last edited by NicoBlogs, Jun 19, 2017 - Reason: fixed
  17. GreenBanana

    GreenBanana GBAtemp Fan

    Member
    406
    0
    Dec 18, 2007
    The patch link is dead. Could you please upload your important projects to RomHacking.net which stores such patches more securely over time? Thank you very much for your consideration.