LeSunTzu
(Le Sun Tzu)
#9
I am at work atm. Perhaps catch me on steam later today if you’re still stuck.
Tbh rodoh/hodor is more powerful than CFHodEd in many respects, but I did not get into the hardest parts yet (animation and other complex stuff).
ok, np, i think i added you. theirs 2 of ya.
and yes that may be. but CFhodED, had a better UI and was much more user friendly. thats why i miss it.
1 Like
Does anyone if there is anyone that has made a step by step guide of how to make ones own ships with the tools provided?
botman
(Botman)
#12
Try these threads:
There is no simple step-by-step guide anywhere that I’m aware of.
Apologies for possibly reviving a dead thread, but I am utterly at a loss here. What console commands are available? everything I’ve tried says invalid command. I am trying to convert files from HOD format to DAE.
Dom2
(Taiidan Republic Mod)
#15
You need to do RODOH.exe -script=my script.hodor
Note that RODOH only works on HW2 classic and HW1 classic HOD files (not remastered HOD files).
EDIT: this post might help you get started:
506933395
(Liuruoyang1995=Lone Wolf Akela)
#16
RODOH works on HW1 classic HOD files?! I didn’t know that…
Dom2
(Taiidan Republic Mod)
#17
I have used it on cataclysm HODs, so I sort of assume that it works on hw1 files…
Okay, made a script file, pointed it to the file I want to convert to DAE, and ran RODOH from a command prompt, and while it says SCAN COMPLETE! I don’t have a DAE file in my target folder… is royally confused
Dom2
(Taiidan Republic Mod)
#19
Can you post your full script here?
EDIT:
Here’s what I am running with. Made some changes from original post, and now instead of saying successful, and NOT doing anything, I get an error that says PARSE SCRIPT: Failed to load convert.rodoh (was convert.rodoh)
I should add too that convert.rodoh is correct, it’s the filename i used.
= -$HWRM_BASE=G:\Steam\SteamApps\common\Homeworld
= -$SHIP_NAME=tev_raynor
= -$SHADER_MAP=$[HWRM_BASE]\common\Homeworld\GBXTools\HODOR\SHADERS.MAP
= -$S_DIR=H:\UnfBIG Homeworld file extractor\HWBPClassic\ship\tev_raynor
= -$T_DIR=H:\UnfBIG Homeworld file extractor\HWBPClassic\ship\tev_raynor
= -setmask=*.hod
= -dump
= -log
= -$CONVERT_IN=$[S_DIR]$[CAT]$[HOD]$[HOD].hod
= -$CONVERT_OUT=$[T_DIR]$[CAT]$[HOD]$[HOD].DAE
= -do=convert
= -action=null
= -echo=Scan Complete!$[CR]
= -wait
Dom2
(Taiidan Republic Mod)
#21
You are using $CAT and $HOD without defining them. For a start, I would ignore them and just make $CONVERT_IN and $CONVERT_OUT full paths to the HOD and dae files. For example:
Oh fascinating. That mostly works, thanks Dom2. Slight issue though, while it extracted a large number of TGA files (I think those are textures?) the DAE file itself is 0 kb, and that doesn’t seem right. When I try to view it in my 3d object viewer, it says it can’t load it because it’s unrecognized or corrupt.
With what I’m trying to do, I’ve got a lot of converting to do, and then I have to convert the formats from DAE to yet another format to hopefully accomplish what I’m looking to do. Before I embark on a process to try and automate the converting, I want to make sure it’s properly extracting the model file and textures, and I’m thinking I’m 90% of the way there. Anyone else have any thoughts?
EDIT: Changed the output destination folder, and the DAE file now has a filesize greater than zero, but it still can’t be “read” by a 3D interpreting program.
1 Like
Dom2
(Taiidan Republic Mod)
#23
Great, you’re making progress! Not every 3d editor can open the dae files for hwrm. You can use blender, or visual studio.
Well, hey! Good to know I’m on the right track.
However, the first thing I tried was import the output DAE file into blender… didn’t do anything. Something about errors found during parsing COLLADA document…
I should add that I’m not a modeler at all, more a code monkey. I’ve tried modeling, but have had a hell of a time doing even the simplest of things!
1 Like
sastrei
(Sastrei)
#25
Try loading the DAE using DAEnerys: [TOOL] DAEnerys - DAE Ship Editor
Tried that already… doesn’t load the file. I get an unhandled exception has occurred with the app. I can continue and it tries (and fails) to continue and load the model. Here’s the error details, for anyone who can make sense of it:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at DAEnerys.Renderer.DrawHWMesh(HWMesh mesh, Int32 index) in D:\DAEnerys\DAEnerys\Renderer.cs:line 641
at DAEnerys.Renderer.Render() in D:\DAEnerys\DAEnerys\Renderer.cs:line 411
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at OpenTK.GLControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
DAEnerys
Assembly Version: 1.0.7282.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/DAEnerys/DAEnerys.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
OpenTK
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0
CodeBase: file:///H:/DAEnerys/OpenTK.DLL
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
OpenTK.GLControl
Assembly Version: 1.1.0.0
Win32 Version: 1.1.2349.61993
CodeBase: file:///H:/DAEnerys/OpenTK.GLControl.DLL
HWShaderManifest
Assembly Version: 1.2.416.0
Win32 Version: 1.0.0.0
CodeBase: file:///H:/DAEnerys/HWShaderManifest.DLL
DevILSharp
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///H:/DAEnerys/DevILSharp.DLL
FSharp.Core
Assembly Version: 4.4.0.0
Win32 Version: 4.40.23020.0
CodeBase: file:///H:/DAEnerys/FSharp.Core.DLL
System.IO.Compression
Assembly Version: 4.0.0.0
Win32 Version: 4.6.81.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll
AssimpNet
Assembly Version: 3.3.1.0
Win32 Version: 3.3.1
CodeBase: file:///H:/DAEnerys/AssimpNet.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:
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.
1 Like
radar3301
(ajlsunrise)
#27
Oh! User @its4stardust used DAEnerys Error! A DAEnerys Developer has appeared!
All jokes aside…
I have a different (developer) version of the DAEnerys tool, so I can’t track down exactly what the issue is based on the above. It could be one of a few issues…
If you wouldn’t mind sending me the DAE file, i can run it through my version to track down the issue. I don’t need the images, just the DAE.
1 Like
Dom2
(Taiidan Republic Mod)
#28
Yes, the default blender importer does not work on hwrm dae files, which is why I posted the link to the plug in that you need… Here it is again:
Aha, figured I was missing something.
downloads both files and installs in folder Now here’s a good one… when I go to preferences and addons, it’s not there. I’ve installed it manually, restarted blender, no luck. A real head-scratcher!
I’ve found a workaround though. The version of CFHodEd I am using allows exporting a model file to .OBJ format. But I don’t think it’s getting the textures… but I’ll cross that bridge when I get to it.