Adding a new Zone?

Discussion in 'Engineering & Reverse Engineering' started by .hack//zero, Oct 27, 2006.

Thread Status:
Not open for further replies.
  1. .hack//zero

    .hack//zero

    Member
    2,998
    0
    16
    Learning NES ASM, Finding a girlfriend.
    I'm trying to port GHZ to S2 Rebirth of Paradise. I've used ESE SaveState Conversor to get the art into the s2 format. I've basically got the files ready for the hack. Then I started up the ROM. Nothing works at all. The Rom size hasn't increased. Maybe I missed something. Take a look.

    Code (Text):
    1. ;Green Hill Zone
    2. GHZ_PLC1_MLLB       EQU $3B
    3. GHZ_PLC2_MLLB       EQU $3C
    4. GHZ_Palette_MLLB    EQU $14
    5. GHZ_Art_MLLB        EQU GHZ_8
    6. GHZ_16x16_MLLB    EQU GHZ_16
    7. GHZ_128x128_MLLB    EQU GHZ_128
    8.  
    9. GHZ_8: BINCLUDE   "art\kozinski\GHZ.bin"
    10. GHZ_16: BINCLUDE  "mappings\16x16\GHZ.bin"
    11. GHZ_128: BINCLUDE "mappings\128x128\GHZ.bin"
    12.  
    13. ; GHZ
    14. ; ---------------------------------------------------------------------------
    15.     dc.l (GHZ_PLC1_MLLB<<24)|GHZ_Art_MLLB
    16.     dc.l (GHZ_PLC2_MLLB<<24)|GHZ_16x16_MLLB
    17.     dc.l (GHZ_Palette_MLLB<<24)|GHZ_128x128_MLLB
    18. ; ---------------------------------------------------------------------------
    19.  
    20. (Don't really understand the format of this area, but I matched with the other ones in the area.)
    21. dc.l Pal_GHZ
    22. dc.w $FB20
    23. dc.w $17
    24.  
    25. ; Green Hill Zone palette
    26. Pal_GHZ:     BINCLUDE   "art\palettes\GHZ.bin"
    27.  
    28.     dc.w PlrList_GHZ3B-OffInd_PlrLists; 67
    29.     dc.w PlrList_GHZ3C-OffInd_PlrLists; 68
    30.  
    31. ;---------------------------------------------------------------------------------------
    32. ; PATTERN LOAD REQUEST LIST
    33. ;
    34. ; Emerald Hill Zone primary
    35. ;---------------------------------------------------------------------------------------
    36. PlrList_GHZ3B:
    37.     dc.w 5
    38.     dc.l ArtNem_Waterfall
    39.     dc.w $73C0
    40.     dc.l ArtNem_EHZ_Bridge
    41.     dc.w $76C0
    42.     dc.l ArtNem_buzzer
    43.     dc.w $A000
    44.     dc.l ArtNem_Buzzer_Fireball
    45.     dc.w $77C0
    46.     dc.l ArtNem_Buzzer
    47.     dc.w $7A40
    48.     dc.l ArtNem_Coconuts
    49.     dc.w $7DC0
    50.     dc.l ArtNem_Pirahna
    51.     dc.w $8280
    52. ;---------------------------------------------------------------------------------------
    53. ; PATTERN LOAD REQUEST LIST
    54. ;
    55. ; Emerald Hill Zone secondary
    56. ;---------------------------------------------------------------------------------------
    57. PlrList_GHZ3C:
    58.     dc.w 3
    59.     dc.l ArtNem_Spikes
    60.     dc.w $8680
    61.     dc.l ArtNem_DignlSprng
    62.     dc.w $8780
    63.     dc.l ArtNem_VrtclSprng
    64.     dc.w $8B80
    65.     dc.l ArtNem_HrzntlSprng
    66.     dc.w $8E00
    67.  
    68. (Only dealing with one for now. Just trying to get it work)
    69. Level_GHZ:  BINCLUDE    "level\layout\GHZ1.bin"
     
  2. Aurochs

    Aurochs

    Единый, могучий Советский Союз! Tech Member
    2,343
    0
    0
    Whatever catches my fancy
    Probably an undefined symbol "ArtNem_buzzer". I can't remember if I had AS in case-sensitive mode or not. At any rate, there's no need to reference the symbol twice in the PLR lists.
     
Thread Status:
Not open for further replies.