Posted on 08-13-16, 10:25 pm (rev. 3 by Aurum on 08-13-16, 10:46 pm)

Super Koopa
Careful with that axe, Eugene!


Posts: 351/854
Since: 10-08-14

Last post: 51 days
Last view: 6 hours
Adding completely new levels will update the format of your savegame file, meaning that some savegame data gets removed!

In this tutorial, I'll explain to you how to add completely new levels to the game, without replacing any existing ones! First of all, make sure you have Gericom's EveryFileExplorer as well as exelix11's level editor for 3D Land (The Fourth Dimension).

Extract the file CourseList.byml from the GameSystemDataTable archive which can be found in the ObjectData folder. After that, go to The Fourth Dimension and select File>Byml Converter>Byml to Xml. Search your extracted CourseList.byml file and select it.
You just converted it to a XML file.

World map

Open the XML file with a text editor and go to the world you want to edit. Add something like this:
<C1> <A0 Name="Miniature" StringValue="MiniatureTeresaHouse" /> <D1 Name="Scenario" StringValue="1" /> <A0 Name="Stage" StringValue="TeresaExteriorStage" /> <A0 Name="Type" StringValue="Normal" /> </C1>
This would create a new slot which uses the miniature model MiniatureTeresaHouse and links to the first version (scenario) of the level TeresaExteriorStage. Here's a list of all possible stage types:
Empty Normal Championship KoopaBattleShip KoopaFortress KoopaCastle KinopioHousePresent KinopioHouseAlbum MysteryBox Dokan
If the level requires a certain amount of star medals, then you can add this:
<D1 Name="CollectCoinNum" StringValue="80" />

After you're done, save the XML file and convert it to a Byml file again. Replace the previous CourseSelect.byml in the GameSystemDataTable.szs with yours.

Background music

Although not required, you can add music to your level by editing StageDefaultBgmList.xml in BgmParam.szs which can be found in the SoundData folder.
When editing the converted XML file, add something like this:
<C1> <A0 Name="BgmLabel" StringValue="STM_BGM_GHOST" /> <D1 Name="Scenario" StringValue="1" /> <A0 Name="StageName" StringValue="TeresaExteriorStage" /> </C1>
Save your changes, convert it to a Byml file and replace the file in BgmParam.szs. Profit.
_________________________
[22:47:32] Tahcryon: Sad to hear that you won’t be shitting out SMG levels, Aurum
[22:47:42] Aurum: shitting out smg levels
[22:47:47] Aurum: I really wish it would be like this
[22:47:57] Aurum: it would make things so much easier
Posted on 08-14-16, 11:24 am
Normal user


Posts: 14/107
Since: 07-02-16

Last post: 94 days
Last view: 22 days
Nice tutorial, but the game just crashes, when loading! Maybe the worldmap's maximum levelpoints are 7 ?
Posted on 08-14-16, 11:29 am

Super Koopa
Careful with that axe, Eugene!


Posts: 357/854
Since: 10-08-14

Last post: 51 days
Last view: 6 hours
Hmm, that's something I don't know. When I tried this out, I edited World 1, because it doesn't have as much levels as other worlds.
_________________________
[22:47:32] Tahcryon: Sad to hear that you won’t be shitting out SMG levels, Aurum
[22:47:42] Aurum: shitting out smg levels
[22:47:47] Aurum: I really wish it would be like this
[22:47:57] Aurum: it would make things so much easier
Posted on 08-14-16, 03:47 pm
Normal user

Posts: 10/46
Since: 08-08-16

Last post: 146 days
Last view: 1 day
Did you try it out SunakazeKun did it work ? :-D

Nice findings! I love these infos