Hacking ROM Hack About the conversion problem of fmod model

  • Thread starter Thread starter maxjunxi
  • Start date Start date
  • Views Views 525
  • Replies Replies 0

maxjunxi

Member
Newcomer
Joined
Nov 19, 2022
Messages
7
Reaction score
0
Trophies
0
Age
35
XP
141
Country
China
The model is from Monster Hunter Frontier
Use Noesis, copy fmt_mhfo_mod.py \plugins\python, you can convert the model to FBX, but when using FBX to convert FMOD, an error will occur. Can you help me to solve this problem, maybe give me some ideas. Grateful!:)
Below is the error code
:unsure:
Enabled UV flip.
-notex parameter accepted.
-fmtoutidx parameter accepted.
Output extension has set output file type to:
.fmod - Monster Hunter Frontier Models
Detected file type: Autodesk FBX
Loading scene with FBX library.
FBX version number for this FBX SDK is 7.7.0
FBX version number for file is 7.7.0
Traversing scene nodes.
Loading materials.
Generating meshes.
Take 0: global_take_0
Cleaning up FBX library.
Generating final model.
Performing RichPGeo::Optimize on 2616 verts and 872 triangles...
Finished with 1398 verts and 872 triangles in 0.02 seconds.
(-0.9999960660934448, 1.9308044940657965e-08, -0.0028092130087316036)
((-0.9999960660934448, 1.9308044940657965e-08, -0.0028092130087316036), (0.0028091100975871086, -0.00854580570012331, -0.9999595284461975), (-2.404819315415807e-05, -0.9999634623527527, 0.00854577124118805), (0.0, 0.0, 0.0))
Traceback (most recent call last):
File "E:\MHR\noesisv4464\plugins\python\fmt_mhfo_mod.py", line 801, in noepyWriteFMOD
fileSize += WriteMeshBlock(mdl,bs)
File "E:\MHR\noesisv4464\plugins\python\fmt_mhfo_mod.py", line 689, in WriteMeshBlock
meshLen += writeTangents(mesh,bs) #little iffy on this one
File "E:\MHR\noesisv4464\plugins\python\fmt_mhfo_mod.py", line 648, in writeTangents
bs.writeFloat(float(tangent[0]))
TypeError: float() argument must be a string or a number
Cleaning up...
There was a problem exporting the model.
 

Attachments

Site & Scene News

Popular threads in this forum