ROM Hack [WIP] Ohana3DS tool

telespentry

Member
Newcomer
Joined
Mar 2, 2016
Messages
16
Trophies
0
Age
22
XP
62
Country
United States
I'm wondering how smash 4 models use vertex colors. They show up fine in ohana3ds but I can't seem to figure out how they mix with the texture. Do they use vertex alpha also? And if so, is there a way to export that? If there isn't, would it be possible to add a feature to render those to png files?
 
Last edited by telespentry,
  • Like
Reactions: Lilothestitch

Demonslayerx8

Well-Known Member
Member
Joined
Mar 17, 2011
Messages
156
Trophies
0
XP
155
Country
United States
smash3ds model uses vertex alpha, but sadly importing them to 3ds max directly loses the vertex alpha's, but importing the dae's into noesis and export as a FBX saves the vertex alpha's, but it loses multi UV layers for objects that uses multiple uv layers.
 
  • Like
Reactions: Lilothestitch

Momotaro26

Member
Newcomer
Joined
Feb 2, 2016
Messages
13
Trophies
0
Age
32
XP
58
Country
Um, how can i see the pokemon models and their animations? can only go as far as opening the model and texture :c help?
 

MonstercatMedia

New Member
Newbie
Joined
Apr 6, 2016
Messages
1
Trophies
0
Age
29
XP
51
Country

Thelostrune

Well-Known Member
Member
Joined
Aug 13, 2015
Messages
553
Trophies
0
Age
26
XP
309
Country
Norway
Unpack it with pk3DS to get the individual bch's.
I've heard people have problems with pk3DS, which you can see in the Ohana3DS thread at Project Pokemon.
The thing with .ad files is that they contain textures only, but I'll see.
I'll try this later, anyway. Thanks.

Got it working, thank you very much.
I'm ready for some fine ass overworld overhauls.
Though, it didn't seem to replace everything I changed. I'll look into that.
46861635c6.jpg
 
Last edited by Thelostrune,
  • Like
Reactions: Lilothestitch

Momotaro26

Member
Newcomer
Joined
Feb 2, 2016
Messages
13
Trophies
0
Age
32
XP
58
Country
Uh, for some reason Ohana3ds stops responding after 2-3 minutes? It's weird cuz it was working just fine a few months ago
 

Mr.Walter

New Member
Newbie
Joined
Apr 9, 2016
Messages
1
Trophies
0
Age
27
XP
51
Country
United States
Hi there all i have a question, so I ripped and extracted the files of Castlevania Mirror of Fate HD for the PC and all texture and models are the same as the 3DS version, but I can not get them too open in Ohana3DS my natural assumption is the bcmdl files happen too be the same extension, but not the 3DS version, I even checked in HxD too the 4 bytes to be removed and they are not there, if any body would like i can send them or post some of the files so you can see whats up.
 

Dgrin

Well-Known Member
Member
Joined
Apr 17, 2011
Messages
280
Trophies
1
XP
427
Country
Greece
Thank you for this amazing tool! BTW here are some of the problems that occur with the 「NEWラブプラス+」/「NEWLOVEPLUS+」MDL.XML files If you ever intend to work on the tool again and might want to correct these:
the 'face_02' eyebrow/hairline textures don't show up in the main models,
also the 'light' and 'uru' eye bubbles don't show up, but it's probably for the best
since they appear in a "negative" visual state to accommodate their animation:
liil.png

The 'facebace00' facial textures don't show up in the tiny models:
lkjlk.png
 
Last edited by Dgrin,

CHICAGO-lollie

Active Member
Newcomer
Joined
Aug 18, 2015
Messages
29
Trophies
0
XP
108
Country
Hello gdkchan,

Your program looks great and I was really excited to use it, but every time I try to open any of the supported files I get this error:
************** Exception Text **************
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.OViewportWindow.initialize(RenderEngine renderEngine)
at Ohana3DS_Rebirth.FrmMain.launchModel(OModelGroup model, String name)
at Ohana3DS_Rebirth.FrmMain.open(Stream data, String name)
at Ohana3DS_Rebirth.FrmMain.open(String fileName)
at Ohana3DS_Rebirth.FrmMain.mnuOpen_Click(Object sender, EventArgs e)
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.5485 (Win7SP1GDR.050727-5400)
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:/o3ds_14_11_2015_%232/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
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.5485 (Win7SP1GDR.050727-5400)
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.5492 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.5420 built by: Win7SP1
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:/o3ds_14_11_2015_%232/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/o3ds_14_11_2015_%232/Microsoft.DirectX.Direct3D.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
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.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.VisualC
Assembly Version: 8.0.0.0
Win32 Version: 8.00.50727.4927
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------
I have tried opening models in .lz format from Fire Emblem Awakening, .bch format from Kirby Triple Deluxe and Yoshi's New Island, .bcres format from Animal Crossing: New Leaf and Kid Icarus: Uprising, .cx format from Pokemon Rumble Blast, .cmp format from Kirby: Triple Deluxe, and .ZTEX format from Fantasy Life. All of them have given me the same error, leading me to believe I have installed the program incorrectly. Could I be missing some .dll's? I am using a 64-bit system, but I have no idea how that might cause a problem or how to install the program differently. Thanks for any help you can provide.

-Melvin
I currently have this exact same issue. I've made sure the included DirectX DLLs have been unblocked, but no luck. I'm currently running Windows 10 (64-bit), trying to load .bch.szs (decompressed) from Badge Arcade. Seems even the crash log is the same (except with some extra text about JIT debugging).
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
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)
at Ohana3DS_Rebirth.FrmMain.open(String fileName)
at Ohana3DS_Rebirth.FrmMain.MenuOpen_Click(Object sender, EventArgs e)
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.8689 (QFE.050727-8600)
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:///H:/3DS/Ohana3DS%20Rebirth/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8670 (QFE.050727-8600)
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.8686 (QFE.050727-8600)
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.8681 (QFE.050727-8600)
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.8670 (QFE.050727-8600)
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.8679 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8670 (QFE.050727-8600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.8693 built by: QFE
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:///H:/3DS/Ohana3DS%20Rebirth/Microsoft.DirectX.DLL
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///H:/3DS/Ohana3DS%20Rebirth/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: Nevermind, problem solved! Although Windows 10 does come with the latest version of DirectX, it still requires the DirectX 9.0c runtime installed in order for Ohana3DS to work.

I'm really digging what this tool allows (thank you!!), especially with the material animations. But I'm noticing that the Salesman model from Badge Arcade seems to be missing some transforms in the animations? Most of the animations work perfectly, but there's a few that require some very drastic transformations. This is one example that doesn't work.

160416-FixItInPost.png


I actually have a feeling that it might be controlled by the game and not the animation itself, but I figured I should mention it just in case. I can provide the model if that'd help.
 
Last edited by CHICAGO-lollie,

gdkchan

Well-Known Member
OP
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
26
XP
425
Country
Brazil
EDIT: Nevermind, problem solved! Although Windows 10 does come with the latest version of DirectX, it still requires the DirectX 9.0c runtime installed in order for Ohana3DS to work.

I'm really digging what this tool allows (thank you!!), especially with the material animations. But I'm noticing that the Salesman model from Badge Arcade seems to be missing some transforms in the animations? Most of the animations work perfectly, but there's a few that require some very drastic transformations. This is one example that doesn't work.

160416-FixItInPost.png


I actually have a feeling that it might be controlled by the game and not the animation itself, but I figured I should mention it just in case. I can provide the model if that'd help.
Well it probably use scale transform, something that I didn't implemented cause I never found a animation that actually used it, but send me the model and Ill implement it.
 

gdkchan

Well-Known Member
OP
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
26
XP
425
Country
Brazil
Thank you for this amazing tool! BTW here are some of the problems that occur with the 「NEWラブプラス+」/「NEWLOVEPLUS+」MDL.XML files If you ever intend to work on the tool again and might want to correct these:
the 'face_02' eyebrow/hairline textures don't show up in the main models,
also the 'light' and 'uru' eye bubbles don't show up, but it's probably for the best
since they appear in a "negative" visual state to accommodate their animation:
liil.png

The 'facebace00' facial textures don't show up in the tiny models:
lkjlk.png
It's a know problem that can only be fixed after I implement the fragment shader completely and figure out what all sections of the material file does (that contains the parameters for the fshader).
 
  • Like
Reactions: Dgrin

manpaint

Well-Known Member
Member
Joined
Aug 20, 2014
Messages
255
Trophies
0
Age
23
XP
491
Country
Canada
I found a problem with the viewer with ALBW/TH models:
QbhPNGm.png

You get this if you enable fragmentation shaders and if no enabled is just completely black.
This was not an issue on previous versions.
Edit: The model display is normal on o3ds_09_12_2015 and lower
Edit2: it seem to be when you untoggle the orientation grids
 
Last edited by manpaint,

gdkchan

Well-Known Member
OP
Member
Joined
Jul 8, 2015
Messages
181
Trophies
0
Age
26
XP
425
Country
Brazil
EDIT: Nevermind, problem solved! Although Windows 10 does come with the latest version of DirectX, it still requires the DirectX 9.0c runtime installed in order for Ohana3DS to work.

I'm really digging what this tool allows (thank you!!), especially with the material animations. But I'm noticing that the Salesman model from Badge Arcade seems to be missing some transforms in the animations? Most of the animations work perfectly, but there's a few that require some very drastic transformations. This is one example that doesn't work.

160416-FixItInPost.png


I actually have a feeling that it might be controlled by the game and not the animation itself, but I figured I should mention it just in case. I can provide the model if that'd help.
I updated the sources with the skeletal animation scaling implementation (only on frame format), and updated the build on first post. I don't know if the result is correct, but I would be thankful if you try it out and report if it's like the game.
 

CHICAGO-lollie

Active Member
Newcomer
Joined
Aug 18, 2015
Messages
29
Trophies
0
XP
108
Country
I updated the sources with the skeletal animation scaling implementation (only on frame format), and updated the build on first post. I don't know if the result is correct, but I would be thankful if you try it out and report if it's like the game.
As far as I can tell, it looks like it works perfectly. Thank you again!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: It's a shame some people's cake always resort to the same taste