file-format

What should I know before poking around an unknown archive file for things?

A game that I play stores all of its data in a .DAT file. There has been some work done by people in examining the file. There are also some existing tools, but I'm not sure about their current state. I think it would be fun to poke around in the data myself, but I've never tried to examine a file, much less anything like this before. I...

What file format would I use for currency exchange

I'm looking for a standard file format that used by systems needing to store currencies and also provide currency exchange (so we need both the buy and sell rates) I looked online and found the .cex but have not been able to find it's format. Where do I get the format of this file? Is there another file format I should use? ...

If you had to add support for one video file format and codec, which would you choose?

I'm looking to add support for reading and writing video files in my application. If you had to choose exactly one file format and codec combination that would satisfy the majority of users, which would you choose: 1) MPEG-4/H.264 (.mp4) 2) AVI/DiVX (.avi) 3) Ogg/Theora (.ogg) 4) Windows Media Video (.wmv) I'm leaning towards MPEG-4/H...

What are important points when designing a (binary) file format?

When designing a file format for recording binary data, what attributes would you think the format should have? So far, I've come up with the following important points: have some "magic bytes" at the beginning, to be able to recognize the files (in my specific case, this should also help to distinguish the files from "legacy" files) h...

Suggestions for a file format conversion library

conversion from multiple non-graphical document formats to and from HTML (e.g. doc<->HTML, pdf<->html, odt<->html, etc.) command line or API (Java API is preferable) cross-platform commercial or open source Are there any well known solutions that meet/exceed these requirements? ...

Visual FoxPro Compact Index File Format

I am trying to understand the file format of a Visual FoxPro compact index (*.IDX). I am currently referring to Microsoft's documentation for guidance. The index is a B-tree of 512-byte nodes. Each leaf ("exterior") node contains multiple entries. Each entry consists of four pieces of data: Row number [FIXED LENGTH] Duplicate byte cou...

Reading PSD file format.

I wonder if this is even possible. I have an application that adds a context menu when you right click a file. It all works fine but here is what I'd like to do: If the file is a PSD then I want the program to extract the image. Is this possible to do without having Photoshop installed? Basically I want the user to right click and clic...

What is the difference between "JPG" / "JPEG" / "PNG" / "BMP" / "GIF" / "TIFF" Image?

I have seen many types of image (extension) but have never understood the real difference between them. Are there any links out there that clearly explains the difference between them. Is there a standard to use a particular type of image in your application? What do we use for web applications? ...

Microsoft HxS file format

I was wondering if anyone had a file format reference for Help 2.0 HxS files? I've seen a few 3rd-party viewers so obviously someone has gone through the trouble of reverse-engineering the file format, but I have been unable to track anything down with Google. I am interested in creating a better interface to the MSDN documentation and...

How do I (should I?) use Apache POI HWPFDocument?

Hi guys! I'm thinking about including the Apache POI into my application. Main goal is to output RTF document, but DOC would be nice, too. But the documentation is not very detailed about writing a HWPFDocument and everything I found on the web isn't helpful at all. I can read DOC files, that's working without any problem. But I really...

Most Common 3D Model Format?

It's been about two years since I last developed games, and I am interested in starting a new project. What is the most common open-source 3D model format? I am looking for a format that would preferably have a lot of either public domain or open-licensed models existing. Last I checked, MD5 was the most common animated model format, a...

What file format do you use for your application and why?

I'm most interested in in-process (single user) solutions for large amounts of mutating object-oriented data, where any part of the data may change. Such systems generally suffer from these problems: Writing large files out from scratch is inefficient xml is too verbose SQL blobs aren't a good match So how do you do it? ...

What's Is the Best File Format for Configuration Files

I am creating a framework in PHP and need to have a few configuration files. Some of these files will unavoidably have a large number of entries. What format would be the best for these config files? Here is my quantification of best: Easily parsed by PHP. It would be nice if I didn't have to write any parsing code but this is not a ...

Tools to help reverse engineer binary file formats

What tools are available to aid in decoding unknown binary data formats? I know Hex Workshop and 010 Editor both support structures. These are okay to a limited extent for a known fixed format but get difficult to use with anything more complicated, especially for unknown formats. I guess I'm looking at a module for a scripting language...

How to identify whether an Excel file conforms to Excel 95 or Excel 97 specifications?

How to identify where the Excel file use Excel 95 or Excel 97 specifications? i.e., which version of BIFF they uses. ...

What is the EOF marker for a ZIP file?

I've got a C# program that uses SharpZIPlib to decompress some zip files? It works fine but on one file, I keep getting "Unexpected EOF" error? Is there actually an EOF marker, or did the Zip file just get truncated? ...

Creating a PostScript/TrueType font.

I've the coordinates of the letters (e.g. using SVG). How could I generate a TrueType/PostScript font for my computer ? (edited : changed vectorial to TrueType/PostScript ) ...

CorelDraw file format

Is there any documentation\code on the file format used by CorelDraw CDR files? I'm basically interested in programatically manipulating coreldraw files in simple ways without having to open up the actual program. I know the application supports scripting in VBA or something similar but I'd prefer to be able to manipulate the files with...

How do I distinguish between 'binary' and 'text' files?

This is a duplicate of http://stackoverflow.com/questions/277521/how-to-identify-the-file-content-is-in-ascii-or-binary, but since I don't have the rep, I can't edit that question to improve it. Informally, most of us understand that there are 'binary' files (object files, images, movies, executables, proprietary document formats, etc) ...

Recommended 3D model type for in-game character model, loaded manually?

I'm writing a game in JOGL and need to represent the in-game character. I plan to use skeletal animation for the character movements, and of course the character will be skinned. I can't seem to find any good model loaders for JOGL so I plan to load the filetype myself, based on specs or something. I also plan to use Blender as my 3D mod...