READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Onechancara Models: Can Someone Make Vertex Dumper

Post questions about game models here, or help out others!
mariokart64n
ultra-veteran
ultra-veteran
Posts: 527
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 161 times
Contact:

Onechancara Models: Can Someone Make Vertex Dumper

Post by mariokart64n » Thu Feb 19, 2009 12:30 pm

can someone please code a simple float parser to output as obj?

A point or vertex dumper would be helpful, that way I can remodel them using the points as reference

/thx'n adv

File Sample:
http://www.mediafire.com/file/zzzk2yomm ... ostume.zip

Image
Research: [DOA2U] [DOA5U]

User avatar
LagDotCom
ultra-n00b
Posts: 3
Joined: Wed Feb 18, 2009 10:06 pm
Location: UK
Been thanked: 1 time
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by LagDotCom » Thu Feb 19, 2009 1:08 pm

Doesn't that say 'oneechanbara'? Anyway.

Here are some quick notes. No, nothing like an extractor yet.

mariokart64n
ultra-veteran
ultra-veteran
Posts: 527
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 161 times
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by mariokart64n » Fri Feb 20, 2009 4:19 am

yeah CAN is a container that the game uses, and it is oneechanbara (little sister) ..but the northamerica release, the cover says onechanbara. ? donno why.

thanks for looking at the format a bit, least we have a general area of where the vertex data may be ^_^
Research: [DOA2U] [DOA5U]

User avatar
LagDotCom
ultra-n00b
Posts: 3
Joined: Wed Feb 18, 2009 10:06 pm
Location: UK
Been thanked: 1 time
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by LagDotCom » Sat Feb 21, 2009 1:01 am

Turns out I'm actually a moron, who'd have thought? There's more than 2 files in that archive, dunno how I missed them the first time. The actual TGF file format doesn't seem too obscure. Working on it.

demolos
advanced
Posts: 65
Joined: Mon Mar 12, 2007 3:38 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by demolos » Sun Feb 22, 2009 9:57 am

i found this the wii model version here (click on filefront link on this page)

http://darkmatter2.de-coder.net/index.p ... #entry1080

also i attached a float2txt converter just make a bat file with:

float2txt AyasLagacyCostume.can AyasLagacyCostume.txt 3
pause
You do not have the required permissions to view the files attached to this post.

mariokart64n
ultra-veteran
ultra-veteran
Posts: 527
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 161 times
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by mariokart64n » Sun Feb 22, 2009 10:21 am

that's nice, but I was looking for something that I could import into 3DMax.

the txt I can't do much with. could you program OBJ output? ..actually I think OBJ just requires me to write a V statement before the x,y,z .. I might be able to use this.

also you linked to my own forum, and my own topic. I have ripped the Wii Models, but 360 has 3 models Wii doesn't have. Anna, the old chick, and the old version of reiko.

anyway thanks a ton for the float2txt, I hope to use this to rebuild the models. (wish me luck) ^_^

EDIT:
looks like my idea was a lost cause. 3dmax doesn't allow me to import vertices only through OBJ format. ironically it works in milkshape, but still with whatever format 3dmax doesn't allow for vertex only import. :(
Image

poop
Research: [DOA2U] [DOA5U]

demolos
advanced
Posts: 65
Joined: Mon Mar 12, 2007 3:38 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by demolos » Sun Feb 22, 2009 3:14 pm

You don't need all float because this tool convert all data of the file.
You need to found where is the vertex data into the file but i suppose the file contain other data like .dds .tga
I made some stuff on worms 4 mayhem with some héxadécimal tricks (dany25 i have multi pseudo).
http://ffab.mypage.sk/viewtopic.php?t=51

mariokart64n
ultra-veteran
ultra-veteran
Posts: 527
Joined: Sun Jun 05, 2005 12:00 pm
Location: Ontario, Canada
Has thanked: 23 times
Been thanked: 161 times
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by mariokart64n » Sun Feb 22, 2009 5:21 pm

nah, there's something fishy is going on. I did isolate the area where the floats where. but theres obviously something wrong. maybe the verts are stored a bit differently
Research: [DOA2U] [DOA5U]

User avatar
alera
advanced
Posts: 71
Joined: Fri Oct 06, 2006 2:33 am
Has thanked: 14 times
Been thanked: 5 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by alera » Fri May 01, 2009 3:04 am

"3F80" would be 1.0f. it looks like the file has 16bit floats but I don't have a program to read this type of float. it could be that or a picture but to be honest it does looks like it is using 16bit float(instead of 32 bits). may I ask where are the float you isolated?

Edit: my japanese is by no means perfect but from what I could tell its onee-chan. a familiar way to address ones elder sister. or in a colloquial way a young woman. the japanese cover has "bara" written in kana so I guess it is refers to be the sound of swords hitting each other. I have no idea how I would put that in english :P

User avatar
shekofte
mega-veteran
mega-veteran
Posts: 220
Joined: Sun Jan 18, 2009 1:45 pm
Location: Sagittarius
Has thanked: 242 times
Been thanked: 12 times
Contact:

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by shekofte » Sun May 03, 2009 4:29 pm

I have a float2txt converter here , what is your idea about it ?
viewtopic.php?f=21&t=3460&p=29131#p29131
ILLUSORY VIDEO GAMES ARE MORE IMPORTANT THAN PRECIOUS INTERNATIONAL FOOTBALLs

User avatar
alera
advanced
Posts: 71
Joined: Fri Oct 06, 2006 2:33 am
Has thanked: 14 times
Been thanked: 5 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by alera » Fri May 08, 2009 4:09 am

Mario said he isolated the data that had the model vertices. I don't know where this is but the floats I DID find where in a non standard 16bit format.

The float2txt program converts standard 32bit floats but this file seems to have 16bit floats.

I would like to know where in the file is the data mario speaks of, in order to see if I can convert the floats into standard 32bit floats. If it works then I could code a obj exporter for this file and others. also if the face index data is not found or is not there then I could link up the vertices randomly so it can be imported into 3dsmax.

pceengied
beginner
Posts: 30
Joined: Fri Jan 22, 2010 7:55 pm
Has thanked: 2 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by pceengied » Tue Mar 16, 2010 2:38 am

alera wrote:Mario said he isolated the data that had the model vertices. I don't know where this is but the floats I DID find where in a non standard 16bit format.

The float2txt program converts standard 32bit floats but this file seems to have 16bit floats.

I would like to know where in the file is the data mario speaks of, in order to see if I can convert the floats into standard 32bit floats. If it works then I could code a obj exporter for this file and others. also if the face index data is not found or is not there then I could link up the vertices randomly so it can be imported into 3dsmax.
SOS! :cry:

is the 3d models extracted from [Onechancara] game?

how to extract models ??? :cry:

kekko
beginner
Posts: 25
Joined: Sat Nov 01, 2008 2:26 pm
Has thanked: 3 times
Been thanked: 4 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by kekko » Tue Apr 06, 2010 1:49 pm

I had a quick look at this; it should be an easy format to decode, and the girl must be pretty :)
data is big-endian, vertices are standard IEEE 754 half-float here's the (conversion routine)
Image

the CAN file is a container, which contains other CAN archive files and/or data files
every archive or data file is preceded by an header
in the file above, the first 0x80 bytes are three headers: 0x30 + 0x30 + 0x20 bytes; the file contains 2 archives, the first archive contains two more files, the first of them is a TGF.

Code: Select all

// FILE-ARCHIVE header
// size does not include headers
// offsets are relative to current file/archive start


int header_size;

int file_size;
int file_name_offset;
int next_file_offset;

int file_size;
int file_name_offset;
int next_file_offset;
...

if next_archive_offset = 0xFFFFFFFF -> end of list

if header_size > 0x20 -> archive
if header_size = 0x20 -> file

here's the structure of TGF files

Code: Select all


// TGF /////////////////////////////////////////

--header (32 bytes)
char magic[4];             // 'TGF '
int  number_of_mesh_entries;
int  mesh_list_offset;
int  texture_index_offset;
int  an_offset_right_after_texture_names;
int  size_of_something;
int  another_offset;
int  end_of_file;

--mesh list (number_of_entries * 12)
int unknown1;
int offset_to_mesh_data;
int unknown2;

-- mesh data
--- header (variable size)
TO DO. there is the number of vertices, the vertex data size and the number of triangles
---vertex data (vertex_data_size * number_of_vertices)
---triangle data (unsigned short list)

epopoe
advanced
Posts: 56
Joined: Thu Feb 11, 2010 2:22 am
Has thanked: 6 times
Been thanked: 4 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by epopoe » Tue Apr 06, 2010 4:13 pm

Well, doesn't really matter.

This is not Onechancara. correctly it can read Onechanbara (exactly chan and zzang middle pronunciation)

"O-ne''s meaning is elder sister
"chan" is a lovely title with a close people

Surveyor
veteran
Posts: 97
Joined: Mon Mar 16, 2009 9:43 am
Been thanked: 109 times

Re: Onechancara Models: Can Someone Make Vertex Dumper

Post by Surveyor » Sat Apr 10, 2010 3:21 pm

Hi, mind if I join in?
I've been working on the Oneechanbara files for some time now and still couldn't get past the deformation issue yet (pic below). But where there's life there's hope (or the other way around ??) so I'll continue digging.
Texture coords look correct though I don't have the texture data to check things, if someone could post them here then it would be nice.
I'll update you with the progress.
You do not have the required permissions to view the files attached to this post.

Post Reply