SonLVL

Discussion in 'Utilities' started by MainMemory, Mar 29, 2011.

  1. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    ProjectFM likes this.
  2. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    789
    Location:
    Portland, Maine
    Wow! You just made my favorite hacking utility even greater.

    I found this version to be much easier to use than the original. Being able to see the chunk and block that holds the tile I'm editing made it easier to see how I can make the tile fit in with the rest of the art. Being able to change the blocks on a chunk by just clicking on them made things a lot easier as well. I definitely recommend that you use this method of art editing in the main version once/if you're able to fix the bug you mentioned.

    Edit: One thing I'd recommend that you change is that when you change a tile on a block, it shouldn't reset its priority.

    Edit 2: Same with solidity when changing blocks in chunks.
     
    Last edited: Aug 7, 2016
  3. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    I had some sort of reason for why selecting a block/tile from the tile list reset all the properties of the chunk block/block tile that would get drawn, but I suppose it makes more sense to not do that. I also added that double-click thing I mentioned earlier.

    The file has been updated.
     
  4. LuigiXHero

    LuigiXHero Well-Known Member Member

    Joined:
    Mar 22, 2014
    Messages:
    276
    I sent a bug report because why not.

    Loading a ini and trying to load a level in this new version doesn't work while the regular one I have works fine. (It's current as of the updater)
     
  5. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    Fixed. Apparently selecting any chunk block causes the last selected chunk block's block index to be set equal to the currently selected chunk block's block index.
     
    Last edited: Aug 7, 2016
  6. LuigiXHero

    LuigiXHero Well-Known Member Member

    Joined:
    Mar 22, 2014
    Messages:
    276
    ok, this looks really awesome MainMemory. It definitly will make editing easier. I am curious as to how you will get it to work in smaller resolution though. Only thing I can think of is somehow resizing the entire GUI to accommodate it.
     
  7. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    I've fixed the bug I mentioned in my last post, which reminded me why I had selecting a block from the block list reset the copied chunk block's properties to start with.
     
  8. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    I've added the collision editor to the Art tab, so now it looks like this:
    [​IMG]
     
    Pacca and CaveQuest like this.
  9. StephenUK

    StephenUK Working on a Quackshot disassembly Administrator

    Joined:
    Aug 5, 2007
    Messages:
    974
    I haven't had time to try this out just yet, and probably won't have time until weekend, but from that screenshot this is looking very promising. Thanks for taking the time to implement these changes, I'll report back once I've given it a proper test.
     
  10. CaveQuest

    CaveQuest The Draco Centauros Main in Puyo Puyo Member

    Joined:
    Jul 18, 2015
    Messages:
    784
    Location:
    Sweden
    I think that looks much better for SonLVL overall. Tho I haven't clearly taken a look at it yet. It may be more helpful.
     
  11. Pacca

    Pacca Why succeed when you can profit off of failure? Member

    Joined:
    Jul 5, 2014
    Messages:
    1,149
    Location:
    Triton (Moon)
    I haven't ever used SonED 2 before, and I haven't had a chance to seriously use the new editor system, but after giving it a quick look, I feel it could be a vast improvement. Having the ability to select blocks from a full block palette, rather then the small, squished section that usually displays, should definitely be a vast improvement. Although I've always been a big fan of SonLVL, that compressed block selection was always a huge nuisance to me, and I'm very pleased to see that issue being addressed here. As for the editors being all in one space, I'll admit I never felt it was necessary, but it seems like it could be helpful for quick editing. Overall, I like what I see.
     
  12. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    The new UI has been officially merged into the master branch.
     
    Pacca, ProjectFM and LuigiXHero like this.
  13. Ashuro

    Ashuro Well-Known Member Member

    Joined:
    Sep 27, 2014
    Messages:
    514
    Location:
    France
    This is the best level editor ever. MainMemory, you are a legend.
     
  14. Pacca

    Pacca Why succeed when you can profit off of failure? Member

    Joined:
    Jul 5, 2014
    Messages:
    1,149
    Location:
    Triton (Moon)
    Is it possible to add a feature that allows you to remove chunks without messing up other layouts? one level I'm working with just happens to use all the available chunks, and while there are several I could happily delete, doing so would mess up the other acts. Obviously, having a sync feature on like this all the time would be terrible, but some sort of toggle would be nice. It might be kind of complex, but it would be a much appreciated feature.
     
  15. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    You are far from the first person to request that, but trying to support partially shared chunk lists (some S3K levels) would be a nightmare, and if it only supports levels with identical chunk sets people might get confused why editing HCZ1's chunks breaks HCZ2's layout.
     
  16. Pacca

    Pacca Why succeed when you can profit off of failure? Member

    Joined:
    Jul 5, 2014
    Messages:
    1,149
    Location:
    Triton (Moon)
    Partial chunksets really don't need to be supported, those obviously would be beyond the scope of the feature. As for potential confusion, just add a clear warning saying that it won't work on most S3K levels, similar to the warnings when deleting chunks/blocks/tiles. Most people work with Sonic 1 or 2 anyways, so the loss wouldn't be to large.

    Perhaps you could also add a menu allowing someone to select which layouts should have their layouts synced, to allow the user to cover fringe cases where multiple zones share chunks, like MTZ3.
     
  17. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    SonLVL has no knowledge of the game's level/act structure, so your "fringe case" is more like "every case". The only ways to implement the feature are to manually specify all the additional layout files in the level info, or to have SonLVL automatically load all layouts from levels with the same chunk list.
     
  18. Pacca

    Pacca Why succeed when you can profit off of failure? Member

    Joined:
    Jul 5, 2014
    Messages:
    1,149
    Location:
    Triton (Moon)
    I'd be perfectly okay with that limitation. It makes more sense to choose each time, at least to me. Just letting you choose from a menu which acts to sync makes more sense in the long run, anyways.
     
  19. Ashuro

    Ashuro Well-Known Member Member

    Joined:
    Sep 27, 2014
    Messages:
    514
    Location:
    France
    EDIT: fixed.
     
    Last edited: Aug 16, 2016
  20. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    857
    I'm curious as to why you want it to be a manual selection rather than automatic.