Sonic and Sega Retro Message Board: SonLVL - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 43 Pages +
  • ◄ First
  • 35
  • 36
  • 37
  • 38
  • 39
  • Last ►
    Locked
    Locked Forum

SonLVL Level Editor for S1, SCD, S2NA, S2, S3K, SKC, SCDPC - 11/15/2016

#541 User is offline pacguy 

Posted 23 October 2014 - 02:20 PM

  • ASM amateur
  • Posts: 20
  • Joined: 27-July 14
  • Gender:Not Telling
  • Location:Nowhere
  • Project:Robotnik Returns, Buizel in Sonic 2, Untitled S2 hack
There's an odd little issue with the RGB color value boxes. It won't save the value in the newest edited box until you select another adjacent box. Doing anything else results in the last value not beings saved, making me go back, change it again, pointlessly select another RGB color box, then move on.

#542 User is offline MainMemory 

Posted 23 October 2014 - 02:32 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Yes that's a limitation of the NumericUpDown control, I'm not sure if I can make it immediately update the value when typing.

#543 User is offline MainMemory 

Posted 07 November 2014 - 11:59 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I've created a new command-line program which is available via the SonLVL updater: ObjectLayoutDiff. The program has two modes of operation; in create mode, it takes two object layout files, and compares them to see which objects were added and removed in the second file, and records that information in a file (I use .objdiff, but it's just an ini file); in apply mode, it takes an object layout file and a previously generated diff file, and applies the changes in the diff file to create a new object layout file.

The program is rather basic, if an object is moved the diff records it as a deletion and addition, and if you've altered any objects in a file that you're applying a diff to, it may not be able to delete everything it's meant to.

The reason I wrote this is so that I could apply the changes made in Knuckles in Sonic 2 to a Sonic 2 hack without having to manually port over all the changes I've made to the KiS2 files. In case anyone is interested, here are the objdiff files to turn S2 object layouts into KiS2 layouts.

#544 User is offline Xeta 

Posted 12 November 2014 - 04:57 PM

  • Posts: 267
  • Joined: 23-April 14
  • Gender:Not Telling
  • Project:Various ideas and concepts, very few of which are actually put to use
Do INI files for MarkeyJester's Two-Eight disasm exist? That's currently what I'm working with.

#545 User is offline MainMemory 

Posted 12 November 2014 - 05:04 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Yes, they're listed as "Sonic 1 Project 128 INIs" in the updater.

#546 User is offline Xeta 

Posted 12 November 2014 - 09:42 PM

  • Posts: 267
  • Joined: 23-April 14
  • Gender:Not Telling
  • Project:Various ideas and concepts, very few of which are actually put to use
Okay, thanks.

#547 User is offline MainMemory 

Posted 02 December 2014 - 05:56 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
SonLVL can now use different compressions for FG and BG layout files in layout formats that use separate files, either by setting fglayoutcmp and/or bglayoutcmp in the INI or by overriding DefaultFGCompression and/or DefaultBGCompression in a custom layout format class. Anything not specified will use the layoutcmp/DefaultCompression data as before.

#548 User is offline DigitalDuck 

Posted 11 December 2014 - 01:37 PM

  • Arriving four years late.
  • Posts: 4262
  • Joined: 23-June 08
  • Gender:Male
  • Location:Lincs, UK
  • Project:TurBoa, S1RL

View PostXeta, on 12 November 2014 - 04:57 PM, said:

Do INI files for MarkeyJester's Two-Eight disasm exist? That's currently what I'm working with.


The rev.1 INI that comes with the disassembly (and possibly others) incorrectly references the original rev.0 object layout for Spring Yard 3 instead of (JP1).


Also, inserting a new block in the middle of the list correctly updates the first collision layer for subsequent blocks, but not the second collision layer (again, when using Two-Eight, possibly present with others too).

#549 User is offline MainMemory 

Posted 11 December 2014 - 10:47 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I've fixed both of those issues.

#550 User is offline Xeta 

Posted 06 January 2015 - 04:04 PM

  • Posts: 267
  • Joined: 23-April 14
  • Gender:Not Telling
  • Project:Various ideas and concepts, very few of which are actually put to use
Is start position editing not supported with the Two-Eight disassembly? I didn't see any code in the .INI referring to start location files, and it still doesn't seem to read said files even after copy-pasting that portion of the code from a 2005 INI.

#551 User is offline MainMemory 

Posted 06 January 2015 - 05:23 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
It should work, if the startpos data is correct, and the file it refers to exists. You also need to have an entry in the object definition INI for the player sprite.

#552 User is offline MainMemory 

Posted 01 February 2015 - 07:07 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I've added support for Chaotix object layouts, and I've added drag-and-drop reordering functionality to the chunk, block, and tile lists (hold Ctrl to swap instead of move).

#553 User is offline MainMemory 

Posted 03 February 2015 - 04:17 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I've added "Advanced Remapping..." buttons to the chunk, block and tile lists that open a new dialog:
Posted Image

#554 User is offline HDL 

Posted 03 February 2015 - 05:16 PM

  • Posts: 17
  • Joined: 20-April 11
  • Gender:Male
  • Project:Sonic Classic Heroes
Hello, I'm currently doing some editing work for flamewing. Would it be possible to add multiple block selection in the chunk editor?

#555 User is offline MainMemory 

Posted 03 February 2015 - 06:19 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3726
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I suppose it is possible... I'm not really sure how to handle that though.

  • 43 Pages +
  • ◄ First
  • 35
  • 36
  • 37
  • 38
  • 39
  • Last ►
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users