Wing Commander: Privateer
Game File Documentation

(Created July 2016)

DOS UGE Editor with Privateer CDROM modules (63~ KB ZIP)

This compressed file contains the old DOS-era UGE editor with several pre-made modules for editing Privateer data files mentioned on this page.

Privateer SAV File Editor v 2.1 (40~ kb ZIP)

WEAPONS.IFF

Location: PRIV.TRE
Location II: \DATA\TYPES\WEAPONS.IFF

References:
Klaus Reimer's Blogpost on Privateer Weapons (PDF Archive)

Description: Contains the data for the missile weapons in game in two byte format.

Offsets for data are:

VARIABLE

OFFSET

PROTON TORPEDO SPEED

131

PROTON TORPEDO LIFE (SECONDS)

133

PROTON TORPEDO DAMAGE

137

HS MISSILE SPEED

175

HS MISSILE LIFE (SECONDS)

177

HS MISSILE DAMAGE

181

DF MISSILE SPEED

219

DF MISSILE LIFE (SECONDS)

221

DF MISSILE DAMAGE

225

FF MISSILE SPEED

263

FF MISSILE LIFE (SECONDS)

265

FF MISSILE DAMAGE

269

IR MISSILE SPEED

307

IR MISSILE LIFE (SECONDS)

309

IR MISSILE DAMAGE

313

GUNS.IFF

Location: PRIV.TRE
Location II: \DATA\TYPES\GUNS.IFF

References:
Klaus Reimer's Blogpost on Privateer Weapons (PDF Archive)
CJ's Privateer Gun Statistics (Archived / Original HTTP)

Description: Contains the data for the projectile weapons in game in multiple byte formats.

COMODTYP.IFF

Location: PRIV.TRE
Location II: \DATA\OPTIONS\COMODTYP.IFF

References: 38KB PNG image showing example commodities and how the system is formatted.

Description: Contains the cost/availability values for commodities, which is done under the following system:

You have a BASE COST and BASE AVAILABILITY.

Then you have nine MODIFIERS, one for each type of location.

(New Constantinople, New Detroit, Oxford, Perry, Mining, Refinery, Agricultural, Pleasure, and Pirate)

The formula used to calculate the other end of the cost/availability band is:

OTHER END = (BASE - MODIFIER) + 1

If you have the following setup for slaves:

BASE AVAILABILITY: 50
MODIFIER = 60

You would have between 50 and 111 slaves available at that type of base.

SPECIAL NOTE: If the Modifier for that location is -1, that commodity is not for sale (availability) or cannot be sold there (cost).

SPECIAL NOTE II: You can use negative modifiers to change values as well.

LANDFEE.IFF

Location: PRIV.TRE
Location II: \DATA\OPTIONS\LANDFEE.IFF

Description: Appears to contain the landing fee cost. I haven't checked it, but it appears to be a four-byte variable at Offset 20.

SHIPSTUF.IFF

Location: PRIV.TRE
Location II: \DATA\OPTIONS\SHIPSTUF.IFF

Description: Contains the costs for purchasable ship upgrades, such as laser cannons, etc. Costs are four byte variables.

It appears that the first item variable is the purchase price, while the second variable may be it's resale value.

Variable Description

Offset #

Laser Cannon Cost

56

Laser Cannon Cost

1212

Mass Driver Cost

2434

Mass Driver Cost

3900

Meson Blaster Cost

4930

Meson Blaster Cost

6464

Neutron Gun Cost

7450

Neutron Gun Cost

8816

Particle Cannon Cost

9820

Particle Cannon Cost

11208

Tachyon Cannon Cost

12110

Tachyon Cannon Cost

13710

Ionic Pulse Cannon Cost

14906

Ionic Pulse Cannon Cost

15956

Plasma Gun Cost

17148

Plasma Gun Cost

19388

Missile Launcher Cost

22562

Missile Launcher Cost

24378

Torpedo Launcher Cost

27256

Torpedo Launcher Cost

29692

Proton Torpedo Cost

31594

DF Missile Cost

32486

HS Missile Cost

33074

IR Missile Cost

33710

FF Missile Cost

34422

Shield 1 Cost

35122

Shield 1 Cost

37208

Shield 2 Cost

38644

Shield 2 Cost

40730

Shield 3 Cost

42166

Shield 3 Cost

44252

Shield 4 Cost

45688

Shield 4 Cost

47774

Shield 5 Cost

49210

Shield 5 Cost

51296

Engine Upgr 1 Cost

52730

Engine Upgr 1 Cost

53408

Engine Upgr 2 Cost

54608

Engine Upgr 2 Cost

55454

Engine Upgr 3 Cost

56706

Engine Upgr 3 Cost

57668

Engine Upgr 4 Cost

58956

Engine Upgr 4 Cost

60386

Engine Upgr 5 Cost

61972

Engine Upgr 5 Cost

63650

Plasteel Armor Cost

74802

Plasteel Armor Cost

77070

Tungsten Armor Cost

79688

Tungsten Armor Cost

81702

Tractor Beam Cost

84342

Tractor Beam Cost

86346

Jump Drive Cost

88360

Jump Drive Cost

90112

Repair Droid Cost

92378

ECM Package 1 Cost

94704

ECM Package 2 Cost

95258

ECM Package 3 Cost

96272

Cargo Expansion Cost

97742

Maneuvering Jets Cost

99480

BS Tripwire Cost

100734

BS Tripwire Cost

101934

BS Eye Cost

103184

BS Eye Cost

104536

BS Omni Cost

106104

BS Omni Cost

107618

Hunter AW6 Cost

108986

Hunter AW6 Cost

110074

Hunter AW6I Cost

111562

Hunter AW6I Cost

113230

Hunter AW Inf Cost

114670

Hunter AW Inf Cost

116724

Iris Mk I Cost

118134

Iris Mk I Cost

119092

Iris Mk II Cost

120282

Iris Mk II Cost

121764

Iris Mk III Cost

122886

Iris Mk III Cost

124714

Humbolt Map Cost

126230

Farris Map Cost

129386

Potter Map Cost

132576

Clarke Map Cost

135812

All Maps Cost

139142

LIMITS.IFF

Location: PRIV.TRE
Location II: \DATA\OPTIONS\limits.iff

Description: Contains the pricing costs for ships in game in four byte values at the following offsets:

Tarsus Trade in Value: 82
Orion Cost: 86
Centurion Cost: 90
Galaxy Cost: 94