I am making this thread so i can try getting at the models from the demo, this runs on an updated version of the hedgehog engine and specifically the formats of the models was updated as well as the inclusion of the new .pxd format in which it will contain the skeleton and animations.
samples: https://drive.google.com/file/d/1i4-2nT ... sp=sharing
these models work in modelfbx but it needs modifications to support this game, but here is an example of the mesh.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
-
- beginner
- Posts: 25
- Joined: Sat Jun 01, 2019 8:42 am
- Has thanked: 4 times
- Been thanked: 3 times
Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
You do not have the required permissions to view the files attached to this post.
Last edited by ChaoticFusion40 on Mon Oct 28, 2019 1:32 pm, edited 1 time in total.
-
- beginner
- Posts: 25
- Joined: Sat Jun 01, 2019 8:42 am
- Has thanked: 4 times
- Been thanked: 3 times
- shakotay2
- MEGAVETERAN
- Posts: 4286
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1147 times
- Been thanked: 2242 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
dunno what you mean exactly?ChaoticFusion40 wrote: ↑Sat Oct 26, 2019 11:50 pmthese models work in modelfbx but it needs modifications to support this game
(Here's a .model file extracted: )
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- beginner
- Posts: 25
- Joined: Sat Jun 01, 2019 8:42 am
- Has thanked: 4 times
- Been thanked: 3 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
can't wait till someone can make a tool to extract them to .smd or fbx
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Tried sky's modelfbx on this as well, getting similar results. Vertices, weights, bones are all fine, so it seems to be a matter of face indices only.
Had a look at model.cpp but couldn't make it work.
There's a "FF FF FF FF FF FF FF FF FF FF FF FF" part a few bytes before the faces start, could that be used as an achor?
Had a look at model.cpp but couldn't make it work.
Shakotay, What was your process of finding the offset/count here? I figure there will be a ever so slight difference to LibGen's model::getFaceList(), but what?shakotay2 wrote: ↑Sun Oct 27, 2019 4:56 pmdunno what you mean exactly?ChaoticFusion40 wrote: ↑Sat Oct 26, 2019 11:50 pmthese models work in modelfbx but it needs modifications to support this game
(Here's a .model file extracted:
There's a "FF FF FF FF FF FF FF FF FF FF FF FF" part a few bytes before the faces start, could that be used as an achor?
- shakotay2
- MEGAVETERAN
- Posts: 4286
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1147 times
- Been thanked: 2242 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Nothing special - had a look at the file, some trial 'n error, ready (for one submesh only).
skip 6 zero bytes after it, then search for the first "00 st 00 uv 00 wx 00 yz" sequence as a face indices start.There's a "FF FF FF FF FF FF FF FF FF FF FF FF" part a few bytes before the faces start, could that be used as an achor?
Might work, didn't test it (st, uv,.. = any byte values, "wildcard").
Another (better?) approach:
(as an example, bytes before face indices start:)
00 00 00 01 00007540 00 00 00 03 00007544, i.e.
search for 00 00 00 ab 00 00 cd ef 00 00 00 gh 00 00 ij kl
Then the face indices to follow.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Thanks! This actually worked on the _L file as well. The second aproach looks good too, but seems much harder to spot manually right now.
One question though, if I may: the Surfing_L.model file is nearly twice as big as the _M file, yet there's apparently merely 73 verts difference between them. Any clue what could be causing blow-ups like that? Hope I'm not missing some important content.
PS: just realized her crown is literally skewering her head! yikes
You do not have the required permissions to view the files attached to this post.
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Ok, found the problem: looks like there's more than one blocks of faces/verts contained in each of these .model files.
Even just getting out one complete model is gonna suck without automation.
Even just getting out one complete model is gonna suck without automation.
- shakotay2
- MEGAVETERAN
- Posts: 4286
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1147 times
- Been thanked: 2242 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Shouldn't be a big deal using the Make_obj project (basic knowledge of 'C' required).
Once you've got the start address of face indices (FIstart)
start_of_vertices = FIstart + FIcount x 2
(works for peach_M_surfing.model at least and your "MarioSonicMurderCrown")
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- double-veteran
- Posts: 640
- Joined: Fri Jul 08, 2011 10:36 am
- Has thanked: 65 times
- Been thanked: 898 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Here is a small tool that extracts the meshes as obj. Drag and drop the ".model" file on the exe and it will export the objs in a new folder. I made it really quickly, so not much error handling. Seems to work fine with the uploaded samples.
The format doesn't look too hard. I might make a proper tool with skeleton/skinning if I find the time.
The format doesn't look too hard. I might make a proper tool with skeleton/skinning if I find the time.
You do not have the required permissions to view the files attached to this post.
-
- beginner
- Posts: 25
- Joined: Sat Jun 01, 2019 8:42 am
- Has thanked: 4 times
- Been thanked: 3 times
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
since the game is released, can you make a tool to convert them to either ascii or fbx.akderebur wrote: ↑Sun Nov 24, 2019 1:11 am Here is a small tool that extracts the meshes as obj. Drag and drop the ".model" file on the exe and it will export the objs in a new folder. I made it really quickly, so not much error handling. Seems to work fine with the uploaded samples.
The format doesn't look too hard. I might make a proper tool with skeleton/skinning if I find the time.
Re: Mario And Sonic at the Olympic Games Tokyo 2020 Demo (.model)
Hi,
Can you make the tool so it extracts out the bones with the skin please?
Thanks,
Can you make the tool so it extracts out the bones with the skin please?
Thanks,