ROM Hack [WIP] Ohana3DS tool

  • Thread starter Thread starter gdkchan
  • Start date Start date
  • Views Views 348,390
  • Replies Replies 856
  • Likes Likes 40
Its not that him or I don't want editing options in these programs. We want to export to all kinds of 3D formats but theres a lot of complications. For instance, GFModel and BCH store their data very differently and I think BCH has things that GFModel doesnt and visa versa. Also like if i were to import SMD and export as GFModel or BCH, that might not work well because SMD doesnt support anims among other things. That being said, the only reasonable converting tool we could implement would be texture swapper. Also, the reason both Ohanas were dropped was because they code got too messy and cumbersome from these kinds of features, so a rewrite was in order.
If I understand this right, you're saying that both ohana 3ds and ohana 3ds are dropped, so what would you recommend in their place?
 
  • Like
Reactions: CuriousTommy
Its not that him or I don't want editing options in these programs. We want to export to all kinds of 3D formats but theres a lot of complications. For instance, GFModel and BCH store their data very differently and I think BCH has things that GFModel doesnt and visa versa. Also like if i were to import SMD and export as GFModel or BCH, that might not work well because SMD doesnt support anims among other things. That being said, the only reasonable converting tool we could implement would be texture swapper. Also, the reason both Ohanas were dropped was because they code got too messy and cumbersome from these kinds of features, so a rewrite was in order.
Oh yeah I didn't mean to imply it was an easy thing to do or anything; especially with the Ohana source mess I was just trying to explain in gist why the program won't do what seemingly everyone wants out-of-box so to speak. Thank you for the technical explanation of why it's not exactly feasible with ease. :D
 
It's more than likely the compression method. Archives with the same extension aren't always compressed the same way. As such, they all can't be opened the same way.
Hey! same files work in ohana but in spica only one animation works..."unable to read beyond the end of the stream" i get this mesage when i want to merge relax animation. I let the archive here if you can take a look. Thanks!
 

Attachments

For USUM whenever i open any files i got an Exception Error.. help?

System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Ohana3DS_Rebirth.Ohana.RenderEngine.initialize(IntPtr handle, Int32 width, Int32 height)
at Ohana3DS_Rebirth.GUI.OViewportPanel.launch(Object data) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\GUI\Panels\OViewportPanel.cs:line 45
at Ohana3DS_Rebirth.FrmMain.open(String fileName) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\FrmMain.cs:line 102
at Ohana3DS_Rebirth.FrmMain.MenuOpen_Click(Object sender, EventArgs e) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\FrmMain.cs:line 136
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ohana3DS Rebirth
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/XXXX/Desktop/Tools/Texture%20stuff/Sun-Moon%20Ohana3ds/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8827 (WinRelRS3.050727-8800)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.8833 built by: WinRelRS3
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/Users/XXXX/Desktop/Tools/Texture%20stuff/Sun-Moon%20Ohana3ds/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/Users/XXXX/Desktop/Tools/Texture%20stuff/Sun-Moon%20Ohana3ds/Microsoft.DirectX.Direct3D.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

EDIT: The problem is fixed now feel free to ignore it
 
Last edited by Ishtiaq1234,
Thank you for this wonderful utility. I'm a 3d printing hobbyist, and I needed to export some models for a print I wanted to do. This hit the nail on the head.
 
I get this error everytime I try lo load an USUM model (only models, not textures)

************** Texto de la excepción **************
System.IO.EndOfStreamException: No se puede leer más allá del final de la secuencia.
en System.IO.__Error.EndOfFile()
en System.IO.BinaryReader.FillBuffer(Int32 numBytes)
en System.IO.BinaryReader.ReadUInt32()
en Ohana3DS_Rebirth.Ohana.Models.BCH.peek(BinaryReader input)
en Ohana3DS_Rebirth.Ohana.Models.BCH.load(MemoryStream data)
en Ohana3DS_Rebirth.Ohana.Models.PocketMonsters.PC.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(String fileName)
en Ohana3DS_Rebirth.FrmMain.open(String fileName)
en Ohana3DS_Rebirth.FrmMain.MenuOpen_Click(Object sender, EventArgs e)
en System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
en System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
en System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
en System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
en System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
en System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
en System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
en System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
en System.Windows.Forms.ToolStrip.WndProc(Message& m)
en System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ohana3DS Rebirth
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///C:/Users/asus/Desktop/modding/Sun-Moon%20Ohana3ds/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8827 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.
 
I get this error everytime I try lo load an USUM model (only models, not textures)

************** Texto de la excepción **************
System.IO.EndOfStreamException: No se puede leer más allá del final de la secuencia.
en System.IO.__Error.EndOfFile()
en System.IO.BinaryReader.FillBuffer(Int32 numBytes)
en System.IO.BinaryReader.ReadUInt32()
en Ohana3DS_Rebirth.Ohana.Models.BCH.peek(BinaryReader input)
en Ohana3DS_Rebirth.Ohana.Models.BCH.load(MemoryStream data)
en Ohana3DS_Rebirth.Ohana.Models.PocketMonsters.PC.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(Stream data)
en Ohana3DS_Rebirth.Ohana.FileIO.load(String fileName)
en Ohana3DS_Rebirth.FrmMain.open(String fileName)
en Ohana3DS_Rebirth.FrmMain.MenuOpen_Click(Object sender, EventArgs e)
en System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
en System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
en System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
en System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
en System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
en System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
en System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
en System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ScrollableControl.WndProc(Message& m)
en System.Windows.Forms.ToolStrip.WndProc(Message& m)
en System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ohana3DS Rebirth
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///C:/Users/asus/Desktop/modding/Sun-Moon%20Ohana3ds/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8827 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.8825 (WinRelRS3.050727-8800)
Código base: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.
Ohana isn't being developed any more, use SPICA
 
Ohana isn't being developed any more, use SPICA

The thing is I don't really know how to use spica, since I didn't find any tutorials nor any way to open the .bin files I stracted with pk3ds in order to mod pokemon USUM, and everytime I try to open .bin files it says "unsuported file format"
 
The thing is I don't really know how to use spica, since I didn't find any tutorials nor any way to open the .bin files I stracted with pk3ds in order to mod pokemon USUM, and everytime I try to open .bin files it says "unsuported file format"
That means that file isn't a model or texture file. You just drag them win there, try file 002.bin in a/2/0/0
 
Ohh, 0/9/4, it's a GIANT file. around 1.5 gb iirc

That files are the ones I can't open. I have modded LOTS of textures of pokemons with ohana, but I can't open textures or models of that file with spica

For example, I try the 00000.bin, which is the bulbasaur model, and it says that isn't supported, I try 00002.bin, which is the shiny bulbasaur texture, and the same error shows up

(btw, is exactly 1.24GB in USUM)
 
That files are the ones I can't open. I have modded LOTS of textures of pokemons with ohana, but I can't open textures or models of that file with spica

For example, I try the 00000.bin, which is the bulbasaur model, and it says that isn't supported, I try 00002.bin, which is the shiny bulbasaur texture, and the same error shows up

(btw, is exactly 1.24GB in USUM)
Uhhh, 0000.bin is empty, dec_0001.bin is bulbasaur, dec_0002.bin is bulbasaur's texture, and to be sure, you're using ohana3ds rebirth, not ohana 3ds, correct?
 
upload_2018-5-4_17-19-39.png
The model looks perfectly fine in the program, but in Blender, this is what it looks like. Is there an export setting I overlooked?
 

Site & Scene News

Popular threads in this forum