Hack build problems

Discussion in 'Discussion and Q&A Archive' started by DanielHall, Apr 24, 2010.

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

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    I'm having building problems:


    [​IMG]


    I've had these sort of problems before. and if i go to the place in s1comb:


    [​IMG]


    Any suggestions?
     
  2. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Trying to cool down myself, I don't want any more trouble k? =P


    Anyway, there's a sort of a list you can take for bra commands, in case they are out of range:

    bra.s is the smallest but most uneffective one, only used for short distances while bra.w is for way bigger distances. Jmp however has no limits, because it's jumping absolutley to any point in the ROM. If you are facing an out of range error with a jmp, water flows upwards and hell is in the sky. =P
     
  3. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    Maybe 3 points will help you cool down :p


    For some reason the changes only work if i add them to sonic1.asm instead of s1comb.asm. still, my problem is fixed. thanks!
     
  4. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    s1comb stands for Sonic 1 Combined, it's a collaboration of all included ASM files into 1 single file, right before it's assembled.


    If you change anything in s1comb.asm, it'll be over written by what's written in sonic1.asm, and any other assembly included files.
     
    Last edited by a moderator: Apr 24, 2010
  5. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    s1comb.asm is unnessacary in more modern assemblers.


    I'd suggest moving over to ASM68k. This may end some confusion in the future.
     
  6. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    ASM68K? I've considered it, but does it make any critical changes i should know about? e.g: Stuff in Sonic1.asm etc.?
     
  7. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Yes, you are going to change EVERY SINGLE include command from this format:



    ; include=file.asm


    To this format:

    Code:
    	include "file.asm"
    

    As being showed in the tutorial DalekSam told you. This will take a very long time of course. Make backups though.
     
  8. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    Or, you could simply save the trouble and do a mass replace.
     
  9. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    True, but you will need to fix a little bit of your lines manually though:



    include "file.asm-->"<--



    The second " is pretty much impossible to set with a mass replace.
     
  10. amphobius

    amphobius spreader of the pink text Member

    Joined:
    Feb 24, 2008
    Messages:
    970
    Location:
    United Kingdom
    Actually, a much simpler method is in the tutorial.


    Such as this;

    See? :p
     
Thread Status:
Not open for further replies.