don't click here

The Pallete Change-Effect in Wing Fortress

Discussion in 'General Sonic Discussion' started by BtCE, Nov 5, 2003.

  1. Rika Chou

    Rika Chou

    Tech Member
    5,276
    169
    43
    About the palled change, I'm pretty sure that it's supposed to happen and that it's triggerd by a level tag that is invisable. This might have been what they would have used to trigger the effect of DHZ to turn to a winter level.
     
  2. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Hmmn, I'm gonna find out what this palette change really is. *Goes into debug*
     
  3. Bleeding Cut

    Bleeding Cut

    Dr. Knuckles Member
    Hey, how come this doesn`t always happen, though? I mean, I`ve messed around with the debug in WFZ for as long as I have known the code, so why doesn`t this always happen?
     
  4. LOst

    LOst

    Tech Member
    4,891
    8
    18
    That's what I'm gonna look for.


    If the byte flag at RAM (Genecyst save state) [11BA6] is other than "00", then the palette will be gray. But what changes this flag? I will be back with info soon...
     
  5. LOst

    LOst

    Tech Member
    4,891
    8
    18
    An object called 8B 03 located at X coordinate 05C6 and Y coordinate 0438 makes these changes to the flame palette. Does someone know what this object is?

    Does there exist more of these objects in WFZ?
     
  6. I beleive I've delt with this problem myself anyway im sure it's nothing
     
  7. BtCE

    BtCE

    Member
    WTF are you talkin about Bombwithnapalm? Anyway, isn't this topic worth archiving? LOst, If I was a hacker as good as you and Rika, id tell you, but sadly, Im not. :)
     
  8. Fiz

    Fiz

    FACKIN' BIG PENIS Oldbie
    1,985
    0
    16
    PENIS
    I think it's worth archieving. I learned something from it.

    Also, BombWithNapalm...:
     

    Attached Files:

  9. DDRKhat

    DDRKhat

    Keep on runnin' to the finish! Member
    I have already PM'd him about that with a solution, I've got the avatar image uploaded somewhere he can get to all she has got to do is change their avatar url to the one I PM'd (I did the he/she/them thing cause I havn't looked in profile for gender)
     
  10. DDRKhat

    DDRKhat

    Keep on runnin' to the finish! Member
    well according to sonED the object is called "warp" which is a odd name to give to a object that changes a palette...
     
  11. LocalH

    LocalH

    roxoring your soxors Tech Member
    That wouldn't make me scratch myself to death.

    It could make me overgorge on food though. =P

    Also, for code and RAM hackers, savestate offset $11BA6 is RAM address $F72E. There really should be a reference of this stored on the site, but here's the basic .GS* format:

    Code (Text):
    1. ----------------------------------------------------------------------------
    2.  genecyst save state format
    3.  ----------------------------------------------------------------------------
    4.  
    5.  All addresses/ranges are given as hexadecimal offsets in a '.GS0' file.
    6.  
    7.  Range        Size   Description
    8.  -----------  -----  -----------
    9.  00000-00002  3      "GST"
    10.  00006-00007  2      "\xE0\x40"
    11.  000FA-00112  24     VDP registers
    12.  00112-00191  128    Color RAM
    13.  00192-001E1  80     Vertical scroll RAM
    14.  001E4-003E3  512    YM2612 registers
    15.  00474-02473  8192   Z80 RAM
    16.  02478-12477  65536  68K RAM
    17.  12478-22477  65536  Video RAM
    18.  
    19.  All data is stored in little endian format, except for the Vertical
    20.  Scroll RAM, 68000 RAM, and Video RAM, which are in big endian format.
    21.  
    22.  Z80 registers
    23.  -------------
    24.  
    25.  00404 : AF
    26.  00408 : BC
    27.  0040C : DE
    28.  00410 : HL
    29.  00414 : IX
    30.  00418 : IY
    31.  0041C : PC
    32.  00420 : SP
    33.  00424 : AF'
    34.  00428 : BC'
    35.  0042C : DE'
    36.  00430 : HL'
    37.  00434 : I
    38.  
    39.  The 'R' register is not supported.
    40.  The interrupt mode is always presumed to be 'IM 1'
    41.  
    42.  68000 registers
    43.  ---------------
    44.  
    45.  80-9F : D0-D7
    46.  A0-BF : A0-A7
    47.  C8    : PC
    48.  D0    : SR
    49.  
    50.  Missing Info
    51.  ------------
    52.  
    53.  SN76489 data
    54.  VDP state
    55.  
    56.  Miscellaneous
    57.  -------------
    58.  
    59.  The 68000 register locations came from the DGen source code.
    60.  
    61.  Bart Trzynadlowski supplied the byte ordering and header validity
    62.  information.
    63.  
    64.  Any information on the KGen save state layout would be appreciated.
    65.  
    66.  
    67.  Charles MacDonald
    68.  WWW: http://www.emucamp.com/cgfm2/
     
  12. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Here's where I enjoy to be :D
     
  13. Rainer

    Rainer

    Member
    383
    0
    0
    Cool discovery although I did the same thing with sonic 2 before I read this. :(