DirectX binary format

Post questions about game models here, or help out others!
Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

DirectX binary format

Post by Xela » Thu Mar 16, 2006 1:29 pm

Anyone knows how to view *.X file in binary form? Or convert it to some other viewable format?
http://rapidshare.de/files/34067282/mdls.zip.html
Last edited by Xela on Fri Sep 22, 2006 7:57 pm, edited 2 times in total.

jasmine
VIP member
VIP member
Posts: 77
Joined: Tue May 10, 2005 6:07 am
Been thanked: 1 time

Post by jasmine » Fri Mar 17, 2006 3:38 am


Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Mar 17, 2006 4:07 am

Thank you Jasmine.

It is very encouraging that I have already ventured there where you suggested , but still no solutions as :
The .X File format can be either in plain text or in binary. This is given in the header of the file. We will look into the text format. The binary format will be addressed in the fifth chapter.
Where is that 5th chapter?

Anyway, meanwhile I found some other links which made me go here:

http://www.programmersheaven.com/2/FAQ- ... re-X-Files
and then search for conv3ds.exe led me somwhere else where I had to download MS NET. And still not there yet. Pretty convoluted this binary directX format.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Mar 17, 2006 4:16 am

Here is one good link too for some info about DirectX programming and game programming:
http://www.toymaker.info/

User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 585
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Post by Wobble » Fri Apr 07, 2006 7:40 am

[out]
Last edited by Wobble on Sun Mar 12, 2017 12:38 pm, edited 1 time in total.

Rahly
VVIP member
VVIP member
Posts: 412
Joined: Thu Aug 05, 2004 10:17 am
Been thanked: 1 time

Post by Rahly » Fri Apr 07, 2006 10:56 am

"By nature men are alike. Through practice they have become far apart." Confucius (Analect 17:2)

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Apr 07, 2006 12:23 pm

Yeah,
What I really, really meant was this:
http://msdn.microsoft.com/library/default.asp

MSDN Home > MSDN Library > Win32 and COM Development > Graphics and Multimedia >DirectX

"All roads lead to Rome" or to to be exact in this case - "Microsoft". :wink:

Extreme
beginner
Posts: 24
Joined: Sun Mar 26, 2006 1:21 am
Location: Wales UK
Contact:

Post by Extreme » Fri Apr 07, 2006 5:49 pm

Or U could get Deep Exploration they have a free demo that views .x files
and a lot of other formats and u can convert them to anything u like

http://www.righthemisphere.com/



Extreme

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Apr 07, 2006 6:39 pm

Actually I have used all known to me viewers and converters to read this file. Deep Exploartion was on the list in the 1st ten :wink:

But here I have attached a link to download the file I extracted with the original mrf. As you will easily see (under the Hex Editor examination) on the begining of the original file is the total number of models contained (29) , then is the sequential model number which BARN1 is the #9 , then the offset of the start of #9 (316) and then total lenght of the file (7142). And then the story repeats for the other file (BARN2).

Thanks to this finding I came to see that the Mark ID of the file is "xof"which made me think that we have here X file. Well, at least thanks to association with this group this is how "clever" :wink: I became. Using hex editor I extracted the file from mrf, saved as X, and tried to view it as binary X. But that was end of my success and joy, as the file is stubborn and does not want display in any X file viewer.


Looking at the file below please verify all the above and try to see if perhaps I am not making some dumb error somewhere. Thnx.

http://rapidshare.de/files/17433337/models.zip.html

Extreme
beginner
Posts: 24
Joined: Sun Mar 26, 2006 1:21 am
Location: Wales UK
Contact:

Post by Extreme » Sat Apr 08, 2006 12:32 am

That site wants me to pay to download it lol

!!!!Now where did I put that credit card??? :roll: :bbat:

Extreme

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Sat Apr 08, 2006 3:27 am

No ....c'mon... not a chance.
Go to bottom of the link and press button FREE. It will open another page where you just need to enter the 3 letter code displayed in color. This will get you to the file. The system is quite good for sharing even large files.

Rahly
VVIP member
VVIP member
Posts: 412
Joined: Thu Aug 05, 2004 10:17 am
Been thanked: 1 time

Post by Rahly » Sat Apr 08, 2006 3:37 am

did you really, really, REALLY mean?

http://msdn.microsoft.com/library/defau ... irectX.asp
"By nature men are alike. Through practice they have become far apart." Confucius (Analect 17:2)

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Sat Apr 08, 2006 4:00 am

I guess that IS what I really, really, really, really have meant :)

BTW there is one pretty decent flight simulation called Strike Fighters:Project 1 where all that DiectX graphics technology is out on the open to experiment, learn and have fun while doing this. There are not so many games where all files are wide open and even translated to text format for the various parameters to be entered easily and thereafter immediately tested in the game right in front of your eyes. That game has it all just that way.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Sat Apr 08, 2006 11:49 pm

The X file I have extracted and unsucessfully examined was in binary format. Is there any binary to text translator for X files? Perhaps looking at content of the file in text format gives me more chance to see what could be wrong there.
Cheers.

Xela
VIP member
VIP member
Posts: 225
Joined: Sun Jul 31, 2005 4:12 am
Been thanked: 1 time

Post by Xela » Fri Sep 22, 2006 7:49 pm

In the DirectX SDK Extras
http://www.microsoft.com/downloads/deta ... ayLang=en]

I have found some utilities which convert DirectX files. One of the utility is called ConvXof , which is suppose able to convert xof file to x file giving text output.

However,.... :( , I need to make sure that I extract xof files right from
*. mrf file (link in initial post of this thread). I am using Strobes Tool Jaeder Naub V1.9.0t to extract them. Despite that the file looks very simple and I can visually see various start/stop offsets of XOF models, it does not want to work. It only is extracting one singlr file.

Can anyone take a look and try to help?

Post Reply