Hacking ROM Hack About the conversion problem of fmod model

maxjunxi

Member
OP
Newcomer
Joined
Nov 19, 2022
Messages
7
Trophies
0
Age
33
XP
108
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

  • test.zip
    224.5 KB · Views: 19

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/NGOSybO-5R4?si=SmiQ0UaynHR80xC9