SonLVL

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

  1. LooneyDude

    LooneyDude Back after a long absence! Member

    Joined:
    Feb 1, 2014
    Messages:
    277
    Location:
    EVERYWHERE
    Thanks MainMemory! You're the best :D
     
  2. JoenickROS

    JoenickROS ROS (bug fixing in progress) Member

    Joined:
    Feb 5, 2012
    Messages:
    929
    Damn Mainmemory, you work really hard on this good job.
     
  3. Altair

    Altair Newcomer In Limbo

    Joined:
    Apr 25, 2015
    Messages:
    10
    Location:
    Anadyr
    In my opinion this tool is much more convenient than SonED
     
  4. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    916
    More updates:

    • Certain images are exported as 1bpp (2 color) or 4bpp (16 color) images when appropriate, rather than always exporting as 8bpp (256 color).
    • HUD images changed to 4bpp for a file size reduction.
    • Switching positions of water palette and SonLVL-specific colors, so water palette immediately follows normal palette and unused colors are contiguous for future expansion.
    • Making invalid blocks display as one big X in chunks instead of four small Xs.
    • Updating chunk/block lists when palette is changed.
    • Making fully transparent blocks always match block 0 when importing (fixes unnecessary block creation in S2 2P levels and levels with alternate palettes or high priority on block 0).
    • Making art importing check for overflows and cancel import.
     
  5. warr1or2

    warr1or2 I AM CLG Member

    Joined:
    Apr 7, 2008
    Messages:
    403
    Location:
    Town Creek, AL
    Is it possible to import a PNG full layout to make custom tiles, blocks,chunks, or is another program needed? (Can't do anything on my computer at this time to find out & am on an Android)
     
  6. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    916
    Yes, it is possible to import a full layout with collision and priority settings from images, although large images take much longer to process, several minutes in fact.

    Edit: the last update had a bug where art importing couldn't detect duplicate items within the art that had been imported so far, I've fixed that, and hopefully increased the speed too.
     
    Last edited by a moderator: May 11, 2015
  7. Pacca

    Pacca Having an online identity crisis since 2019 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,168
    Location:
    Limbo
    The latest update won't download properly. Updater.ini, and consequently the updater program, says the latest version has been downloaded, but it also prints an error message while updating saying that it is "Unable to download file "http://mm.reimuhakurei.net/SonLVL/SonLVL.zip"."

    EDIT: Broke an automatically generated link for claritys' sake.

    EDIT2: The link won't go away, so I changed it to point to the right site.
     
    Last edited by a moderator: May 11, 2015
  8. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,869
    Location:
    italy
    Just so you know, the "code" tag isn't only for actual code. It has the useful side effect to disable all other BBcodes.

     
  9. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    916
    It seems likely that the problem is not with the program itself, as it's worked before, and works for others, but with my website, your computer, or the connections between the two.
     
  10. Pacca

    Pacca Having an online identity crisis since 2019 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,168
    Location:
    Limbo
    The issue seems to have worked itself out on its' own. I'm not quite sure what happened, I had internet, and tested the updater three times, with the same results. It popped up out of the middle of nowhere, and has now disappeared...
     
  11. Pacca

    Pacca Having an online identity crisis since 2019 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,168
    Location:
    Limbo
    Kind of a double post, but it is relevant...

    Could you add a feature that allows you to delete all unused tiles and/or blocks? This is a really painful thing to do by hand, and can be useful for fixing certain issues (like preventing the level art from overflowing and messing up loaded object art).
     
  12. MainMemory

    MainMemory Well-Known Member Member

    Joined:
    Mar 29, 2011
    Messages:
    916
    You know, just this morning, I was thinking that the ability to delete unused stuff was missing from SonLVL, and less than half an hour before your post:

    And so it has been done.
     
  13. CS2612

    CS2612 FamiTracker Trash Member

    Joined:
    Jan 23, 2015
    Messages:
    94
    Location:
    Scranton, PA
    Okay, using the S1 Git-Hub Disassembly, a lot of objects are missing from most Zones (Marble, Labyrinth, etc.) including the pistons from MZ and the bubbles from LZ. How can i fix this?
     
    Last edited by a moderator: May 13, 2015
  14. Clownacy

    Clownacy Well-Known Member Retired Staff

    Joined:
    Aug 15, 2014
    Messages:
    930
    Usually, that's just a case of non-existent object definitions - I've been working on S1 and S2's definitions for who-knows how long now - but I know for a fact I added LZ's bubbles, and the pistons I think you're talking about should be there too. Is your Git disasm up to date? Actually, is the placeholder '?' icon even there, or are the actual objects gone?
     
    Last edited by a moderator: May 13, 2015
  15. CS2612

    CS2612 FamiTracker Trash Member

    Joined:
    Jan 23, 2015
    Messages:
    94
    Location:
    Scranton, PA
    The placeholder "?" box is there. I'll check when the Disassembly was last updated in a minute.

    EDIT: Okay, here's the good news: I got the new Disassembly, and Labyrinth Zone is fixed. Even the water shows up now!

    Bad news: the pistons from MZ are still missing. Everything else within the level is fine, though.
     
    Last edited by a moderator: May 13, 2015
  16. Clownacy

    Clownacy Well-Known Member Retired Staff

    Joined:
    Aug 15, 2014
    Messages:
    930
    Oh, those pistons. Sorry, I thought you meant those green pillar things.

    That object's pretty complex in how it displays, along with how it handles its subtype value and subobjects. I mean, I have to write a definition that accounts for all of that. That's just beyond my abilities right now.
     
  17. CS2612

    CS2612 FamiTracker Trash Member

    Joined:
    Jan 23, 2015
    Messages:
    94
    Location:
    Scranton, PA
    Alright. Thanks for your help anyways! It really solved a few problems.

    EDIT: Is it possible to give each act of a zone it's own palette?
     
    Last edited by a moderator: May 13, 2015
  18. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    896
    Location:
    Orono, Maine
    Yes. If you look through the SonLVL.ini that you're using you can see the that it loads the art, palette, starting positions, etc. depending on the act instead of the zone so you can make it load a different location for the palette for each act.
     
  19. CS2612

    CS2612 FamiTracker Trash Member

    Joined:
    Jan 23, 2015
    Messages:
    94
    Location:
    Scranton, PA
    Ah, okay, i'll experiment with that at some point. Thanks!
     
  20. Pacca

    Pacca Having an online identity crisis since 2019 Member

    Joined:
    Jul 5, 2014
    Messages:
    1,168
    Location:
    Limbo
    Would it be possible to add functions to separately clear the layouts for the foreground and/or background? It can be really annoying to do manually, and while it can be done by simply deleting files, in Sonic 2, I'd have to redraw the background again, which is slow and painful to do.