don't click here

PLC and Ram Trouble.

Discussion in 'Engineering & Reverse Engineering' started by Varion Icaria, Dec 15, 2005.

Thread Status:
Not open for further replies.
  1. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    What Pattern load cue is the Giant ring loaded in and at what ram address? same with the flash effect?
     
  2. Rika Chou

    Rika Chou

    Tech Member
    5,276
    170
    43
    Pattern load cue for the flash is #12. I'm not sure about the giant ring itself, because it's not compressed.
     
  3. Hivebrain

    Hivebrain

    Administrator
    3,086
    212
    43
    53.4N, 1.5W
    Github
    The giant ring loads its art frame-by-frame. The subroutine is labelled "AniArt_GiantRing" in my disassembly.
     
  4. Rika Chou

    Rika Chou

    Tech Member
    5,276
    170
    43
    The giant ring seems to be loaded from at or around $1C518. (possibly $1C4E8) That's where the pointer to the art is, anyway. So it should be around there.

    Edit: Hive beat me to it.
     
  5. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    So it's loaded through the object itself?
     
  6. Rika Chou

    Rika Chou

    Tech Member
    5,276
    170
    43
    Ummmm.....no?

    The code for that sprite is at $9E06.

    $1C518 and $9E06 aren't even close.
     
  7. Aurochs

    Aurochs

    Единый, могучий Советский Союз! Tech Member
    2,343
    0
    0
    Whatever catches my fancy
    Let me take this opportunity to be pedantic and say that it's "pattern load queue," not cue. Nemesis doesn't know how to spell.

    It's a bad name either way. Level pattern list would have been better.
     
  8. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Oh god. Flash effect is not graphics. Ring is animated uncompressed art, special programmed.
     
  9. Rika Chou

    Rika Chou

    Tech Member
    5,276
    170
    43
    I think he means the flash from the ring, not the fade out flash. The flash from the ring is compressed art.
     
  10. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Interesting.
     
  11. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    I meant the regular art.
     
  12. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    Sorry for the double post but I'm quite annoyed with what keeps happening. The left over code in the final rom for the big ring isn't loading the rings art, even with the same code from S1 Implemented, and I do mean the Animated Art Load.
     

    Attached Files:

  13. Tweaker

    Tweaker

    Banned
    12,387
    3
    0
    Look at the ring -- it's using the signpost graphics. Find a free space in VRAM to load the ring to, then have the ring read there instead of the old limit.
     
  14. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    I even tried loading the ring in place of the signpost, the art just doesn't load --;.
     
  15. Tweaker

    Tweaker

    Banned
    12,387
    3
    0
    The pattern load cue and Animated Pattern load cue (or whatever it uses) will conflict because they keep trying to load art over one another.

    Look at where Esrael put the ring and work from there. Reverse engineering code in order to write it yourself is a good thing, despite what others say. It gave me some really handy techniques that I now use on a regular basis.
     
  16. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    Does his patch he made have the ring in it?
     
  17. Tweaker

    Tweaker

    Banned
    12,387
    3
    0
    No, it doesn't. Sonic 2 Delta does though, and apperantly he lets people build thier hacks off older versions of Delta. I have no clue WHY, but it's cool that he's generous like that.

    So I figure he'd let you use the ring, as well as letting me and you use Knux.
     
  18. Varion Icaria

    Varion Icaria

    He's waiting.... Tech Member
    1,019
    11
    18
    S4: Cybernetic Outbreak
    Yeah, I'll add it to the Animated load cue to see what happends later on.
     
Thread Status:
Not open for further replies.