ROM Hack [WIP] The Fourth Dimension: A Super Mario 3D land level editor

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
The Fourth Dimension

The first Super Mario 3D land level editor


16abrdg.jpg


UPDATE: Version 0.9.2 out now !

Some screenshots:
ztgeu0.jpg

2mc8sj7.jpg

24niogj.jpg

30wtv28.jpg
Features:
-Level loading and object editing
-Rails viewing and editing
-Loading levels from szs,byml or xml
-Converting game models to obj
-Byml <-> xml converter
-Model importer

Things still to be done:
-Better 3D viewer
-other things (?)

What do you need ?
Windows Vista/7/8.1/10 and .Net Framework 4.5.2 (Sorry linux users, but this uses some WPF components for 3d rendering that mono can't run)
The unpacked romfs of the game
A way to run the custom levels (3ds with ntr cfw, hans or citra maybe)
Every file explorer

How to use the editor
Unpack the romfs of the game, then open the editor and select it, the editor will convert every model to obj (so they can be viewed), this will take a while.
Now open a level and you're ready to go !

Some tips
When you zoom in too much the camera may go crazy, zoom out to fix that.
Don't play with the "l_id" value of objects, if there is invalid data the game will crash.
Keep some backups of the level while editing, the editor may crash.
If there are 3D objects that are annoying in the 3D view(skyboxes, TransparentWalls, etc), delete their 3d model in the models folder or rename it, the object will be replaced in the editor with a small blue cube

Just published version 0.4 with a lot of new stuff, check the op.
I also made 2 custom stages that uses the camera settings and the AreaCtrlView, check them out to see how to use them in your levels.
Another thing i added is batch CCNT (CreatorClassNameTable) patching, this is useful since the file is copyrighted but it's needed for custom objects in levels, so with this new method (as you can see in my levels) the patcher will merge the CCNT already in the romfs/layered fs folder with an xml with the custom objects needed for the level, this not only solves the copyright issue but also makes possible use more mods from different sources at the same time.

Now that the program is ready, i want to see nice custom levels made by other users :D.
While i made those levels i wrote down some kind of documentation for some objects (mainly the one i used) you can find it here
And here you can find some collision codes for importing models

Thanks to @Gericom for every file explorer and it's DLLs
Thanks to @gdkchan for Ohana3DS

Download: Here
If you never used The4Dimension before i also wrote a guide on the basics of the editor to get you started: here

A custom level made by me:


Other videos:






@mustafag32g made a video where he explains the basics of the editor:

The old method to import models:
 
Last edited by exelix11,

CuriousTommy

Well-Known Member
Member
Joined
Jul 22, 2014
Messages
524
Trophies
0
Age
27
XP
647
Country
United States
I am really impressed with the potential that this programs.
Windows Vista/7/8.1/10 and .Net Framework 4.5.2 (Sorry Linux users, but this uses some WPF components for 3d rendering that mono can't run)
It sad though that this is restricted to Windows. Do you have plans in the future to make it, or at least attempt, cross platform?

If not, then I can at least enjoy the creative minds of others people's work.
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
I am really impressed with the potential that this programs.

It sad though that this is restricted to Windows. Do you have plans in the future to make it, or at least attempt, cross platform?

If not, then I can at least enjoy the creative minds of others people's work.
Remember that this is made in C# so it requires .net framework and can't be cross platform, the only way to run it is mono.
For now it can't work because for 3d rendering i'm using a WPF component, which was the fastest way to get 3d view work. Since i don't like too much this component, maybe in the future i might decide to change it with a better component that mono can run, but not for now.

*facepalm* thats a model import over a character which is a tottaly different file then the models for the levels. Plus you have to consider how would you make collisions?

Model import from obj works, but the collision format is yet to be understood, for now the only true model IMPORT is that water box i shown in this video but that doesn't have collisions yet, it uses a water zone so it works in game (3:30 in the video)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
  • BakerMan @ BakerMan:
    wokey d pronouns when woku walks in

    "CALL ME THEY SLASH THEEEEEEEEEEEEEEEEEEEEEEEEEEM"
    AncientBoi @ AncientBoi: :O