At last, we have 7 emeralds

Discussion in 'Discussion and Q&A Archive' started by Professor Neo, Jan 28, 2009.

Thread Status:
Not open for further replies.
  1. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    We deliberated on this for days. And now, we have the 7th special stage installed plus the emerald.


    But I do have a couple of issues:


    [​IMG]


    [​IMG]


    How can I fix the palette for the 7th emerald? And how can I change Sonic's starting position, as shown in the second screenshot? In the 7th special stage, a duplicate of the 6th, Sonic starts way outside the regular stage area in a glitchy area. I know I can't use ESE because it won't save, but what program can I use to edit the special stage layouts? Also, the ring counter is black in the second picture. How can I make it flash like in a normal level when at 0?


    And guess what, I perfectly aligned the emeralds with the HUD. Also, the emerald positions on the results screen are adjusted so that the first emerald collected is the first one in line and so on.
     
  2. Alriightyman

    Alriightyman I'm back! Member

    Joined:
    Oct 3, 2007
    Messages:
    156
    Location:
    USA
    My guess would be to adjust the mappings as well as the palette. I would start with that. :eek:
     
  3. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    Nice work, I told you it was easy :p

    Add 4 bytes to misc\sloc_ss.bin (XXYY).

    To edit special stages, you can decompress them with TSDC (enigma compression) and edit them in ms-dos editor. And of course recompress them (still enigma).


    [​IMG]
     
  4. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    What MS-DOS editor should I download, and what does each symbol mean?
     
  5. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    If you have 2000 or XP you already have it. Just open a command prompt, go to the folder where you have the layouts, and type
    EDIT /64 xxx.bin


    As for the symbols, I forgot. Just compare them with another special stage, I guess.


    Also, just out of curiosity, what ID did you give to the new emerald?
     
  6. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    I didn't give it an ID yet, but I'll work on that when I work on the layouts. I want to thank you for helping me figure out how to add a 7th special stage and chaos emerald. This wasn't as difficult as you said. Even though I annoyed you before at Sonic Retro, I still appreciate your help. Is it ok I still contact you if I have any questions to ask? I know you blocked me on YouTube and I'm suspended indefinitely from Sonic Retro. But I am doing some actual work for this hack. And if anyone wants to add a 7th special stage to their Sonic 1 hack, have them contact me, I remember how to do it now. And I'll type up a tutorial as soon as I fix the palettes. I will also include the ending sequence.


    P.S. How do I add 1-UP icons to my special stages? What symbol represents that?
     
  7. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    Fixing the juggling Robotnik on the "Try Again" screen is easy enough, but I want to give you a tip about the good ending, when Sonic launches the emeralds in the air, since that one is tricky.

    In Obj88_MainLoop



    Code:
    		addi.b	#$2A,d3
    becomes

    Code:
    		addi.b	#$25,d3
    That's the angle to add between two emeralds, which is $2A at first ($2A x 6 = $FC ~ $100), and $25 after ($25 * 7 = $103 ~ $100). $24 would work fine too ($24 x 7 = $FC). You won't get any closer to $100 than this, anyway.
     
  8. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    To make sonic get a 1up edit obj09 which is the special stage sonic object. Im not sure what ID is the 1up, but you have to compare it with d4.
     
  9. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    The code that checks for the 1-UPs is already in. In fact, if there were 1-UP icons in Sonic 1's special stages, they would be working.
    All he has to do is to add them into the stages.
     
  10. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    I can't add them with ESE unless there's a way of making ESE save special stages. I was thinking that was the only way to add 1-up icons.
     
  11. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    -Edited-


    Please give credits to: RamiroR.....He did most of the work...Thanks...
     
    Last edited by a moderator: Jan 29, 2009
  12. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    Why are you telling me? o.o
    You should tell willj168 :p
     
  13. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    I was talking to willj168.....sorry about that nineko.....will fix.....
     
  14. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    Credits go to both Nineko and Ramiro. Nineko provided us the information and Ramiro helped me put the codes in. Fair enough that I appreciate both of their support.
     
  15. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    While I appreciate that, you don't need to credit me, I just threw there a few ideas without doing any actual coding.
     
  16. Professor Neo

    Professor Neo Well-Known Member Member

    Joined:
    Nov 16, 2008
    Messages:
    103
    Location:
    United States
    This is what I have:



    Code:
    		
    
    Map_obj88:
    
    ; ---------------------------------------------------------------------------
    
    ; Sprite mappings - chaos emeralds on the ending sequence
    
    ; ---------------------------------------------------------------------------
    
    		dc.w byte_5788-Map_obj88, byte_578E-Map_obj88
    
    		dc.w byte_5794-Map_obj88, byte_579A-Map_obj88
    
    		dc.w byte_57A0-Map_obj88, byte_57A6-Map_obj88
    
    		dc.w byte_57AC-Map_obj88
    
    byte_5788:	dc.b 1
    
    		dc.b $F8, 5, 0,	0, $F8
    
    byte_578E:	dc.b 1
    
    		dc.b $F8, 5, 0,	4, $F8
    
    byte_5794:	dc.b 1
    
    		dc.b $F8, 5, $40, $10, $F8
    
    byte_579A:	dc.b 1
    
    		dc.b $F8, 5, $20, $18, $F8
    
    byte_57A0:	dc.b 1
    
    		dc.b $F8, 5, $40, $14, $F8
    
    byte_57A6:	dc.b 1
    
    		dc.b $F8, 5, 0,	8, $F8
    
    byte_57AC:	dc.b 1
    
    		dc.b $F8, 5, 0, $C, $F8
    
    		even

    But nothing happened when I tested it. Did I forget to duplicate something?
     
    Last edited by a moderator: Jan 30, 2009
  17. liamsonichacker

    liamsonichacker Mad Level Skillz ;) Member

    Joined:
    May 29, 2009
    Messages:
    50
    Location:
    Leicester, UK

    when I open ss in cmd it looks all weird


    [​IMG]
     
    Last edited by a moderator: Jul 10, 2009
  18. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    You have to type EDIT /64 1.bin and not just EDIT 1.bin.
     
  19. liamsonichacker

    liamsonichacker Mad Level Skillz ;) Member

    Joined:
    May 29, 2009
    Messages:
    50
    Location:
    Leicester, UK

    . . thank you it worked!!


    U
     
  20. LSD

    LSD aka Light Speed Dash, known as LSD or LD Member

    Joined:
    Apr 26, 2009
    Messages:
    25
    Location:
    US
    When I try to decompress it, it starts, then I get a message saying it has to close.
     
Thread Status:
Not open for further replies.