Author Topic: Gog FRUA needs the Patch?  (Read 394 times)

Offline Ishad Nha

  • Hero Member
  • *****
  • Posts: 943
Gog FRUA needs the Patch?
« on: May 27, 2017, 03:50:54 AM »
Gog FRUA is version 1.2, June 28 1993
It contains the Thief saving throw bug at offsets 551,946 to 552,056.

There is an interesting bug in the data for how Dexterity affects Thief skills, Ckitform.txt reads as follows:
"Offset 570269:   The first of twelve five-byte records used to give
 Hex (0x8b39d)   adjustments for those thieving skills that are affected
      by dexterity.  Adjustments are given for dexterity from
      9 to 20.
Offset 570329:   Beginning of string pointers for magic effect display texts.
 Hex (0x8b3d9)"
 Table ends as follows:
Lvl
19   15   20   10   12   12
20  -16  -15  -14  -14  -11
difference:
    -31  -35  -24  -26  -23

So increasing your Dex from 19 to 20, by means of a magical item, would seem to reduce your Thief skills by a fair bit.

Update needed for Ckitform.txt:
"Offset 572456:   Start of uninteresting section.
 Hex (0x8bc28)"
From here to offset 572,855 is the data table for passwords. Esoteric I know but it is worth noting, so people don't waste time trying to decode it.

Offline ProphetSword

  • Mod Designer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2894
  • FRUA Lives!
    • Lands of Adventure
Re: Gog FRUA needs the Patch?
« Reply #1 on: May 27, 2017, 08:10:16 AM »
Is the GOG version different than the standard version of FRUA patched to 1.2? 
LANDS OF ADVENTURE: An Old-School Style CRPG

More Information Here: http://landsadventure.blogspot.com/

Offline Ishad Nha

  • Hero Member
  • *****
  • Posts: 943
Re: Gog FRUA needs the Patch?
« Reply #2 on: May 27, 2017, 11:45:55 AM »
No idea, you could use File Compare to check the rougly half-million bytes...
I will have too look into this.

Offline Nol Drek

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2157
    • Nol Drek's Web Site
Re: Gog FRUA needs the Patch?
« Reply #3 on: May 27, 2017, 01:37:03 PM »
I ran MakeDiffTbl to compare the GOG version to my old CKIT 1.2 from decades ago.

The diiferences are:
Code: [Select]
2c61d eb 74
39c51 75 eb
39c6f 74 90
39c70 6 90
0

2c61d = copy protection disable

The other 3 bytes which are different are not documented in CKITFORM. My guess is they are GOG's method of accepting whatever password you enter instead of looking it up in the table.
« Last Edit: May 27, 2017, 01:38:38 PM by Nol Drek »
"Into the Drachensgrab Mountains!"

http://www.noldrek.com

Offline ProphetSword

  • Mod Designer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2894
  • FRUA Lives!
    • Lands of Adventure
Re: Gog FRUA needs the Patch?
« Reply #4 on: May 27, 2017, 07:46:58 PM »
That must mean that all these things are also present in the standard 1.2 version of FRUA.  I knew the Thief saving throw bug was something that existed, but this may be the first time I've heard about the Dexterity/Thief Skills issue (though, to be fair, I don't always keep up on these things).  I know the Thief saving throws are corrected in the unofficial 1.3 patch.
LANDS OF ADVENTURE: An Old-School Style CRPG

More Information Here: http://landsadventure.blogspot.com/

Offline Ishad Nha

  • Hero Member
  • *****
  • Posts: 943
Re: Gog FRUA needs the Patch?
« Reply #5 on: May 27, 2017, 08:48:51 PM »
From 570,324 to 570,328, the bug offsets read:
240   241   242   242   245
This bug is present in my version of Gog FRUA, it may be present in v1.2 too? Either that or my version was badly patched.

Offline Ishad Nha

  • Hero Member
  • *****
  • Posts: 943
Re: Gog FRUA needs the Patch?
« Reply #6 on: May 28, 2017, 09:58:23 PM »
Offset 569873:   The first of seven 22 byte records giving the THAC0 (coded
 Hex (0x8b211)   as 60 - THAC0) for levels 0-21 for each class.
I removed the 60-T encoding to give the straight Thac0, it is an odd pattern:
          0       1       2       3       4       5       6
        Cleric  Knight  Fighter Paladin Ranger  Mage    Thief
 0       20      21      21      20      20      21      20
 1       20      20      20      20      20      20      20
 2       20      20      20      20      20      20      20
 3       20      18      18      18      18      20      20
 4       18      18      18      18      18      20      20
 5       18      16      16      16      16      20      19
 6       18      16      16      16      16      19      19
 7       16      14      14      14      14      19      19
 8       16      14      14      14      14      19      19
 9       16      12      12      12      12      19      16
10       14      12      12      12      12      19      16
11       14      10      10      10      10      16      16
12       14      10      10      10      10      16      16
13       12       8       8       8       8      16      14
14       12       8       8       8       8      16      14
15       12       6       6       6       6      16      14
16       10       6       6       6       6      13      14
17       10       4       4       4       4      13      12
18       10       4       4       4       4      13      12
19        9       4       4       4       4      13      12
20        9       4       4       4       4      13      12
21        9       4       4       4       4      11      10

Offline Null Null

  • Maker of excessively difficult vanilla mods
  • Hero Member
  • *****
  • Posts: 556
Re: Gog FRUA needs the Patch?
« Reply #7 on: July 16, 2017, 12:13:28 PM »
Looks like 1st ed DMG THAC0 to me.

We do have an extra class (Knight) we're not doing anything with, which presents all sorts of hacking possibilities.

 

anything