XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Sep 21, 2017 4:30 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Fri Jul 22, 2011 2:01 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Sat Apr 09, 2011 1:22 am
Posts: 2387
Has thanked: 170 times
Have thanks: 277 times

linpost wrote:
i dont understand how you know 2C meens 44 bones, i have 3C an i dont see anywhere a number or i dont know


He followed the format and the format says those 4 bytes represent an integer for the number of bones, and 2C 00 00 00 is 44 in decimal (little endian)

The guide assumes you know the terminology used in the format (dword, word, byte, float) and endian-ness, amongst other things.

You can make the ads go away by registering


_________________
Model Import Plugins/Scripts

Noesis Plugins | Reference files

Reference
Guide to 3D model reversal | 3D glossary


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Fri Jul 22, 2011 8:12 pm 
Offline
Site Admin
User avatar

Joined: Mon Sep 13, 2004 1:55 am
Posts: 703
Location: The wiki.
Has thanked: 107 times
Have thanks: 122 times
Forget endianness and data types, it sounds like linpost doesn't even understand how hexadecimal works.

_________________
Welcome to Xentax!

Rules | Requests | Wiki

If you run across a post that breaks the rules, please PM Craptain, Mr.Mouse, or myself - we will handle it from there.


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jul 25, 2011 8:16 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 15, 2003 6:45 pm
Posts: 4010
Location: Dungeons of Doom
Has thanked: 411 times
Have thanks: 550 times
Time to read this first, linpost: http://wiki.xentax.com/index.php/DGTEFF

_________________
Please like our Facebook page!


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Sun Jan 08, 2012 4:43 pm 
Offline
advanced
User avatar

Joined: Fri Dec 16, 2011 8:30 pm
Posts: 47
Has thanked: 2 times
Have thanks: 3 times
when you say "now if we know the file format" what does that mean? if we know how a file is structured? what if all i know is the file type - FLEV - but not much else. I know the 3D data must be in there. I don't know why some FLEVs are .flev and some .flv and I dont know why some have text data within the hex data.


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Sun Jan 08, 2012 11:18 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Sat Apr 09, 2011 1:22 am
Posts: 2387
Has thanked: 170 times
Have thanks: 277 times
hatyn wrote:
when you say "now if we know the file format" what does that mean? if we know how a file is structured? what if all i know is the file type - FLEV - but not much else. I know the 3D data must be in there. I don't know why some FLEVs are .flev and some .flv and I dont know why some have text data within the hex data.


First you have to know what you're looking at.
If you don't even know that, you're probably not going to get anywhere.

Try looking for 3D data in an image (picture) file; doesn't work.
But what if I use "jpg" for my model extension?

Extensions. You should just forget them since they mean nothing aside from being a name.

An extension is only good for separating files from one another since people at least do that most of the time. I guess you can type it into some search engine, but then you end up with dozens of potential modders looking at something completely irrelevant and making great discussion about nothing cause they noticed that their format ZXY is used in "My Dummy Application That Only I Use" and think that my application might have anything to do with their stuff.

Once you have some idea what the file might contain, you can focus on looking for things that match what you already know.

If you know everything, your job will be easier.
If you know nothing, you're probably not going to get anywhere.
If you know a little, then you might be able to get somewhere.

FLEV doesn't mean anything. It could be an idstring used to verify that the file is what is expected. How someone chooses their extensions might be based on some standard they choose, or just randomly choosing things. I could call my model extension ".LOL" and some people might spend lots of time wondering what that might mean. They could spend years to publish papers about it and then maybe I will break the news and tell them how I came up with the extension.

If two models use two different extensions, then it probably reflects the changes in their content. For example you have static and skeleton meshes; they might name them differently (eg: sm and skem as in Tales of Fantasy)

There is no real difference between "text data" and "hex data". It just happens that you can read one and probably not the other. It is all parsed and handled appropriately. Your role would be to determine how it is used, and whether you need it or not. If you don't know, just skip it. If at the end you get nothing, maybe the stuff you skipped might be important. Or not.

You figure out a file structure as you go. You start from the top and work your way down and find patterns. Once you find a pattern that gets you in and gets you out, there's your file structure. Then you just have to refine it so it looks less like a black box.

_________________
Model Import Plugins/Scripts

Noesis Plugins | Reference files

Reference
Guide to 3D model reversal | 3D glossary


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jan 09, 2012 12:36 am 
Offline
advanced
User avatar

Joined: Fri Dec 16, 2011 8:30 pm
Posts: 47
Has thanked: 2 times
Have thanks: 3 times
well having a try with the older flver files that supposedly worked with the blender importer might shed me some light on how to modify the script...so getting that psp game now.


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jan 09, 2012 12:42 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Sat Apr 09, 2011 1:22 am
Posts: 2387
Has thanked: 170 times
Have thanks: 277 times
If you can use the script to trace the file manually you can probably find where the structures are changing.
So for example if it's expecting a name and you're not seeing a name, then you know something is different.

_________________
Model Import Plugins/Scripts

Noesis Plugins | Reference files

Reference
Guide to 3D model reversal | 3D glossary


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jan 09, 2012 1:06 pm 
Offline
advanced
User avatar

Joined: Fri Dec 16, 2011 8:30 pm
Posts: 47
Has thanked: 2 times
Have thanks: 3 times
not sure how to manually scan the file with the importer python script, my bad. Whenever I import I get some python errors like value shouldnt be negative or string expected should be 64 bits


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jan 09, 2012 1:45 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Sat Apr 09, 2011 1:22 am
Posts: 2387
Has thanked: 170 times
Have thanks: 277 times
You basically look at where the parsing begins, and then try to look at what it's reading.
Although when I tried looking at it, I got lost lol

But ya it looks like the flv format for the two games seem completely different.

_________________
Model Import Plugins/Scripts

Noesis Plugins | Reference files

Reference
Guide to 3D model reversal | 3D glossary


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Mon Jan 09, 2012 2:24 pm 
Offline
advanced
User avatar

Joined: Fri Dec 16, 2011 8:30 pm
Posts: 47
Has thanked: 2 times
Have thanks: 3 times
ah well..will figure it out someday


Top
 Profile  
 
 Post subject: Re: Very Basic model format conversion (Shaiya).
PostPosted: Tue Mar 01, 2016 12:58 am 
Offline
advanced
User avatar

Joined: Wed May 16, 2012 6:36 am
Posts: 79
Location: India
Has thanked: 11 times
Have thanks: 1 time
Could you please reupload the images?



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group