Fandom

Gold Box Wiki

Gold Box (Pascal)

58pages on
this wiki
Add New Page
Talk0 Share

The Gold Box (Pascal) engine was a codebase developed in Pascal used to develop most of the PC Gold Box games.

Gold Box (Pascal) GamesEdit

Forgotten RealmsEdit

DragonlanceEdit

Buck RogersEdit

Data StructuresEdit

Within each game, certain data structures were reused for practical reasons. Item data structures are the same for items held by a player character, items held by a monster or NPC, and items sold in a shop. Character data structures are similarly shared between player characters and NPCs/monsters.

The data structures used in the games evolved over time, and thus have inconsistency between the games, with some exceptions.

Common Data StructuresEdit

Character Data FormatsEdit


File FormatsEdit

Most data in these games was stored in DAX files, which used varying types of simple compression which may have even varied within each game. One of these simple methods is often used in, for example, the MON#CHA.DAX files. Following a simple header (the first two bytes storing the size of the remainder of the header), the rest of the file is stored as a stream of bytes with repeated bytes preceded by a negative number indicating how many times the byte is to be repeated (and thus requiring bytes with the high bit set to be escaped by a -1).

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.