News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Kirby's Dream Course editor (version 1.13b)  (Read 20184 times)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Kirby's Dream Course editor (version 1.13b)
« on: March 29, 2013, 09:37:42 pm »
(still forever untitled)

Download v1.13b (Windows)
Download v1.13 (OS X)

Screenshot (from v1.10)
Readme
Source code

Sample course images (by Kles): 1 2 3 4 5 6 7 8

After documenting the level format and compression and stuff for this game back in January, I started working on this at the beginning of March. This is both a hacking project and a personal exercise in developing GUI apps (of which this is basically my first).

All level-editing capability is implemented, as well as background, palette, and music selection. US/EU ROM support is now in. Special Tee Shot support is still planned for some point in the future.

Bug reports/suggestions are still welcome (preferably via github).
« Last Edit: March 29, 2015, 04:26:51 pm by Revenant »

Auryn

  • Hero Member
  • *****
  • Posts: 649
    • View Profile
Re: Untitled Kirby's Dream Course editor
« Reply #1 on: March 29, 2013, 10:16:02 pm »
Nice work :)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Untitled Kirby's Dream Course editor
« Reply #2 on: April 26, 2013, 05:53:44 pm »
http://dl.dropboxusercontent.com/u/43107309/kirbything6.png

Finally taking some time to implement the 3D tilemap generation. Pretty tedious, but it's starting to look like it shouldn't take as much time as I was initially expecting.

(Forget about that "end of April" thing I said before, though, because I'm a lazy bastard  ;D)

ChronoMoogle

  • Sr. Member
  • ****
  • Posts: 358
  • Super Famicom all the way.
    • View Profile
    • SNESfreaks
Re: Untitled Kirby's Dream Course editor
« Reply #3 on: April 26, 2013, 08:02:41 pm »
Nice progress!
Special Tee shot support would be awesome! Satellaview hacking needs more love :)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Untitled Kirby's Dream Course editor
« Reply #4 on: April 26, 2013, 08:18:30 pm »
I definitely plan to support STS when this is done, yeah.

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Kirby's Dream Course editor (version 0.80b released, still untitled)
« Reply #5 on: June 01, 2013, 05:51:25 pm »
Version 0.80b is out! Link is in the original post. Hopefully it's not too broken, but I'll be making fixes and improvements along the way. Play around with it and tell me what you think!

ze10

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Kirby's Dream Course editor (version 0.80b released, still untitled)
« Reply #6 on: June 01, 2013, 11:36:43 pm »
Cool! I've always loved Kirby's Dream Course!
Btw, I have a suggestion: in the future, you could make it so that the user of your tool could test their new stages by simulating shots. For instance, they would place Kirby somewhere in the level they are designing and adjust the shot parameters (the same ones as the ones you use to make Kirby move in the game) to see whether it's possible or not to beat the level. There could even be a feature to test whether it's possible to make a hole in one in the level.
I don't know how hard would it be to implement this. I imagine it wouldn't be extremely hard if you know the physics of the game.
Anyways, nice job with this! =)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Kirby's Dream Course editor (version 0.80b released, still untitled)
« Reply #7 on: June 02, 2013, 11:07:49 am »
A shot simulator would be cool, but the problem is that there wouldn't really be a good way to simulate using abilities, especially ones like UFO or Tornado that basically let you move around freely. Testing holes-in-one would be even harder because you'd have to somehow simulate insane tricks like the one in this video :P

However, one thing I do plan to add for testing levels is a feature which will launch an emulator and go directly to the current level, which should make testing levels a lot easier without using the level select/debug patch or cheats.

ze10

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
Re: Kirby's Dream Course editor (version 0.80b released, still untitled)
« Reply #8 on: June 03, 2013, 08:02:50 pm »
Oh, I forgot about that boost you can do while rolling... yeah that complicates things. =(
Still, your emulator idea sounds pretty convenient! I love it! =D

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Kirby's Dream Course editor (version 0.90 released, still untitled)
« Reply #9 on: June 15, 2013, 09:41:59 pm »
Version 0.90 is released, link and details in the original post.

Changes:
Quote
v0.90 [2013-06-15]:
US/Europe ROM support
Updated compression routine to make saving levels about 3-4x faster
Editor now generates sprite clipping tables
    (this means Kirby won't appear to be on top of something when falling behind it anymore)
Added load/save course files option
Fixed "save level" menu item not doing anything
Added notice to readme about putting Kracko and Whispy Woods in same level
Editor now displays error when:
    - trying to save to a file that has been moved/deleted [thanks Kles]
    - saving a level whose 3D tile map becomes too large
Fixed bugs relating to opening/closing ROMs with headers
Handle possible corrupted ROMs a bit more gracefully
Fixed bug where west slope had the wrong tiles for the east border [thanks Kles]
Dedede's stage sprites/tiles now supported
Changed some music titles to match the snesmusic.org set
Bit of interface tweaks, mostly under the hood
Updated README.txt (real documentation still forthcoming)

Mirby

  • Jr. Member
  • **
  • Posts: 59
  • The Power's in the Pins
    • View Profile
    • Mirby Studios
Re: Kirby's Dream Course editor (version 0.90 released, still untitled)
« Reply #10 on: June 16, 2013, 05:20:47 am »
This is shaping up pretty nicely.

If you don't mind a name suggestion, how about "Dream It" or something. Cause you know, if you can dream it up, you can try using this to make it? And it's a play off the game's title?

PhyChris

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Kirby's Dream Course editor (version 0.90 released, still untitled)
« Reply #11 on: June 16, 2013, 07:35:16 pm »
LOVE THIS GAME! Nice work, I always wanted something like this!

« Last Edit: June 16, 2013, 09:09:21 pm by PhyChris »

ChronoMoogle

  • Sr. Member
  • ****
  • Posts: 358
  • Super Famicom all the way.
    • View Profile
    • SNESfreaks
Re: Kirby's Dream Course editor (version 0.90 released, still untitled)
« Reply #12 on: June 23, 2013, 07:37:10 pm »
The project is almost finished and you also released the "HAL-code" (sounds way cooler than "HAL compression routine" ;P), so I decided that it would be nice to tell you the naked truth:

You are absolutely awesome sir!

Please keep it up  :thumbsup:

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
I'm going out of town for a while tomorrow, so I put this together in a hurry. Nonetheless, some important bug fixes and other stuff (including a brand new course for your playing pleasure.) I also made the help file prettier because I was bored at work today.

Quote
v0.95 [2013-06-27]
Added sample course "carbowl.kdc" [thanks Kles]
Replaced README.txt with HTML documentation
Added course select dialog
Added cut/copy/paste
Added various keyboard shortcuts
Added support for several unused rotating tile types
Added "keep" layer option to preserve existing layer assignment
Sprites are now displayed in preview window
Applying obstacle numbers 24/30/31/32/33 now adjusts for slopes
Fixed bug with selection area not being updated when changing levels or closing a ROM
Fixed bug with scrollbar size remaining when closing ROM
Fixed bug relating to layer 2 terrain drawing too many wall tiles when behind layer 1
Fixed background 3 not displaying correctly in US/EU ROMs [thanks DarkMatt]
Fixed missing tile for terrain 0x15
Fixed messed up south bumper for terrain 0x07
Setting terrain type 0x00 now fully removes other tile properties
Removed some menu items for a few still-unimplemented actions
Window positions/sizes and settings are saved on exit

Thanks for all your positive feedback so far :)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Version 1.00 is almost ready, but I want to release a "small" bugfix that I would have posted a few days ago, if I had internet access :P Link is in the first post, as usual.

Quote
Fixed bug where a level being saved near the end of a ROM bank sometimes caused a bad pointer
    (i.e. sometimes a chunk of data would need to be moved to the beginning of the next bank
    when the current bank ran out of space, but the pointer to the data didn't reflect this
    because the pointer was written BEFORE moving to the next bank. oops...)
    [thanks DarkMatt for initially finding this]


ChronoMoogle

  • Sr. Member
  • ****
  • Posts: 358
  • Super Famicom all the way.
    • View Profile
    • SNESfreaks
A version which supports Special Tee Shot will probably be 2.0, right?

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Something like that, yeah.

I actually did a bit of poking around with STS just to see how similar its level data/object numbers were to KDC's (and to see how screwed up they looked with KDC's graphics):
http://dl.dropboxusercontent.com/u/43107309/sts-1-1.png
http://dl.dropboxusercontent.com/u/43107309/sts-1-3.png
http://dl.dropboxusercontent.com/u/43107309/sts-3-3.png

(these are editor shots, not ingame ones. Pretty recognizable, right? :P)

Either way, it'll still be a while before I get around to adding "real" STS support, just because it does a lot of stuff differently under the hood and I'm a bit more interested in focusing on other things for a little while.

(also, apologies to anyone who was impacted by me forgetting to pay the hosting bill before going out of town last week)

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Just a quick "I'm not dead yet" post here. 1.0 is almost done, but not quite ready for prime time (especially since I want to release the source at the same time and it needs to be a bit less ugly first...) and a few things have been drawing my attention away for the past month or so. Here's the tentative changelog, anyway, mostly fixing things caused by my own sloppiness:

Quote
2D view displays an indicator for layer 2 tiles
Added support for bumpers on diagonal slope top/bottom tiles, and some 2-way slopes
Fixed several Gordo path types sometimes behaving like invisible Gordos (?! HAL...)
Fixed tiles for terrain 0x1A (slope northwest middle)
Fixed tiles for obstacle 0x37 (east conveyor sloping down)
Fixed east/west bumpers for north slope
Fixed north/west bumpers of north/west slopes next to a flat tile with no bumpers
Fixed tiles for adjacent rotating spaces
Reworked some other tile data to be less broken sometimes
Slopes on layer 1 next to terrain on layer 2 don't sometimes have messed up edges anymore
Window maximized state and level image path are saved on exit
More menu/toolbar actions are enabled/disabled when appropriate
Current file name is displayed in titlebar
Removed several unused icons
Prevent main window being closed while file save is in progress
Fixed small memory leaks

In the meantime, you can also look at these stupid levels I tried designing to provide a few more cool examples. These aren't really the best-designed things ever, but they're all HIO-able, and they're only meant to demonstrate the editor anyway :P

http://dl.dropboxusercontent.com/u/43107309/demoattempt1.png
http://dl.dropboxusercontent.com/u/43107309/demoattempt2.png
http://dl.dropboxusercontent.com/u/43107309/demoattempt3.png
http://dl.dropboxusercontent.com/u/43107309/demoattempt5.png
http://dl.dropboxusercontent.com/u/43107309/demoattempt6.png

Revenant

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Consummatum est.

Quote
v1.00 [2013-09-15]
Released source under MIT license
Updated source and build to Qt 5
Added sample course "demo-6holes.kdc" [by Revenant]
Added sample course "KirbysRevCourseSampleSelects.kdc" [by DarkMatt]
2D view displays an indicator for layer 2 tiles
Added support for bumpers on diagonal slope top/bottom tiles, and some 2-way slopes
Fixed several Gordo path types sometimes behaving like invisible Gordos (?! HAL...)
Fixed tiles for terrain 0x1A (slope northwest middle)
Fixed tiles for obstacle 0x37 (east conveyor sloping down)
Fixed east/west bumpers for north slope
Fixed north/west bumpers of north/west slopes next to a flat tile with no bumpers
Fixed tiles for adjacent rotating spaces
Reworked some other tile data to be less broken sometimes
Slopes on layer 1 next to terrain on layer 2 don't sometimes have messed up edges anymore
Window maximized state and level image path are saved on exit
More menu/toolbar actions are enabled/disabled when appropriate
Current file name is displayed in titlebar
Removed several unused icons
Prevent main window being closed while file save is in progress
Fixed small memory leaks

Sorry about the larger download this time, I updated the build to Qt 5 at some point and didn't have the patience to build smaller binaries (it's a pain under Windows, believe me). Maybe next time.

September 15, 2013, 10:36:34 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Reuploaded with a missing Qt5 DLL intact. Sorry about that.
« Last Edit: September 15, 2013, 10:36:34 pm by Revenant »

ChronoMoogle

  • Sr. Member
  • ****
  • Posts: 358
  • Super Famicom all the way.
    • View Profile
    • SNESfreaks
Re: Kirby's Dream Course editor (version 1.00!)
« Reply #19 on: September 17, 2013, 04:20:10 am »
Thanks a lot for finishing the Dream Course Editor!
If you can still find the motivation, please don't forget about good ol' Special Tee Shot...  :woot!: