SonLVL

Discussion in 'Engineering & Reverse Engineering' started by MainMemory, Feb 7, 2011.

  1. Lapper

    Lapper

    Member
    1,642
    378
    63
    England
    Sonic Studio, Sonic Physics Guide, Kyle & Lucy: WW, Freedom Planet 2
    Spelling mistake: Undo>Layout Edit (5 chunkss)
     
  2. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    <!--quoteo(post=558038:date=Feb 13 2011, 04:50 AM:name=Tets)--><div class='quotetop'>QUOTE (Tets @ Feb 13 2011, 04:50 AM) <a href="index.php?act=findpost&pid=558038">[​IMG]</a></div><div class='quotemain'><!--quotec-->Holy crap! A bit rough around the edges, but this is already a decent level editor with some solid ideas behind it. I'm noticing there is little in the way of keyboard shortcuts, but hope that's simply due to the early state of the program.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I will add keyboard shortcuts for things that have them in most Windows programs, but I'd rather not add keyboard shortcuts for everything, because then you may as well just use SonED2.
     
  3. Lapper

    Lapper

    Member
    1,642
    378
    63
    England
    Sonic Studio, Sonic Physics Guide, Kyle & Lucy: WW, Freedom Planet 2
    I thought of something else, how about you use the mouse wheel for scrolling though chunks (as an option)?
     
  4. Tets

    Tets

    one rude dude Oldbie
    835
    9
    18
    <!--quoteo(post=558059:date=Feb 13 2011, 09:36 AM:name=MainMemory)--><div class='quotetop'>QUOTE (MainMemory @ Feb 13 2011, 09:36 AM) <a href="index.php?act=findpost&pid=558059">[​IMG]</a></div><div class='quotemain'><!--quotec-->but I'd rather not add keyboard shortcuts for everything, because then you may as well just use SonED2.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I think you're looking at this the wrong way. I already told you I like how this level editor is looking so far. But I also swear by keyboard shortcuts. It's something I picked up in CAD class in high school. If I can easily access as many options as I need to at a moment's notice, I can minimize the time it takes me to complete any given task. If I have to keep sweeping the mouse across the screen to get at menu items or buttons, that's slowing me down. For this purpose, a good productivity tool should generally offer multiple ways to do things.

    It goes without saying that this is your program and you're free to develop it the way you want, but if you're going to omit a helpful feature because SonED2 did it, I think that's rather strange. If I may as well use SonED2, why develop this at all? I'm honestly taken aback by your response.
     
  5. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    <!--quoteo(post=558064:date=Feb 13 2011, 09:06 AM:name=Tets)--><div class='quotetop'>QUOTE (Tets @ Feb 13 2011, 09:06 AM) <a href="index.php?act=findpost&pid=558064">[​IMG]</a></div><div class='quotemain'><!--quotec-->If I may as well use SonED2, why develop this at all?<!--QuoteEnd--></div><!--QuoteEEnd-->
    Because I was bored.

    I'm not an expert in UI design (in fact, I think all my GUIs are terrible), so I just copied from Visual Studio's designer for object editing, and the layout editing is copied from SonED2. I'm still trying to figure out where exactly I'm going with this, and now that I've put it on the SVN, anybody that knows C# could change it however they want. Not that I'm saying "If you don't like it, make your own". I'm still listening to suggestions.
     
  6. Tets

    Tets

    one rude dude Oldbie
    835
    9
    18
    I suppose that's reasonable. This could be a good excuse for me to finally learn a programming language.
     
  7. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    You shouldn't have to learn a programming language though. I released it way earlier than I planned because of the huge response to the picture, and I should listen to your suggestions, and try to make them work to the best of my ability. Of course, if you really want to change something or make your own fork, I can't do much to stop you.
     
  8. amphobius

    amphobius

    doing more important things with my life Member
    2,120
    0
    16
    life
    The keyboard shortcuts are what makes me prefer SonED2 to many other editors; it gets the job done quicker.

    This certainly looks to be a neat tool and all, but I think I'll stick with SonED2 because I'm a artsy person when it comes to levels. I'd also need collision editing and crap like that; but I'll certainly try this if those features come to rise.
     
  9. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    So, I should add all the keyboard shortcuts from SonED then?
     
  10. FeliciaVal

    FeliciaVal

    Member
    I think you should do both key shorcuts and menus, just like most programs are nowadays, so people can choose between using just keyboard or navigate through it. If you do menus as well it will be much appreciated at least from me, since I'm not really a keyboard person unless im using ctrl+z :P
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    <ul><li> Added SonED2 keyboard shortcuts.</li><li> Made adding object 0x25 add a ring group instead.</li><li> Added single-line and full palette PNG export.</li></ul>

    Note that the INI files for the SVN version are no longer included, you can get them from the "Sonic 2 Split Disassembly" folder on the SVN. They haven't changed since the last beta though.

    Also, using the keyboard to change object ID/subtypes cannot be undone.
     
  12. Alriightyman

    Alriightyman

    I am back... from the dead! Tech Member
    354
    3
    18
    Largo, FL
    0101001101101111011011100110100101100011 00000010: 0101001100000011 01000101011001000110100101110100011010010110111101101110
    <!--quoteo(post=558077:date=Feb 13 2011, 10:38 AM:name=MainMemory)--><div class='quotetop'>QUOTE (MainMemory @ Feb 13 2011, 10:38 AM) <a href="index.php?act=findpost&pid=558077">[​IMG]</a></div><div class='quotemain'><!--quotec-->and now that I've put it on the SVN, anybody that knows C# could change it however they want. Not that I'm saying "If you don't like it, make your own". I'm still listening to suggestions.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Cool! I'm going to have to look at this! As for suggestions.... I'd like to be able to save in different formats. For example, if I want layouts to save uncompressed instead of kosinski compressed or collision to be kosinski module compressed instead just plain kosinski.
    This would help so I don't have to write a quick program to run before compiling my hack together for whatever modification I made.
    I hope you understand what I mean.
     
  13. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    I already have something like that for sprite art, and could easily add it for the other data, so in the INI you would have:
    Code (Text):
    1. layout=../level/layout/EHZ_1.bin
    2. layoutcmp=Uncompressed
    Edit: And it's up on the SVN. To override the compression used for <file>, add a value named <file>cmp, and set it to one of: Uncompressed, Kosinski, KosinskiM, Nemesis. You can override the compression on everything but palettes.
     
  14. Alriightyman

    Alriightyman

    I am back... from the dead! Tech Member
    354
    3
    18
    Largo, FL
    0101001101101111011011100110100101100011 00000010: 0101001100000011 01000101011001000110100101110100011010010110111101101110
    I got it off the SVN last night. I just haven't looked through it yet. But that is what I was talking about. Very cool. Thanks for reading my mind!
    :thumbsup:
     
  15. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    [​IMG]
    I would estimate that I'm about 1/3 of the way towards full support.
     
  16. Jimmy Hedgehog

    Jimmy Hedgehog

    Member
    1,728
    8
    18
    England - Slough
    Getting the motivation to continue old projects
    Oh this will help so much when it's available
     
  17. Selbi

    Selbi

    The Euphonic Mess Member
    1,485
    10
    18
    Northern Germany
    Sonic ERaZor
    Thanks god after so many years someone is finally making a new editor for Sonic 1 levels! I will never get used to SonED2's gayness and the only reason I ever used it is because there is no alternative.
     
  18. Jimmy Hedgehog

    Jimmy Hedgehog

    Member
    1,728
    8
    18
    England - Slough
    Getting the motivation to continue old projects
    Well, there was using ESE and then splitting the rom after and getting the files from it, but that's just way too much effort
     
  19. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,543
    142
    43
    SonLVL
    It's nice that you're all interested, but it's very difficult to make a level editor, when there's no documentation on the format. <a href="http://info.sonicretro.org/SCHG:Sonic the Hedgehog/Level Editing" target="_blank" style="background: url(http://info.sonicretro.org/images/5/50/Reticon.png) right no-repeat; padding-right: 20px; border-bottom: 1px dotted #3366BB; color: #3366BB; cursor:pointer; text-decoration:none;" class="wiki">SCHG:Sonic the Hedgehog/Level Editing</a> didn't exist before today, and I still don't know what's up with the 256x256 chunks. There's also no documentation on the bumpers in CNZ, and Nemesis' explanation of the collision data is... confusing.
     
  20. FeliciaVal

    FeliciaVal

    Member
    MainMemory...I love you so much. Finally a S1 level editor that's not SonED! looking forward to it!