The Bandi Advancement Bug

The Bandi Advancement Bug (fix); support/discussion/questions

Moderator: thunderchero

Post Reply
User avatar
Gowron
Code Master
Code Master
Posts: 304
Joined: Sat Apr 26, 2008 2:00 am
Location: 50° N, 11° E

The Bandi Advancement Bug

Post by Gowron » Sat May 03, 2008 8:42 am

In racetech.tec in vanilla BotF there's a corrupted area between the offsets 344 (dec) and 364 (dec).

This leads to wrong addresses being accessed when the game reads the tech levels of the Bandi on some evolution levels. Most notably the value at position 360 (dec) is 0, so the game reads addresses from the start of the file and interprets them as tech levels, leading to the following tech levels at the Bandi's 6th evolution level:
  • Biotech 1408
  • Computers 1624
  • Construction 1840
  • Energy 2056
  • Propulsion 2272
  • Weapons 2488
  • Sociology 2704 (but sociology is not used in the game)
Solution: The values are offsets, each one by 108 (dec) greater than its predecessor, so they can easily be corrected manually :)


i.e. racetech.tec at position 0x158

replace:

Code: Select all

C829 0000 342A 0000 A02A 0000 0C2B 0000 0000
with:

Code: Select all

5C29 0000 C829 0000 342A 0000 A02A 0000 0C2B
A discovery consists in seeing something everybody has seen and at the same time thinking something nobody has thought yet.

Post Reply

Return to “The Bandi Advancement Bug (fix)”

Who is online

Users browsing this forum: No registered users