Sonic 2 Jump-Move Editor

Discussion in 'Utilities Archive' started by fantasticfish, Jun 16, 2009.

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

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    It's not working like you might think. It kills itself after the process is completed. Just check the ASM after running the program. Search for "New move" and you should find the code.
     
  2. Hitaxas

    Hitaxas Retro 80's themed Paladins Twich streamer Member

    Joined:
    Aug 13, 2007
    Messages:
    167
    Fantasticfish, nice work with this program. You should add a check for statuses also So the code can check if he is jumping, then if so, check for a new button press, then do the move.
     
  3. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    This check is already done with Obj01_MdJump2 (Obj01_MdJump in Sonic 2). =P
     
  4. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    Yes, status is implemented, but for standing/spinning/running moves, nothing but the ring loss happens. You can, however, do falling moves. (Walk off a cliff, press a, and you're boosted 2000 velocity into the air, would be plausible, for instance.) If anyone knows why that doesn't work, it would be much appreciated!
     
  5. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    Final Release!! There are no more bugs! When you want to make a new move, you copy setup.txt and change the values, then add the file on a new line in moves.txt.


    Please try it!


    S2ME_Final.zip


    EDIT:


    Sorry, I forgot to include setup.txt. Here it is:


    -- setup.txt --


    OURNEWMOVENAME = "Sonic_NewMove" # Just an identifier


    moveright = 0 # Which


    moveleft = 0 # Way


    moveup = 1 # Will


    movedown = 0 # Sonic


    moveforwards = 0 # Go?


    moveSpeed = 1000 # How fast?


    clearOther = False # Will the other axis' velocity be cleared?


    sound = '3C' # It works now!


    minusrings = 1 # Can't be 0


    dotwice = 1 # Can you do it multiple times?


    type = 'jump' # When can you do it? Jump, air, roll, and stand


    keyPress = 'C' # Which button?


    --End of File--


    You can try this out by linking to setup.txt in moves.txt!


    Also, here's the Python source code: S2ME_Source.zip
     

    Attached Files:

    Last edited by a moderator: Aug 5, 2009
  6. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    Please, do you have a 938409378 GB/s connection? I mean, you included so much files. It would be so much smaller using an include command, which simply means, instead of putting the move into the s2.asm, you are creating a new file called NewMove.asm or whatever. Then, at the point you normally put the move, you simply need to write:



    include "NewMove.asm" ; New move file



    Of Course you need to create a readme so the users are placing the include and the command in Obj01_MdNormal themself. Tadda, this thing is over 200% smaller.
     
  7. fantasticfish

    fantasticfish The Fantastic Fish Member

    Joined:
    May 2, 2009
    Messages:
    73
    I don't understand. Then you'd have a bunch of .asm files rather than .txt files.
     
  8. Selbi

    Selbi The Euphonic Mess Member

    Joined:
    Jul 20, 2008
    Messages:
    2,429
    Location:
    Northern Germany
    I simply mean, edit your program to, I dunno, v2.0. It simply should create the move in a new file and not in s2.asm. The name doesn't matter at all. The hacker only needs to copy this file to their hacking split and edit the s2.asm a bit (manually). Shouldn't be to hard to understand.
     
Thread Status:
Not open for further replies.