Basic Questions and Answers Thread

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

  1. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    I think you can use the s1fixed code for it, i dont know.
     
  2. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    418
    Location:
    Town Creek, AL
     
  3. Artisan71

    Artisan71 Newcomer Trialist

    Joined:
    Dec 2, 2024
    Messages:
    3
    Is there a guide on how to port code from 1 disassembly to another? Because im using the ASM68K disassembly and this code just doesnt work with it.
     
    Last edited: Dec 5, 2024
  4. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    Theres no a guide, but i will give you a clue.


    Asm68k uses @, and s1 Fixed and github AS uses .
    Just change the . with @

    That worked for me

    I add that in the s2menu.asm file?
     
    Last edited by a moderator: Dec 5, 2024
  5. mvch

    mvch Newcomer Trialist

    Joined:
    Dec 2, 2024
    Messages:
    2
    I need help with these two things:
    • Getting CPZ (badniks, platforms, etc.) sprites to load in Death Egg (And I mean Death Egg Act 1, which I added to the game before the regular Death Egg)
    • Fixing the parallax in Death Egg (I have no idea on how to edit background scrolling)
    • s2built000.png s2built001.png
     
  6. Blue Gamer

    Blue Gamer Newcomer Trialist

    Joined:
    Aug 16, 2024
    Messages:
    20
    Location:
    Mysterious Marble Zone, Bird Hill Island
    So I have three bugs in my s1 romhack I need to get rid of. one visual bug, one music bug, and one Sram bug.
    1.The Sega screen Glitches out after the Bird Hill Zone Demo finishes playing completely.
    2.If you get an extra life monitor in Bird Hill Zone (Probably other levels but Bird Hill was the only one that glitched out from my testing)the second PSG channel freaks out and sounds like it shouldn't be sounding.
    3.in Kega Fusion if you look at any demos then skip or watch through the entirety of them, then afterwards press start on the title screen, SRAM will think that the demo level you watched is the level you last played meaning you can either Cheat or lose your save data.
     

    Attached Files:

  7. nanothehedghog

    nanothehedghog Newcomer In Limbo

    Joined:
    Nov 4, 2024
    Messages:
    16
    but how the heck you port super peelout in hivebrain (tutorial 1 got removed)
     
  8. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    You can use the code of Sonic CD art test Dissasembly by LuigiXhero.
    you can find it here
     
    Last edited: Dec 8, 2024
  9. Blue Gamer

    Blue Gamer Newcomer Trialist

    Joined:
    Aug 16, 2024
    Messages:
    20
    Location:
    Mysterious Marble Zone, Bird Hill Island
    how do you port it so when you first spawn in the air Sonic and Tails uses their hurt animation and Knuckles uses the animation after a glide? I want to port it to my s1 github romhack from sonic 3&K. (Tails is a seperate object in my romhack)
     
  10. nanothehedghog

    nanothehedghog Newcomer In Limbo

    Joined:
    Nov 4, 2024
    Messages:
    16
    also can i ask about someone fixing scd peelout bug or not

    i did use dissasembly by iso kilo and it not work
    ping me in discord dm if you find the way to fix it

    can i send dissasembly
     

    Attached Files:

    Last edited: Dec 9, 2024
  11. nanothehedghog

    nanothehedghog Newcomer In Limbo

    Joined:
    Nov 4, 2024
    Messages:
    16
    Code:
    ;Sonic_Dash:
            btst    #1,$39(a0)
            bne.s    Sonic_DashLaunch
            cmpi.b    #7,$1C(a0) ;check to see if your looking up
            bne.s    @return
            move.b    ($FFFFF603).w,d0
            andi.b    #%01110000,d0
            beq.w    @return
            move.b    #1,$1C(a0)
            move.w    #0,$3A(a0)
            move.w    #$D3,d0
            jsr        (PlaySound_Special).l ; Play peelout charge sound
            addq.l    #4,sp
            bset    #1,$39(a0)
     
            bsr.w    Sonic_LevelBound
            bsr.w    Sonic_AnglePos
     
        @return:
            rts   
    ; ---------------------------------------------------------------------------
     
    Sonic_DashLaunch:
            move.b    #$21,$1C(a0) ;charging peelout animation (walking to running to peelout sprites)
            move.b    ($FFFFF602).w,d0
            btst    #0,d0
            bne.w    Sonic_DashCharge
            bclr    #1,$39(a0)    ; stop Dashing
            cmpi.b    #$1E,$3A(a0)    ; have we been charging long enough?
            bne.s    Sonic_Dash_Stop_Sound
            move.b    #0,$1C(a0)    ; launches here (peelout sprites)
            move.w    #1,$10(a0)    ; force X speed to nonzero for camera lag's benefit
            move.w    #$0C00,$14(a0)    ;Set sonic's speed
            move.w    $14(a0),d0
            subi.w    #$800,d0
            add.w    d0,d0
            andi.w    #$1F00,d0
            neg.w    d0
            addi.w    #$2000,d0
            ;move.w    d0,(v_cameralag).w
            btst    #0,$22(a0)
            beq.s    @dontflip
            neg.w    $14(a0)
     
    @dontflip:
            ;bset    #2,$22(a0)
            bclr    #7,$22(a0)
            move.w    #$D4,d0
            jsr        (PlaySound_Special).l
            move.w    #$D6,d0
            jsr        (PlaySound_Special).l
            bra.w    Sonic_DashResetScr
    ; ---------------------------------------------------------------------------
     
    Sonic_DashCharge:                ; If still charging the dash...
            cmpi.b    #$1E,$3A(a0)
            beq.s    Sonic_DashResetScr
            addi.b    #1,$3A(a0)
            jmp     Sonic_DashResetScr
            
    Sonic_Dash_Stop_Sound:
            move.w    #$D4,d0
            jsr        (PlaySound_Special).l
    
    Sonic_DashResetScr:
            addq.l    #4,sp            ; increase stack ptr ; was 4
            cmpi.w    #$60,($FFFFF73E).w
            beq.s    @finish
            bcc.s    @skip
            addq.w    #4,($FFFFF73E).w
     
        @skip:
            subq.w    #2,($FFFFF73E).w
     
        @finish:
            bsr.w    Sonic_LevelBound
            bsr.w    Sonic_AnglePos
            rts
            
    i need assist to change this for my hack with no adding custom art and sfx
     
  12. nanothehedghog

    nanothehedghog Newcomer In Limbo

    Joined:
    Nov 4, 2024
    Messages:
    16
    and also fix this bug cuz i tried port dropdash in sonic 1
    here is the dissasembly (apolpgies but is serious isuse in my hack)
    and the error
     

    Attached Files:

  13. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
  14. Blue Gamer

    Blue Gamer Newcomer Trialist

    Joined:
    Aug 16, 2024
    Messages:
    20
    Location:
    Mysterious Marble Zone, Bird Hill Island
    1. What romhack is this? It doesn't seem like your other romhack even though it uses the same hud
    2. what changes did you make to this sonic 1 Romhack
     
  15. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    1. its a new one, the name is a surprise :)
    2. just i added s3 sprites and s3d hud
     
  16. JoaoVT

    JoaoVT Active Member Member

    Joined:
    Nov 22, 2023
    Messages:
    33
    Location:
    Marble Garden
    I am having a problem on my S1 hack, Everytime i jump i get a "LINE 1111" error on my hack, is there any fix for this?, I am using the latest Github disassembly
     
  17. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    can you show the error?
     
  18. JoaoVT

    JoaoVT Active Member Member

    Joined:
    Nov 22, 2023
    Messages:
    33
    Location:
    Marble Garden
    It's not a build error, It's a error that is happening in the game
     
  19. PeanutNoceda

    PeanutNoceda Trying to forget my pain of the past, Sonic Hacker Member

    Joined:
    Sep 26, 2024
    Messages:
    60
    Location:
    Green Hill Zone, South Island
    uhhh... okay?
    in that case can you send a screenshot of the game?
     
  20. JoaoVT

    JoaoVT Active Member Member

    Joined:
    Nov 22, 2023
    Messages:
    33
    Location:
    Marble Garden
    Here is it [​IMG]