[WIP] Ohana3DS tool

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by gdkchan, Jul 11, 2015.

  1. Countrum

    Countrum Member

    Newcomer
    1
    Aug 29, 2016
    United States
    I'll try to compile it and I'll certainly let you know how if I can get it to work.
     
  2. Xandrid

    Xandrid GBAtemp Maniac

    Member
    8
    GBAtemp Patron
    Xandrid is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Mar 27, 2016
    Nigeria
    Question: How do I even start? Like how do I rip the files from the game?
     
  3. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    6
    Aug 22, 2015
    United States
    Hell
    Use this as a starting point. Most of this is probably outdated rn, but it is great for getting files. You can use decrypt9 dumped cias, or normal decrypted cias in this instead of 3ds files. https://gbatemp.net/threads/tutoria...d-3ds-roms-run-xy-oras-without-update.383055/

    Use the post below me, it has better links
     
    Last edited by ih8ih8sn0w, Aug 31, 2016
  4. SolMeiLei

    SolMeiLei Advanced Member

    Newcomer
    1
    Jul 8, 2016
    Canada
  5. Countrum

    Countrum Member

    Newcomer
    1
    Aug 29, 2016
    United States
    Okay wow, I have no idea how to compile this. I'm not familiar with this language at all. I wish the creator was a little more verbose about compiling it.
     
  6. Batrimimina!

    Batrimimina! GBAtemp Regular

    Member
    3
    Sep 17, 2015
    with Ohana i exported the files to .SMD, what do I do after for the textures in order for them to show up in the ROM?
     
  7. blujay

    blujay GBATemp's Official Warthog

    Member
    11
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 2, 2015
    United States
    Gilbert, Arizona
    For a project that I am working on, I need to know if there is a way to pass arguments directly to the application through the command line. If not that is Ok.

    @gdkchan
    or anyone else
     
  8. Swiftloke

    Swiftloke Hwaaaa!

    Member
    8
    Jan 26, 2015
    United States
    Nowhere
    Hi.
    I'm messing around with Smash's texture files right now, and I'm having issues with Ohana3DS.
    Whenever I open *any* BCH or MBN file, I'm given the following error:
    Error
    Am I doing something wrong? Missing a dependency maybe? I'm given the same error with multiple downloads and even the original Ohana3DS, so that's not the issue.
    Thanks in advance! :yay3ds:
     
  9. Omegablu

    Omegablu We shall not yield to the Kingdom of Nohr!

    Member
    6
    Mar 10, 2016
    United States
    Ice Tribe Village
    Go to the Smash modding guide thread and read the op. That should set you in the right direction. I know that with old Ohana you get an error even if it does work. Also, Rebirth will not work for reinserting textures as it lacks code to properly compress the new textures.
     
  10. gdkchan
    OP

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    Unfortunately the only argument you can pass through command line is the path to one of the supported file formats, and it will try to open it normally.
     
    ih8ih8sn0w likes this.
  11. blujay

    blujay GBATemp's Official Warthog

    Member
    11
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Ok, thank you.
     
  12. nobody231

    nobody231 GBATemp's Resident Nobody

    Member
    2
    Dec 8, 2014
    United States
    Nowhere, USA
    Sorry if this isn't the place to ask for compiling help, but I had an issue trying to compile the latest build of Ohana3DS today. I'm using Visual Studio 2013 to try to compile the program. I received the following errors while trying to compile:
    [​IMG]
    I don't know what causes these errors. Am I missing some libraries for compiling? Some help would be appreciated.
     
  13. ih8ih8sn0w

    ih8ih8sn0w Koreaboo

    Member
    6
    Aug 22, 2015
    United States
    Hell
    It works in vs 2015
     
  14. gdkchan
    OP

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    Should be fixed on lastest commit.
     
    ih8ih8sn0w and Manito like this.
  15. Demonslayerx8

    Demonslayerx8 GBAtemp Regular

    Member
    2
    Mar 17, 2011
    United States
    Hope your aware that there's still a few more model files that just displays "unknown format not supported", right?

    header starts with BG

    edit:
    dunno if ur gonna add support for SPBD3.. seems to have some kind of material in there?

    edit2:
    ok u do have BG supported lmao... exported files arnt tho, do seem to be city/route models tho but wont open
     
    Last edited by Demonslayerx8, Oct 20, 2016
  16. gdkchan
    OP

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    which file contains the map models? I only remember seeing textures inside those BG files.
     
  17. Demonslayerx8

    Demonslayerx8 GBAtemp Regular

    Member
    2
    Mar 17, 2011
    United States
    mostly the file_00000 in those BG files

    location:
    \a\0\8\5_


    i still cant find the pokemon models tho.. any clue where they're at?

    edit:
    pc files in a\0\8\6_ wont open with latest commit (20mins ago)
    ************** Exception Text **************
    System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data) in C:\Users\wolfs\Desktop\Smash 3DS Pack\Ohana\Ohana3DS Rebirth\Ohana\FileIO.cs:line 142
    at Ohana3DS_Rebirth.Ohana.Models.PocketMonsters.PC.load(Stream data) in C:\Users\wolfs\Desktop\Smash 3DS Pack\Ohana\Ohana3DS Rebirth\Ohana\Models\PocketMonsters\PC.cs:line 22
    at Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data) in C:\Users\wolfs\Desktop\Smash 3DS Pack\Ohana\Ohana3DS Rebirth\Ohana\FileIO.cs:line 138
    at Ohana3DS_Rebirth.Ohana.FileIO.load(String fileName) in C:\Users\wolfs\Desktop\Smash 3DS Pack\Ohana\Ohana3DS Rebirth\Ohana\FileIO.cs:line 46
    at Ohana3DS_Rebirth.FrmMain.open(String fileName) in C:\Users\wolfs\Desktop\Smash 3DS Pack\Ohana\Ohana3DS Rebirth\FrmMain.cs:line 84
     

    Attached Files:

    Last edited by Demonslayerx8, Oct 20, 2016
  18. gdkchan
    OP

    gdkchan GBAtemp Regular

    Member
    4
    Jul 8, 2015
    Brazil
    The map model is fine (open when exported), its just that the coordinate values are too high and it somehow bugs the viewer due to this. It probably have a scale value somewhere, I'll take a look. Also the PC files you mentioned doesnt open cause they are animations not models. About where the Pokes are located its on a\0\9\3 iirc.
     
  19. Demonslayerx8

    Demonslayerx8 GBAtemp Regular

    Member
    2
    Mar 17, 2011
    United States
    ooohh ok thanks xD
     
  20. Omegablu

    Omegablu We shall not yield to the Kingdom of Nohr!

    Member
    6
    Mar 10, 2016
    United States
    Ice Tribe Village
    @gdkchan does commit e4fda20 fix imports and exports of models with skeletons/bones with Smash 3ds files?
     
Quick Reply
Draft saved Draft deleted
Loading...