Jump to content
  • Advertisement
Sign in to follow this  
rm2000

3DS file structure

This topic is 4608 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am wondering, is there a way to read the contents of a 3DS file unencrypted? Not sure if it is stored in BINARY or what, but I want to be able to read the vertex info and cluster info directly. Thanks!!

Share this post


Link to post
Share on other sites
Advertisement
I was able to get 3DS files loaded in my 3D Demo, but I want a quick way to view the file in a text editor without having to write a program for it. Is that possible?

Share this post


Link to post
Share on other sites
You could use a hex editor to view the binary data directly. But if you want it in text format, you'll probably have to parse the file and print out the info yourself.

Share this post


Link to post
Share on other sites
Quote:
Original post by rm2000
I was able to get 3DS files loaded in my 3D Demo, but I want a quick way to view the file in a text editor without having to write a program for it. Is that possible?


The best thing to do would to be to write a small program to do this for you...

Share this post


Link to post
Share on other sites
Quote:
Original post by dbzprogrammer
Quote:
Original post by rm2000
I was able to get 3DS files loaded in my 3D Demo, but I want a quick way to view the file in a text editor without having to write a program for it. Is that possible?


The best thing to do would to be to write a small program to do this for you...


Yeah I did play around for 10 min with a VB loader reading AS BINARY. I did start to see the info I was looking for but there were still A LOT of strange characters. I guess I would have to do quite a bit of parsing for my data.

Share this post


Link to post
Share on other sites
Binary files are typically not human-reable, thus the name, binary, and not text. So the simplest thing to do would be to use the loader that loads the files for your 3D demo, and output a text file instead of rendering. If you already have the code to load it, it should be no problem to make the output.

Share this post


Link to post
Share on other sites
I suppose that would be a solution. What I am looking to do is add some info to the 3DS file, so I just have to think about how I want to do it. It might be easier just to breed a structure that I need and export the 3DS information via MAXSCRIPT. Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!