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

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by exelix11, Apr 24, 2016.

  1. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    554
    391
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    The Fourth Dimension

    The first Super Mario 3D land level editor


    [​IMG]

    UPDATE: Version 0.9.2 out now !

    Warning: Spoilers inside!
    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

    About the CreatorClassNameTable patching

    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:
    Warning: Spoilers inside!
     
    Last edited by exelix11, May 22, 2017
  2. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,742
    1,240
    Oct 8, 2015
    Italy
    Hyrule Castle
    nice!
     
  3. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    554
    391
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    That was fast
     
  4. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,742
    1,240
    Oct 8, 2015
    Italy
    Hyrule Castle
    i STALK
     
    exelix11 likes this.
  5. JustAKirby

    JustAKirby GBAtemp Fan

    Member
    388
    236
    Oct 7, 2015
    United States
    Wouldn't you like to know?
    Maybe that Super Mario 3d World project can be revived. :P
     
  6. FTRBND

    FTRBND waifu

    Member
    555
    265
    Apr 3, 2016
    Saint Kitts and Nevis
    _____________ Dex: Complete
    Sickk, gotta follow this up close
     
  7. kprovost7314

    kprovost7314 GBAtemp's Official Bara Master

    Member
    1,726
    942
    Dec 24, 2014
    United States
    In that bara manga ( ͡° ͜ʖ ͡°)
    I wish my laptop battery held more charge, I WOULD BE ALL OVER THIS!
     
    Ricken likes this.
  8. Dev5359

    Dev5359 Advanced Member

    Newcomer
    65
    24
    Apr 3, 2016
    United States
    I can't wait till this is capable of importing custom models. Super Mario 64 levels, anyone?
     
    BORTZ likes this.
  9. Shining Greninja

    Shining Greninja GBAtemp Regular

    Member
    271
    124
    Feb 9, 2015
    United States
    In the shadows
    No, SUPER MARIO SUNSHINE!!!!!
     
    [^Blark^] likes this.
  10. Dev5359

    Dev5359 Advanced Member

    Newcomer
    65
    24
    Apr 3, 2016
    United States
    SMS levels require Fludd. Lol. Impossible, bro
     
  11. Shining Greninja

    Shining Greninja GBAtemp Regular

    Member
    271
    124
    Feb 9, 2015
    United States
    In the shadows
    Anything is possible with moonjump
     
    I pwned U! likes this.
  12. CuriousTommy

    CuriousTommy GBAtemp Fan

    Member
    428
    117
    Jul 22, 2014
    United States
    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.
     
  13. Pink Gold Peach

    Pink Gold Peach Random Person

    Member
    335
    94
    Jan 30, 2015
    United States
    Just got in contact with Luigi. The revival is in progress.
     
  14. JustAKirby

    JustAKirby GBAtemp Fan

    Member
    388
    236
    Oct 7, 2015
    United States
    Wouldn't you like to know?
    Sweet! Hopefully I can still be a beta tester
     
  15. Pink Gold Peach

    Pink Gold Peach Random Person

    Member
    335
    94
    Jan 30, 2015
    United States
    If you have a 3DS that can run it, Sure. :P
     
    JustAKirby likes this.
  16. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,720
    Aug 20, 2015
    Dont get ahead of yourself, There doesn't seem to be 3D Model importing yet.
     
  17. 8BitWonder

    8BitWonder Small Homebrew Dev

    Member
    882
    681
    Jan 23, 2016
    United States
    47 4F 54 20 45 45 4D
    Wow, great work on this! Will definitly try it out in the near future. :)
     
  18. Pink Gold Peach

    Pink Gold Peach Random Person

    Member
    335
    94
    Jan 30, 2015
    United States
  19. ElyosOfTheAbyss

    ElyosOfTheAbyss GBAtemp Addict

    Member
    2,214
    1,720
    Aug 20, 2015
  20. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    554
    391
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    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.

    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)