Important information: this site is currently scheduled to go offline indefinitely by end of the year.

[XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post questions about game models here, or help out others!
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by finale00 »

The weapons might be stored with the model for some reason. Anyways the import is stuck until the faces are figured out.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

Ok I will make some files comparison, I will see if I found something.

EDIT: List updated
------------------------

Code: Select all

----------------mat,tex,unk2


*****************
**    ITEMS    **
*****************

i115 = 3 mat, 3 tex, 96 byte unk2
i118 = 1 mat, 2 tex, 32 byte unk2
i124 = 2 mat, 2 tex, 64 byte unk2
i129 = 2 mat, 3 tex, 48 byte unk2
i500 = 1 mat, 2 tex, 32 byte unk2


*****************
**   WEAPONS   **
*****************


-------Raikoh----------P000-------------------

player\p000\w000 = 2 mat, 2 tex, 96 byte unk2
player\p000\w001 = 2 mat, 3 tex, 96 byte unk2
player\p000\w002 = 5 mat, 4 tex, 160 byte unk2
player\p000\w003 = 2 mat, 4 tex, 112 byte unk2

-------Kintoki---------P001-------------------

player\p001\w000 = 1 mat, 2 tex, 64 byte unk2
player\p001\w001 = 2 mat, 4 tex, 80 byte unk2
player\p001\w002 = 2 mat, 3 tex, 80 byte unk2

-------Tsuna-----------P002-------------------

player\p002\w000\w000l  = 1 mat, 3 tex, 64 byte unk2
player\p002\w000\w000r2 = 1 mat, 3 tex, 64 byte unk2
player\p002\w000\w000r  = 1 mat, 3 tex, 32 byte unk2

player\p002\w001\w001l  = 1 mat, 3 tex, 64 byte unk2
player\p002\w001\w001r2 = 1 mat, 2 tex, 64 byte unk2
player\p002\w001\w001r  = 1 mat, 2 tex, 64 byte unk2

player\p002\w002\w002l  = 1 mat, 3 tex, 64 byte unk2
player\p002\w002\w002r2 = 3 mat, 4 tex, 96 byte unk2
player\p002\w002\w002r  = 3 mat, 4 tex, 96 byte unk2

-------Sadamitsu-------P003-------------------

player\p003\w000 = 1 mat, 2 tex, 48 byte unk2
player\p003\w001 = 2 mat, 3 tex, 112 byte unk2
player\p003\w002 = 2 mat, 3 tex, 112 byte unk2

-------Suetake---------P004-------------------

player\p004\w000\w000l = 1 mat, 2 tex, 48 byte unk2
player\p004\w000\w000r = 1 mat, 2 tex, 48 byte unk2

player\p004\w001\w001l = 1 mat, 2 tex, 48 byte unk2
player\p004\w001\w001r = 1 mat, 2 tex, 64 byte unk2

player\p004\w002\w002l = 1 mat, 2 tex, 16 byte unk2
player\p004\w002\w002r = 2 mat, 3 tex, 64 byte unk2

-------Seimei----------P005-------------------

player\p005\w000\w000l = 0 mat, 0 tex,  byte unk2
player\p005\w000\w000r = 0 mat, 0 tex,  byte unk2

player\p005\w001\w001l = 0 mat, 0 tex,  byte unk2
player\p005\w001\w001r = 0 mat, 0 tex,  byte unk2

player\p005\w002\w002l = 0 mat, 0 tex,  byte unk2
player\p005\w002\w002r = 0 mat, 0 tex,  byte unk2


-------Raikoh(2)--------P006-------------------

player\p000\w000 = 2 mat, 2 tex, 96 byte unk2
player\p000\w001 = 2 mat, 3 tex, 96 byte unk2
player\p000\w002 = 5 mat, 4 tex, 160 byte unk2
player\p000\w003 = 2 mat, 4 tex, 112 byte unk2

All unk2, textures and materials.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

I have found where CountFace and CountVertex are.

I suggest to use this model, its the most short model (4 ko)

player\p004\w002\w002l = 1 mat, 2 tex, 16 byte unk2

player\p004\w002\w002l.mdl
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by finale00 »

Where are they?
And how do I read them for larger files with multiple face and vertex groups? (where it matters)
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

For find them I have simply exported the 3d model to my 3d software, and looked how many vertices and faces the model have.

Then I have searched the total face and vertex in the model:

player\p004\w002\w002l = 1 mat, 2 tex, 16 byte unk2

player\p004\w002\w002l.mdl

VERTEX: 44 = 2C
FACES: 28 = 1C

Image

I have tested it with the others weapons, and it seems to be exact

About Large files, I have tested this on the Character model (Raikoh "player000") and yes I think they not show the "total vertices/face" of the entire model but each "total vertices/face" of different groups....

The fact is the Total Vertices is always more than the Total Faces, so we can separate them with this.
Last edited by zaykho on Wed Aug 22, 2012 2:05 am, edited 1 time in total.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by finale00 »

The format is incomplete. There are 3 different vertex types, and whenever there is more than one, you need to split up the faces appropriately.

The index count in the header is just the total number of indices.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

Hi
Any news about the faces ?

Because I'm completely lost about reversing these models....
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by finale00 »

Haven't looked at it since then. Might look at again later.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

Ok !

Thank you.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

Any news/update ?
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

Posting here a reply to say that I'm writing my own exporter/importer for this game ( already exported a models and re-imported in the game )

With Theme A
Image

And Theme B
Image

I have also fixed the triangle strip issue.

I will post here the script when fully completed.
TheJechtShot
ultra-n00b
Posts: 1
Joined: Sat Oct 05, 2019 2:48 am

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by TheJechtShot »

those two models are so good. love the theme too. really hope this comes along further! made an account just to follow this thread.
guiltytrace
n00b
Posts: 14
Joined: Thu Sep 24, 2020 4:18 am
Has thanked: 3 times
Been thanked: 3 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by guiltytrace »

Bumping. I've been talking to Zaykho over DM, but he/she has been too engrossed with other projects to find the time to polish the Otogi tools for public consumption. I've used the Otogi Noesis scripts written by Tsukihime to view weapon models and export them for use in Blender--that triangle strip issue is a real pain in the ass, but sometimes just deleting that vertex/face in Blender helps--and it's enough if all you want is weapon models and some field models, like power-ups.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4284
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1146 times
Been thanked: 2242 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by shakotay2 »

zaykho wrote: Tue Mar 19, 2019 12:23 amI have also fixed the triangle strip issue.
I'm not interested in those models but it could help others to tell what the problem was? 8)
guiltytrace wrote: Wed Jun 02, 2021 1:51 pm Bumping. I've been talking to Zaykho over DM, but he/she has been too engrossed with other projects to find the time to polish the Otogi tools for public consumption. I've used the Otogi Noesis scripts written by Tsukihime to view weapon models and export them for use in Blender--that triangle strip issue is a real pain in the ass,
"Otogi tools", "Otogi Noesis scripts": is that the same or two different things?
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?"
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: [XBOX] OTOGI 1 & 2 char, item, maps ? (.dat & .mdl)

Post by zaykho »

shakotay2 wrote: Wed Jun 02, 2021 4:11 pm I'm not interested in those models but it could help others to tell what the problem was? 8)
There is a section that manage how the strip is handled. It break the mesh in multiple group with different strip, which often, reset before the end of the full strip order.
shakotay2 wrote: Wed Jun 02, 2021 4:11 pm "Otogi tools", "Otogi Noesis scripts": is that the same or two different things?
2 different things, "Otogi tools" is a set of tools that I made to view, export and import assets into the game (Otogi).
As seen here.

There is many many many games that I reversed that use the same set of tools that I made: Panzer Dragoon Orta, Murakumo, Otogi, Project Gotham Racing 2, Wipeout HD/Fury/Omega/VR, DOAX3 Fortune, Driveclub etc.....

And I don't want to release something that isn't fully completed (at least, not until Driveclub stream tool is finished).
Post Reply