Legend of Zelda Spirit Track D-Pad Patch

Discussion in 'NDS - ROM Hacking and Translations' started by Greiga Master, Nov 25, 2014.

  1. Greiga Master
    OP

    Greiga Master Member

    Newcomer
    3
    Feb 12, 2014
    United States
    You would patch the game before you put it on your r4i
     
  2. mutinize

    mutinize dazed and confused

    Member
    3
    Jan 17, 2014
    United States
    The problem is spirit tracks has anti piracy that kicks in and disables train controls so you need a patched game to play. And the patch is incompatible with your mod.

    Another user asked here as well
    Thank you for the reply. Would love to be able to play with your mod.
     
  3. MichaelAker

    MichaelAker Member

    Newcomer
    1
    Oct 30, 2014
    Fuencaliente De La Palma, Canarias, Spain
    Eur version?
     
  4. FAST6191

    FAST6191 Techromancer

    pip Reporter
    20
    Nov 21, 2005
    United Kingdom
    The NA version is multi3 with French and Spanish being the other two.

    I know European and South American Spanish (the standard flavour for most NA releases like this) vary somewhat more significantly than other similar situations at times but is it an option for you here?

    If it comes to it then it might be possible to do a straight swap for languages.
     
    Sliter likes this.
  5. Greiga Master
    OP

    Greiga Master Member

    Newcomer
    3
    Feb 12, 2014
    United States
    There has actually been an EU version for a while the DL link in the first post should have both.
     
  6. MichaelAker

    MichaelAker Member

    Newcomer
    1
    Oct 30, 2014
    Fuencaliente De La Palma, Canarias, Spain
    Oooh, thank you! also, great work!
     
  7. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I tried to patch the Eropean version but I'm getting allways this error:

    xdelta3: target window checksum mismatch: XD3_INVALID_INPUT

    The patch for Phantom Hourglass for the european version works fine:)
     
  8. FAST6191

    FAST6191 Techromancer

    pip Reporter
    20
    Nov 21, 2005
    United Kingdom
    Four main options here
    1) You have a ROM someone already messed with.
    2) You have a pre trimmed ROM. I don't know why some insist on sharing/spreading such things but it is what it is.
    3) You have one of the various redumps out there. There was a little spate a while back of people dumping games again because one of the older dumpers missed a pointless area of the header on some newer games.
    4) According to ADVANsCEne there is a v1.1 dump out there now as of late last year. http://www.advanscene.com/html/Releases/dbrelds.php?id=6940 going by the dir name of The_Legend_Of_Zelda_Spirit_Tracks_v01_EUR_MULTi5_NDS-PUSSYCAT

    For 1 through 3 then try the option of the xdelta patcher to ignore the source hash. 2 and 3 should be fine, 1 may be depending upon what was done.
    For 4 then it is time for a new patch, or just get the old version of the game and use that instead.
     
  9. KoopaMaster

    KoopaMaster Member

    Newcomer
    1
    Feb 15, 2018
    France
    European version ?
     
  10. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I dumped the ROM in two different ways: with NDS Backup Tool 3in1 on my NDS Lite and with Godmode9 on my New 3DS XL.
    It allways gives me the exact rom with a size of 128MB named "SPIRITTRACKS_BKIP01.nds"
    Checksums are as followed:
    CRC-32: 7b4a9b04
    MD4: 7a94a3cb35759aedac4b28db6dc3d2bd
    MD5: 294c8c55d56a3438b7359ca9f57808d2
    SHA-1: 512dc62ce7a142f445910b619475ac18a7b7cfb4
    If I apply the patch with checksum verification disabled it gives me a file with a size of 96,9MB. This File is then not boot- or playable.
    If I want to patcht the game with verification it gives me the aforementioned error.
     
  11. FAST6191

    FAST6191 Techromancer

    pip Reporter
    20
    Nov 21, 2005
    United Kingdom
    That crc32 does not match anything on the ADVANsCEne database. I don't know the specifics of your backup tools though as far as what they do for headers and the like -- subtle but trivial differences will tend to change the hash radically.

    Name means nothing, though I am not sure what 01 at the end means.

    The BKIP part does match the European serial at least.

    Can you load one of the dumps into the nds header viewer of ndsts
    http://www.no-intro.org/tools.htm
    That might help eliminate a few things.

    Failing that time to venture out onto the internet to obtain a copy that way.
     
  12. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I dumped it now with Woodumper 3DS (https://gbatemp.net/threads/wooddumper-3ds-a-way-to-dump-original-ds-games-to-3ds-sd-card.436998/) and checked the cartridge with Wooddumper r89 Wifi (https://digiex.net/threads/wood-dum...e-games-over-wi-fi-with-an-nintendo-ds.14729/) and it seems to produce the "Legend of Zelda, The - Spirit Tracks (Europe) (En,Fr,De,Es,It) (Rev 1)".
    So as you said its time for a new patch or i'm out of luck.:unsure:
    As I'm only obtain my roms "honestly" my last hope is the WiiU NDS VC. I'm checking out which version Nintendo used. Maybe I have more luck there or Greiga Master releases a new patch:shy:

    PS: Honestly means for me: Dumping my own roms from my cartridges with various hardware and software and buying games at the eShop (3DS, Wii, WiiU) to dump and extract them with various software.:yay:
     
  13. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I dumped now the ROM contained in the Virtual Console Version of Spirit Tracks (EU) and the ROM is encrypted.
    The checksums are:
    CRC-32: 1bdfdd7d
    MD4: 22a29a485d46766d298c8eb51387f650
    MD5: 7a209e353eae3b9b22422314e0ad3b38
    SHA-1: b9096f46e9163750a9e3f6c2fc0758e6094b6135
    As I searched the web for ways to decrypt the ROM and found no solution I'm not 100 percent sure what ROM it is.
    So goes the last hope out the window...:sad:
     
  14. FAST6191

    FAST6191 Techromancer

    pip Reporter
    20
    Nov 21, 2005
    United Kingdom
    "Honestly means for me"
    You own essentially the same game on the same system -- it is not like a newer one where they did some work to remaster it or write an emulator for it.

    Play it how you will though.

    As far as encryption goes then most on the DS just mean the secure area, the same page from before ( http://www.no-intro.org/tools.htm ) has a tool to handle that.
     
  15. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I've tried all things I could and even sucessfully decrypted the ROM, thanks to you, but its exactly the same that I dumped from my cartridge. So I downloaded the ROM from the old dump and this time it works flawlessly.:yay:

    I've then made a Xdelta patch out of the 2 dumps to patch the new dump to the old. But as I understand even this little xdelta file (3894KB) contains copyrighted material from Nintendo and can not be distribued online.:huh:
     
  16. wicksand420

    wicksand420 GBAtemp Addict

    Member
    7
    Nov 13, 2016
    United States
    01 is company code for nintendo

    I am also having this same issue with my dumped version of this game
     
  17. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    So your only hope is that Greiga Master or any other person makes a new patch that can deal with the newest version, or you download the game from a rome site or I PN you the patch I made that patches the new version to the old. :mellow:
    I found it good if someone makes dump from his games and didn't load a terrabyte roms from a rom site. :yay:
    There a many ways to dump roms from hardware or software. And with this methods you also learn more about the hardware itself and this I found very interesting.^_^
     
    Last edited by Games Xtreme, Apr 18, 2018
  18. Greiga Master
    OP

    Greiga Master Member

    Newcomer
    3
    Feb 12, 2014
    United States
  19. Games Xtreme

    Games Xtreme Member

    Newcomer
    2
    Jul 21, 2012
    Germany
    I will give it a try. Should I use Windows or Linux for this? And where can I find "blz by CUE"? The other two I found, but not this one. For the others: it looks very complicated but I will try to get into it. Or is there some easier way?
     
  20. FAST6191

    FAST6191 Techromancer

    pip Reporter
    20
    Nov 21, 2005
    United Kingdom
    It is part of Cue's compression tools (BLZ = backwards LZ aka the compression favoured by DS binaries and overlays, there are other tools which handle it but Cue's set do well)
    https://filetrip.net/nds-downloads/utilities/download-cues-gba-ds-compressors-1-4-f33556.html

    Equally while the source above could* well be of some use it sounds like the patch size at 4 megabytes or so probably just replaced the binary and some overlays which is to be expected really. I would also expect "the important stuff being referenced by the patch are moved around" for the new version -- the way modern games are coded all but assures it of happening. If it was a text, graphics or maybe music tweak then it might well be simple enough to convert but something fiddling with the binary not so much.
    That would also mean said patch very much contains Nintendo code. Indeed you probably even converted the v1.1 into the v1.0 game.

    *in this case it is not that complex a mod, at least as far as the code that needs to be injected goes, so remaking it from scratch ( https://web.archive.org/web/20110604163902/http://crackerscrap.com:80/docs/sfchacktut.html ) is a viable path for some. Were I remaking it I might look at the source for a hint on what sorts of functions to intercept and ideas for converting inputs but the rest I would probably do from scratch. I can also see someone porting that exact hack over though.