Basic Questions and Answers Thread

Discussion in 'Discussion & Q&A' started by Malevolence, Jul 7, 2009.

  1. Clownacy

    Clownacy Retired Staff lolololo Member

    Joined:
    Aug 15, 2014
    Messages:
    1,020
    The guide was for Xenowhirl, not BOOM... it doesn't account for Current_music, the rearrangement of all the sound data, or the broken pre-implemented WaitZ80 macro. Also, I hate BOOM's guts and would sooner support Hivebrain than it.
     
  2. CollinAB

    CollinAB Active Member Exiled

    Joined:
    Nov 24, 2014
    Messages:
    30
    Location:
    76 6th ave
    LOL, you're right. Also, I could use the original clone driver, Even Though We have a new one.
     
  3. LazloPsylus

    LazloPsylus The Railgun Member

    Joined:
    Nov 25, 2009
    Messages:
    Location:
    Academy City
    Don't quote posts directly above yours, as that's unnecessary quoting.

    Clownacy's driver can work in BOOM just fine with some effort, he just refuses to support it because of the sloppy, haphazard design of that particular disasm. Implementation will take additional effort on your part, and any help would require people actually know what errors you're getting.
     
  4. Niko

    Niko All's well that ends well, right? Member

    Joined:
    Mar 1, 2014
    Messages:
    245
    Location:
    $C800
    Is there any chance of there being research on the Genesis Team Player or any other 4-player adaption (such as the racing games with two extra slots built into the cart)?

    I've been thinking of making a Sonic 2 (or hack of-) with 4 player co-op, and was wondering if there's any research I can go off of, or if I'd be digging for the needle in the haystack myself?
     
  5. Clownacy

    Clownacy Retired Staff lolololo Member

    Joined:
    Aug 15, 2014
    Messages:
    1,020
    But why? The original Clone Driver is pointless, these days, unless you just want better DAC without using my driver or S1's, for whatever reason. Not to mention, the thing barely imitates S2's driver in the first place. All it does is add JMan's PCM driver, and a dreadful workaround for a bug. The rest is just porting S2's music to S1, ignoring the missing PSG envelopes and inaccurate tempos.
     
    MarkeyJester likes this.
  6. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    417
    Location:
    Town Creek, AL
    Where in the sonic1.asm is where a level can loop top to bottom like in scrap brain zone 2? I search up every $FFFFFE10 and couldn't find it (unless I overlooked it)
     
  7. Painto

    Painto Arthurus Paintus Erinaceus Member

    Joined:
    Mar 24, 2014
    Messages:
    321
    Location:
    Lublin, Poland
    You need to set the top boundary to $FF00 and the bottom to $0800.

    I may also use this post to avoid double posting to ask my question: how can i convert frames to centiseconds for use for the clock?
     
    Niko likes this.
  8. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    922
    Use a lookup table like this:
    Centiseconds_Table:
    dc.b 0, 2, 3, 5, 7, 8, 10, 12, 13, 15, 17, 18, 20, 22, 23, 25, 27, 28, 30, 32
    dc.b 33, 35, 37, 38, 40, 42, 43, 45, 47, 48, 50, 52, 53, 55, 57, 58, 60, 62, 63, 65
    dc.b 67, 68, 70, 72, 73, 75, 77, 78, 80, 82, 83, 85, 87, 88, 90, 92, 93, 95, 97, 99

    If the table is within 128 bytes of the code, you can use it like this (d1 is the frame number):
    move.b Centiseconds_Table(pc,d1.w),d1
    Otherwise, you'll have to do this:
    lea (Centiseconds_Table).l,a1
    move.b (a1,d1.w),d1

    I'm assuming you already know or can figure out how to display a number in the HUD.
     
    Painto likes this.
  9. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    417
    Location:
    Town Creek, AL
    In the level size array?
    Only needing for testing Emerald Hill Zone put in Sonic 1.
     
  10. Niko

    Niko All's well that ends well, right? Member

    Joined:
    Mar 1, 2014
    Messages:
    245
    Location:
    $C800
    The level size array contains the size for every level.
    It's just organized into one file to keep it all in one place, so if you only edit the size for where your EHZ is, then only EHZ will be affected.
     
  11. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    912
    Location:
    Orono, Maine
    No, put it under Resize_(Level Initials)(Act#)

    So if it's in Star Light Zone Act 2, put it under Resize_SLZ2.
     
  12. <Deleted User>

    <Deleted User> :D Trialist

    Joined:
    Feb 15, 2016
    Messages:
    0
    How do i change sprites on action? Say, if i go right it uses the sprite of sonic going left.
     
  13. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    417
    Location:
    Town Creek, AL
    You mean like sonic moon walking???
    Look at Sonic_Walk you may find your answer there
    Also...

    I have no idea how I come up upon errors like this.
    1. Labyrinth zone glitches on zone restart
    2. I can't go past a certain point in SBZ1 without lockup
    3. SBZ2 & Final kills over
    4.EHZ glitches & won't allow it to go back to segascreen, & if left alone for a time, lockup

    Labyrinth first glitches after adding zone (I think)
    I'm assuming its cause of spindash adding tutorial that SBZ1 locks up, never fails (happened before)
    I'm 75 percent sure same with SBZ2 & FINAL lockup
    And I never can seem to get that adding zone right...
     
  14. SuperEgg

    SuperEgg I'm a guy that knows that you know that I know Member

    Joined:
    Oct 17, 2009
    Messages:
    Location:
    THE BEST GOD DAMN STATE OF TEXAS
    So, if I may ask, what changes have you made? Without any information, it's sorta hard to guess what happened.
     
    MarkeyJester likes this.
  15. AURORA☆FIELDS

    AURORA☆FIELDS so uh yes Exiled

    Joined:
    Oct 7, 2011
    Messages:
    759
    So how many years you've been in this zone porting business? 4, or so? Man you never learn do you
     
    HackGame, SuperEgg and MarkeyJester like this.
  16. JoenickROS

    JoenickROS ROS (bug fixing in progress) Member

    Joined:
    Feb 5, 2012
    Messages:
    929
    Not sure if you noticed this as well, but in the zones that crash the music is for some reason already sped up like you have speed shoes already. You may have imported Flamewings driver improperly as well, which can result in weird crashes happening. First time I tried to import it, it seemed to work but then I got weird lock ups as well in some areas. I can't remember what I did wrong though.
    Edit: Are you adding a zone or replacing a zone, you have to do a couple things to make the added slot work properly? Tampering with the level manager when you don't know what your doing isn't very wise. If you are adding a zone undo what you did to the level manager and just replace the EHZ art over a zone, and see if you get the same weird shit.
     
    Last edited: Mar 6, 2016
    SuperEgg and MarkeyJester like this.
  17. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    417
    Location:
    Town Creek, AL
    Look it
    Adding a zone. And the music is sped up cause http://sonicresearch.org/community/...-1-sound-driver-with-proper-psg-and-dac.3704/ of this. Some music ain't fixed yet.

    Edit: since I have an unzipped Project Sonic 1 - two eight, I'll try copying GHZ as a 7th stage to see what happens
     
  18. D.A. Garden

    D.A. Garden Sonic CD's Sound Test Member

    Joined:
    Aug 6, 2009
    Messages:
    582
    Location:
    England
    What SuperEgg has asked of you isn't exactly difficulty to provide. He's asking what changes you have made, and information related to those changes you can provide. Error codes, screenshots of the game doing things that (you think) it shouldn't, etc. You're list is mostly guesswork and it makes it difficult for anyone here to even begin to know where to look to help you fix these issues.

    Also, if some of the music isn't fixed yet as a result of you porting a sound driver, then how are you sure that this isn't causing some of these issues?
     
  19. SuperEgg

    SuperEgg I'm a guy that knows that you know that I know Member

    Joined:
    Oct 17, 2009
    Messages:
    Location:
    THE BEST GOD DAMN STATE OF TEXAS
    My God m8. Why do you bother? I've seen you try to port S2 levels into S1, why bother, just use Sonic 2. Like seriously, I've seen you post so many god damned help threads asking for help on porting level.

    And when I said changes in your code, like in specifics. Listing out glitches doesn't tell me jack shit. Like, seriously, what have you changed in your code. I know you may not understand, but I want you to post the code you've changed that we can help figure out this mess. A list of glitches is like making a sandwich, telling everybody is shit and you need help making it taste better, then never bother telling people what was in it. Use your head m8.

    I was about to make a sarcastic and quite obvious derailment to this post, for comedic reasons. Seeing his response however, I'mma roll with it. Too much stupidity as is.

    If you were porting the flamewing driver, which mind you is a z80 driver, the music being sped up is a driver problem only. The main 68k side, or the game side, would be 99% unaffected, unless you're a complete dunce and can't follow simple instru....oh fuck, I mean, he can't be that dumb....
     
    AURORA☆FIELDS likes this.
  20. AURORA☆FIELDS

    AURORA☆FIELDS so uh yes Exiled

    Joined:
    Oct 7, 2011
    Messages:
    759
    You sure hope thats the case, do you? Pretty light hopes if you ask me

    Its like you tell a man not to stick his dick in a toaster, so he goes and gets his dick stuck in directly to the plug. He never thinks, what a poor boy...
     
    SuperEgg likes this.