[help] Editing GBA A Link to the Past

Discussion in 'GBA - Game Development, ROM Hacks and Translations' started by omgmog, May 21, 2009.

May 21, 2009
  1. omgmog
    OP

    Newcomer omgmog Advanced Member

    Joined:
    Jul 26, 2007
    Messages:
    71
    Location:
    Oxford, England
    Country:
    United Kingdom
    I was wondering if anybody knew the best way to go about replacing/editing sprites in the GBA version of A Link to the Past.
    I can't stand to play the game with the version of link that is currently in the game, and I would like to exchange him with either a direct tile-swap from The Minish Cap link, or to draw a similar styled link.

    Any help for where to begin would be great!
     
  2. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,743
    Country:
    United Kingdom
    You are in luck, the sprites are uncompressed 4bpp GBA starting at 4531828 decimal in the US version of the rom (not that it matters one bit but the no-intro version)

    You are in for a long day though, I see hundreds of sprites that will need changing.
    Forgive cowboy link and the bad compression, I could not be bothered to find the correct palette and it was a 4 seconds in paint job:
    [​IMG]
     
  3. omgmog
    OP

    Newcomer omgmog Advanced Member

    Joined:
    Jul 26, 2007
    Messages:
    71
    Location:
    Oxford, England
    Country:
    United Kingdom
    Hmm, unfortunately (if that's the ALttP rom you have open), I think you may be looking at the sprites from the bundled multiplayer Four Swords, which actually already uses the Minish Cap style -- but the ALttP game uses a horrible different style Link.

    In the version of the rom I have, which has both ALttP and FS (0883 - Legend of Zelda, The - A Link to the Past & Four Swords.gba):

    http://www.zeldaguide.com/zeldagba.htm
    http://gameboy.ign.com/objects/482/482080.html

    Four Swords/Minish cap style link:
    [​IMG]

    ALttP style link:
    [​IMG]

    Though now that I realise that both versions are already in one rom, this might make the task of changing ALttP link to look like Four Swords/Minish Cap a bit easier?

    Anyway your post is useful to me atleast as it has shown my which software to use for snooping at the tiles in the rom. Thankyou [​IMG]
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,743
    Country:
    United Kingdom
    Sorry I was not paying attention there for a second.
    No obvious sprites other than those but running it through a LZ search tool (crystaltile2 in this case but http://www.romhacking.net/utils/362/ is also good) it seems all the graphics are LZ (standard BIOS compatible) compressed.
    I had a quick go with the tracing emulator and it confirmed my suspicions (writes from standard memory (03XXXXXX) to the location of the sprites in the main memory.
    Basics of tracing if you want ton go that route:
    http://www.romhacking.net/docs/361/
     

Share This Page