WIP Super Mario Odyssey level editor

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by exelix11, May 17, 2018.

  1. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    not yet, I'm working on it i hope to make it possible by the next release
     
  2. RetroDarioGaming

    RetroDarioGaming Advanced Member

    Newcomer
    2
    Feb 18, 2018
    Germany
    That would be great :D
     
  3. Yoshimaster96

    Yoshimaster96 Advanced Member

    Newcomer
    2
    Jul 16, 2014
    United States
    For performance, I might suggest a .NET 3D library that can access the GPU, such as SharpGL or OpenTK (WPF 3D can do this, but not very well IIRC).
    Regarding the above, try to stay away from unnecessarily high system requirements, such as requiring OpenGL 4.6 for a program that only uses basic diffuse shading like yours.
    Also, consider using WinForms instead of WPF, as it's cross-platform and can run on Mac and Linux using Mono (SharpGL and OpenTK can both work on WinForms).
    Lastly, I might suggest documenting the EditorCore a bit, because it seems it'd be useful for modding 3D games in general, and it would make it easier to use for other games.

    Other than that, the editor looks promising! Keep up the good work!
     
  4. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    I've tried using OpenTK but that's very low level, like you have to implement your own camera, shader and rendering code. Tbh it was a lot of stuff to and i wanted something plug-and-play to get working on the editor and without spending too much time on the 3d viewer. The wpf lib i'm using handles all by itself i just need to load the models, I know no multiplatform but there is no easy to use 3D lib for winforms.
    That said, anyone is free to contribute, the renderer is a separate project and a native implementation would be nice.
    EditorCore is not ready yet, i'll make a guide for making extensions before releasing it.
     
    Last edited by exelix11, Jul 24, 2018
  5. mustafag32g

    mustafag32g GBAtemp Advanced Fan

    Member
    6
    Jul 30, 2014
    Argentina
    how far with the custom model importer?
     
  6. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    I'm having troubles getting kcl to work, maybe it won't make it into next release
     
  7. KillzXGaming

    KillzXGaming GBAtemp Advanced Maniac

    Member
    7
    Jan 2, 2016
    United States
    Is there something wrong with the KCL library? I've had them work perfectly fine so far and if they get loaded like bfres and with the same transformations/positions from byml they should be fine.
     
  8. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    kcl to obj works, but obj to kcl doesn't. I've also tried to implement my own converter and it's sorta working but not good enough for custom levels.
     
    Last edited by exelix11, Aug 13, 2018
  9. KillzXGaming

    KillzXGaming GBAtemp Advanced Maniac

    Member
    7
    Jan 2, 2016
    United States
    Oh i see. The library doesn't rebuild them properly. Mainly octrees which I believe cause the game to crash. There is a build used by mk8 with EveryFileExplorer which had proper KCL saving with proper octree calculation, just needs it's endianness changed to little to work with switch games. Should be pretty useful.
     
  10. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Used that as my base just changing endianness didn't work,I've implemented the global octree thing now the central part of the model works while the rest is glitchy.
     
  11. mustafag32g

    mustafag32g GBAtemp Advanced Fan

    Member
    6
    Jul 30, 2014
    Argentina
    is it possible to import models?

     
  12. Sinon

    Sinon "AutumnWolf!"

    Member
    8
    Sep 15, 2015
    Costa Rica
    The textures look very low quality
     
  13. KillzXGaming

    KillzXGaming GBAtemp Advanced Maniac

    Member
    7
    Jan 2, 2016
    United States
    It's just a POC. It'll be awhile till actual stage imports will be done since there still needs to be alot more work with the tools, and rebuilding for the formats.
     
  14. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    mustafag32g likes this.
  15. Alpha_GX

    Alpha_GX Member

    Newcomer
    2
    Dec 11, 2016
    France
    It's not that much related but have anyone a good tutorial on making mp4 work in SMO ?
     
  16. yasir
    This message by yasir has been removed from public view by Joe88, Nov 4, 2018, Reason: This is not the thread to ask this, please create a new thread.
    Nov 4, 2018
  17. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    I'm still working on this project, but unfortunately ensuring stable releases takes too much time so i've decided to release alpha and beta versions with every commit that includes significant enough changes, i'll be uploading them here: https://mega.nz/#F!MRhBgYTS!M7N6JrWVkH-3pmpmyAgHxg
    These builds don't update automatically so you'll have to periodically check for new releases.
     
    8BitWonder and epickid37 like this.
  18. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    mustafag32g and 8BitWonder like this.
  19. mustafag32g

    mustafag32g GBAtemp Advanced Fan

    Member
    6
    Jul 30, 2014
    Argentina
    make a tutorial on youtube ?
     
  20. exelix11
    OP

    exelix11 GBAtemp Advanced Fan

    Member
    7
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Not yet, as I said the process is not very user friendly. But if you want to try you're welcome ¯\_(ツ)_/¯
     
  21. TWilliamson

    TWilliamson Member

    Newcomer
    1
    Jan 1, 2019
    United Kingdom
    Figured out how to extract the game's files and had a go at using this editor. This is really impressive and it didn't take long to make a basic level. Do you have any plans to improve the camera/object movement in the near future? I found that I had to realign the camera using the cube in the bottom right before I could drag an object perfectly along an axis (please correct me if I am missing an already implemented function). But I'm totally aware that you have stated this is not user-friendly, was just curious :)
     
Loading...