Basics
Len'en project is a japanese series made by JynX as a idependent project
As for, Len'en project use a japanese library called DXライブラリ, but now we gonna refer to it as DxLib
DxLib is a free programming library for programs, normally used in games, i been investigating it for my personal projects and this game for modding though
So that let us now at least how len'en project code would work, make it easier to how do it!
Aclarations
We gonna modified Len'en 4: Brillaint Pagoda or Haze Castle
Why? it have a more easier structure of generations and maps, what i mean by this? Len'en 4 is easier to understand how the generation works, i mean, the spawning of enemies, and stage models
Also, Understand and find the code of the danmaku bosses and enemies is quite... Imposible for my level, there no clue of where is storage, so what i think is, the danmaku is stored in the game program, but im not gonna decompiled the program so for the time i write this, we gonna just focus on the enemy generation and map generation
Game Archives
You can actually just go to the wiki of len'en and find the program, or install DxLib in your computer, either way you should have a program called DxArchive, it would let you decompiled and compile games data, you can just go to Len'en wiki to see the comands so heres the link
Len'en Wiki - Game Tools and modifications - DXArchiveMap Generation
Len'en project use Metasequoia models/files AKA .mqo (len'en use old storage of it, modern files are .mqoz, and also we saved with Ver2 for dont have problem with cambatibility with DxLib) for the stage generation, what i mean is, the program generate the model + 20-100? copies forward, idk if it already defined, i mean when it goes off screen teleport or deleted and spawn other for stage generation
We can easily see the models with Metsequoia program
Here are two images, one is a model loaded in metasequoia program, the other is a custom model loaded in the game