No Sound for spindash

Discussion in 'Discussion and Q&A Archive' started by Cozzio, Jul 22, 2011.

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

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    I have been working on getting a spindash in Sonic 1 and everything seems to be ok but I can't get the spindash sound. I have been trying everything.


    If anyone could help It would mean a lot.


    Thank you.
     
  2. GrandMasterGalvatron

    GrandMasterGalvatron Let's get Legendary Member

    Joined:
    Aug 14, 2007
    Messages:
    53
    Location:
    Hampton, Virginia
    Did you import the actual sound file for it? If so, you may need to extend the sound index to get it to play.
     
  3. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    Do you know what the sound file is called? And you may call me bad at this but how do you extend the sound index??
     
  4. M3k

    M3k h4x Member

    Joined:
    Jul 28, 2008
    Messages:
    37
    Make sure you did this step. It also tells you how to expand the sound slots up to $DF. And you can download the spindash sound effect from there, too...
     
    Last edited by a moderator: Jul 22, 2011
  5. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    Thank you, I followed all of the steps and tried to build it and it didn't work. Here is a picture of the error.


    If it doesn't show up, here is another version of it:


    http://i1220.photobucket.com/albums/dd451/...ios/Problem.jpg

    /monthly_07_2011/post-1633-1311353344_thumb.jpg
     

    Attached Files:

  6. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Open s1comb.asm in notepad. At the top go to edit and goto. Then type in the error line you got(the number next to s1comb in that error), and then once you've found that command, open up sonic1.asm and find the same thing and either put a comment (; ), or delete it from sonic1.asm and not s1comb.asm. Then build again and see what it does.
     
    Last edited by a moderator: Jul 22, 2011
  7. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17

    Ok i found the problem and the build succeeds, but when I try to go into spindash the music slows down and there is still no spindash sound!


    Please help
     
  8. Dark Lips

    Dark Lips Well-Known Member Member

    Joined:
    Nov 14, 2008
    Messages:
    293
    Location:
    Wolverhampton UK
    You might have more luck using a more up to date dissasembely... some remove the need for a s1comb file.
     
  9. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
  10. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    I am already using ASM68K
     
  11. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    According to your screenshot, you were using SNASM68K, which is completely different. ASM68K doesn't use s1comb.asm by the way.
     
  12. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    ok sorry :) where can I get ASM68K? I got SNASM68K off of Qjimbo's tutorials so I really didn't know the difference :) sorry
     
  13. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    You can get it from the disassembly I linked earlier under "anything else".
     
  14. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
     
  15. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    OK all was going fine until I was trying to add the sound again (Idk why everything bad happens with sound for me but it does) and I got this error

    /monthly_07_2011/post-1633-1311519906_thumb.jpg
     

    Attached Files:

  16. M3k

    M3k h4x Member

    Joined:
    Jul 28, 2008
    Messages:
    37
    Uh, that's all it says? 1 error from 47622 lines?


    If not, post a picture which says what the error is so we can help you...


    EDIT: "what", not "where". Silly me :v
     
    Last edited by a moderator: Jul 24, 2011
  17. Spanner

    Spanner The Tool Member

    Joined:
    Aug 9, 2007
    Messages:
    2,570
    Please change your asm68k line in build.bat with the following:



    Code:
    asm68k /o op+ /o os+ /o ow+ /o oz+ /o oaq+ /o osq+ /o omq+ /p /o ae- sonic1.asm, s1built.bin>error.log
    Then, give us the error log.
     
  18. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    Yeah sorry Here is the whole picture. I think it might have something to do with SoundEffects_Common or something:

    /monthly_07_2011/post-1633-1311521192_thumb.jpg
     

    Attached Files:

  19. Cozzio

    Cozzio Newcomer In Limbo

    Joined:
    Jul 22, 2011
    Messages:
    17
    wait sorry to ask this question, but how do you do that?
     
  20. M3k

    M3k h4x Member

    Joined:
    Jul 28, 2008
    Messages:
    37
    Right click build.bat, click edit.


    Replace this line:



    Code:
    asm68k /o op+ /o os+ /o ow+ /o oz+ /o oaq+ /o osq+ /o omq+ /p /o ae- s1comb.asm, s1built.bin


    ...with the one that Spanner posted.



    In the end, it shoud look like:





    Code:
    @echo off
    
    rem include.exe sonic1.asm s1comb.asm
    
    
    
    REM ::: automatic recompression of data - disabled by default because it's slow
    
    REM ::: remove "REM" from the lines below to re-enable it
    
    REM derecmp.exe nc artnem_u artnem
    
    REM derecmp.exe kc artkos_u artkos
    
    REM derecmp.exe ec mapeni_u mapeni
    
    REM derecmp.exe ec map16_u map16
    
    REM derecmp.exe kc map256_u map256
    
    REM derecmp.exe ec sslay_u sslayout
    
    
    
    rem snasm68k.exe -emax 0 -p -o ae- s1comb.asm, s1built.bin
    
    asm68k /o op+ /o os+ /o ow+ /o oz+ /o oaq+ /o osq+ /o omq+ /p /o ae- sonic1.asm, s1built.bin>error.log
    
    rompad.exe s1built.bin 255 0
    
    fixheadr.exe s1built.bin

    EDIT: I forgot SOTI changed his name :V
     
    Last edited by a moderator: Jul 24, 2011
Thread Status:
Not open for further replies.