• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] Trainercard sprite not editable (Fire Red)

Demynnfire

~ the loveliest ~
16
Posts
12
Years
    • Seen Nov 4, 2020
    Let's get to the point straight away, I've edited the sprite on the trainer card in my Fire Red rom, but now I can't find it anywhere in unLZ-gba. It's supposed to be the 1634th image but for some reason it's missing (and it's neither at the front or behind of every image). If anyone knows how I could revert the change or hex-edit it in some way, I'd appreciate it.
     
    Last edited:
    3,830
    Posts
    14
    Years
    • Age 27
    • OH
    • Seen May 10, 2024
    If you repointed the image, then it will not be editable until you have unLZ.GBA rescan your ROM.

    The way unLZ works is that when you first open a ROM, it scans it for LZ77 compressed images and palettes, and saves them in the .spr and .pal files, so that whenever you open the ROM again, it reads the offsets from those. Of course, when you repoint an image, the .spr file is not updated, so unLZ thinks the image is still at the old offset.
     

    Demynnfire

    ~ the loveliest ~
    16
    Posts
    12
    Years
    • Seen Nov 4, 2020
    If you repointed the image, then it will not be editable until you have unLZ.GBA rescan your ROM.

    The way unLZ works is that when you first open a ROM, it scans it for LZ77 compressed images and palettes, and saves them in the .spr and .pal files, so that whenever you open the ROM again, it reads the offsets from those. Of course, when you repoint an image, the .spr file is not updated, so unLZ thinks the image is still at the old offset.

    Thank you for the quick reply, but I think I totally broke something...
    I did delete the .spr and .pal file just in case, but neither with that I could find the image I've edited. I tried deep scanning and did find the original file, which even tho I edited, it just broke everything so I gave up. (I should just restart as I didn't do any serious 'hacking')
    (Also I didn't mention but I forgot to note the address where I repointed the image so that's an error on my side)
     
    Back
    Top