Page 1 of 2

Sakuna Of Rice and Ruin .nhmdl

Posted: Thu Nov 12, 2020 2:12 pm
by wansf
this new game "Sakuna Of Rice and Ruin" is made by Edelweiss , and edelweiss.bms can extract its .arc file for no problem but the models , textures and animations are come with ".nhanm" ".nhmdl" ".nhtex" which is a new extension never seen b4 , could someone please help?

https://drive.google.com/file/d/10g67U4 ... sp=sharing

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Wed Nov 25, 2020 12:26 am
by LinkOFF
There is wrong extraction. Looks like peaces of compressing data. You can use my tool for extract files
https://github.com/LinkOFF7/sakunaTool

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Sat Nov 28, 2020 10:27 pm
by Habanero
LinkOFF wrote: Wed Nov 25, 2020 12:26 am There is wrong extraction. Looks like peaces of compressing data. You can use my tool for extract files
https://github.com/LinkOFF7/sakunaTool
Thanks. I tried your tool and it seems to extract the same files (nhmdl, nhtex, etc.), so I think I'm in the same boat as OP.
https://mega.nz/folder/Y0ZyQZQK#xunysYE-_Hnhk7LlJvhICQ

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Sun Nov 29, 2020 1:15 pm
by shakotay2
No, you are not. :D (Contents of extracted files is different. Same size, though.)
.
Sakuna_first_submesh.png
Small submeshes, much fiddling required...

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Mon Feb 08, 2021 8:03 am
by Enkidu115
Hello, has there been any progress in a tool that can read nhmdl files?

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Mon Feb 08, 2021 3:06 pm
by shakotay2
I don't know of any and I wouldn't expect one too soon. Too much trouble:
.
Sakura.png
Too less contributors. (:

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Mon Feb 08, 2021 7:03 pm
by Enkidu115
i see, thanks for replying. i guess the least i can do is wait, hopefully i or others find out something in the future.

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Tue Mar 01, 2022 2:04 am
by Tekkamanchronos
I know it's been awhile but has anyone made any progress with the .nhmdl format or is this still dead in the water?

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Tue Mar 01, 2022 1:28 pm
by shakotay2
dead like a dead fish in dead waters :D
Thing is there's a problem with the face indices which I had no interest in fiddling around with, also mesh too low poly, etc.

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Mon Jun 13, 2022 10:31 am
by Turk645
Image
The file format is definitely a pain. The vertex format changes size depending on how many weights are on that one vertex. Vert data also gets split in half if the mesh is rigged or not. Mostly poking through trouble shooting different meshes. My code is a bit ass though. Also need to find the proper eye texture, what i have in that screenshot is a temp one for the sake of the screenshot :P


Other than making sure it doesnt break on other misc models, i still need to make it read the material data for each mesh.

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Mon Jun 13, 2022 12:19 pm
by Enkidu115
oh now this is a good thing to wake up to, cool to see some progress on getting assets from this game

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Wed Jun 15, 2022 6:53 am
by Turk645
Image

I think i got it good enough for an initial release. If you convert the textures to png first, it will try to auto apply the diffuse to the material on load. Textures are done via noesis, and meshes are done via blender. I'm still learning the noesis api so the mesh import isnt for that directly.

When testing, the mesh import seemed to work for both pc and switch but texture import only works on pc version.

Github link

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Wed Jun 15, 2022 11:05 am
by Enkidu115
cheers dude, great work!

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Thu Jun 16, 2022 2:57 am
by blacknight411
What do I need to make this sakunaTools work. To extract its .arc

Re: Sakuna Of Rice and Ruin .nhmdl

Posted: Thu Jun 16, 2022 7:29 am
by Turk645
blacknight411 wrote: Thu Jun 16, 2022 2:57 am What do I need to make this sakunaTools work. To extract its .arc
It's run through the command prompt. When you open the folder of the tool, in the address bar type cmd and hit enter. It will open a command prompt already pointing at that directory. Then its just a matter of typing the exe name, -e to tell it to extract, and then dragging and dropping the arc file you want into the window to auto fill the path to it.

Code: Select all

C:\path\to\sakunatool>sakunatool -e "path to .arc here"
This will cause the tool to make a folder with the extracted contents