Daiyousei version 0.4.0
Lvlbuild version -9999.0.0
The screenshots aren’t really the most relevant in the world but they were in fact built using the tools I’ve posted here, so I mean, feast your eyes I guess.
Daiyousei v0.4.0 is an update to Daiyousei. It contains some minor bugfixes, a fix to an SA-1 bug where it would use only 20 sprites instead of the apparently proper 22, and a major, optional change that allows it to support large levels.
Lvlbuild is an absolute mess of Python scripts and Asar patches that I have been working on to support large levels.
The large levels are 32 x 32 screens in area, of which 128 may be distinct. This allows the construction of extremely large levels, with the caveat that they be surrounded by screens full of air or dirt or whatever.
Backgrounds are also 32 x 32 screens, but count against your distinct screen limit. In practice this means you will have a repeating background and ~124 screens for the foreground.
Levels are made using Tiled (which you can get at http://www.mapeditor.org/), and inserted using a kind of complicated process.
Doing this requires the use of the entirety of bank $7f as level data, and by extension breaks almost everything else in the world. Right now lvlbuild is insanely hard to use, but may be worth goofing around with if you know ASM. In order to make it usable at all, I would basically have to make a Lunar Magic replacement, which I am kinda-sorta working on.
Additionally I’m working on a lot of stuff for the overworld, like that layer 3 cloud shadow in the first screenshot, but it barely works at all.
If you want, you can check out this video (which is somewhat old) of me goofing in such a large level.
There is currently no way to restrict the camera, so every level has to be 32 x 32 screens.
No custom blocks yet.
Obviously no Lunar Magic.
The patch MASSIVELY breaks the overworld and doesn’t really give you any way to change it much.
The patch breaks every single level in the game until you replace them.
If you want to use AddMusicK, you have to change asm/SNES/patch.asm line 37 to the following:
!FreeRAM = $7ef3f0
If you want to use Daiyousei, you have to add the following to patch/options.asm:
!opt_largeLevels = 1
You can’t not use Daiyousei.
No SA-1 support. Or FastROM really.
ExGFX support is currently really awkward; you have to edit the patch manually to add new files.
I’m pretty sure there’s a freespace leak but I haven’t set it off in a little while so maybe I fixed it.
Palettes only work as .bin files which are kinda hard to make usually
I haven’t actually tested anything without my custom status bar in ages so it might actually be neceessary for something else to work. as such, I have included it, check out extras/status.asm
inserting a level
First of all, apply the patch, i.e.
asar patch.asm romname.sfc
Then run Daiyousei
daiyousei romname.sfc sprites.txt
you need to do these for anything to work, at all.
The easiest way to do this is using the included batch file, l.bat, like this:
It will look for "tiledstuff/105.tmx", "tiledstuff/lvl105.ini", and run lvlbuild and lvlrle to make a patch, which it will put in "lvldat/105.xxx". Then it will use Asar to apply the patch to a rom named ROMNAME.sfc (unless you edit the bat). You need to have Asar in the same folder / in your PATH for this.
You can edit lvlXXX.ini to change settings like its tileset, music track, and the file it gets its palette from.
I recommend looking at the levels I threw in with lvlbuild to get a feel for how things work.
stuff you might be able to do if you’re hardcore
There is support for using layer 3 as an interactive layer instead of layer 2, which is why the ASM refers to "Layer S" (i.e. usually layer 2, the second layer) and "Layer T" (i.e. usually layer 3, the third layer).
The patch includes some hijacks you can use for custom status bars, the need for which is increased by stuff like the above
If you update an update an offscreen part of the screendex, you can rearrange a level’s screens while it’s being played. You could do that to have like a big event trigger in your level, or you could go REAL wild and do something like generate a maze while the player goes through it.
You’ll probably only have use for lvlbuild if you’re like super pro at ASM & such. Hopefully I’ll have it be more useful soon but thats the facts right now
Daiyousei is Daiyousei. It’s still a spritetool replacement. You can probably use it if you like to write sprites.
As part of including a bunch of sample levels, this release also includes a bunch of ExGfx. go crazy
yes i know about NGHE. i used it to find some good hijacks but i don’t think i used anything else.
I was really hoping to have this all worked out better by now tbh