don't click here

SonLVL

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

  1. Covarr

    Covarr

    Sentient Cash Register Member
    4,233
    3
    18
    Trapped in my own thoughts.
    Two stageplays, a screenplay, and an album
    "Win32:Malware-gen"?

    "Gen" here is short for "generic". In other words, that's a false positive, because avast is stupid and think it kinda looks like it might be a virus and are therefore assuming it is. Heuristics hooray!
     
  2. AURORA☆FIELDS

    AURORA☆FIELDS

    The cute one here Tech Member
    216
    24
    18
    Finland
    AMPS
    In fact, the reason why this happen, is one of the compression methods (Comper), its compressor seems to like creating false positives all over the place. I would not worry about it, and it in fact is known issue. I wonder if FW-KENSC version of Comper will actually also cause false positives... Also to just point out, before I uninstalled all AV from my comp, Avast was complaining about C code I wrote MYSELF, telling its Malware-gen lmao
     
  3. rata

    rata

    Member
    690
    73
    28
    Argentina
    Trying to be useful somehow.
    Working with 256 colours image format allows you to do this:
    [​IMG]





    This way I have the first 16 colours reserved (line 0); this sucker will stick to line 1, and in this case I have a custom palette in palette line 2. Line 3 is black as I didn't want to bother too much for another line. Be aware that some programs may try to optimize palette usage and may blend 2 identical colours unless you especificate that you don't want to. This gave me real headaches when importing bitmaps to fatilety.
     
  4. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    The C++ version did cause false positives, which is why I had it as a separate download. I thought maybe the C# version wouldn't be detected, but apparently it is, so I may have to find some way to separate it or just not bother with Comper support at all.
     
  5. Clownacy

    Clownacy

    Tech Member
    1,060
    607
    93
    What makes you so sure it's still the Comper compressor?
     
  6. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
  7. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    I've submitted SonLVL as a false positive to AVG, Avast, and Kaspersky, and so far AVG and Avast have both confirmed that SonLVL is not in fact malware, so that should be fixed in their next updates. I'm not going to try contacting every AV vendor, so if your AV detects SonLVL as a threat, you should look for a way to submit a false positive report.

    I'm guessing this is due to the time when SonLVL was bundled with the FW-KENSC Comper compressor, and the AVs just blocked the whole zip file as malware ever since.
     
  8. What would be the best way to go about porting Sonic CD level tiles to Sonic 3 & Knuckles? Would SonLVL even have a way to do it? I only see an unfinished PC disassembly of sorts that has PPZ1 Present only. (Luckily that's one of the few zones that I want) For that matter, what about the Simon Wai Sonic 2 Beta?
     
  9. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    For Sonic CD, you could try this thread. The last post has SonLVL projects, and you can use LevelConverter to convert the levels to S3K, however you may end up with too many chunks to fit in the layout.
    For the Sonic 2 Beta, there's a disassembly here.
     
  10. Very helpful! Any chance there's a way to do Sonic Crackers, too?
     
  11. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    Unlikely. Sonic Crackers uses a system where the FG and BG use separate sets of tiles, blocks, and chunks, and SonLVL cannot easily support that. Chaotix has a similar situation.

    I suppose in theory I could write a tool to combine the separate sets of data into one so SonLVL could use it, but I'm not entirely sure how the data is formatted.
     
  12. Ah, I see. How much of the data in the disassembly COULD be converted as-is? If none of it I'll try to find another way of importing it, the chunk data isn't as important though since half the levels will be modified so much they'll need completely new ones.
     
  13. MarkeyJester

    MarkeyJester

    Original, No substitute Resident Jester
    2,200
    430
    63
    Japan
    Another thing to keep in mind in Sonic Crackers, is the collision array.

    Blocks 00 to EF are normal, however, blocks F0 to FF have flipping/mirroring properties. Bit 0 of the ID determines this, if clear (i.e. blocks, F0, F2, F4, F6, F8, FA, FC, and FE), then the blocks are mirrored, and if set (i.e. blocks, F1, F3, F5, F7, F9, FB, FD, and FF), then the blocks are flipped. When/if porting, you'll need to mirror and flip the array data of these blocks back to normal.
     
  14. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    Thinking of upgrading SonLVL and associated programs from .NET 3.5 to 4.x. Does anyone use them on Windows XP?
     
  15. Caverns 4

    Caverns 4

    Member
    346
    0
    16
    Sonic: Retold
    The format for 16x16 blocks is Enigma compressed, and identical to the block format in Sonic 1-3k.
    Chunks are also enigma compressed, and are using the same exact format as Sonic 2/3k.

    The level layout format, I'm not sure about. It seems to be the layout of Sonic 2: Beta, but the format is slightly different, to the point where it needs to decompressed and the first two bytes of the layout file need to be modified to work properly.

    HOWEVER, one thing though keep in mind is the limitations. Both levels of Sonic Crackers has huge are files, and in porting Techno Tower to Sonic 2, I BARELY scraped by, using $2E4 blocks of the maximum $300.
    The circus level however, pretty much inescapably passes the $300 block limit. I was not able to port that.
     
  16. flarn2006

    flarn2006

    Member
    280
    3
    18
    Do you think this tool might be updated to support Sonic Mania? Or would it make more sense to have a separate editor specifically for that game?
     
  17. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    Have you looked at the stage format at all? It's way different than the MD games. For starters, it doesn't use chunks or tiles, and secondly, it has completely different types of data. It would definitely have to be a new editor, and I don't feel like taking on that kind of project right now. Just getting the mod loader to work with the new version is enough work.
     
  18. flarn2006

    flarn2006

    Member
    280
    3
    18
    Nope, haven't. That's why I was asking.
     
  19. LevelConverter suddenly refuses to load, and after Windows tries to find the error this pop-up appears:

    [​IMG]

    I've tried reinstalling it but it doesn't change the error unfortunately. Any idea what could be causing it?
     
  20. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,741
    338
    63
    SonLVL
    Um, that error message is from SonLVL, not LevelConverter. It's because my site is down. Again.

    As for LevelConverter, I have no idea why, but renaming the exe file will probably fix it.