Knuckles Help, it's not solved

Discussion in 'Discussion and Q&A Archive' started by shadowbeasts, Jul 22, 2010.

Thread Status:
Not open for further replies.
  1. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    I'm sorry I've been asking so many questions but this should be the last one. I've added knuckles (again thanks to Goonie) but I'm trying to have Knuckles load his own palette. I used this for help but all it does it make knuckles and any thing that load with knuckles palette black e.g. monitors are black instead of gray. I need help. Also staff can you please merge this with my other questions about adding Knuckles.
     
    Last edited by a moderator: Jul 27, 2010
  2. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    What you have created is Niggles. You should be proud of that.


    To make things easier in a way I have my Knuckles port load its own PalPointers so it can load the correct underwater palettes. That's all I'll say.
     
  3. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Tried that, it didn't work unless I did something wrong.
     
  4. andlabs

    andlabs Newcomer Member

    Joined:
    Jul 21, 2009
    Messages:
    13
    Do you mind posting the code and palette you have so we can see if you have a bug in your loading routine?
     
  5. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    Sonic 2 I'm guessing--


    To have Knuckles load his own palette you'll have to prepare the palette, but I'll just assume that you have it already ready.


    Level_LoadPal:


    is where the game checks what the character is, underneath is the load palette routines.


    In the routine that tells to load the Knux palette (that you will have to make), the game will use d0 and the ID inside to load the palette. So whichever palette ID is your Knuckles palette (In the palette table) is the palette to tell it to use:


    moveq #$XX,d0


    'XX' being replaced with your palette ID. Look off of the code already there to be a guide.
     
  6. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    Another question about porting knuckles? How many people are porting knuckles to their hacks on this forum currently? I do not mean to have a jab or anything, this is just a reminder that the more ported knuckles' we see in hacks, the less interesting it'll become, and you wouldn't necessarily be making a brilliant achievement by doing so.


    As a recommendation, have you all considered looking into something no one has tried before and keeping it a secret until release? You could really suprise people with something awesome that way.
     
  7. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    Blame me I guess, ever since I got him everyone's been doing it. :U
     
  8. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada

    Ever since you got him? You're using SOTI's object, and it's broken.


    In everyone's defense Markey--no one has it 'properly' done. Even S2:Enhanced had a few bugs with Knuckles =P
     
  9. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Last edited by a moderator: Jul 24, 2010
  10. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    So far this Knuckles code isn't glitchy.
     
  11. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Ya that didn't work every thing becomes black but the water palette in emerald hill. After following the guide I get

    I fix the

    and
    by adding the pal pointers as


    Pal_Knuckles: BINCLUDE "art/palettes/Knuckles.bin" ; Knuckles Palette
    Pal_HPZ_U_K: BINCLUDE "art/palettes/HPZ underwater.bin" ; Hidden Palace Zone underwater palette


    Pal_CPZ_U_K: BINCLUDE "art/palettes/CPZ underwater.bin" ; Chemical Plant Zone underwater palette


    Pal_ARZ_U_K: BINCLUDE "art/palettes/ARZ underwater.bin" ; Aquatic Ruin Zone underwater palette



    Then this happens


    [​IMG]


    This is sonic and tails but I get the same thing with sonic alone, Tails alone and Knuckles Alone. Please help It's driving me crazy.
     
  12. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada
    Sorry for the 'bump' if this is a bump, but did you add the palettes at the END of the palette table? If you add it anywhere else it'll break the table causing that.
     
  13. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    I think so, what do you mean? Do you mean add them after the Knuckles but before end of 'ROM' or after PalPointers.
     
    Last edited by a moderator: Aug 31, 2010
  14. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    I didn't even NEED to add knux's palette into palpointers... O.0
     
  15. Irixion

    Irixion Well-Known Member Member

    Joined:
    Aug 11, 2007
    Messages:
    670
    Location:
    Ontario, Canada

    You need to have it at the end of palpointers. Follow SOTI's guide. There's no room for error in that. Go to a backup, do exactly as it says. Although I've found a better way to do it. No need for another palpointer table.
     
  16. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    I had a previous system, it just wouldn't work for underwater levels.
     
  17. shadowbeasts

    shadowbeasts I'm Legend Member

    Joined:
    Jan 5, 2009
    Messages:
    286
    Location:
    Good 'ol USA.
    Ya, I did that and I got the mostly black image you see in my last post. This to be exact. [​IMG]
     
  18. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Show me your edits that have been made. I might be able to see what you've done wrong.
     
Thread Status:
Not open for further replies.