sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Parse a compiled file with ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 211 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      I am looking to make an importer for an old 3d format called b3d. It is a compiled file format. How would I tackle something like this with ruby? Here is a link to the .b3d format specs:

      favicon

      (www.blitzbasic.com)

      Known unknowns 😄 :

      • I don't quite know how to parse a file that I don't know how to read.
      • I don't know what a "chunk" is.

      I'm sure there are dozens of "unknown unknowns", I'm sure I'll get to those once I get started.

      So is this going to be hardder than I am imagining? I was hoping I could figure the basics of this out in the next day or two - is there any hope?

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Hmm, looks like I won't need this. I can use .obj for this project it looks like. I'm still interested in the topic, but its not something that is very urgent or has any priority for me at the moment. Thanks,

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Hi Chris,

          This code snippet reads a binary 3ds file using Ruby and writes out an ascii .obj file.

          Hi

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement