Hello guys, i'm new on 3ds Max and i would like to know if anyone has any scripts to import .msh files and apply .dds texture. And if possible I would also like to know some way to save models as .msh and texture in .dds to use in the game in question (Lost Saga Online).
Note 1: I am using 3ds Max 2019, 3ds Max 2010, Blender 2.63 and Blender 2.82, that is, it can be a script for any of these programs, mainly 3ds max. Note 2: I will be linking a file (on Google Drive) with 2 examples of .msh files and 2 .dds textures of the respective. https://drive.google.com/open?id=1OD0Cn ... MQNDI4EYy8
(by hex2obj, view 2nd link in my sig)
(My time for writing scripts is limited but the format looks simple. Should not be too hard to write one for yourself. )
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Thu May 07, 2020 5:49 am, edited 1 time in total.
shakotay2 wrote: ↑Wed May 06, 2020 1:11 pm
mephisto_weapon.png(by hex2obj, view 2nd link in my sig)
(My time for writing scripts is limited but the format looks simple. Should not be too hard to write one for yourself. )
Well, as i said i'm new (can't make a script properly), but i will check your link. If you can give me a script i would thank you so much
Well, as i said i'm new (can't make a script properly), but i will check your link. If you can give me a script i would thank you so much
you should check out the tutorial section its filled with great stuff by many users including shakotay2 ,Bigchillghost and chrox which i found very helpful.
Please upload at least 2-3 more samples, i have the format sorted out except for start of vertex buffer and i need more samples to find the pattern
Well, as i said i'm new (can't make a script properly), but i will check your link. If you can give me a script i would thank you so much
you should check out the tutorial section its filled with great stuff by many users including shakotay2 ,Bigchillghost and chrox which i found very helpful.
Please upload at least 2-3 more samples, i have the format sorted out except for start of vertex buffer and i need more samples to find the pattern
OK, i will try checking.
I uploaded 4 more samples... pls check and tell me if you get any script working
SMcnt is the maximum submesh count. So for weapons with 2 submeshes use SMcnt=2 only.
(submeshes seem to share the same vertex addr and uv addr, afaics. )
For first H2O above:
(vAddr= 0x54)
UVaddr = 0x54 + 1086(!)*24 (dec.)= 0x6624 (for both submeshes)
FIaddr_SM1 = 0x6624 + 1086(!)*40 (dec.) + 8 + 32 (dec.)= 0x10FFC
SMcnt is the maximum submesh count. So for weapons with 2 submeshes use SMcnt=2 only.
(submeshes seem to share the same vertex addr and uv addr, afaics. )
For first H2O above:
(vAddr= 0x54)
UVaddr = 0x54 + 1086(!)*24 (dec.)= 0x6624 (for both submeshes)
FIaddr_SM1 = 0x6624 + 1086(!)*40 (dec.) + 8 + 32 (dec.)= 0x10FFC
FIaddr_SM2 = FIaddr_SM1 + 2808*2 (dec.) = 0x125EC
I got a working script yesterday and noticed some meshes were getting extra faces on UV and consequently textures were shown incorrectly , but was to lazy to debug why (was 1 AM) i should have thought about sub-meshes, thanks for this it will definitely speed up my script fix up.
IuriDrago Please add some samples for character models, all samples you have provided are static mesh.
i found a bit of time today to rework the script, one issue i still need to fix uv of second mesh, everything else is working
script has auto texture loading as well, still waiting for skinned charecters....
fmt_LostSagaOnline.rar
You do not have the required permissions to view the files attached to this post.
jayn23 wrote: ↑Thu May 07, 2020 11:31 pm
i found a bit of time today to rework the script, one issue i still need to fix uv of second mesh, everything else is working
script has auto texture loading as well, still waiting for skinned charecters....
Hey Jayn, i tried using your script but i got the following error, can you please tell me what to do?
shakotay2 wrote: ↑Sun May 17, 2020 12:03 pmfmt_LostSagaOnline.py is a script for Noesis, not for blender! Place it into Noesis' subfolder plugins\python.
Oh, thanks man! By the way, is there any way to model on noesis, or export in any format that i will be able to re-model those meshs on Blender or 3ds Max (mainly Blender)??
IuriDrago wrote: ↑Sun May 17, 2020 9:00 pm, or export in any format that i will be able to re-model those meshs on Blender or 3ds Max (mainly Blender)??
From Noesis you can export (File/Export) to .obj or .dae for example.
(You may need to check the uvs of mesh1, mesh0 uvs look good.)