Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7923451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:19:54+00:00 2026-06-03T17:19:54+00:00

I was looking inside the Infinity Engine (the one used in games like Baldur’s

  • 0

I was looking inside the Infinity Engine (the one used in games like Baldur’s Gate) file formats, and looking in the file structures I get to the point to ask, why save the engine files in hexadecimal format (I think this is also referred like “binary format”) instead of just plain text?

I have some hypothesis (different to the stackoverflow rule of “avoid your answer is provided along with the question, and you expect more answers”):

  1. To try to preserve intelectual property of the file (useless).
  2. To save space, because some of the files can get really big, and at the time (end 1990’s) space wasn’t so big like now.
  3. To have a structured data (this can also be achieved by using tabs of fix length in flat files).
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:19:56+00:00Added an answer on June 3, 2026 at 5:19 pm

    Hexadecimal is not binary.

    In hexadecimal, each character (byte/octet with ASCII coding) can represent 16 values: 0-9 and A-F. It takes two hexadecimal characters to represent 256 values.

    In a “binary file”, each byte (octet) can represent 256 values.

    Now, the point of using binary is that it is the “most raw” format and does not need to lend itself to human consumption in any way. This greatly increases the data/octet ratio of the file.

    Binary formats can aid in “IP”, but this is not necessarily a primary aim. There are plenty of editor tools written by fans (as evidenced), as well as official tools from time to time.

    A binary file structure can be determined in offsets and can be seek’ed to directly instead of needing to “read to line X and column Y” as with a text file. This makes random-access of resources much more efficient. In the case of many of the Baulder’s Gate files, many are in a “fixed format” and can be trivially (and quickly) loaded into identically laid-out in-memory structures. (Sometimes heaps and other data-structures will be directly encoded in a binary file.)

    A binary file is an opaque structure for data: it is just the means to end. The information inside is only designed to be accessed in specific scenarios. (Compare this with JSON or an SQL Database; the former is not opaque insofar as it is “human consumable” and the latter only exposes information.)

    Take a look at the different kinds of binary files and the service that each one provides: audio? images? routes? entity locations and stats? dialog? Each one is crafted to the very specific needs of the engine and, while some “could be done differently”, if there is no need and the existing tooling is in place: why change?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a way to open an Access MDB file inside a Java
I'm looking for a solution to call a controller method/action inside an external js-file,
We have a linker error when upgrading an SDK. Looking inside the .lib file
I'm looking to nest dictionaries inside of one another in order to house x
I've been looking at ways to implement gmail-like messaging inside a browser, and arrived
Looking at this get value of inside a tag with jQuery.? <span> <b>hi_1</b> <b>hi_2</b>
Inside my android map I have three overlays looking like this: what I want
I'm looking for something like a database for GWT objects (inside the browser). It
I don't know why it is looking for directory inside my .app file. Every
I am looking inside the code of an air quality model written in fortran,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.